Genbot v13.2.1 [Updated 07/23/2004] Defend, Guard, Protect!

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

nbjeter3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Wed Jan 21, 2004 12:18 am

Checked For The > and <

Post by nbjeter3 » Mon Aug 02, 2004 5:51 pm

Okies Bob, Looked for those two variables and made sure there were none. The only place I found any was in the ADVPath.inc in some commented out lines. Changed em anyways, and It still Crashes straight to desktop. When I turn spew on, it gives me absolutely nothing. Just the macro command issued to start the Genbot and then nothing. No crash info, no debugging info, nothin. Just Boom! Straight to desktop. Funny Thing is I don't even get a 1018 when I try to log back in. My toon just immediately depops and I can log right back in. Any help would be most appreciated. Thanks.
Don't hate Me cuz I'm beautiful.. I Can give you MUCH better reasons Than That....

Noone Likes A necro... till Mid-battle And They're OOM..

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Mon Aug 02, 2004 9:16 pm

Well, I attempted to help, but my solution involved some thought and effort it seems, and I can only assume was therefor shot down. Soo...

You're both quite correct, performing macro commands should cause CTD, rather than error reports. This is indeed the correct behavior. > and < are particularly abhorrent to windows, and should cause segfaults whenever encountered by any program ever. The readme is incorrect in its instructions for reporting CTDs, and should be ignored.

Carry on, nothing to see here.

wardave
a ghoul
a ghoul
Posts: 120
Joined: Sun Jan 25, 2004 4:38 am

Post by wardave » Mon Aug 02, 2004 10:02 pm

Qustion I get the following error when I run this mac. Any ideas?
http://wardave.gotdns.com/pics/issue.JPG

Something to do with the new params?

Bombadil
a lesser mummy
a lesser mummy
Posts: 67
Joined: Wed Mar 24, 2004 11:04 pm

Post by Bombadil » Mon Aug 02, 2004 10:39 pm

wardave wrote:Qustion I get the following error when I run this mac. Any ideas?
http://wardave.gotdns.com/pics/issue.JPG

Something to do with the new params?
Search is your friend. This has been gone over and over and over and over.

nbjeter3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Wed Jan 21, 2004 12:18 am

I've done Everything You Suggested Cr4zy

Post by nbjeter3 » Mon Aug 02, 2004 10:47 pm

ok, I turned on The spewing.. the resuts of which are posted on the last page in quote... So far as I can tell Thas the only "Suggestion" you offered. I'm not entirely sure Where that requires "too much thought" and got shot down but If you'd like to have me send you the files.. I'll be MORE than glad to do so and let YOU take a crack at it. I come here for help, not to get useless bits of info that do me no good and then when I try em to be accused of not trying anything you suggest because "It requires too much thought" Now, If you have something helpful you'd like to suggest, then please by all means do so. If not.. then please no comments from the peanut gallery. If You actually read my above post after Bob_the_builder Suggested I Look for the > 's and < 's , I posted That I had and replaced the only ones i found which ere in the advpath.inc file. Even though they were found in commented out lines I Still Changed em to be on the safe side.. still no change. Now That is considered constructive helpful suggestions.. Do you even BOTHER to read the posts before you hit the reply button Cuz it seems you don't.. Otherwise you would not have restated what Bob had already said.. so I ask again... do you have any Suggestions for what might be goin on? and yes, I'm running Latest Release of MQ.. Have a nice day, and thank you.
Don't hate Me cuz I'm beautiful.. I Can give you MUCH better reasons Than That....

Noone Likes A necro... till Mid-battle And They're OOM..

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Tue Aug 03, 2004 1:59 am

Yes. I humbly suggest you RTFM and report CTD problems as it suggests.

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Tue Aug 03, 2004 10:06 am

wardave,

Read the post directly above yours and mine.

<
>

Bob

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Tue Aug 03, 2004 10:13 am

nbjeter3,

Start over. Delete all the genbot.mac, healer, combat, advpath (there are TWO, advpath and advpath2). Rename your character.ini.

