Jump to content

LastHero Event


Recommended Posts

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(); ?

 

Link to comment
Share on other sites

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 ;)

 

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

 

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...