genbot problems

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

User avatar
Undies
a ghoul
a ghoul
Posts: 94
Joined: Mon Oct 20, 2003 9:12 pm

genbot problems

Post by Undies » Thu Apr 01, 2004 8:02 pm

OK genbot causes EQ to freeze every time I run it since the rev D March 31 2004 patch. It worked OK before the March 31 patches. This occurs with any character on either account.

I am using VS6 with SP6 (I realise SP6 required for VS6) but am having trouble getting the debugger to work as explained in the sticky post on how to attach a debugger.

I start mq2, then eq and go into game. I then attach eqgame to the debugger OK (need to show system processes as well for it to appear in the list)... then I run genbot and the game freezes.

I dont see any green arrow with C++ listing but can get an assembly listing with a yellow arrow pointing to an address in eqgame with some disassembled code. (I will post this code in a few mins as an edit).

The call stack cannot be viewed and gives the error

"(call stack unavailable while child is running)".

Halting eqgame (via XP ctrl-alt-del) makes the dissassembled code show up as a bunch of question marks and I still cannot view the call stack.

The only seemingly useful stuff I can get is the debugspew below...

[MQ2]Macro - Loading macro: C:\mq2a\Release\Macros\genbot.mac
[MQ2]Include - Including: C:\mq2a\Release\Macros\botcore.inc
[MQ2]Include - Including: C:\mq2a\Release\Macros\botspell.inc
[MQ2]Include - Including: C:\mq2a\Release\Macros\botcombat.inc
[MQ2]Include - Including: C:\mq2a\Release\Macros\bothealer.inc
[MQ2]Include - Including: C:\mq2a\Release\Macros\personal.inc
[MQ2]Macro - Starting macro with '/call Main frednerk'
[MQ2]Call - Calling subroutine Main with params frednerk
[MQ2]MQ2Map::OnAddSpawn(Riseup)
[MQ2]WriteChatColor(Cleared the following
[MQ2]Call - Calling subroutine SetupCoreVars with params
[MQ2]GetArg - No matching quote, returning entire string
[MQ2]Source = "$ini(genbot_$char(name).iniêÖ ÞÖ
[MQ2]Dest = "$ini(genbot_$char(name).iniêÖ ÞÖ
[MQ2]GetArg - No matching quote, returning entire string
[MQ2]Source = "$ini(genbot_$char(name).iniêÖ ÞÖ
[MQ2]Dest = $ini(genbot_$char(name).iniêÖ ÞÖ
[MQ2]WriteChatColor(Couldn't find a comparision operator in '$ini(genbot_$char(name).iniêÖ ÞÖ ')


EDIT:

Code: Select all

77F75A1E   push        dword ptr [ebp+14h]
77F75A21   push        dword ptr [ebp+10h]
77F75A24   push        dword ptr [ebp+0Ch]
77F75A27   push        dword ptr [ebp+8]
77F75A2A   call        eax
77F75A2C   mov         dword ptr [ebp-24h],eax
77F75A2F   or          dword ptr [ebp-4],0FFFFFFFFh
77F75A33   call        77F75A43
77F75A38   mov         eax,dword ptr [ebp-24h]
77F75A3B   call        77FA558D
77F75A40   ret         10h
77F75A43   cmp         dword ptr [ebp-1Ch],0
77F75A47   je          77F75A51
77F75A49   push        dword ptr [ebp-1Ch]
77F75A4C   call        77F60A4A
77F75A51   ret
77F75A52   ret         4
77F75A55   int         3
77F75A56   int         3
77F75A57   int         3
77F75A58   int         3
77F75A59   ret
yellow arrow is at 77F75A58... also music is still playing so eqgame still running until I stop it... (just non-responsive)

EDIT2: OK the problem seems to have fixed itself .... no idea why. I could delete all the above but I have decided to leave my stupidity on display... who knows, maybe I'll even earn some abuse from Lax when he gets back?