Page 7 of 7
Checked For The > and <
Posted: Mon Aug 02, 2004 5:51 pm
by nbjeter3
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.
Posted: Mon Aug 02, 2004 9:16 pm
by Cr4zyb4rd
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.
Posted: Mon Aug 02, 2004 10:02 pm
by wardave
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?
Posted: Mon Aug 02, 2004 10:39 pm
by Bombadil
Search is your friend. This has been gone over and over and over and over.
I've done Everything You Suggested Cr4zy
Posted: Mon Aug 02, 2004 10:47 pm
by nbjeter3
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.
Posted: Tue Aug 03, 2004 1:59 am
by Cr4zyb4rd
Yes. I humbly suggest you RTFM and report CTD problems as it suggests.
Posted: Tue Aug 03, 2004 10:06 am
by bob_the_builder
wardave,
Read the post directly above yours and mine.
<
>
Bob
Posted: Tue Aug 03, 2004 10:13 am
by bob_the_builder
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
Posted: Tue Aug 03, 2004 2:05 pm
by wardave
Yea that did it thanks very much it was in my advpath.inc I removed two lines and it works now. Thanks again.
Figgered Out The Problem...
Posted: Wed Aug 04, 2004 7:49 am
by nbjeter3
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...
brand noob question re: botspell.inc
Posted: Wed Aug 04, 2004 2:31 pm
by BadaaBee
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
Re: brand noob question re: botspell.inc
Posted: Wed Aug 04, 2004 10:56 pm
by ascii38
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.
Posted: Thu Aug 05, 2004 2:09 am
by mackster
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.
Posted: Thu Aug 05, 2004 12:35 pm
by Vexix
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