realRO Posted January 14, 2014 Posted January 14, 2014 Kindly please help me how to apply this patch: http://rathena.org/board/tracker/issue-8459-addtimer-command-should-report-an-error-if-it-hits-max-eventtimer/ I can't understand where and what to put/apply.. Help me please. Thank you. Quote
darking123 Posted January 14, 2014 Posted January 14, 2014 here sir/mam https://github.com/rathena/rathena/commit/f46a792 the - red one(means you should delete it) the + green one(means youll add it) Quote
realRO Posted January 14, 2014 Author Posted January 14, 2014 I'm 'sir' btw, so you mean sir, I will change all 5 files that's linked to annieruru's post? Quote
chowking Posted January 23, 2014 Posted January 23, 2014 yes, just replace the red lines with the greensearch the red,replace it with green,thats how you do it Quote
AnnieRuru Posted January 23, 2014 Posted January 23, 2014 oh ! replace your addtimer function into like this BUILDIN_FUNC(addtimer) { int tick = script_getnum(st,2); const char* event = script_getstr(st, 3); TBL_PC* sd; check_event(st, event); sd = script_rid2sd(st); if( sd == NULL ) return 0; if (!pc_addeventtimer(sd,tick,event)) { ShowWarning("buildin_addtimer: Event timer is full, can't add new event timer. (cid:%d timer:%s)\n",sd->status.char_id,event); return 1; } return 0; } Quote
Question
realRO
Kindly please help me how to apply this patch:
http://rathena.org/board/tracker/issue-8459-addtimer-command-should-report-an-error-if-it-hits-max-eventtimer/
I can't understand where and what to put/apply..
Help me please. Thank you.
5 answers to this question
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.