You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Friday, December 13th 2013, 11:47pm

Seperate Addon Settings for same character

What I'm trying to do is find the easiest way to make multiple, custom settings for the same character. Specifically for the GridCliqueIt addon.

I'd like to have multiple settings based on which class combo I'm playing so that I don't have to rewrite the spells in spell slots every time I want to play a different combination. While lots would be great, I really only need two settings to save.

I figured the easiest way to do this would be to make two separate gridcliqueit's by renaming the folder, and renaming every file in the folder and corresponding file names inside the code (added a "2" at the end of everything). Two grids would be fine, and I could just disable the one I'm not using at the time. By doing this I did manage to make two seperate in game gridcliqueit buttons, but I also managed to break both of them, lol. I'm not sure where I went wrong, and while I am a little literate with code I'm mostly a novice.

I know there are functions to detect what my primary and secondary classes are. Would it be possible to set up an if/then statement in my SaveVariables.lua based on my combination? Or maybe there's some other option I haven't considered at all. Anyway any help would be appreciated. Thank you for reading!
Deraan
77/77/71 M/W/R
Govinda - Bteam

2

Saturday, December 14th 2013, 12:50am

I sorta do the same thing for my different class combos and different toons... but I just make a copy of the Files in the Runes of Magic folder(it is a "hidden" folder**) that is in your documents section... and put those files in their own folder + rename it for the combo [Instead of having two copies of 1 or multiple addon folder(s)]

Set up UI and Addons how I want them.. do a return to char selection and exit game so it is saved...
Copy the files in the rom folder(again the one in your documents)and put those files/folders into a folder + rename it ie. druid/wdn settings or Wdn/war DPS Settings or Wdn/war TANK Settings


just have to relog when you change a combo and swap out the folders and your UI and Addons are exactly how you left them for that particular class combo :D...

I do not have issues doing this... and it's always a backup in case your UI and/or add-on settings resets :)

**the Runes of Magic folder in your documents is where all of your character Interface and add-on SETTINGS are saved
Calon
The grass is greener when you are in Paradise.

3

Saturday, December 14th 2013, 6:25am

Well you don't need to swap whole that whole folder unless you're changing skill bars too, the only thing you're changing by doing so is SaveVariables.lua. Though if you're changing skill bars as well I suppose your suggestion is easiest. The /ReloadUI() command can be used instead of relogging too, though last time I tried that it I broke my channels. Worth trying out though.


Anyway, I suppose part of my original question is "does SaveVariables.lua get run like any other lua script?" Can I include checks for the class combination of the character within it? Or would that work somewhere else at all?
Deraan
77/77/71 M/W/R
Govinda - Bteam