Olympiad (IL)

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
mrcx
Posts: 25
Joined: Thu Apr 16, 2009 3:41 pm

Olympiad (IL)

Post by mrcx »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: Latest IL
L2JDP Revision Number: Latest IL

Im using latest IL datapack and core files. Installed http://l2jserver.com/trac/changeset/1951 olympiad fix. Needed some changes,but i cant fix one error. When characer participated into oly and before he had teleported if he crashes , other one gets winned match and gets points. But when winner being teleported back in gameserver i got this error,and winner is teleported to some water (i think teleports to 0,0,0 cords)

Code: Select all

Olympiad System: Game - 0: MrCX Vs asdasdsaOlympia Result: MrCX vs asdasdsa ... MrCX lost 5 points for crashOlympia Result: MrCX vs asdasdsa ... asdasdsa Win 5 pointsjava.lang.NullPointerException        at net.sf.l2j.gameserver.model.L2Character.teleToLocation(L2Character.java:490)        at net.sf.l2j.gameserver.Olympiad$L2OlympiadGame.portPlayersBack(Olympiad.java:2036)        at net.sf.l2j.gameserver.Olympiad$OlympiadGameTask.checkStatus(Olympiad.java:171)        at net.sf.l2j.gameserver.Olympiad$OlympiadGameTask.run(Olympiad.java:206)        at java.lang.Thread.run(Unknown Source) 
maybe someone had same problem or know solutions?
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Olympiad (IL)

Post by Lee »

This isn't a oly bug, but a general teleport bug..

Go to the selected from the server line in L2Character.java and delete the revalidate and paste this instead :

// Remove from world regions zones
if (getWorldRegion() != null)
getWorldRegion().removeFromZones(this);

won't give any more NPE's ^^
mrcx
Posts: 25
Joined: Thu Apr 16, 2009 3:41 pm

Re: Olympiad (IL)

Post by mrcx »

Lee wrote:This isn't a oly bug, but a general teleport bug..

Go to the selected from the server line in L2Character.java and delete the revalidate and paste this instead :

// Remove from world regions zones
if (getWorldRegion() != null)
getWorldRegion().removeFromZones(this);

won't give any more NPE's ^^
thanks, server isnt givint any more NPE's ;) but problem still exist,when other player charshed,i became a winner and got teleported from stadium to wrong location (probably to 0,0,0 cords)...No errors is Gameserver... Any more solutions? :)
Post Reply