Page 1 of 1
${Me.Buff[Spell Name]} problem?
Posted: Tue Apr 20, 2004 2:51 pm
by Quadzer
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?
Posted: Tue Apr 20, 2004 2:53 pm
by Lax
Are you sure its "Kazad's" and not "Kazad`s"?
Posted: Tue Apr 20, 2004 3:35 pm
by Quadzer
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.
Posted: Tue Apr 20, 2004 4:36 pm
by iluvseq
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)
Posted: Tue Apr 20, 2004 5:17 pm
by nightgod
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.
Posted: Tue Apr 20, 2004 10:28 pm
by magictiger
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.
Posted: Wed Apr 21, 2004 3:37 pm
by Rusty~
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 `