MQ2 Helpdesk

Third party software discussion goes here.
Tristhan
Posts: 293

Re: MQ2 Helpdesk

Post#131 » Tue Oct 22, 2013 10:23 pm

825th_tomcat wrote:Cheers for the reply!

From what I understand, I need to make the .cfg file and place it in the actual EQ directory containing that line of code that you pasted. So for example; TheHiddenForest_Drakium.cfg which contains the mq2melee load line of code and that file will be within the root of the EQ directory? Or does it go into the MQ2 folder? (Yes, I have them seperate :) )

Sorry, unfortunately I'm not the most adept at coding :(


Anyone using .cfg files and it works ?

I made a file TheHiddenForest_Chrom.cfg and autoexec.cfg, both with the command /plugin mq2melee load in it (in folder as Macroquest2.exe).
It never loads automatic (when i enter game or zone), tho i can load the cfg manuel and it works.

Any help, any idea ?

User avatar
Nexor
Posts: 495

Re: MQ2 Helpdesk

Post#132 » Wed Oct 23, 2013 5:22 am

Tristhan wrote:
825th_tomcat wrote:Cheers for the reply!

From what I understand, I need to make the .cfg file and place it in the actual EQ directory containing that line of code that you pasted. So for example; TheHiddenForest_Drakium.cfg which contains the mq2melee load line of code and that file will be within the root of the EQ directory? Or does it go into the MQ2 folder? (Yes, I have them seperate :) )

Sorry, unfortunately I'm not the most adept at coding :(


Anyone using .cfg files and it works ?

I made a file TheHiddenForest_Chrom.cfg and autoexec.cfg, both with the command /plugin mq2melee load in it (in folder as Macroquest2.exe).
It never loads automatic (when i enter game or zone), tho i can load the cfg manuel and it works.

Any help, any idea ?


Once melee is loaded type /melee save than you should find a file named HiddenForest_Chrom.ini there will be also other settings than saved for the specific char like netbot/netheal etc if you use those.

But it also depends on which compile you use the older ones for titanium i believe use the cfg , regardless though once you save the cfg/ini will be created.
Team Nexor

Fexor - Fexxor - Nexxor - Nexia - Nexxia - Nexis - Nexxis - Gnex

Tristhan
Posts: 293

Re: MQ2 Helpdesk

Post#133 » Wed Oct 23, 2013 9:03 am

Nexor wrote:Once melee is loaded type /melee save than you should find a file named HiddenForest_Chrom.ini there will be also other settings than saved for the specific char like netbot/netheal etc if you use those.

But it also depends on which compile you use the older ones for titanium i believe use the cfg , regardless though once you save the cfg/ini will be created.


My goal is to execute automatic one command when a toon enters the game.
/macro test.mac
Using UF-Client, classic MQ2 build.

I edited HiddenForest_Chrom.ini, created autoexec.cfg and created TheHiddenForest_Chrom.cfg with just this one command.
No reaction when i load or zone the toon.

Do i need to load autoexec.cfg and /save it before it works ?
Anyone using cfg (autoexec.cfg) on THF ?

User avatar
Nexor
Posts: 495

Re: MQ2 Helpdesk

Post#134 » Thu Oct 24, 2013 7:06 am

Tristhan wrote:
Nexor wrote:Once melee is loaded type /melee save than you should find a file named HiddenForest_Chrom.ini there will be also other settings than saved for the specific char like netbot/netheal etc if you use those.

But it also depends on which compile you use the older ones for titanium i believe use the cfg , regardless though once you save the cfg/ini will be created.


My goal is to execute automatic one command when a toon enters the game.
/macro test.mac
Using UF-Client, classic MQ2 build.

I edited HiddenForest_Chrom.ini, created autoexec.cfg and created TheHiddenForest_Chrom.cfg with just this one command.
No reaction when i load or zone the toon.

Do i need to load autoexec.cfg and /save it before it works ?
Anyone using cfg (autoexec.cfg) on THF ?


Never used anything like that , but you might try from http://macroquest.sourceforge.net/includes/manual.php

/loadcfg filename command
Loads a cfg file

* Plugins can use LoadCfgFile(filename)
* Configs that are automatically loaded:
AutoExec.CFG
Executed on the first pulse

CharSelect.CFG
Executed when you are put at character select

server_character.CFG
Executed when this character enters the world

mapshortname.CFG
Executed when you zone into this zone

pluginname-AutoExec.CFG
Executed when this plugin is loaded (after its initialization is complete)


Examples of file names:
tallon_lordsoth.cfg
character

oot.cfg, soldungb.cfg, soldunga.cfg, take.cfg
maps

