Jump to content

/resurrection Char


Recommended Posts

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 by pirama
  • Upvote 1
Link to comment
Share on other sites

My code never had any problem.

yes have .if every one player close client and open it again can use commande again :)

Edited by pirama
Link to comment
Share on other sites

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

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

 

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...