Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2008, 12:50 PM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default Online Suggestion.

was reading the following post.
http://eqemulator.net/forums/showthread.php?t=17806


and got to thinking. if eqemu added a slight change, which would set a character status to 1/0 in sql wether they be onlin eor off, we can easily display online count just about anywhere by querying SQL.

after the core is edited we add the simple change to the sql characters table.


Code:
ALTER TABLE `character_` ADD `online` TINYINT( 2 ) NOT NULL AFTER `level` ;
Reply With Quote
  #2  
Old 04-02-2008, 06:24 PM
mamba666
Sarnak
 
Join Date: Apr 2003
Posts: 41
Default

It would need additional info to plug when it is offline, otherwise after the first login you will be listed as always online.

I believe this is the real issue with ghosts is that on a non normal disconnect the server does not know that you have gone LD or logged out.

There needs to be soem kind of Polling to check if you are still online/not zoning/ and not in char select.
Reply With Quote
  #3  
Old 04-02-2008, 09:42 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Personally I think that ghosts actually hang an open connection with people's PCs even if they exit EQ completely. I have definitely seen where people were logged off and I was still getting tons of traffic from their IP.

I probably need to do more testing with it. I am sure I will get back to investigating connections after I get free time from developing content on my server.

But, if you are concerned about ghosting, you should try my script in the quest section for zone resets on timers. You set how often you want the zone to be reset and the quest will give warnings and then reset the zone. It has made a huge difference on my server performance.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 04-10-2008, 10:31 PM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default

yea just write a small perl plugin that verifies online characters and removes ghosts. I am to lazy to install VMware to try and source edit this (vmware to compile) I can;t get cygwin to install perl correctly or I woul dget down and dirty with this myself.
Reply With Quote
  #5  
Old 04-11-2008, 06:30 AM
corvanus
Banned
 
Join Date: Apr 2008
Posts: 26
Default

and you would execute the perl how and why do you need cygwin to install perl? did you not follow the guide use activeperl
Reply With Quote
  #6  
Old 04-11-2008, 08:36 AM
fault
Hill Giant
 
Join Date: Sep 2005
Posts: 114
Default

um, it is called compiling the source? I am sure you know after you edit source files you HAVE to recompile, you just can't edit and be like *lawl ok server now has my changes* Doesn't work like that.
Reply With Quote
  #7  
Old 04-11-2008, 11:05 AM
mattmeck
Guest
 
Posts: n/a
Default

couldnt this code be used to help track down ghosters too>?
Reply With Quote
  #8  
Old 04-13-2008, 08:00 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ghosting and Player Ghosts are 2 different things. Ghosting is a hack with 3rd party software that allows players to hit NPCs that are too far away and the NPC can't hit back. At least that is my understanding of it. Player ghosts are characters that the user has exited EQ and the character stayed in the world. You can verify 100% is a player is a ghost by inspecting them. If the inspect window doesn't pop up when you right click them (and you have /toggleinspec on), then they are a player ghost. This commonly happens when a player /exits instead of camping out. It also happens almost every time EQ crashes to desktop while a player is logged in.

If Fault knows the code that needs to be written for this, I am sure someone would be willing to compile it and check it out. I have a VMware machine on my main PC that I could use to setup for compiling. I am glad you mentioned that, because I hadn't thought of using it for that purpose before lol.

I have messed with compiling in the past but could never get it to work 100%. I am sure that if I messed with it enough I could get it working NP. I am 99% sure that my problem was with using incorrect versions of mysql. I may have to start messing around with code development soon as it sounds like fun lol. Now just to learn how to understand it better :P
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:28 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3