Jump to content

Recommended Posts

Posted

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

 

Posted

try to make it int plrs =L2World.getInstance().getAllPlayers(); , maybe it works.

he said the same thing
Posted

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

 

Posted

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 ?

Posted

 

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.

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock