Lighta Posted April 25, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted April 25, 2013 line 9160 add a + between gettick() and 500 gettick()+500 Quote Link to comment Share on other sites More sharing options...
Cydh Posted April 25, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted April 25, 2013 btw, there is item execption? how if I do @autopots 1 50 501 50 502? there's no execption for item that gives HP or SP or maybe both and what's type for? <type>(0=OFF,1=OFF) Quote Link to comment Share on other sites More sharing options...
Lighta Posted April 25, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted April 25, 2013 some sc are timered yeah, so it's quite similar and 500ms is quite big. If you wanted to do it hp / sp based tough you could have done it in status_dammage and here you go. 1 Quote Link to comment Share on other sites More sharing options...
goddameit Posted April 25, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Author Share Posted April 25, 2013 (edited) btw, there is item execption? how if I do @autopots 1 50 501 50 502? there's no execption for item that gives HP or SP or maybe both and what's type for? <type>(0=OFF,1=OFF) if you type "@autopots 0 blablabla..." this will call system that you want to turn off (just a bool for start or end) there's no execption for item that gives HP or SP or maybe both Use item for recovering HP will be priority as - v.3 : remove useless thing Edited April 25, 2013 by goddameit Quote Link to comment Share on other sites More sharing options...
Deleted User Posted April 25, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted April 25, 2013 Quote Link to comment Share on other sites More sharing options...
solid2005 Posted April 26, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 147 Reputation: 15 Joined: 01/06/12 Last Seen: 11 hours ago Share Posted April 26, 2013 Warning 1 warning C4101: 'i' : unreferenced local variable k:\rathena\testserver\src\map\atcommand.c 8585 map-server_sql on int hp_rate=0, hp_nameid=0, sp_rate=0, sp_nameid=0, type=0, i; Quote Link to comment Share on other sites More sharing options...
goddameit Posted April 26, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Author Share Posted April 26, 2013 Warning 1 warning C4101: 'i' : unreferenced local variable k:\rathena\testserver\src\map\atcommand.c 8585 map-server_sql on int hp_rate=0, hp_nameid=0, sp_rate=0, sp_nameid=0, type=0, i; int hp_rate=0, hp_nameid=0, sp_rate=0, sp_nameid=0, type=0, i; you can remove this if you really care this warning Quote Link to comment Share on other sites More sharing options...
Cydh Posted April 26, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted April 26, 2013 I just wanna share, on another MMORPG that has autopots, they have separate timer for HP and SP, maybe you want improve like that.. and other one, autoconsume healing item is based on what healing item that placed on hotkey, maybe if you want to try it. haha Quote Link to comment Share on other sites More sharing options...
solid2005 Posted April 26, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 147 Reputation: 15 Joined: 01/06/12 Last Seen: 11 hours ago Share Posted April 26, 2013 it can be if you add to skill by level 1 to 10 1 = 10% to 10 = 100% skill = hotkey Quote Link to comment Share on other sites More sharing options...
goddameit Posted April 26, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Author Share Posted April 26, 2013 (edited) I just wanna share, on another MMORPG that has autopots, they have separate timer for HP and SP, maybe you want improve like that.. and other one, autoconsume healing item is based on what healing item that placed on hotkey, maybe if you want to try it. haha if you want to make system will do recover HP and SP at same time or using hotkey, just change ''use item'' to ''directly heal + delete item'' or else. anyway, this is open source, you can edit it to what you want. I will only fix or update what I think is important or good. Edited April 26, 2013 by goddameit Quote Link to comment Share on other sites More sharing options...
OunoriBaka Posted July 31, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 06/27/13 Last Seen: August 19, 2013 Share Posted July 31, 2013 error in compiling. im using latest rath. is there an update for this yet? could be nice to have one of these. T_T.. Quote Link to comment Share on other sites More sharing options...
williamII Posted November 15, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 343 Reputation: 15 Joined: 11/21/11 Last Seen: Yesterday at 07:08 AM Share Posted November 15, 2013 can update to git please? the lasted diff don't work. Quote Link to comment Share on other sites More sharing options...
Dolphin86 Posted May 4, 2014 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: December 18, 2024 Share Posted May 4, 2014 quick question, can this be use on eAthena? Quote Link to comment Share on other sites More sharing options...
fckng Posted January 25, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 29 Reputation: 1 Joined: 03/27/13 Last Seen: March 17 Share Posted January 25, 2018 bump someone can help me? sorry for reviving topic atcommand.c: In function 'autoatpots_timer': atcommand.c:8557: error: expected ')' before numeric constant atcommand.c:8557: error: too few arguments to function 'add_timer' atcommand.c:8528: warning: unused variable 'item' atcommand.c: In function 'atcommand_autopots': atcommand.c:8604: error: expected ')' before numeric constant atcommand.c:8604: error: too few arguments to function 'add_timer' atcommand.c: In function 'atcommand_mobevent': atcommand.c:8691: warning: unused variable 'y' atcommand.c:8691: warning: unused variable 'x' Quote Link to comment Share on other sites More sharing options...
chocomooji Posted March 23, 2018 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 11/17/14 Last Seen: February 17, 2024 Share Posted March 23, 2018 update please Quote Link to comment Share on other sites More sharing options...
ittiphol Posted December 2, 2019 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted December 2, 2019 Need help compile is error how to fixit Quote Link to comment Share on other sites More sharing options...
sader1992 Posted December 2, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 16 hours ago Share Posted December 2, 2019 11 hours ago, ittiphol said: Need help compile is error how to fixit i would suggest using this https://github.com/rathena/rathena/blob/master/npc/custom/etc/autopot.txt no need for src edit Quote Link to comment Share on other sites More sharing options...
ittiphol Posted December 2, 2019 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted December 2, 2019 On 12/3/2019 at 3:32 AM, sader1992 said: i would suggest using this https://github.com/rathena/rathena/blob/master/npc/custom/etc/autopot.txt no need for src edit autopot.txt it's works fine autopot.txt it's use only type text box but now i try apply to item to use it thank you Somebody help me how to use this script by callfunc not type in textbox chat thank you. Quote Link to comment Share on other sites More sharing options...
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.