Re cut and paste the files. Load genbot and if you crash atleast check if the INI was created.

And search for the < and > ... those can and do cause the problems your experiencing. Check in advpath2, spellcast.inc, spell_routines .. etc...

Bob

wardave
a ghoul
a ghoul
Posts: 120
Joined: Sun Jan 25, 2004 4:38 am

Post by wardave » Tue Aug 03, 2004 2:05 pm

Yea that did it thanks very much it was in my advpath.inc I removed two lines and it works now. Thanks again.

nbjeter3
a lesser mummy
a lesser mummy
Posts: 39
Joined: Wed Jan 21, 2004 12:18 am

Figgered Out The Problem...

Post by nbjeter3 » Wed Aug 04, 2004 7:49 am

Bob... I started looking through my ADVPath.inc file and ran accross a line I was missing before when looking through it.

#include advpath2.inc

So, I went back and found that in the advpath.inc topic in the snippets forum and put that file in, and it works now. Thanks for the help. Stupid mistake, I know, but last time I used Genbot there was no advpath2.inc file.. lol Once again proving what happens when I assume things...
Don't hate Me cuz I'm beautiful.. I Can give you MUCH better reasons Than That....

Noone Likes A necro... till Mid-battle And They're OOM..

BadaaBee
decaying skeleton
decaying skeleton
Posts: 2
Joined: Wed Aug 04, 2004 2:17 pm

brand noob question re: botspell.inc

Post by BadaaBee » Wed Aug 04, 2004 2:31 pm

I've just started with MQ2, and genbot, so please be kind if this is, in fact, a stupid question.

On line 594 just before the :gCast-2 label in botspell.inc version 13.2.1, does the following code have one too many closing braces?:

Code: Select all

   /if (${CastType.Arg[1,-].Equal[spell]}) { 
         /cast "${CastName}" 
      } else /if (${CastType.Arg[1,-].Equal[item]}) { 
         /cast item "${CastName}" 
      } else { 
         /alt activate ${AltAbility[${spellName}].ID} 
      } 
   }
If so, would this cause the following lines between there and the :gCast-2 label to never execute?:

Code: Select all

   /varset CastLastResult CAST_StillCasting 
   /varset CastStep 4 
   /varset CastTimer 0 
   /return

ascii38
a grimling bloodguard
a grimling bloodguard
Posts: 506
Joined: Sat Jul 17, 2004 8:06 pm

Re: brand noob question re: botspell.inc

Post by ascii38 » Wed Aug 04, 2004 10:56 pm

BadaaBee wrote:On line 594 just before the :gCast-2 label in botspell.inc version 13.2.1, does the following code have one too many closing braces?:
Looks like it to me. You gave me quite a headache counting all the opening and closing braces in that Sub.
BadaaBee wrote:If so, would this cause the following lines between there and the :gCast-2 label to never execute?:
Possibly. I'm not sure how the parser handles unbalanced braces. From the limited testing I did when I removed the extra :?: closing brace, it didn't fall through to that code anyway. I'm going to leave it out for a little while and see what happens.

mackster
a ghoul
a ghoul
Posts: 95
Joined: Mon Sep 09, 2002 3:02 pm

Post by mackster » Thu Aug 05, 2004 2:09 am

Where would be a good spot to add in some code that would use the PC speaker to beep when a mob gates? I would find that extremely useful hehe.

Vexix
Genbot Janitor
Posts: 245
Joined: Sat Apr 17, 2004 10:10 am

Post by Vexix » Thu Aug 05, 2004 12:35 pm

Mackster -- This looks like a good place:

Code: Select all

Sub Event_MobGate 
   /if (${CombatTargetID}) { 
      /varset CombatTargetID 0 
   } 
/return 
Of course, you'll need to fix the $ in the Event call as I have in the next version.

I've completed the revisions to the genbot code to streamline it. Take a look at: http://macroquest2.com/phpBB2/viewtopic.php?t=8623

--Vexix