Page 1 of 2

OLD: 2002-06-22 pre-release discussion

Posted: Wed Jun 19, 2002 3:50 am
by Plazmic
2002-06-19 is hot off the compiler and I'm looking for more stuff to do...

Change log right now (not much, busy IRL):
Added ItemsDB.txt, loaded with MQ and saved when /unloaded. Updated when you /charinfo
Made fish.mac a bit more robust
Changed /face heading to work with headings outside 0-360
Fixed mouse locations when minimized...
Fixed command line parsing issue.


On my list of things for the next release (probably friday night):
$hp(pct) -> $char(hp,pct)
$id(count|#)
$target(gm)
/beep
/elseif
/else
/endif

On my list of want todos sometime soon:
Find the real enviro pack data.
Get a /mouseto target similar to /mouseto item but for your real target (ie. vendor, quest npc, etc)
/mouseto npctrade slot|cancel|done
/inventory open|close
/pack open|close slot|all
/mem <gem> "Spell Name"

Besides the above, what would make a good addition to MQ?
More events, variables, commands?
Spellbook support?

C'mon... I know you guys have ideas... 8)

Code blocks

Posted: Wed Jun 19, 2002 4:06 am
by Domosan
for the /if statements to allow more than 1 command to be stacked under the /if statement -- maybe use /endif to terminate the code block -- also /else and /elseif would be nice :)

Posted: Wed Jun 19, 2002 4:15 am
by nikeman
well for spell book the person would have to edit witch spells he/she needs or where thay at but after death /book /go to page or /find (spell) and have all ur spells rememed when u die =)

Posted: Wed Jun 19, 2002 4:15 am
by nikeman
AUTO arnge your spell book by icon id =) god i need that

Posted: Wed Jun 19, 2002 4:26 am
by Plazmic
Ya know... I keep meaning to write those... Drives me nuts ever time I have to design a macro around that limitation.
I keep thinking about how to do scope correctly though for nested /ifs
Think I just need macros to recognize {}'s as commands and handle matching the start/end of blocks correctly.
I'd like it similar to:

Code: Select all

/if $v1==b {
   /echo yadda
   /return
} else /if $v1==c {
   /echo yacama
   /return
} else {
   /echo Bad v1
}

Maybe suport for an "or" operator:
/if a==b or a==c or d==e {
  ...
}

"And" support is there:
/if a==b /if a==c /if d==e {
  ...
}

Combining them:  (a==b or a==c) and d==e
/if a==b or or a==c /if d==e {
   ...
}

This one looks bad though: (a==b and a==c) or d==e
/if a==b or d==e /if a==c or d==e {
   ...
}


Posted: Wed Jun 19, 2002 4:29 am
by Plazmic
I need to find the spellbook and refind the spell database in memory.
Command wise, i want a command to mem a spell by name into a gem:
/mem 1 "Spell name"

Posted: Wed Jun 19, 2002 4:35 am
by nikeman
yeah best i can think of atm is doing the right click move to first gem yada yadyad atm if ur haveing trobles with geting icon id's eqcaster.com has a program to let u see all spells with icon id and more

Posted: Wed Jun 19, 2002 4:38 am
by Domosan
That's why I suggested /endif to end an /if structure and /elseif or /else could be nested within the initial /if.

Modelled after the ASP style of coding -- then you could just look for /else, /elseif or /endif to know when to drop out of the block of code -- much like /next does when used with /for

Domosan

Posted: Wed Jun 19, 2002 4:39 am
by nikeman
hah thanks for the new handle Tester :P

BTW just wanted to say some where that i just acdently blow up the vendor for cheese =( seems he dont have 900hp

Posted: Wed Jun 19, 2002 4:43 am
by Plazmic
I knew where the spell database was in memory, but never had a use for it. It has all of the data EQCaster's does (same spdat.eff)

Sorry, but I am not making a /cleanmyspellbook command

For mouse support, you will be able to:
/book 2
/click right spellbook 2 3
/book 1
/click right spellbook 1 1

Just like /click is an EQ internal command "left click at screen x,y"
There is an internal command for "you want to mem spell XX into gem X", I just need to find it.

Posted: Wed Jun 19, 2002 6:16 am
by Domosan
Make it so we can prevent the "Couldn't find..." messages from being displayed if we don't want them to show up please -- useless spam on my screen ATM.

Also, the "Selected <so and so>" message should be an option.

Domosan

Regarding the messages

Posted: Wed Jun 19, 2002 6:25 am
by Domosan
I noticed that you can block these messages using /filter name "Couldn't" and /filter name "Selected"

wasn't sure if you wanted a cleaner way to do it

Posted: Wed Jun 19, 2002 1:20 pm
by Plazmic
Personally, I've used /filter name on them...
Each of the other /filter xxx options have multiple lines associated with each (except target)
I don't want to wind up with
/fitler select
/filter save
/filter zone
/filter loading
/filter yougetthepicture

win 9x

Posted: Thu Jun 20, 2002 2:01 pm
by LincolnsAura
win 9x support would be awesome!

|_ /\

Posted: Thu Jun 20, 2002 2:34 pm
by icon
How about /checkforbuff "Spirit Of Wolf" And have it return TRUE or FALSE etc.
etc... /checkforbuff "Skin Like Nature"

or $buff(xxx) where 'xxx' can be: total (returns total amount of buffs), [n] (1, 2, 3, etc... returns name of 1st buff, 2nd buff, etc... depends on the number you put for [n]), "NameOfBuff" (with quotes) (This one is just referring to that specific buff by name, so that in the macro you can have it cancel the buff or recast it or check the info on it etc...)

Just some buff ideas :-)

Also, how about trying to have $mana working? If that's not possible, how about just using INT and stuff to calculate the total mana, and just have $mana(total) the only one working. And maybe having more stuff based off of $char(class) $char(level) and $char(race).

Maybe also a command that returns your current hp regen rate including buffs... or without etc... and maybe even one for mana, while sitting, while medding, while standing, with KEI, with clarity, with breeze, etc...

Just some ideas thrown your way, from your local Idea Man.

Everyone's favorite dreamer:
- Icon