[HELP] Wedding System Error L2J 

Junior Spellweaver
Joined
Mar 9, 2007
Messages
111
Reaction score
0
Location
Netherlands
Hi there,

I'm having trouble with implanting a wedding system into my server(Hero1711 Pack rev193 i think it was.). Compiling gave me a few errors which I was able to resolve(maybe that's the cause??) but now when I do .engage everything works almost normal, there's a '0' behind the question. After engaging I go to the wedding priest and I say I want to marry so does my fiance, she accepts but then nothing happens in game but in the log of my gameserver I get his error:
Code:
WARNING: Bad RequestBypassToServer: 
java.lang.NullPointerException
 at net.sf.l2j.gameserver.model.actor.instance.L2WeddingManagerInstance.onBypassFeedback(L2WeddingManagerInstance.java:108)
 at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:149)
 at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:58)
 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)
the money is gone but we ain't married.

And also when I do .divorce to try to marry again, I get this error:
Code:
SEVERE: error handling client message [C] 38 Say2
java.lang.IndexOutOfBoundsException: index: -1
 at javolution.util.FastList.get(FastList.java:178)
 at net.sf.l2j.gameserver.instancemanager.CoupleManager.deleteCouple(CoupleManager.java:130)
 at net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding.Divorce(Wedding.java:90)
 at net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding.useVoicedCommand(Wedding.java:48)
 at net.sf.l2j.gameserver.clientpackets.Say2.runImpl(Say2.java:240)
 at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:58)
 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)

I hope someone can help me implant it successfully, or at least give me a clue what to do, and if it's necessary I can upload the files I'm working with.

Thanks in advance!
 
Back