You are not logged in.

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

/!\ We have moved to a new board. Come join us. This board is now in "archive" (read-only mode). /!\

Dear visitor, welcome to Runes of Magic US / AU. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, October 18th 2015, 2:18am

modified addons: ClassSwap

Probably we all have some little tweaks and fixes for the addons we are using. Sometimes one line of lua can change a totally unusable cr*p into a beauty you cannot live without.

I would like to suggest we share such modifications - if you put effort in fixing something, why not let others benefit? :) And by sharing you might learn there is a better/easier way to do the same (I, for one, do hope to learn this :P ).

So to start: here is my little tweak to Class swap helper. The problem I had with this addon is that there is no easy way to turn it off. It was great in the olden days when we had just two leveled classes, but now it's a nonsense to be limited this way - you do need access to your other classes. Still, in for me in 90% of cases I still just want to swap (e.g. when doing dailies on a sub-class), so I don't really like the ClassExchangeHelper - it is one click more, and you need to choose from a cumbersome list of all combinations.

So I still use Class swap helper, but I've added to ClassSwap.lua:
at the beginning

Source code

local is_active = true;

at the end

Source code

SLASH_ClassSwap1 = "/cswp"
SLASH_ClassSwap2 = "/classswap"
SlashCmdList["ClassSwap"] = function(editBox, msg)
	is_active = not is_active;
	if (is_active) then
		DEFAULT_CHAT_FRAME:AddMessage("ClassSwap is now active");
		DEFAULT_CHAT_FRAME:AddMessage("ClassSwap is now NOT active");

and at the beginning of "function ClassSwap_OnEvent(this, event)"

Source code

	if ( not is_active ) then

The effect is that:
* by default ClassSwap is active, when you talk to a housemaid to change classes it will simply swap for you the two active classes
* but if you say /classswap it will get turned off and you can choose new classes manually
* if you say /classswap again, it will again start swapping the two new classes for you whenever you choose the class-swap option when talking to a house maid.

Well - works for me. :P
>>>> >>>> >>>>
>>>> Please, bring back (bound if there is no other option) dias to AH! :thumbsup:
>>>> If you do this we will all love you forever. ;)
>>>> >>>> >>>>


The Dungeon Keeper

Posts: 1,408

Location: Dungeon

  • Send private message


Sunday, October 18th 2015, 9:31am

A nice change indeed, but I recall that if you asked the House Maid to change class with 'shift' held down, you still got the regular interface. I may be wrong - it has been a while since I used this addon.

Instead, I've been using ClassExchangeHelper ( which shows you a list of all your classes. You just left-click to choose primary and then right-click to choose secondary.

Both have their merits and some will prefer one over the other.


King of the Noobs

Posts: 1,027

Location: Reni & US IRC

  • Send private message


Sunday, October 18th 2015, 6:13pm

I personally use Daily Auto Swapper. It does exactly what you changed your addon to do. to toggle it, you type in the command: /das toggle
Zerienga - 90/90 P/K
Téster - 95/61/60/45/45 CH/WL/R/P/M
Dontkillimascout - 90/61 WL/P

If you want to contact me quickly and efficiently, try the US IRC channel.
No, I don't know everything. I just use my knowledge to form educated guesses
And I listen when others say I am wrong in order to learn.