Jump to content
  • 0

Manually adding checkidle


rqueen

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

Hi, so I'm trying to add script command 'checkidle' on our server. Can't diff cause we're on eA.

 

I've followed the steps here carefully:

http://trac.rathena.org/changeset/17126/rathena

 

When recompiling though, I get this error:

script.c:13711:3: error: âlast_tickâ undeclared (first use in this function)
script.c:13711:3: note: each undeclared identifier is reported only once for each function it appears in

 

Help please, I really need this added.



Anyone? If there are other pre-requisite source mods I need to do for this to work, I don't mind.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

Hi, so I'm trying to add script command 'checkidle' on our server. Can't diff cause we're on eA.

 

I've followed the steps here carefully:

http://trac.rathena.org/changeset/17126/rathena

 

When recompiling though, I get this error:

 

script.c:13711:3: error: âlast_tickâ undeclared (first use in this function)
script.c:13711:3: note: each undeclared identifier is reported only once for each function it appears in

 

Help please, I really need this added.

Anyone? If there are other pre-requisite source mods I need to do for this to work, I don't mind.

 

add this line  in  script.c

#include "../common/socket.h"
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

Hi, so I'm trying to add script command 'checkidle' on our server. Can't diff cause we're on eA.

 

I've followed the steps here carefully:

http://trac.rathena.org/changeset/17126/rathena

 

When recompiling though, I get this error:

 

script.c:13711:3: error: âlast_tickâ undeclared (first use in this function)
script.c:13711:3: note: each undeclared identifier is reported only once for each function it appears in

 

Help please, I really need this added.

Anyone? If there are other pre-requisite source mods I need to do for this to work, I don't mind.

 

add this line  in  script.c

#include "../common/socket.h"

Oh my god, thank you so much! You're a life saver. <3

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