04.09.2004 zip changelog
Code: Select all
9 Apr 2004 by Lax:
- Fixed != in Calculate (and therefore in /newif, math.Calc, etc), and implemented ! as
the unary NOT operator. This gives 0 if your calculation is non-zero, or 1 if your
calculation is zero.
- MQ2Data changes:
-- Swapped Y and X back to being backwards-backwards or backwards-forwards, or whatever they
originally were
-- Added "NWU" coordinates (North/West/Up), the three positively oriented directions in EQ.
Spawns also have a shortcut for SED (South/East/Down). All type member names involving
XYZ have a NWU complement (none necessary for the "index" bracketed part, of Heading[y,x]
for example)
-- Fixed character.AbilityReady
-- Fixed item (TO STRING)
Top Level Objects
* spawn LastSpawn: The last spawn chronologically.
* spawn LastSpawn[n]: The nth from last spawn.. LastSpawn[1] is the LastSpawn.. LastSpawn[2] is 2nd from last, LastSpawn[3] is 3rd from last, and so on
* spawn LastSpawn[-n]: The nth from FIRST spawn.. LastSpawn[-1] is you, LastSpawn[-2] is the second spawn, LastSpawn[-3] is the third spawn, and so on
Additions/Changes to existing types:
* heading Heading[y,x]: Heading from player's current position to y,x
* float math.Distance[y,x,z:y,x,z]: Performs distance calculations in 1, 2 or 3 dimensions.
Any not given will default to your character's current x y or z.
* bool item.Stackable: Stackable?
* bool merchant.Open: Merchant open?
* float merchant.Markup: The amount used to calculate item values on this merchant
(Markup is what your charisma, faction, etc change). Markup*Cost=Merchant's sell price.
Cost*(1/Markup)=Your sell price. Markup of 1.05 is highest no matter what, so there might
not be any actual cap based on charisma.
* int merchant.Items: Item count on the merchant
* item merchant.Item[n]: nth item on the merchant
* bool corpse.Open: Corpse open?
* int corpse.Items: Item count on the corpse
* item corpse.Item[n]: nth item on the corpse
* item character.Inventory[slotname]: Item in this slot (inventory slots only, but
same names as /itemnotify)
* bool character.SpellReady[name]: Gem with this spell name ready for cast?
* bool character.SpellReady[slot]: Spell in this gem ready for cast?
8 Apr 2004 by Lax (more)
- MQ2Data changes:
Top level objects:
* heading Heading[x,y]: Heading from player's current position to x,y
Additions/Changes to existing types:
* int item.Container: The number of slots, if this is a container
* int item.Items: The number of contained items, if this is a container
* item item.Item[n]: The item in this slot, if this is a container
- Item links were apparently not working in the MQ2ChatWnd, nobody reported this until now.
Thanks people who noticed it and never reported it! Anyway, item links in MQ2ChatWnd are
simply stripped until I figure out the issue. Item links in MQ2Chat still work fine.
I must have forgot to put this note in, but heading.DegreesCCW gets you the counter-clockwise degrees (e.g. "the way it used to be", the way eq uses it, how some macros expect it still)