OLD: 2002-06-22 pre-release discussion

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

OLD: 2002-06-22 pre-release discussion

Post by Plazmic » Wed Jun 19, 2002 3:50 am

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)
Last edited by Plazmic on Sun Jun 23, 2002 12:25 am, edited 4 times in total.
- Plazmic

Domosan
I had to suck up to get this title ;)
Posts: 101
Joined: Mon Jun 17, 2002 3:54 pm

Code blocks

Post by Domosan » Wed Jun 19, 2002 4:06 am

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 :)

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

Post by nikeman » Wed Jun 19, 2002 4:15 am

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 =)

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

Post by nikeman » Wed Jun 19, 2002 4:15 am

AUTO arnge your spell book by icon id =) god i need that

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Wed Jun 19, 2002 4:26 am

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 {
   ...
}

Last edited by Plazmic on Wed Jun 19, 2002 4:35 am, edited 1 time in total.
- Plazmic

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Wed Jun 19, 2002 4:29 am

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"
- Plazmic

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

Post by nikeman » Wed Jun 19, 2002 4:35 am

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

Domosan
I had to suck up to get this title ;)
Posts: 101
Joined: Mon Jun 17, 2002 3:54 pm

Post by Domosan » Wed Jun 19, 2002 4:38 am

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

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

Post by nikeman » Wed Jun 19, 2002 4:39 am

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

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Wed Jun 19, 2002 4:43 am

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.
- Plazmic

Domosan
I had to suck up to get this title ;)
Posts: 101
Joined: Mon Jun 17, 2002 3:54 pm

Post by Domosan » Wed Jun 19, 2002 6:16 am

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

Domosan
I had to suck up to get this title ;)
Posts: 101
Joined: Mon Jun 17, 2002 3:54 pm

Regarding the messages

Post by Domosan » Wed Jun 19, 2002 6:25 am

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

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Wed Jun 19, 2002 1:20 pm

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
- Plazmic

LincolnsAura

win 9x

Post by LincolnsAura » Thu Jun 20, 2002 2:01 pm

win 9x support would be awesome!

|_ /\

icon
Official loudmouth
Official loudmouth
Posts: 158
Joined: Fri Jun 14, 2002 2:59 pm
Location: ...
Contact:

Post by icon » Thu Jun 20, 2002 2:34 pm

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
In memory of [b][color=darkblue]MasTerKeyZ[/b][/color].