Jump to content

Recommended Posts

Posted

btw, there is item execption? :D

 

how if I do @autopots 1 50 501 50 502? :D

there's no execption for item that gives HP or SP or maybe both

 

and what's type for? /hmm

<type>(0=OFF,1=OFF)

Posted

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.

  • Upvote 1
Posted (edited)

btw, there is item execption? :D

 

how if I do @autopots 1 50 501 50 502? :D

there's no execption for item that gives HP or SP or maybe both

 

and what's type for? /hmm

 

<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

  /ok

 

-

 

v.3 : remove useless thing

Edited by goddameit
Posted

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;
 

Posted

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

Posted

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

Posted (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.  /ok

Edited by goddameit
  • 3 months later...
  • 3 months later...
  • 5 months later...
  • 3 years later...
Posted

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'
 

  • 1 month later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...