Post 2002-08-30 Feature Requests

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

User avatar
Nuad
a ghoul
a ghoul
Posts: 93
Joined: Thu Jun 27, 2002 11:43 am
Location: Berlin, Germany

Request: Command to stop a running Macro

Post by Nuad » Thu Sep 12, 2002 9:34 am

I'm requesting a Command such as STR+ALT+<something> to stop a running Macro.

In many Macros you have to use the /press and/or the /sendkey Command and this can prevent the Macro from being stopped with the /endmacro Command.

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Post by gingertips » Thu Sep 12, 2002 11:17 am

hang on, i think you already got what u need for ending macros - under Aliases section.

/l=/endmacro

then create a hotkey social of /l

then wen u press the hotkey button, it ends the macro. how about that then?! Anything to save plaz a bit of work... (more time for him to email me all those confiscated macros ;-) )

Digitalxero
a ghoul
a ghoul
Posts: 129
Joined: Tue Sep 10, 2002 5:01 pm

Post by Digitalxero » Thu Sep 12, 2002 12:46 pm

L124RD wrote:Salutations,
custom var names... dum dum dum...

Code: Select all

#define hp v0
#define mana v1
#define class v2
#define race v3
#define level v4
#define name v5
Ok but you still have the limit of v0 - v100 and name space flooding when using multiple macros in one.

Also what about the other stuff listed there?

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Thu Sep 12, 2002 4:39 pm

the problem with the /! is that i have /endmacro bound to a hotkey but if any /sendkey is down, it wont work..

see the problem?

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

Post by icon » Thu Sep 12, 2002 9:57 pm

Amadeus's idea was an awesome one! I'd like to second that.

This happens to me every day, several times a day.

Code: Select all

Icon shouts, 'Anyone have a few extra peridots?'
Acaracscklescrafredike tells you, 'I have some!  Want them?'
SomeoneElse tells you, 'Long time no see!'
As you can see, I cannot hit 'r' to reply to Acaracscklescrafredike since SomeoneElse sent me a tell right afterwards, and now I have to type in the little annoying named fuckers long ass name if I want the 'dots. Usually I can just wait long enough and they will send another tell saying "you there?", but sometimes they don't. The feature to be able to type "/t Acara Yes thanks! Come to spires and I'll pay you" would help me out a great deal.

Hope this one is a possibility. Or something like it.

- icon
In memory of [b][color=darkblue]MasTerKeyZ[/b][/color].

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Thu Sep 12, 2002 10:31 pm

Press R then tab. It scrolls through your most recently told list.

eqjim
a lesser mummy
a lesser mummy
Posts: 35
Joined: Tue Aug 27, 2002 3:56 pm

Post by eqjim » Fri Sep 13, 2002 12:51 am

i think itll scroll threw all the names of people who have sent you tells.. even when switching chars too.

log on alt, get tells from
jack
ann
bob

log off and on to your main or another alt and youll still have those 3 in your "tell list" that you tab threw.. only goes away if you log out or goto server select i think.

like rizwank said above, just press tab and you can cycle threw the peoples names that have sent you tells.

in icons example.. you would press "R" to bring up "/tell SomeoneElse " .. then press TAB and youd see "/tell Acaracscklescrafredike " right there for ya.

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Fri Sep 13, 2002 12:57 am

thats right. :) and it works without MQ too!

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Sat Sep 14, 2002 7:53 am

$target(pid) and showing the PID in a /who list would be useful at times... since the PID doesn't change between characters on a single account, it'd make it easy to see if you're dealing with alts, and possibly good for access control with a bot-type script...

Code: Select all

/who pid F45VUX7

Code: Select all

Sub event_chat
   /target $p1
   /if "$target(pid)"!="F45VUX7" /goto :notmyowner

   do your bot stuff

   :notmyowner
/return

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Sun Sep 15, 2002 2:56 pm

Another suggestion. A toggle or "flag" that when turned on, gives you an extra message with how much experience a particular mob just gave you, similiar to ShowEQ.

For example:

/showexp on
** MQ Experience Calculator ON **
<you go and kill something big>
You have gained xxx xp (x/330)
You are now at x/330 experience in this level.


.....something of that nature anyway :)

pxlpluker
a lesser mummy
a lesser mummy
Posts: 53
Joined: Tue Aug 27, 2002 12:20 pm

Post by pxlpluker » Tue Sep 17, 2002 7:58 pm

back to the test file.
all i really want to be able to do is write to a specific file name.
ie other than mqlog. juat plain text like you have now. string function would GREATLY help for the reading in i want to do. the space delimiting feature would work pretty well but would love for it to handle text grouping. like a quoted string of 2 or more words.

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Tue Sep 17, 2002 9:28 pm

