Jump to content

Question

Posted (edited)

Γεια σας και πάλι :) Αυτή την φορά θέλω να περάσω αυτόν εδώ τον κώδικα 

https://pastebin.com/hV9gqeE1 τον οποίον έχει φτιάξει ο "Anarchy" 

 

σε acis 367 και ενώ κάνω τις αλλαγές l2pcinstance σε Player 

Threadpoolmanager σε Threadpool κλπ 

 

μου βγάζει error στο ThreadPool.getinstance :/ 

 

επίσης θα ήθελα να λειτουργεί αυτός ο κώδικας πάνω σε αυτόν http://www.maxcheaters.com/topic/78985-sharel2j-coin-reward-for-pvppk/ δηλαδή να μην μπορεί να πάρει reward τα συγκεκριμένα πράγματα 

 

Ευχαριστώ !

Edited by TEOGR_hItMaKeR

6 answers to this question

Recommended Posts

  • 0
Posted

 

 

 ThreadPool.schedule 
 

 

 

 To χω κάνει έτσι τώρα και βγάζει κόκκινο το scheduleGeneral
ThreadPool.schedule(null, 0).scheduleGeneral(() -> protections.get(victim.getObjectId()).remove(killer.getObjectId()), 1000*60*15);
    }
  • 0
Posted

 

 

 

 To χω κάνει έτσι τώρα και βγάζει κόκκινο το scheduleGeneral
ThreadPool.schedule(null, 0).scheduleGeneral(() -> protections.get(victim.getObjectId()).remove(killer.getObjectId()), 1000*60*15);
    }
ThreadPool.schedule(() -> protections.get(victim.getObjectId()).remove(killer.getObjectId()), 1000*60*15);
  • 0
Posted

@melron αυτό το έφτιαξε αλλά έχω άλλο θέμα τώρα ... Θα σου ήταν εύκολο να το δεις με κάποιο τρόπο; πιστεύω είναι 2 λεπτά υπόθεση απλά δεν έχω καταλάβει κάτι ... 

  • 0
Posted (edited)

Γεια σας και πάλι :) Αυτή την φορά θέλω να περάσω αυτόν εδώ τον κώδικα 

https://pastebin.com/hV9gqeE1 τον οποίον έχει φτιάξει ο "Anarchy" 

 

σε acis 367 και ενώ κάνω τις αλλαγές l2pcinstance σε Player 

Threadpoolmanager σε Threadpool κλπ 

 

μου βγάζει error στο ThreadPool.getinstance :/ 

 

επίσης θα ήθελα να λειτουργεί αυτός ο κώδικας πάνω σε αυτόν http://www.maxcheaters.com/topic/78985-sharel2j-coin-reward-for-pvppk/ δηλαδή να μην μπορεί να πάρει reward τα συγκεκριμένα πράγματα 

 

Ευχαριστώ !

 

https://pastebin.com/gCfkyyiz for acis 367

Edited by AnotherPerson

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