Idle Out Code for Rom2.4

Posted by Erythnul on Sat 17 Mar 2007 09:10 AM — 5 posts, 18,903 views.

#0
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 :)
USA #1
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.
#2
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.
USA #3
What happens when they're disconnected? Is there a message? If so, grep for that.
#4
Well I'm silly...thank you much. Found it directly in update.c