Skip to content

Balance Code From Hellas

Featured Replies

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

Solved by Extreamer

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

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

  • Author

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

  • Author

L2World.getInstance().getAllPlayers().values()

 

Try that 

that work fine! gg tnx :D

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

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

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

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.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.