for the time being, try /note. It comes with eq.

/note <text> goes to notes.txt in the EQ dir. ( or something like that )

Red Moogle
orc pawn
orc pawn
Posts: 23
Joined: Sat Sep 14, 2002 10:27 pm

Post by Red Moogle » Tue Sep 17, 2002 11:33 pm

hmm i know there is /targ where you can check for a PC within a raidius around the mob but it would be usefull to check if there was a NPC within a raidus IE for single pulling in outdoor zones and such.
:Loop
/echo Kupo!
/goto :Loop

User avatar
DeathSpiral
a ghoul
a ghoul
Posts: 95
Joined: Thu Aug 22, 2002 6:31 pm

Post by DeathSpiral » Wed Sep 18, 2002 4:42 am

Some sort of a 'showvars' command would be nice, ie, something that listed all the variables that were currently initialized and their current values (useful for debugging and also if you forget all the variables you've used in a script).

Also, being able to look at the value of a variable in a variable. IE

Code: Select all

/varset v1 1
/varset v2 v1
/echo $$v2
would produce

Code: Select all

[MacroQuest] 1
as output.

Also, a few things to determine what a variable is. IE $is_int($v50), etc. Useful for starting a script up after ending it but -not- nuking variables. To check and see whats set already, and that its the right type... Would suggest possible $is_int(), $is_string(). /shrug

Theres a couple more things, but my thoughts have evaporated again.

(EDIT: adding more)
The following strings added to the food filter (or a new 'eating' filter)
  • 'You take a bite out of a'
  • 'You take a drink out of a'
  • 'Ahh. That was tasty'
  • 'Ahh. That was refreshing'
  • 'You could not possibly eat any more, you would explode'
  • 'You could not possibly drink any more, you would explode'
A $newui test, returns TRUE if loaded with the newUI, FALSE otherwise.

Array 'modifiers'
  • a 'push' function which tacks an item onto the end of an array
  • a 'pop' function which removes an item from the end of an array
  • a 'reverse' function, which reverses the items in the array*
  • an 'array copy' function, that just dupes an existing array
* = said reversal would be limited to size of array, not all 100 entries. IE, if you have a(0,0), a(0,1), a(0,2), a(0,3), it would 'flip' the array so that the new a(0,0) would be what a(0,3) used to be, new a(0,1) would be what a(0,2) used to be, etc.

Admittedly, on the array functions, we can write MQ# that will do it, however, if added to the engine it would go faster. /shrug Throwing it out there for comments. (And yes, I can think of at least 2 uses for it...)

I could find a use or two for a turbo toggle (instead of just script-wide on or off), but thats really not important.

When storing strings into a variable, case is currently auto-converted to lower

Code: Select all

/varset v1 "This is a STRING"
/echo $v1
produces

Code: Select all

[MacroQuest] this is a string
. Text variables set from events (Event_Chat and custom events) seem to be unaffected (capitals stored just fine), but if you varset, it'll be tolower()'d. Again, not too important, just for looks...

The ability to escape (with a \) $'s to prevent variable substitution would be nice

The ability to get the length of a string ($strlen()) and the ability to look at a string one char at a time...

Code: Select all

/varset v1 "This is a STRING"
/for v2 0 to $calc($strlen($v1)-1)
   /mqlog v1[$v2] is $v1[$v2]
/next v2
produces

Code: Select all

v1[0] is t
v1[1] is h
...
v1[14]n
v1[15]g
(note: example uses all lowercase because currently strings set in variables are tolower()'d as mentioned above).

Some sort of a test to see if a spell gem is available, similar to what happened with the doability / etc. IE, $char(gem,1,down) is TRUE or FALSE. As a note: thankyouthankyouthankyou for the existing spellbook support.

Might be useful to add a test for keys that are down, or a function that will report all the keys that are down. I occasionally get 'stuck' keys, keys that should be up (having gone through two /sendkey up's), again, something that could be used for debugging. /shrug

Also wanted to say thanks (again?) for putting all the work you have into MQ. Its appreciated.
I am orc pawn, hear me yell for centurians...

Red Moogle
orc pawn
orc pawn
Posts: 23
Joined: Sat Sep 14, 2002 10:27 pm

Post by Red Moogle » Wed Sep 18, 2002 2:59 pm

hmm one more suggestion, it might be nice if there was a /beep comand that used the external speekers so one can controll volume. if i knew more about how EQ did sounds id do this myself but looking through eqlib.cpp im really gunna need to refresh what i know about c++ hah
:Loop
/echo Kupo!
/goto :Loop