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
Vkouk Posted December 14, 2011 Author Posted December 14, 2011 Perfect. Thank you so much Ventic. no problem
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
Vkouk Posted December 17, 2011 Author Posted December 17, 2011 try to delete the values() and instead of it use size() or something similar
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(); ?
Vkouk Posted December 18, 2011 Author Posted December 18, 2011 that int will work but atm cant check it cause i dont got eclipse
UnixCode Posted December 18, 2011 Posted December 18, 2011 try to make it int plrs =L2World.getInstance().getAllPlayers(); , maybe it works.
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
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 ;)
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 ?
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 :)
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.
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
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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now