Page 1 of 1

If you can, take a look here!!

Posted: Thu Jul 22, 2010 2:48 pm
by guillermokiss
Well, hello everyones, almost opening ma server, i've found this error and i don't really know why it's happening so, i decide to post it here to give you a try :? ...
It's just happening when someone use the wyvern manager or just use any kind of pets, (isn't the same with the normal summons as "Corrupted man"), and i can't find where is the error at the core, also, it's pretty strange cause it wasn't happening just instead of 1-2 days ago, if you can help me a little, i will be so grateful..

Here's the error:

Code: Select all

Client: [Character: MetralletaJonh - Account: metralleta - IP: 201.253.19.155] - Failed running: [C] 01 MoveBackwardToLoc - L2J Server Version: 3872 - DP Revision: 6794java.lang.NullPointerException        at net.sf.l2j.gameserver.model.actor.stat.PcStat.getRunSpeed(PcStat.java:384)        at net.sf.l2j.gameserver.model.actor.stat.CharStat.getMoveSpeed(CharStat.java:435)        at net.sf.l2j.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:4424)        at net.sf.l2j.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:3410)        at net.sf.l2j.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:642)        at net.sf.l2j.gameserver.ai.L2PlayerAI.onIntentionMoveTo(L2PlayerAI.java:221)        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:315)         at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:249)         at net.sf.l2j.gameserver.network.clientpackets.MoveBackwardToLocation.runImpl(MoveBackwardToLocation.java:123)        at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:76)        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source)Client: [Character: MetralletaJonh - Account: metralleta - IP: 201.253.19.155] - Failed running: [C] 01 MoveBackwardToLoc - L2J Server Version: 3872 - DP Revision: 6794Client: [Character: MetralletaJonh - Account: metralleta - IP: 201.253.19.155] - Failed running: [C] 01 MoveBackwardToLoc - L2J Server Version: 3872 - DP Revision: 6794java.lang.NullPointerException        at net.sf.l2j.gameserver.model.actor.stat.PcStat.getRunSpeed(PcStat.java:384)        at net.sf.l2j.gameserver.model.actor.stat.CharStat.getMoveSpeed(CharStat.java:435)        at net.sf.l2j.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:4424)        at net.sf.l2j.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:3410)        at net.sf.l2j.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:642)        at net.sf.l2j.gameserver.ai.L2PlayerAI.onIntentionMoveTo(L2PlayerAI.java:221)        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:315)         at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:249)         at net.sf.l2j.gameserver.network.clientpackets.MoveBackwardToLocation.runImpl(MoveBackwardToLocation.java:123)        at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:76)        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source)java.lang.NullPointerException        at net.sf.l2j.gameserver.model.actor.stat.PcStat.getRunSpeed(PcStat.java:384)        at net.sf.l2j.gameserver.model.actor.stat.CharStat.getMoveSpeed(CharStat.java:435)        at net.sf.l2j.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:4424)        at net.sf.l2j.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:3410)        at net.sf.l2j.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:642)        at net.sf.l2j.gameserver.ai.L2PlayerAI.onIntentionMoveTo(L2PlayerAI.java:221)        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:315)         at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:249)         at net.sf.l2j.gameserver.network.clientpackets.MoveBackwardToLocation.runImpl(MoveBackwardToLocation.java:123)        at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:76)        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source) 
Thanks you all in advance

Re: If you can, take a look here!!

Posted: Thu Jul 22, 2010 5:11 pm
by JIV
your rev is too old for me to start bother with it.

Re: If you can, take a look here!!

Posted: Fri Jul 23, 2010 12:36 pm
by jurchiks
umm... wtf dude? 3872 is epilogue, why haven't you updated your core?

Re: If you can, take a look here!!

Posted: Tue Jul 27, 2010 4:01 am
by guillermokiss
well, reviving post, atleast i didn't found any kind of fix for this so, hope somebody knows about; also it isn't old at all, i've updated it 2 weeks ago, Thanks a lot.

Re: If you can, take a look here!!

Posted: Tue Jul 27, 2010 7:16 am
by janiii
net.sf package is for sure not epilogue, at least not this l2jserver code. so then you are using some other l2j fork.

Re: If you can, take a look here!!

Posted: Thu Aug 12, 2010 8:18 pm
by sancak
how can u understand it's l2j or others? :shock: i'm just start to l2j sorry for my small question.

Re: If you can, take a look here!!

Posted: Thu Aug 12, 2010 9:48 pm
by Stake
That NPE's occur when you try to mount a pet higher than you in level, because the mount level will be your char's level, and the PetDataTable cannot find that in the list, eg. the Fenrir if you are not lvl 70+. You can ignore that error anyway.

Re: If you can, take a look here!!

Posted: Tue Aug 17, 2010 4:55 am
by guillermokiss
Well, thanks for your answer but anyway, the problem here is that in my server, the normal levels whichs players starts is 80, and there's not possible that error occurs cause of the player level cause wyvern is supossed to be lvl 70, however, i'm still trying to find the reason of this problems, i don't really mind that i've change something at core cause it doesn't appears as an error in the eclipse...

Here is another else error which appears when somebody tryes to fly on a wyvern with the "wyvern manager" from a fortress or a castle, also something else is occuring with that cause GM's/Admins can't ride that damned wyvern too :? ..

Code: Select all

Client: [Character: MetralletaJonh - Account: metralleta - IP: 201.253.16.61] -Failed running: [C] 01 MoveBackwardToLoc - L2J Server Version: 3872 - DP Revision: 6794java.lang.NullPointerException        at net.sf.l2j.gameserver.model.actor.stat.PcStat.getRunSpeed(PcStat.java:392)        at net.sf.l2j.gameserver.model.actor.stat.CharStat.getMoveSpeed(CharStat.java:435)        at net.sf.l2j.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:4424)        at net.sf.l2j.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:3410)        at net.sf.l2j.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:642)        at net.sf.l2j.gameserver.ai.L2PlayerAI.onIntentionMoveTo(L2PlayerAI.java:221)        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:315)         at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:249)         at net.sf.l2j.gameserver.network.clientpackets.MoveBackwardToLocation.runImpl(MoveBackwardToLocation.java:123)        at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:76)        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source) 

Re: If you can, take a look here!!

Posted: Thu Aug 19, 2010 1:16 pm
by Stake
If //ride_wyvern command works, then the npc's wyvern should work too, because it uses the same method, mount(npcid, lvl, usefood). There are 2 mount methods in L2PcInstance (what I mentioned and the mount(summon)), and the summon mount uses the pet's level, the pet mount uses the player's level. The command works for me, so the problem is somewhere in your core or datapack. Try with a clean pack.

PS.: Eclipse shows only syntax errors, it will not show runtime errors. :)

Re: If you can, take a look here!!

Posted: Fri Aug 20, 2010 4:03 am
by guillermokiss
Exactly as you said, it doesn't shown that runtime errors, but something is wrong at the handlers of (activeChar.getRunSpeed()).. bla bla, i means about that there should be any kind of wrong placed scripts cause i've tryed on a clean core, same as i'm using atm, last revision of Gracia Final (4410), and there is written the same methods, i don't even mind about i've changed something at core about these things, also i've checked at all the scripts but they are ok as far as i can apreciate, so i'm still so doubt :?

Re: If you can, take a look here!!

Posted: Tue Aug 31, 2010 12:31 am
by Stake
Something could be wrong with your database, because it still works perfectly for me with rev 4406. That was the latest Epilogue revision before it was put in branch. For clean pack I meant that you should completely reinstall the server from compiling the core to installing the database. It should work 100% with a clean core and datapack (including database).