Jump to content
  • 0

Manually adding checkidle


Question

Posted

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.

2 answers to this question

Recommended Posts

Posted

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
Posted

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

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.

  • Recently Browsing   0 members

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