Hello rune-server I have a dupe that i cant seem to figure out. ill explain how its done
2 players (a and b)
both players go to fight pits wait for a game to start.
player a kills player b
Then next round player b kills player a.
After that round step out of the waiting room.
tele to duel arena
now either player a or b can stake Make it just one person.
The person who stake MUST WIN!
the loser will respawn back in the fight pits waiting room.
The winner quickly gets to fight pits and gets into the lobby.
The Game starts the LOSER OF THE DUEL MUST KILL THE DUELS WINNER after that leave the waiting room. wahlah the loser got the staked items while the person who staked still has their items...
Any way to fix this? i think it works like this
player a (stakes) wins while server spawns player b into fightpits thinking its still duel arena. Winner comes in game starts loser wins. Server thinking its a rematch. Player leaves lobby with items.
Please need some help
easy just make it that u cannot teleport from fight pits... playerassistant.java and search for teleport and you will probaly find the problem
When they leave you should set the variable of players in fight pits to false.
There are boolean values messed up here, Probably something to do with if(FightPits = True/False) And the value is incorrect in the check, or when you win/lose fightpits or win a duel The boolean is not set to the needed value causing the items to stay in the staking array.
just look for a boolean like inFightPits or something, if you dont then make one and when you enter make it true and when you leave make it false
|« error_game_js5connect on a 647 server.......! | `commands »|
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)