Jump to content
  • 0

Balance Code From Hellas


Red-Hair-Shanks

Question

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

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

 

 

/locked

Edited by SweeTs
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • 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