Jump to content
  • 0

@afk error after update svn


LearningRO

Question


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  11/04/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

@rebel

 

Thx It's Fix now :D

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