Programatic disconnects

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Programatic disconnects

Post by eqjoe » Sat Apr 19, 2003 5:52 pm

High network packet rate is the symptom of this problem. If I seperate the client-zone data from the unknown data, it appears that we are failing a memory check. If the failed memory check is not resolved in 120 seconds I am disconected with no packetloss. During this 120 seconds packetrate is very high and the client symptom is LAG... Seems very programatic.

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Sun Apr 20, 2003 2:12 pm

I am pulling down new source and building on a new XP box with freshly installed .NET. My old builds have been on 98SE and VC6. The high packetrate / discon problem happened on all the Win98SE systems that I game on.

I am not sure if SoftIce 4.05 runs on XP... I guess we will find that out shortly....

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Apr 20, 2003 3:00 pm

When building with VS60, you must go to the C/C++ tabs and change the struct alignment from 8 bytes to 1 byte.

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Sun Apr 20, 2003 3:40 pm

Make that change for the MacroQuest.exe as well?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Apr 21, 2003 2:37 am

No.

And the more I think about it, the less likely I think that this change (/Zp1) would make a difference as far as memory checkers go. The bounding issue would cause problems like when a struct is wrong -- crashes.

I'm stumped. Have you tried using the makefile for eqlib.dll?

Do a "nmake clean all" in the eqlib directory and pick up the dll from the Release directory.

Jaerin
Developer
Developer
Posts: 133
Joined: Mon Mar 10, 2003 7:37 pm
Contact:

Post by Jaerin » Mon Apr 21, 2003 8:02 am

Actually the high lag/disconnect issues appear to be resolved by this fix. I was having the same issues when I compiled with VC6 and doing this fix resolved all the issues.

Jaerin

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Mon Apr 21, 2003 7:30 pm

The makefile might not work for me as I have made some changes to the funtional working of MQ for my own use. But, from what I can tell so far, I agree with Jaerin. This seems to work. Damned if I could tell you why....