marwan Posted December 14, 2011 Posted December 14, 2011 iam getting error in this line Collection<L2PcInstance> plrs =L2World.getInstance().getAllPlayers().values(); using L2JServer High Five Quote
Vkouk Posted December 14, 2011 Author Posted December 14, 2011 Perfect. Thank you so much Ventic. no problem Quote
marwan Posted December 14, 2011 Posted December 14, 2011 iam getting error in this line Collection<L2PcInstance> plrs =L2World.getInstance().getAllPlayers().values(); using L2JServer High Five Quote
Vkouk Posted December 17, 2011 Author Posted December 17, 2011 try to delete the values() and instead of it use size() or something similar Quote
marwan Posted December 18, 2011 Posted December 18, 2011 try to delete the values() and instead of it use size() or something similar if i wrote it like that it will work ? i changed it to size but still giving me error int plrs =L2World.getInstance().getAllPlayers().size(); or like that : L2PcInstance[] plrs =L2World.getInstance().getAllPlayers().values(); ? Quote
Vkouk Posted December 18, 2011 Author Posted December 18, 2011 that int will work but atm cant check it cause i dont got eclipse Quote
UnixCode Posted December 18, 2011 Posted December 18, 2011 try to make it int plrs =L2World.getInstance().getAllPlayers(); , maybe it works. Quote
Vkouk Posted December 18, 2011 Author Posted December 18, 2011 try to make it int plrs =L2World.getInstance().getAllPlayers(); , maybe it works. he said the same thing Quote
crash_8675 Posted December 21, 2011 Posted December 21, 2011 iam getting error in this line Collection<L2PcInstance> plrs =L2World.getInstance().getAllPlayers().values(); using L2JServer High Five Delete this: Collection<L2PcInstance> plrs =L2World.getInstance().getAllPlayers().values(); replace for: L2PcInstance[] plrs = L2World.getInstance().getAllPlayersArray(); I hope this helps you. Take care ;) Quote
marwan Posted December 22, 2011 Posted December 22, 2011 Delete this: Collection<L2PcInstance> plrs =L2World.getInstance().getAllPlayers().values(); replace for: L2PcInstance[] plrs = L2World.getInstance().getAllPlayersArray(); I hope this helps you. Take care ;) are you sure that will work ? Quote
crash_8675 Posted December 23, 2011 Posted December 23, 2011 are you sure that will work ? I think can work but I dont know 100%... Just try :) Quote
disorder25 Posted December 25, 2011 Posted December 25, 2011 try this http://pastebin.com/s6sZKyXN Hey can you share the rest of the patch that go with this version, because the event is not starting. I added the L2pcinstance part, the gameserver.java part and the database part from the other share and made some changes to correct the errors but the event doesn't start. Something must be wrong. Thank you. Quote
marwan Posted December 25, 2011 Posted December 25, 2011 Hey can you share the rest of the patch that go with this version, because the event is not starting. I added the L2pcinstance part, the gameserver.java part and the database part from the other share and made some changes to correct the errors but the event doesn't start. Something must be wrong. Thank you. if you need any help pm me i added it on freya and h5 working fine Quote
djspankman Posted December 28, 2011 Posted December 28, 2011 Not bad but very messy code and not documented well or at all, you need to re-think this. Also some declared values which are not used. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.