• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Bug - Undefined Variable Bot Hang

Joined
Dec 30, 2010
RedCents
44¢
I keep getting a quiet bot hang up on anyone with a heal defined in their INI. The bot is unresponsive after I get the error message. The message is:
Rich (BB code):
WARNING: Undefined Variable "Some Player or Pet Name I Will Not List Here" + "some random number" used on line [email protected] /if (${Defined[${${Spawn[${AHbTargetID}].Name}${a}}]}) {

Sometimes I get it with one of my toons, sometimes one of my pets. It is just a matter of time and the macro is paused at that point.

I have every plugin loaded that is required on the wiki. I have been running modbot for years and my INIs were fine before the huge recent change. I can post or PM them if requested.

Should we be using the Name or the CleanName on this. Can pets in the same zone have the same name?
 
That did the trick for heals.

Now that I have started playing, I have noticed a new bug. None of my characters can tell if a debuff is already on a mob. The enchanter keeps casting tash over and over. The necro just keeps going down the list of dots, casting them over and over. Did I miss a big change to the bot that requires me to rewrite my INIs from 4.20 to 4.11? Attached is the enchanter INI for reference.
Rich (BB code):
[Settings]
DoMelee=FALSE
DoHeals=TRUE
DoBuffs=FALSE
DoDebuffs=FALSE
DoEvents=FALSE
DoCures=FALSE
DoPull=FALSE
DoPet=FALSE
DoSit=TRUE
DoLoot=FALSE
DoFW=FALSE
DoForage=FALSE
ForageIni=forage.ini
DoAfk=FALSE
DoMount=FALSE
MountCast=Regal Worg Saddle|item
MasterList=Netbots
TankName=Intentionally Left Blank
PullerName=Intentionally Left Blank
Radius=100
ZRadius=100
SitAggroRadiusCheck=10
SitManaPct=95
SitEndurPct=0
AfkMessage=Not now, thanks
DeathSlot=FALSE
NetworkINI=
TraderName=
FollowDistance=20
FollowStick=20 hold uw
PetCast=
PetAggro=FALSE
PetAssist=1
PetFoci=
PetShrink=FALSE
PetShrinkSpell=
GoMNuke=
DoRez=TRUE
RezMinPct=96
RezAcceptCall=FALSE
RezGiveUpSeconds=6000
[Melee]
OffTank=FALSE
ACLeash=100
ACAssistPct=98
ACManaPct=101
ACAnnounce=
ACMeleeCmd=/melee plugin=1
ACBefore=
ACAfter=
ACPetEnrage=TRUE
[AdvHeal]
AHCount=0
AHNewFormat=0
AHAllowDismount=TRUE
[AdvDebuff]
ADCount=8
ADNewFormat=0
ADMobMax=20
ADCheckTime=2
ADAggroOnly=1
ADHold=0|1|1|   1=on 0=off|Debuff spell #|Time to wait for debuff|

ADGem1=4
ADSpell1=Dictate
ADSpellFoci1=
ADDurMod1=0
ADSpellAlias1=charm
ADAnnounce1=/bc
ADSpellMinMana1=10
ADSpellRecast1=3
ADSpellCastonResist1=tash
ADSpellDelay1=0
ADTarCnt1=0
ADTarType1=10
ADTarBegHP1=101
ADTarEndHP1=0
ADIfSpellImmune1=
ADUseHoTT1=0
ADPreCondition1=TRUE

ADGem2=5
ADSpell2=Bliss
ADSpellFoci2=
ADDurMod2=0
ADSpellAlias2=mez1
ADAnnounce2=/bc
ADSpellMinMana2=10
ADSpellRecast2=3
ADSpellCastonResist2=tash
ADSpellDelay2=0
ADTarCnt2=1
ADTarType2=12
ADTarBegHP2=101
ADTarEndHP2=0
ADIfSpellImmune2=
ADUseHoTT2=0
ADPreCondition2=TRUE

ADGem3=2
ADSpell3=Forlorn Deeds
ADSpellFoci3=
ADDurMod3=0
ADSpellAlias3=slow
ADAnnounce3=/bc
ADSpellMinMana3=20
ADSpellRecast3=2
ADSpellCastonResist3=tash
ADSpellDelay3=0
ADTarCnt3=1
ADTarType3=1
ADTarBegHP3=99
ADTarEndHP3=20
ADIfSpellImmune3=tash
ADUseHoTT3=0
ADPreCondition3=TRUE

ADGem4=6
ADSpell4=Cripple
ADSpellFoci4=
ADDurMod4=0
ADSpellAlias4=cripple
ADAnnounce4=/bc
ADSpellMinMana4=10
ADSpellRecast4=3
ADSpellCastonResist4=tash
ADSpellDelay4=0
ADTarCnt4=1
ADTarType4=1
ADTarBegHP4=99
ADTarEndHP4=0
ADIfSpellImmune4=
ADUseHoTT4=0
ADPreCondition4=TRUE

ADGem5=1
ADSpell5=Howl of Tashan
ADSpellFoci5=
ADDurMod5=0
ADSpellAlias5=tash
ADAnnounce5=/bc
ADSpellMinMana5=10
ADSpellRecast5=2
ADSpellCastonResist5=
ADSpellDelay5=0
ADTarCnt5=1
ADTarType5=1
ADTarBegHP5=99
ADTarEndHP5=0
ADIfSpellImmune5=
ADUseHoTT5=0
ADPreCondition5=TRUE

ADGem6=4
ADSpell6=Strangle
ADSpellFoci6=
ADDurMod6=0
ADSpellAlias6=dot
ADAnnounce6=/bc
ADSpellMinMana6=70
ADSpellRecast6=2
ADSpellCastonResist6=
ADSpellDelay6=0
ADTarCnt6=1
ADTarType6=1
ADTarBegHP6=99
ADTarEndHP6=20
ADIfSpellImmune6=
ADUseHoTT6=0
ADPreCondition6=TRUE

ADGem7=3
ADSpell7=Insanity
ADSpellFoci7=
ADDurMod7=0
ADSpellAlias7=dd
ADAnnounce7=/bc
ADSpellMinMana7=25
ADSpellRecast7=0
ADSpellCastonResist7=
ADSpellDelay7=5
ADTarCnt7=0
ADTarType7=1
ADTarBegHP7=95
ADTarEndHP7=10
ADIfSpellImmune7=
ADUseHoTT7=0
ADPreCondition7=TRUE

ADGem8=6
ADSpell8=Wake of Tranquility
ADSpellFoci8=
ADDurMod8=0
ADSpellAlias8=calm
ADAnnounce8=/bc
ADSpellMinMana8=0
ADSpellRecast8=0
ADSpellCastonResist8=
ADSpellDelay8=0
ADTarCnt8=0
ADTarType8=1
ADTarBegHP8=101
ADTarEndHP8=0
ADIfSpellImmune8=
ADUseHoTT8=0
ADPreCondition8=TRUE
[AdvBuff]
ABCount=11
ABNewFormat=0
ABMobMax=18
ABCheckTime=8

ABGem1=8
ABSpell1=Shield of Maelin
ABSpellFoci1=
ABDurMod1=0
ABSpellAlias1=hps
ABAnnounce1=/bc
ABSpellMinMana1=20
ABTarCnt1=1
ABTarType1=self
ABRecast1=FALSE
ABSpellIcon1=
ABPreCondition1=TRUE

ABGem2=8
ABSpell2=Voice of Quellious
ABSpellFoci2=
ABDurMod2=0
ABSpellAlias2=crack
ABAnnounce2=/bc
ABSpellMinMana2=20
ABTarCnt2=1
ABTarType2=grp self
ABRecast2=FALSE
ABSpellIcon2=
ABPreCondition2=TRUE

ABGem3=8
ABSpell3=Speed of Vallon
ABSpellFoci3=
ABDurMod3=0
ABSpellAlias3=haste
ABAnnounce3=/bc
ABSpellMinMana3=2
ABTarCnt3=1
ABTarType3=war shd pal rng mnk rog brd bst ber mypet
ABRecast3=FALSE
ABSpellIcon3=
ABPreCondition3=/if ({Target.Level}>45) /return TRUE

ABGem4=8
ABSpell4=Arcane Rune
ABSpellFoci4=
ABDurMod4=0
ABSpellAlias4=rune
ABAnnounce4=/bc
ABSpellMinMana4=20
ABTarCnt4=1
ABTarType4=self
ABRecast4=FALSE
ABSpellIcon4=
ABPreCondition4=TRUE

ABGem5=7
ABSpell5=Night's Dark Terror
ABSpellFoci5=
ABDurMod5=0
ABSpellAlias5=garou
ABAnnounce5=/bc
ABSpellMinMana5=20
ABTarCnt5=1
ABTarType5=war shd pal rng mnk rog brd bst ber pet mypet cbt
ABRecast5=FALSE
ABSpellIcon5=
ABPreCondition5=/if ({Target.Level}>45) /return TRUE

ABGem6=8
ABSpell6=Intellectual Superiority
ABSpellFoci6=
ABDurMod6=0
ABSpellAlias6=fizzle
ABAnnounce6=/bc
ABSpellMinMana6=20
ABTarCnt6=0
ABTarType6=shd pal rng mnk rog bst ber shm clr dru wiz mag enc nec
ABRecast6=FALSE
ABSpellIcon6=
ABPreCondition6=TRUE

ABGem7=8
ABSpell7=Enlightenment
ABSpellFoci7=
ABDurMod7=0
ABSpellAlias7=brain
ABAnnounce7=/bc
ABSpellMinMana7=20
ABTarCnt7=0
ABTarType7=shd pal rng mnk rog brd bst ber shm clr dru wiz mag enc nec
ABRecast7=FALSE
ABSpellIcon7=
ABPreCondition7=TRUE

ABGem8=8
ABSpell8=Aeldorb's Animation
ABSpellFoci8=
ABDurMod8=0
ABSpellAlias8=pet
ABAnnounce8=/bc
ABSpellMinMana8=20
ABTarCnt8=0
ABTarType8=petcast
ABRecast8=FALSE
ABSpellIcon8=
ABPreCondition8=TRUE

ABGem9=8
ABSpell9=Guard of Druzzil
ABSpellFoci9=
ABDurMod9=0
ABSpellAlias9=grm
ABAnnounce9=/bc
ABSpellMinMana9=10
ABTarCnt9=1
ABTarType9=grp self
ABRecast9=FALSE
ABSpellIcon9=
ABPreCondition9=TRUE

ABGem10=8
ABSpell10=Boon of the Clear Mind
ABSpellFoci10=
ABDurMod10=0
ABSpellAlias10=weakcrack
ABAnnounce10=/bc
ABSpellMinMana10=0
ABTarCnt10=0
ABTarType10=war shd pal rng bst shm clr dru wiz mag enc nec
ABRecast10=FALSE
ABSpellIcon10=
ABPreCondition10=/if ({Target.Level}<46) /return TRUE

ABGem11=8
ABSpell11=Swift Like the Wind
ABSpellFoci11=
ABDurMod11=0
ABSpellAlias11=weakhaste
ABAnnounce11=/bc
ABSpellMinMana11=0
ABTarCnt11=0
ABTarType11=war shd pal rng mnk rog brd bst ber
ABRecast11=FALSE
ABSpellIcon11=
ABPreCondition11=/if ({Target.Level}<46) /return TRUE
[AdvEvent]
AECustom1=NULL
AECustom2=NULL
AECustom3=NULL
AECount=0
AENewFormat=0
[AdvPull]
APCheckTime=0
APRadius=40
APMobMax=1
APScript=
APPath=
APRetPath=
APBefore=
APAfter=
APAnnounce=
APRetries=1
[AdvCure]
AQCount=0
AQNewFormat=0
[Script-AECustomEvent1]
Commands=0
C1=/return
[Script-AECustomEvent2]
Commands=0
C1=/return
[Script-AECustomEvent3]
Commands=0
C1=/return
 
From your .ini, it looks like you may have tried modbot 4.11 after 9/20? I say this because I see AECustomEvent1=Null, and corresponding scripts. That probably isn't your issue, but you might want to clean those up. And maybe move to the new format? :)

Make sure you run the updater here to pull in new NetBots. A long time ago I also had repeated debuffing issues, but that was usually only with debuffs that have no real duration of their own. I sometimes add a SpellDelay to things like this. If that clears it up for you, let me know (and for which spells it worked/didn't work). That might be helpful in tracking it down for you.
 
I backed up my INIs and made brand new ones. I made sure I am running the latest version of Netbots, straight off redguides. This introduced a new batch of problems. I am hoping that the problems are in my new INIs somewhere, but I keep going over them and I cannot find anything.

I start the bot. No error message. Make a camp, issue letsroll to the toons, and they do not do what they used to do.

My cleric keeps spamming their heal over time spell on group members, like it cannot tell if they have the buff or not.

The wizard casts their chain down to concussion and then just casts concussion over and over again and nothing else.

The enchanter does nothing at all in combat. It casts buffs, but it does not cast its debuffs on anything. If you have the time and inclination, I will post my INIs and would appreciate any help you care to offer to get me back up and running.

View attachment MB_Cleric.ini
View attachment MB_Magician.ini
View attachment MB_Wizard.ini
View attachment MB_Necromancer.ini
View attachment MB_Enchanter.ini
 
Thanks. I will take a look and see if something glaring stands out in the ini's.

You might also take a look at the sample ini's on the google site documentation. Maybe you will notice something obviously different from what you have.

EDIT:
A couple of items I can see.
- Do you setup a Tank with /varset? I don't see any tank names in your ini's
- For the wizard, I can see your Tarcnt's of most of your nukes are '0'. These won't fire automatically without at least a '1'. The mage has similar issues.
 
I have tank names in on my actual INIs.
I have buttons I use after letsroll to tell the wizard to NOT cast Strike of Solusek and to cast Tears of Ro and Tears of Marr. I do not want the wizard to cast rains by default, so I set it myself.
 
Last edited:
I will try to look at the HoT heals issue also. I will be away from the game for about 10 days, though, so I Won't be able to test the fixes.
 
Bug - Undefined Variable Bot Hang

Users who are viewing this thread

Back
Top
Cart