MQ2Map-AutoExec.CFG, MQ2ChatWnd-AutoExec.CFG
plugins


However i think you actually looking for MQ2EmuAutoMacro
http://mqemulator.net/forum2/viewtopic.php?t=504
Team Nexor

Fexor - Fexxor - Nexxor - Nexia - Nexxia - Nexis - Nexxis - Gnex

Tristhan
Posts: 293

Re: MQ2 Helpdesk

Post#135 » Fri Oct 25, 2013 10:00 am

Nexor wrote:However i think you actually looking for MQ2EmuAutoMacro
http://mqemulator.net/forum2/viewtopic.php?t=504


Thank you for the feedback.

Yeah, i am using the Plugin MQ2EmuAutoMacro to trigger the needed commands (within a macro), too sad the cfg-files dont work - looks much more comfortable.

User avatar
Grey
Posts: 1101

Re: MQ2 Helpdesk

Post#136 » Wed Nov 13, 2013 10:52 pm

Tristhan wrote:
825th_tomcat wrote:Cheers for the reply!

From what I understand, I need to make the .cfg file and place it in the actual EQ directory containing that line of code that you pasted. So for example; TheHiddenForest_Drakium.cfg which contains the mq2melee load line of code and that file will be within the root of the EQ directory? Or does it go into the MQ2 folder? (Yes, I have them seperate :) )

Sorry, unfortunately I'm not the most adept at coding :(


Anyone using .cfg files and it works ?

I made a file TheHiddenForest_Chrom.cfg and autoexec.cfg, both with the command /plugin mq2melee load in it (in folder as Macroquest2.exe).
It never loads automatic (when i enter game or zone), tho i can load the cfg manuel and it works.

Any help, any idea ?


Sorry for the late reply, new baby. So if you look in your MQ2 folder you will see that character based ini etc for THF are saved as "HiddenForest_<NAME>.ini.
I would assume you would want to use "HiddenForest_Chrom.cfg"
If you load in several characters at once it might not fire off on everyone, such is the beast.
Or like I said before you could create your own custom .cfg and /bcaa to load it on everyone as needed.
Or another option is the zoned.cfg which checks every single time you zone.

Markton
Posts: 78

Re: MQ2 Helpdesk

Post#137 » Thu Nov 14, 2013 3:16 pm

Grey,

It's been a minor thorn in me arse to have to recast one of my pet's buffs every time I zone. (It stops working after zoning) Zoned.cfg works well to cast the buff as soon as I zone in.
Still testing but so far, so good.

Thank you for chiming in!!

Gratz on the new baby btw :D


**Update** By using this method, every character that zones will trigger anything in the Zoned.cfg to fire. Have a full group? Pet buff will be cast 6 times. Back to square one.....
Cojo Izkicken the Chicken

User avatar
Grey
Posts: 1101

Re: MQ2 Helpdesk

Post#138 » Fri Nov 15, 2013 7:45 am

Markton wrote:Grey,

It's been a minor thorn in me arse to have to recast one of my pet's buffs every time I zone. (It stops working after zoning) Zoned.cfg works well to cast the buff as soon as I zone in.
Still testing but so far, so good.

Thank you for chiming in!!

Gratz on the new baby btw :D


**Update** By using this method, every character that zones will trigger anything in the Zoned.cfg to fire. Have a full group? Pet buff will be cast 6 times. Back to square one.....


I would need to double check the correct syntax for it but you can write in a check for it.
Really depends on what exactly you want it to do, in this case you are talking about a pet buff. Could try something like this, might have to cast stuff to another type so it matches but:
Example - obviously you would need to edit to suit

Code: Select all

/if (!${Zone.ID}==1 && ${Me.Name.Equal[Dummy]} && !${Window[CastingWindow].Open}) /cast "name of buff"

I zoned so zoned.cfg is checked, If I am not in zone 1 (change to taste, IE guildhall) and the zoned characters name is Dummy and I am not already casting (wouldnt be an issue but I always check to make sure I'm not already casting to avoid crashes) then cast my pet buff. Pet buff I assume auto targets the pet, if not you would need two lines. One to target pet and another to cast.
CFG files read and execute top down. If you have not already done so go read the mq2 wiki/manual about cfg files. Granted the info is rather limited.

In fact due to how cfg files can act I usually have a delay on the very first line of mine, that way I can consider lag and/or slow loading into the equation. Since you might be considered to have zoned by the server and/or MQ2 thinks you have finished zoning but your client has not loaded in enough for you to do anything.

As usual any questions just reply here or PM me if you want some serious talk time on a personal level, can get on some form of instant messenger to do Q&A sessions.

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest

cron