Jump to content
  • 0
LearningRO

@afk error after update svn

Question

afte i update my svn and i recompile

 

i get error message like this

 

atcommand.c: In function 'atcommand_afk':
atcommand.c:8964: warning: passing argument 2 of 'status_change_start' makes poi
nter from integer without a cast
status.h:1806: note: expected 'struct block_list *' but argument is of type 'int
'
atcommand.c:8964: error: too few arguments to function 'status_change_start'
make[1]: *** [obj_sql/atcommand.o] Error 1
make[1]: Leaving directory `/root/trunk/src/map'

 

how to fix it

 

some body can help me  :D

Edited by melv0
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

change

 

status_change_start(&sd->bl, SC_AUTOTRADE, 10000,0,0,0,0, ((timeout > 0) ? min(timeout,battle_config.afk_timeout) : battle_config.afk_timeout)*60000,0);

 

to

 

status_change_start(NULL, &sd->bl, SC_AUTOTRADE, 10000,0,0,0,0, ((timeout > 0) ? min(timeout,battle_config.afk_timeout) : battle_config.afk_timeout)*60000,0);
Link to comment
Share on other sites

i also got problem after updating my svn, all skill description became alien language -_-"

my SVN now version 16864

post-10100-0-87711000-1364703677_thumb.jpg

 

my current SVN doesnt has reign of mount (id 12622) on item_db.txt

help pls

 

also sprite doesnt show up

post-10100-0-16548700-1364704210_thumb.jpg

 

 

all things messed... PLEASE HELPPPPPPP

Edited by YuliChenz
Link to comment
Share on other sites

did you update your clientside also?



afte i update my svn and i recompile

 

i get error message like this

 

atcommand.c: In function 'atcommand_afk':
atcommand.c:8964: warning: passing argument 2 of 'status_change_start' makes poi
nter from integer without a cast
status.h:1806: note: expected 'struct block_list *' but argument is of type 'int
'
atcommand.c:8964: error: too few arguments to function 'status_change_start'
make[1]: *** [obj_sql/atcommand.o] Error 1
make[1]: Leaving directory `/root/trunk/src/map'

 

how to fix it

 

some body can help me  :D

weird

is rathena already implemented the @afk?

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.