• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Seperating inis for different stuff

Meistro

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