realRO Posted January 14, 2014 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Share 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 Link to comment Share on other sites More sharing options...
darking123 Posted January 14, 2014 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share 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 Link to comment Share on other sites More sharing options...
realRO Posted January 14, 2014 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
realRO Posted January 20, 2014 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Author Share Posted January 20, 2014 bump? Quote Link to comment Share on other sites More sharing options...
chowking Posted January 23, 2014 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 23, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.