• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Can the ini files be tweaked on the fly?

Kokopelli2014

New member
Joined
Mar 5, 2014
RedCents
226¢
I was wondering if while running toons actively in with kissassist, can the ini file for the toon be open in notepad and tweaks made then saved to file have an immediate effect on toon or does the toon need to be camped out and kissassist reinitiated with each change?:confused:
 
You can just save the file, and reload the macro. No reinjecting or reloading necessary :-)
 
FWIW, any macro variable can be set on the fly in game via the /varset command.

/varset HealAt 80

That would change HealAt variable to 80.

You can also make handy dandy hotkeys to toggle values, like say there was a burn routine that would only trigger if you had Burn=1, your hotkey could be like:

/varset Burn ${If[${Burn},0,1]}

and that would toggle it from 0 to 1 to 0 to 1, etc, depending on its current value.
 
FWIW, any macro variable can be set on the fly in game via the /varset command.

/varset HealAt 80

That would change HealAt variable to 80.

You can also make handy dandy hotkeys to toggle values, like say there was a burn routine that would only trigger if you had Burn=1, your hotkey could be like:

/varset Burn ${If[${Burn},0,1]}

and that would toggle it from 0 to 1 to 0 to 1, etc, depending on its current value.

THANK YOU! Is there a way to do this with spells, diiscs and AAs?
 
Kokopelli2014, use /varset at your own risk. Have a thorough understanding of the variable you are changing, and read thru the code to see how changing it, and not another related variable, may affect the macro. Unless you are very familiar with the macro code you will experience unintended and possible adverse results.

If you are changing things, you will limit your level of support. This, in effect, would be the same as going in and modifying the actual code and restarting the macro. If you post a request for help, and ppl find out you have changed the code (either by modifying the actual mac code - or using /varset) you will not only be on your own, it will piss ppl off. That would be like taking a screwdriver and changing something under the hood of a new car, having trouble with the car, and taking it to the dealer expecting warranty work.

Chances are, you will find a builti-in command (posted above) to toggle the functionality you are looking for. It would be advised to use them rather than attempting to hack with /varset. I went thru the code awhile back and updated that command list on the wiki, it should serve you well.

Using the builti-in commands also eliminates the need to restart the macro after toggling a change (as opposed to changing an on/off in the INI - which was what you originally asked). Many of the builti-in commands persist to the INI where it makes sense, others do not to allow flexibility the next time you load the mac. I tried to indicate persistence level in that command list, not sure I finished that aspect.
 
What would the the proper /varset to set say DPS1 from Lure of Flame to Lure of Frost? I often need to change my wizards spells depending on the mob, would love to not have to restart the macro every time.
 
What would the the proper /varset to set say DPS1 from Lure of Flame to Lure of Frost? I often need to change my wizards spells depending on the mob, would love to not have to restart the macro every time.

You'd have to look at the macro to see what the actual variable name is.. if is directly named "DPS1":

/varset DPS1 ${If[${DPS1.Equal[Lure of Flame]},"Lure of Frost","Lure of Flame"]}

That would toggle it between the two back and forth.
 
You'd have to look at the macro to see what the actual variable name is.. if is directly named "DPS1":

/varset DPS1 ${If[${DPS1.Equal[Lure of Flame]},"Lure of Frost","Lure of Flame"]}

That would toggle it between the two back and forth.

Exactly what I was looking to do, just need to figure out which the variable is. Looks like DPS1 would be ${DPS[1].Arg[1]} for the name and .Arg[2] for the health % to cast. Not in game so I can't verify.

If ${DPS[1].Arg[1]} is Lure of Flame, could I do /varset ${DPS[1].Arg[1]} Lure of Frost to change that element of the sub array?

- - - Updated - - -

However you would still need to mem the spell unless it's an AA/Disc/Clicky???

I plan on making a hotkey that will also load the spell using mq2cast.
Rich (BB code):
/memorize "Lure of Frost" 2
 
Last edited:
Exactly what I was looking to do, just need to figure out which the variable is. Looks like DPS1 would be ${DPS[1].Arg[1]} for the name and .Arg[2] for the health % to cast. Not in game so I can't verify.

If ${DPS[1].Arg[1]} is Lure of Flame, could I do /varset ${DPS[1].Arg[1]} Lure of Frost to change that element of the sub array?

- - - Updated - - -



I plan on making a hotkey that will also load the spell using mq2cast.
Rich (BB code):
/memorize "Lure of Frost" 2
In that case you may just need to set the whole variable. So if DPS1 is Lure of Flame|2|Target or something then:

/varset DPS1 ${If[${DPS1.Find[Lure of Flame]},"Lure of Frost|2|Target","Lure of Flame|2|Target"]}
 
I'm out of clickable thanks, but THANKS Pete.

New hotkey for easy switching!
Rich (BB code):
/varset DPS[1] Lure of Frost|90
/memorize "Lure of Frost" 6
/echo DPS1 is set to ${DPS[1]}
 
Last edited:
Question - Can the ini files be tweaked on the fly?

Users who are viewing this thread

Back
Top
Cart