bump
|
Well I added Castle wars into my server, I found a few bugs...
1:When you die you spawn at normal spawn place. like if you would die in wild, i added this in..
but in the tut ( http://www.rune-server.org/runescape...s-release.html )Code:if (CastleWars.isInCw(c)) { if (CastleWars.getTeamNumber(c) == 1) { c.getPA().movePlayer(2426 + Misc.random(3), 3076 - Misc.random(3), 1); } else { c.getPA().movePlayer(2373 + Misc.random(3), 3131 - Misc.random(3), 1); } }
It says to add it under
in a } else if method.. But i get a load if errors. So i just have it as a if method,Code:} else if (c.pitsStatus == 1) { movePlayer(2399, 5173, 0); }
2: If you unweild something and try to re weild it, it wont let you..
Thanks for viewing anyone know how to fix?
bump
There is alot of bugs in castle wars including loosing weapons when you pick up flags glitching out etc you just have to find and fix them there is a bug list on the snippets section somewhere and did you follow the tutorial correctly because it does have the death respawn in it.
Look into the duel arena re-spawning system may help..
1fogle if you cant find that method keep going down until you can find something like (!inPits()) and post it there
2
The reason why you cant wield it was because you wasn't supposed to be able to take it of in the first place so fix that bug
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |