DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • September 21, 2018, 04:39:45 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Resource Pages

Pages: [1]   Go Down
Author Topic: Log Out Script  (Read 3493 times)
0 Members and 1 Guest are viewing this topic.
« on: May 30, 2005, 08:56:24 AM »

I am looking for an automatic logout module for any player being online for more than 'x' hours.
I had to limit the amount of online players to 30 and now some of them are staying logged in for very long and not letting other players in.

This module would be very handy...

Sorry for my english today... something is undoubtly wrong with me...
Offline Offline

Posts: 97

PHP Student

View Profile WWW
« Reply #1 on: May 30, 2005, 09:03:43 PM »

there's already an in-game setting for auto-logging out players who are not active for x seconds. It can be found in Game Settings, under content expiration tab, its called Seconds of inactivity before auto-logoff.

Mod God
Offline Offline

Posts: 3598

short, sweet and to the point

View Profile
« Reply #2 on: May 30, 2005, 09:29:24 PM »

actually, i think dark_archon is looking for a module that will remove a player from the game after a set amount of time whether they are active or not, similar to how bbs's used to do in order to accomodate allowing other people to log in.


Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
« Reply #3 on: May 31, 2005, 06:35:44 AM »

Yeah, that's exactly what I am looking for. Sorry, I was braindead yesterday.
Global Moderator
Mod God
Offline Offline

Posts: 4647

Be aware of the squirrel!

View Profile WWW
« Reply #4 on: May 31, 2005, 11:43:40 PM »

You could have a module hooking into "player-login", saving the login-timestamp into a pref and then having the moduel hook into "everyfooter" and checking against that pref, how long the user is logged-in... And then throw them out!

Nevertheless will this way not prevent users from simply logging in again, after being logged out...

Running for more than three years now:
« Reply #5 on: June 02, 2005, 02:41:38 AM »

You can also have a pref for the next time you're allowed to login.  If it's not that time, it can kick you right back out.
Pages: [1]   Go Up
Jump to:  

DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
19 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search