• 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 - Seperating inis for different stuff

Meistro

Member
Joined
Nov 19, 2014
RedCents
634¢
In the idea of a quick ingame change without a lot of copy and paste, and the fear of opening a can of worms...

You are messing with forces beyond you control. Don't do it.

Is there a line, lineset, easyto find phrasing, that one could change or adjust that would create and use a diferent KA_toonname.ini under a different title set?

i.e: lets say I have macros titled kissassist titled kissassist, kissweave, kissdungeon, and kissswim

/mac kissassist creates and use kissassist_toonname1
/mac kissweave creates and use kissweave_toonname1
/mac kissdungeon creates and use kissdungeon_toonname1
/mac kissswim creates and use kissswim_toonname1

Right now I have saved in a separate folder different setups, and just copy and paste as i need for different places.
 
It's a nice idea.
Currently i change lines per hand and have commented out lines i use here then then.
 
being able to jump between different .ini via ingame command would be A+

I support the idea :p
 
Last edited:
Can combine this with starting the macro.

"/mac KissAssist Assist" would first look for an ini named "kissassist_servername_toonname_assist.ini" if not exists then load "kissassist_servername_toonname.ini" and then "kissassist_toonname.ini".


This way it stay stupid simple, and ppl who need can just have seperate inis for different jobs.

And if "/mac KissAssist Assist ini=MyIni" would work, that would be even better.
 
I have actually been thinking about this. Easy enough would probably be different sections in the ini and just a flag in KISS.
 
Can combine this with starting the macro.

"/mac KissAssist Assist" would first look for an ini named "kissassist_servername_toonname_assist.ini" if not exists then load "kissassist_servername_toonname.ini" and then "kissassist_toonname.ini".


This way it stay stupid simple, and ppl who need can just have seperate inis for different jobs.

And if "/mac KissAssist Assist ini=MyIni" would work, that would be even better.

I was thinking more of something I could change in each one rather than have someone write whole new code, but either way would work .
 
In the idea of a quick ingame change without a lot of copy and paste, and the fear of opening a can of worms...



Is there a line, lineset, easyto find phrasing, that one could change or adjust that would create and use a diferent KA_toonname.ini under a different title set?

i.e: lets say I have macros titled kissassist titled kissassist, kissweave, kissdungeon, and kissswim

/mac kissassist creates and use kissassist_toonname1
/mac kissweave creates and use kissweave_toonname1
/mac kissdungeon creates and use kissdungeon_toonname1
/mac kissswim creates and use kissswim_toonname1

Right now I have saved in a separate folder different setups, and just copy and paste as i need for different places.


The easiest way to do this is copy the macro with new name kissassist.mac ==> kissweave.mac

Then go find these lines of code and change to what you want.

Rich (BB code):
Sub Main
    | ini file fix for zones with commas in them
    /declare ZoneName string outer ${Zone}
    /if (${ZoneName.Find[,]} || ${ZoneName.Find[']} ) {
        /echo ${ZoneName} has a comma or apostrophe in the name, setting Zone Short Name ...
        /varset ZoneName ${Zone.ShortName}
    }
    /declare MacroName              string      outer       KissAssist
    /declare MacroVer               string      outer       8.3.0
    | if Kiss finds a Kissassist_ServerName_ToonName.ini file it will use that one
        /if (${Ini[kissweave_${EverQuest.Server}_${Me.CleanName}.ini,General,KissAssistVer].Length}) {
        /declare IniFileName            string      outer        kissweave_${EverQuest.Server}_${Me.CleanName}.ini
        /echo Server Name ini file detected using ${IniFileName}
    } else {
        /declare IniFileName            string      outer        kissweave_${Me.CleanName}.ini
    }        
    /declare InfoFileName           string      outer       ${MacroName}_Info.ini
    /declare TaskFileName           string      outer       ${MacroName}_Tasks.ini
    /declare BuffFileName           string      outer       ${MacroName}_Buffs.ini
    /declare KissAssistVer          string      outer       ${Ini[${IniFileName},General,KissAssistVer]}
    /if (!${Ini[${IniFileName},General,KissAssistVer].Length}) /ini "${IniFileName}" "General" "KissAssistVer" "0.0"

Now just make the same change in each macro you create.
 
Question - Seperating inis for different stuff

Users who are viewing this thread

Back
Top
Cart