Jump to content
  • 0

Question

Posted

i take the code from hellas but i have one probleam in balancerEdit..  how i can fix it?

can only iterate over an array or an instance of java.lang.iterable
for (L2PcInstance p : L2World.getAllPlayers())

9 answers to this question

Recommended Posts

  • 0
Guest Elfocrash
Posted

change to for (L2PcInstance p : L2World.getAllPlayers().values())

  • 0
Posted (edited)

did you fully extract the code from hellas?

 

It seems like to me L2World.getAllPlayers()) 

 it is not working properly?

 

make sure that all the code is fully extracted, also are you getting any errors in eclipse or is everything fine when you compile it ?

 

NOTE: what pack are you using? acis or frozen?

 

Elfo knows it's basically his modified code !

Edited by Extreamer
  • 0
Posted

change to for (L2PcInstance p : L2World.getAllPlayers().values())

Cannot make a static reference to the non-static method getAllPlayers() from the type L2World

 

change modifier of getallplayers() to static

  • 0
Posted (edited)

that work fine! gg tnx :D

I say to you again. if you have up to interlude client (ex freya hi5) you cannot greate-restore kamael classes with code from hellas. you must edit some things in code for work. and 1 help dont forget to edit CharStat.java

Edited by nikosdevil20
  • 0
Posted

that work fine! gg tnx :D

 

no problem buddy, remember that if you want to call for all players online make sure to use it as an instance!

 

I say to you again. if you have up to interlude client (ex freya hi5) you cannot greate-restore kamael classes with code from hellas. you must edit some things in code for work. and 1 help dont forget to edit CharStat.java

 

What are you talking about, just random shit.

 

Topic has been solved, request for lock

  • 0
Posted

no problem buddy, remember that if you want to call for all players online make sure to use it as an instance!

 

 

What are you talking about, just random shit.

 

Topic has been solved, request for lock

idiot i say this for help he. is not only the 3 files in extends.balancer must edit and CharStat.java for work the balancer wakeup

  • 0
Posted (edited)

You are spamming about that over and over again.. Just dont busy, it's gonna be his problem.

 

 

/locked

Edited by SweeTs
Guest
This topic is now closed to further replies.


×
×
  • Create New...