${Me.Buff[Spell Name]} problem?

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Quadzer
orc pawn
orc pawn
Posts: 15
Joined: Sun Oct 19, 2003 10:12 pm

${Me.Buff[Spell Name]} problem?

Post by Quadzer » Tue Apr 20, 2004 2:51 pm

These three work fine.

/echo ${Me.Buff[Ward of Gallantry].Duration.Time}
/echo ${Me.Buff[Ward of Gallantry]}
/echo ${Me.Buff[resist magic].Duration.Time}

This one does not. I'm thinking it's something to do with the "'s" in the Kazad's

and I have tried putting the Kazad's Mark in " " but still no go.

/echo ${Me.Buff[Kazad's Mark].Duration.Time}

I'm I doing something wrong or is this a bug?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 20, 2004 2:53 pm

Are you sure its "Kazad's" and not "Kazad`s"?
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Quadzer
orc pawn
orc pawn
Posts: 15
Joined: Sun Oct 19, 2003 10:12 pm

Post by Quadzer » Tue Apr 20, 2004 3:35 pm

Ok you are right ( and why not should you be ) it's the ( on my keyboard ) shift ~ and I get `

thanks, who would have thunk it.

iluvseq
Clueless Mudslinger
Posts: 269
Joined: Mon Apr 14, 2003 10:05 am

Post by iluvseq » Tue Apr 20, 2004 4:36 pm

Actually, as far as I know, EQ always uses ` instead of '

This is because the EQ Devs are too lazy to escape ' in their code, so they opted to use a "special" quote that doesn't need escaping.

Ok, maybe lazy is harsh, but I doubt it, we are talking about EQ Devs here. It is possible that there is a speed increase by not having to escape ' in strings, but I seriously doubt that is why they did it, or that there really is a speed increase. I suspect it's more of a lazyness issue. They probably wrote the DB code and then some content builder tried to add an item with a ' and it barfed. When it did, the Developer said "bah, just don't use '... use something else" instead of fixing the code.

(Just guessing)

nightgod
a ghoul
a ghoul
Posts: 122
Joined: Sun Nov 02, 2003 4:39 am

Post by nightgod » Tue Apr 20, 2004 5:17 pm

There's a few items that use ' and some that use `, I've run into that problem trying to hunt stuff in the bazaar.

And no, I can't think of an example off-hand, I just remember running into it about a week ago and thinking how stupid it was.

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Tue Apr 20, 2004 10:28 pm

Actually, as far as I know, EQ always uses ` instead of '
Turgur's Insects
I'm guessing the whole line is that way (Tagar's, Togor's and Tigir's) but haven't checked those three.

Rusty~
a hill giant
a hill giant
Posts: 244
Joined: Wed Apr 14, 2004 2:55 pm

Post by Rusty~ » Wed Apr 21, 2004 3:37 pm

i think it's just Sony not caring and being lazy (not that they would ever do that!) ... i notice corpse names use ' but mount names use `