Super high ping and disconnection with macros

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

Droken
Contributing Member
Contributing Member
Posts: 17
Joined: Wed Jan 29, 2003 11:17 am

Super high ping and disconnection with macros

Post by Droken » Thu Apr 17, 2003 6:57 pm

Ever since the latest patch and recompile of MQ, the more characters I have macroed, the higher the ping shoots up when I pull a mob into camp.

With too many characters macroed, the ping shoots up to 2k and disconnects the modem.


Suggestions?

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

Post by eqjoe » Fri Apr 18, 2003 1:04 pm

I have seen some odd behavior with the data stream as well .... I am trying to debug the problem but I can't find the right breakpoint. I have dumped several segments of memory but all I have at this point is a best guess.

The basic symptom is that for no reason, the client starts sending and receiving mass of small packets, causing lag, spell gems do not refresh, doors don’t open.. etc. The problem is not network related as I will have 2 or 3 systems running at the same time and only one system displays this lag at a time. With or without the debugger loaded, but only when MQ is active. /unload halts the problem.

Flint_the_dorf
orc pawn
orc pawn
Posts: 13
Joined: Sat Oct 12, 2002 3:14 pm
Location: Atlanta, GA
Contact:

found a fix that works for me

Post by Flint_the_dorf » Fri Apr 18, 2003 2:01 pm

ok i had this same problem - heres how i fixed it.

make sure you have latest source.
compile a release version instead of debug and it should be good to go!



Flint

Rahn
orc pawn
orc pawn
Posts: 12
Joined: Tue Mar 18, 2003 7:22 pm

high ping and disconnect

Post by Rahn » Fri Apr 18, 2003 2:08 pm

i am having the same problem. i have downloaded latest cvs and recompiled and still have the problem. i can have mq loaded with out probs but when i run my macros it gets laggy and i will end up with a disconnect.

NealThorpayt
Developer
Developer
Posts: 66
Joined: Thu Mar 13, 2003 2:14 pm
Location: Miskatonic University
Contact:

Post by NealThorpayt » Fri Apr 18, 2003 2:52 pm

Greetings Constructs,

I have a very similar problem. When I run macros with loops (yes they include doevents and delays), I experience extreme lag.

End of line...
Last edited by NealThorpayt on Fri Apr 18, 2003 3:15 pm, edited 1 time in total.
By the pricking of my thumb, something wicked this way comes...

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Fri Apr 18, 2003 2:58 pm

Salutations,
Oooh... if we only get this lag while running macros, maybe it's some memcheck we haven't found...

Wishbringer
Contributing Member
Contributing Member
Posts: 230
Joined: Thu Nov 14, 2002 7:00 am

Post by Wishbringer » Sat Apr 19, 2003 6:47 am

Perhaps mem allocation issue..

In case i forgot /unload before logging out:

no macros run: eqgame.exe stays with around 5000 kB in memory
a simple mainloop macro: goes up to 55000 kB
a complex macro (mainloop, several subs with loops and branches and events...) uhoh.... last time i had 330 MB... that slowed thinks abit down...

Clawed
a ghoul
a ghoul
Posts: 105
Joined: Mon Jan 20, 2003 6:17 am

Post by Clawed » Sat Apr 19, 2003 9:26 am

How the heck did you get eqgame.exe down to 5 MB in memory? :) For me, eqgame takes up something close to 7 MB before getting into the game, and anywhere from 210 to 510 MB while playing, regardless of MQ or anything else running. Read: lots of graphics loaded. Just a thought as salt to the discussion. There very well may be a memory leak in MQ somewhere also. :D

Here's my experience with the situation. I dual or triple box almost every single time I play EverQuest, and so does my roommate. (We each play on a single computer running multiple instances of EQ, for clarification.) We run MQ and LEQM and EQW every single time we play. With or without actually running a macro, we have not noticed a) bloated executables b) excessive swapping/resource use c) any additional lag or link deaths.

I am not dismissing the problem out of hand, by any means. Just sharing my experiences since I dual-box a LOT.
Clawed

Droken
Contributing Member
Contributing Member
Posts: 17
Joined: Wed Jan 29, 2003 11:17 am

Post by Droken » Sat Apr 19, 2003 12:10 pm

EQJOE, that's the exact problem I'm having. Spellgems don't refresh, etc. I just got half my group killed on a mob because the mob enraged and none of the characters stopped attacking like they're supposed to due to lag.

This crazy ping started occuring as of the most recent 4-14 patch.

Any fixes yet?

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

Post by eqjoe » Sat Apr 19, 2003 3:54 pm

Ok.. still working on it but I have given up on trying to debug the problem. I can't setup a breakpoint with any type of utilization condition and breaking to the debuger on memory access is not cutting it.

I am attempting to sniff the data on the wire by using a modified SEQ client (Thanks Mvern!) to see if the client/server is resending/requesting memory offset check packets at an unusual rate (which is what I suspect)

Droken
Contributing Member
Contributing Member
Posts: 17
Joined: Wed Jan 29, 2003 11:17 am

Post by Droken » Mon Apr 21, 2003 2:13 pm

any updates to this problem?

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:11 pm

After some quick tests, it appears that one byte sturct allignment build parameter is the fix. See DKAA's post in Devolopment:General.

Rahn
orc pawn
orc pawn
Posts: 12
Joined: Tue Mar 18, 2003 7:22 pm

Post by Rahn » Tue Apr 22, 2003 12:31 pm

my settings were already correct so that fix didn't help me. whats happening to me is now with the same .mac's i was using before, they lag. it's only after i start the mac that i have the problem. its the same on 3 diffrent machines.
if im in a high traffic zone it will lag me to ld but when i get to where i am going to use them (usually not crowded) and run them i will lag but stay connected.

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 » Tue Apr 22, 2003 12:53 pm

Maybe it's your macros?

Put some delays in.

Rahn
orc pawn
orc pawn
Posts: 12
Joined: Tue Mar 18, 2003 7:22 pm

Post by Rahn » Thu Apr 24, 2003 12:53 am

i finally got off my lazy rear and cleaned up my macros a bit (they were just a bunch from here thrown together). it did seem to help. i haven't tried yet in a crowded zone but will let you know.