Jump to content
  • 0

Πέρασμα Κώδικα L2Jacis


TEOGR_hItMaKeR

Question

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

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

6 answers to this question

Recommended Posts

  • 0

 

 

 ThreadPool.schedule 
 

 

 

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

  • 0

 

 

 

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

  • 0

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

Link to comment
Share on other sites

  • 0

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...