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, August 14th 2015, 7:23pm

Remove and ReLoad ISS

Anyone give me advice how to remove an ISS and ReLoad it with some LUA code

/script DragSuitSkill_job(0) will place my ISS on the pointer. Not sure how to clear the Skill Wheel/Plate and place that skill.

update: Found this will put my ISS on the skill plate:

/script SkillPlateReceiveDrag(1,0)

So, now just working on how to clear all the skills from the plate now. There is a function SkillPlateClearAll() but it doesn't work from within the chat box or game macros.

Update Again: Found it .... /script SkillSuitFrame_DelAll_OnClick() will clear the plate.

Will slap together some macro over the next few day to clear and reload all my ISSs. Will share it when tested.

This post has been edited 4 times, last edit by "Gorgar" (Aug 14th 2015, 8:42pm)


2

Saturday, August 15th 2015, 9:10am

Back with a working script. Kind of hard to get it to fit in a game macro with longer ISS names but for me this worked. My Main Class is Warden, and Secondary is Warrior. This seems to work good if you are on correct class for the ISS's you choose, if you are on the wrong class odd things happen, like ISS's from incorrect classes are loaded.

/script SkillSuitFrame_DelAll_OnClick(); for a=1,11 do for b=0,11 do c,e,f=GetSuitSkill_List(a,b); if c=="Binding Contract" or c=="Companion" or c=="Animal Spirit Eclipse" or c=="Tranquil Wave" then SkillPlateReceiveDrag(1,f); end; end; end

Replace the names of the ISS's with the ones you need.

If you find the macro is too long for you, try the addon Extended Macro Icons, allows longer macros to be made. Or this can be made in to a small addon with a function name something like ResetISS()

3

Wednesday, October 7th 2015, 6:27am

Thank you very much for posting this!

Been playing with variants on you macro, and for today at least left mine at the code below. (I used an add-on that aliases some of the longer function names.)

Source code

1
2
3
/run ClearISS() for a=1,11 do for b=0,11 do c,e,f=GetISS(a,b) if c=="Binding Contract" or c=="Companion" or c=="Tyrant" or c=="Tranquil Wave" then PlaceISS(1,f) end end end
/wait 0.4
/run if IsShiftKeyDown() then CSBN("Tranquil Wave") end