Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ ROM
➜ Compiling the server
➜ Idle Out Code for Rom2.4
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Sat 17 Mar 2007 09:10 AM (UTC) |
Message
| I'm having a slight problem configuring my Rom2.4 codebase to not allow for idle-outs. Currently, the way the code works; it currently allows Immortals to stay online 24/7 with no triggers set. It won't idle them at all. But as for mortals, it idles them, then after 30 or so minutes it disconnects them off the mud. How do I remove the idle code so the mortals can be AFK all the if they chose to be?
I had been doing some grepping for wch->timer and vch->timer along with idle but I have found nothing. Im lost, please help :) | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Sat 17 Mar 2007 05:55 PM (UTC) |
Message
| I think you want to search for "idle++" and just not increment it. I'm pretty sure it's in comm.c. The timer variable is for something else. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #2 on Mon 19 Mar 2007 12:42 AM (UTC) |
Message
| Hmm not finding it. I will look a little deeper. Im sure it's somewhere. It's just hiding. If anyone has any more info on this, it'd be helpful. Thanks for the help thus far. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #3 on Mon 19 Mar 2007 12:48 AM (UTC) |
Message
| What happens when they're disconnected? Is there a message? If so, grep for that. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #4 on Mon 19 Mar 2007 01:06 AM (UTC) |
Message
| Well I'm silly...thank you much. Found it directly in update.c | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,761 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top