View Single Post
  #12  
Old 03-11-2008, 04:14 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

This bug does seem to be caused sometimes by doing absolutely nothing on the client side. I know I have definitely seen this happen in certain customized zones MUCH more commonly than normal PEQ zones. On one server, I would get this bug almost every time if I tried to load up more than 1 character into DSP or BoT. Even if I only logged 1 in, and hit absolutely no buttons, and then loaded a second one in, etc, the first time I would try to cast a spell or do a /who all or attack anything on any character other than the first one I loaded, it would show that the character had this bug.

I am not sure what exactly would cause this, but my point is that it definitely seems to occur when players are doing nothing out of the ordinary. And for some reason, certain zones seem to cause the problems more than others. I have 100% confirmed that from previous testing in BoT and DSP on the other server I played on vs other custom zones or standard PEQ ones.

I don't know why certain people experience this more than others, but some people see it when multi-boxing and others see it when they are playing just 1 character. But, some people don't see it at all, or hardly ever.

If this is due to a the client waiting for a certain packet back from the server, couldn't that be caused by the packet getting dropped instead of the just when the server doesn't send the correct packet that the client is waiting for?

I just find it hard to believe that certain zones can cause this problem when my client is doing absolutely nothing. And that it can happen on all of my characters that I am boxing and almost always leave the first character in the zone unaffected. I would think that if this was an issue with the client waiting on something from the server, but not receiving it because the server doesn't know how to reply to an odd request, that this issue would be repeatable 100% and would be caused by certain actions. I have been unable to find anything common between what is causing this issue, other than certain custom zones in some cases.

I am not trying to question Cavedude's information, because he is far more knowledgeable about the emu than I will ever be, but it would be nice if we could get this figured out and resolved, so I am adding all info I can think of.

I made a change on my server today that I hope will help connectivity on my server. Here is the post I added to my forums to give a basic idea of what it is supposed to do:

Quote:
As an update on my work towards making he server more stable and to try to lessen issues like the "lag bug" and other disconnects, I made a minor change on the server. The short of it is that windows XP SP2 has TCP-IP that is hard coded (cannot be adjusted) to only allow a max of 10 simultaneous connections per second. It also has a sort of limiter that restricts a certain amount of connections. This wouldn't effect most people at all on their home PCs, and they were put in place by MS to restrict worms that may have infected your home PC to go crazy making an unlimited amount of connections to infect other computers or whatever. Since I am running a server, my PC requires different settings than a standard home PC.

The new change I made was replacing the TCP-IP files with some that bump the max connections per second up to 50. This doesn't mean that I can only have 50 players on my server, it only means my PC can now deal with 50 per second. Previously when it was set for 10 per second, I believe it would have to kinda switch back and forth to a different 10 connections every second. I think that means most packets for more connections than 10 will have to get buffered and dealt with later. I imagine that might have caused some issues with connectivity and I really hope this new change will make a difference. With it now being set to 5X as high as it was before, we may see significant improvement on less disconnects and "lag bugs". I wouldn't even be surprised if the default XP SP2 files I was using may have been causing the player ghosts. I haven't tried running a Linux server yet, but as far as I have read I haven't been able to find 1 person mentioning having ghosts on their server when they run Linux. So, I imagine it is something that is tied to Windows.

This is all part of me trying to increase server stability on Windows and increase performance on my server. Hopefully, eventually I can reduce lag even when there are a ton of players on.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote