Ok, I'm hacking up the all purpose tool "Custom" (
http://www.eqemulator.net/forums/showthread.php?t=23892) to be modular and was going to add this feature, but uh.. this code is also pretty bad at the moment.
Here's some questions to you:
By default, latest PEQ database has login sessions handled via the EQEMU login server unless you use a minilogin server. I'm assuming you're using the EQEMU server, and with that, how do you plan to authenticate legitimate users from non-legitimate?
I was going to do an IP-based authentication system (compare the user's IP with the lastlogin_ip field inside the database, however this is a custom addition to VZTZ code apparantly.) Structure of PEQ's DB SVN looks like so:
CREATE TABLE `account` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
`charname` varchar(64) NOT NULL default '',
`sharedplat` int(11) NOT NULL default '0',
`password` varchar(50) NOT NULL default '',
`status` int(5) NOT NULL default '0',
`lsaccount_id` int(11) unsigned default NULL,
`gmspeed` tinyint(3) unsigned NOT NULL default '0',
`revoked` tinyint(3) unsigned NOT NULL default '0',
`karma` INT(5) UNSIGNED NOT NULL DEFAULT '0',
`minilogin_ip` varchar(32) NOT NULL DEFAULT '0',
`hideme` tinyint(4) NOT NULL default '0',
`rulesflag` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
UNIQUE KEY `lsaccount_id` (`lsaccount_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
No "lastlogin_ip" in it. :/
Anyways, while you help me try to figure out an authentication system, i'll be working on the code. If nothing else, it can be an administrative-based system.
Maybe I'll inquire to cavemandude adding the lastlogin_ip field. It is pretty handy if you ask me.
Any other features you'd like on top of the "PH Stuck Char Mover"?
It may be easier to fix the "Return Home" button inside the source to just have a faster repop timer.. Then they only have to wait ~10 mins to get back home/unstuck. Not sure if this solution is a simple DB edit or if it's a recompile.