pirama Posted June 29, 2016 Posted June 29, 2016 (edited) every char on server can use res commande every 1 minute ( by default ) http://pastebin.com/5N8Ucu6n system/commandname-e.dat 115 114 a,resurrection\0 credits SweeTs for create 50% of code and me for next 50% Edited June 30, 2016 by pirama 1 Quote
pirama Posted June 29, 2016 Author Posted June 29, 2016 Just lol now no have bug with restart player or restart client and have only 1 stable Thread Quote
pirama Posted June 29, 2016 Author Posted June 29, 2016 (edited) My code never had any problem. yes have .if every one player close client and open it again can use commande again :) Edited June 29, 2016 by pirama Quote
Boorinio Posted June 30, 2016 Posted June 30, 2016 The static class gave me cancer...Use task manager in acis, the "else" isn't really needed but it's not going to cause problems either... Quote
pirama Posted June 30, 2016 Author Posted June 30, 2016 (edited) The static class gave me cancer...Use task manager in acis, the "else" isn't really needed but it's not going to cause problems either... yes you're right again as we said in the elfo on another Topic and for that i change the base code . and drop Thread for dont run all time i think dont need Thread for clean size : if map size is 1000 = 1000 player ( for use commande is not eazy ) = 1000 integer and 1000 long number .. this size i think is not large ty for comment :P Edited June 30, 2016 by pirama Quote
SweeTs Posted June 30, 2016 Posted June 30, 2016 I see 2 better ways: use player.getMemo() to store/retrieve info about the time change it to be usable as a item / skill. You set the reuse directly on skill. Obviously small touch @ itemhandler is required. Quote
pirama Posted June 30, 2016 Author Posted June 30, 2016 (edited) I see 2 better ways: use player.getMemo() to store/retrieve info about the time change it to be usable as a item / skill. You set the reuse directly on skill. Obviously small touch @ itemhandler is required. certainly there are many ways to become a better code that here the code was just to show you that in my opinion to improve the code that had become share on another topic without this meaning that is not well-code to the used i think don't need db connection for 1 simple code like this except if you give 1 day reuse each code is written according to our needs Edited June 30, 2016 by pirama Quote
AccessDenied Posted July 1, 2016 Posted July 1, 2016 (edited) 1. Did you make this code with sweeTs? i just lost my respect toward sweeTs for this COOP lel 2. You got the idea and the code we all modified yesterday in my topic and u shared it :D? the //res me voicecommand handler lel again Edited July 1, 2016 by AccessDenied Quote
pirama Posted July 1, 2016 Author Posted July 1, 2016 (edited) 1. Did you make this code with sweeTs? i just lost my respect toward sweeTs for this COOP lel 2. You got the idea and the code we all modified yesterday in my topic and u shared it :D? the //res me voicecommand handler lel again yes i take they code and i change it ... and for that i give credits your code and SweeTs code have bug...if player use restart i drop Thread's and i fix rr bug ... i told you on your Topic how you can drop Thead's and i fix this code for you can see it and if you see it is not voicecommand is usercommand Edited July 1, 2016 by pirama Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.