Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Help with v40b Minigames

Newbie Spellweaver
Joined
May 14, 2015
Messages
26
Reaction score
1
So I'm literally at my wits end here. For some reason whenever I start a minigame (omok / matchcard) the timer gets set to null and the game crashes. Anyone have any ideas?

newbane2 - Help with v40b Minigames - RaGEZONE Forums
 
Newbie Spellweaver
Joined
May 14, 2015
Messages
26
Reaction score
1
Here is the packet, and the card id's range from 0-15. I think it might be a client bug.

Code:
[COLOR=#839496]public static MaplePacket getMatchCardStart(MapleMiniGame game) {
            MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
            mplew.write(SendPacketOpcode.PLAYER_INTERACTION.getValue());
            mplew.write(0x23);
            mplew.write(game.getWinnerIndex());
            int times;
            if (game.getMatchesToWin() > 10) {
                times = 30;
            } else if (game.getMatchesToWin() > 6) {
                times = 20;
            } else {
                times = 12;
            }
            mplew.write(times);
            for (int i = 1; i <= times; i++) {
                mplew.writeInt(game.getCardId(i));
            }
            return mplew.getPacket();
        }[/COLOR]
 
Upvote 0
Back
Top