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.

bleedingblak

I'm here to troll you

  • "bleedingblak" started this thread

Posts: 1,232

Location: www.youtube.com/user/ihavetourettesxx

Mood: Crying

  • Send private message

1

Saturday, February 1st 2014, 5:56am

Looking for macro (Aoth cape and Title pls)

My current macro for aoth strike cape:

Quoted


/script UseItemByName("Aoth Strike Cape");
/wait .1
/script UseEquipmentItem(5)
/wait .3
/script UseEquipmentItem(5)
/wait .4
/script UseItemByName("Outside Codex");
/wait 60
/wait 60
/w Bleedingblak Ultimate Shot (cape) ready


Ironblood (or any title buff for that matter):

Quoted


/run SetTitleRequest(530592);
/wait .1
/cast Ironblood Will
/wait .1
/cast Ironblood Will
/wait .1
/cast Ironblood Will
/run SetTitleRequest(530724);
/wait 60
/wait 60
/wait 60
/wait 60
/wait 60
/w Bleedingblak IRONBLOOD READY


I'm looking for something that will go off for sure, instead of just a possiblity. Sometimes I'll just swap to the cape and it won't go off and then it'll swap back to my regular cape. Or sometimes it will just go to aoth cape and use it and leave the cape on. With the title, it can just go on and use the buff and not swap back.

Is there any, idk, check for x buff, if yes then swap to (Cape name) if false use macro, recheck, swap to cape. Same with title. Swap to ID, cast, check for buff, if yes swap to ID if no recast, recheck, if yes swap back to ID.

With current lag, it seems half of the time my titles and capes aren't going off properly.


~Fly into the distance, disappear for awhile~

Cike

Rogue

Posts: 4,171

Occupation: Being Human

  • Send private message

2

Saturday, February 1st 2014, 6:09am

i'd like this too...i have same issue as BB, especially with ISS macros...
my r/p can outdps r/m. your name is stupid.

mages should stack dex. word.

3

Saturday, February 1st 2014, 6:26am

This is mine which is built into my burn buffing macro, seems to work everytime unless my ping is being stupid. It swaps, casts the skills and swaps back.

/use Aoth Mysticism Cape
/wait .8
/run UseEquipmentItem(5)
/wait 1
/use Bethomia Dark Magic Cape

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

4

Saturday, February 1st 2014, 6:36am

Could always create a custom function to run the checks.

sskilla

Beginner

Posts: 45

Location: Artemis

  • Send private message

5

Saturday, February 1st 2014, 7:20am

I do the same thing as BB.

Also for reference of the title swapping macro, the quest title ID can be gotten through:

/run ChatFrame1:AddMessage(GetCurrentTitle())

Gives you your current title's ID in chat window to put inside those brackets in the /run SetTitleRequest(530724); line.

Warlock/Mage/Champion ( 82/82/82 )
Currently gearing Champion/Warrior
Guild: Corruption
Server: Artemis
:cookie:

6

Saturday, February 1st 2014, 8:17am

ultimate shot macro:

/use Aoth Strike Cape
/wait .35
/run UseEquipmentItem(5);
/wait .35
/use Outside Codex
/wait 60
/wait 60
/script DEFAULT_CHAT_FRAME:AddMessage("Strike Cape Up!", 1, 1, 1);
/script DEFAULT_CHAT_FRAME:AddMessage("Strike Cape Up!", 1, 1, 1);

IBW macro:

/script SetTitleRequest(530592);
/wait .37
/cast Ironblood Will
/wait .37
/script SetTitleRequest(530724);
/wait 60
/wait 60
/wait 60
/wait 60
/wait 60
/script DEFAULT_CHAT_FRAME:AddMessage("Ironblood Will is Up!!", 1, 1, 1);

works almost everytime except when server is lagging then you might wanna up the wait time depending on you ping and ifs its too bad i don't even use my cape macro.

Majik

Gamemaster

Posts: 159

Location: in your heads

Occupation: being your conscience

  • Send private message

7

Saturday, February 1st 2014, 2:50pm

Moved to "AddOns, UI & Macros: development" since this is a macro related thread
New Sig In The Works!

Game/Forum/IRC Rules - ToS - Support - Report Tool

8

Sunday, February 16th 2014, 10:34pm

Edit: DONT USE THIS Lifefires post below mine works considerably better, im just leaving this here for reference

********************************************************************************************************************************************

So im working on a macro/addon that will fire it with more reliability, but, again, it ended up being based slightly on diyce.

So the awkward part right now is because of the way i wrote this addon, you have to run the following code each time u log in, which is crappy. Trying to figure a way around this

Source code

1
/run BladeCapeMacro = bladeCape()


then in a separate macro, this is actually the blade cape macro

Source code

1
/run BladeCapeMacro()


and then finally, this is the addon / dicye function

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
function bladeCape()
	local staticCall = 0
	return function()
    	local dV, dM, iN, dVF, dMF = GetInventoryItemDurable("player",5)
	    local pbuffs = BuffList("player")
	    Msg(staticCall)
		if staticCall == 0 then
			if not (iN == "Transformed Lindworm's Cape") then
    			UseItemByName("Transformed Lindworm's Cape")
    		else
				if not pbuffs["Shadow Flash"] then
					staticCall = 1
				end
    		end
		else
			if pbuffs["Shadow Flash"] then
				staticCall = 0
			else
				if not (iN == "Aoth Blade Cape") then
    				UseItemByName("Aoth Blade Cape")
    			else
    				UseEquipmentItem(5)
    			end
			end
		end
	end
end

This post has been edited 1 times, last edit by "Darwec" (Feb 17th 2014, 1:00am)


Lifefire

Master Procrastinator

Posts: 442

Location: Miami

Occupation: Diesel Mechanic (semi-trucks/tractor-trailers)

  • Send private message

9

Monday, February 17th 2014, 12:38am

This should do what you need, it checks your buffs then equips the cape you need, and uses the skill if you dont have the buff, at the end of the function it makes sure that you are wearing your regular cape.

-- place your aoth cape on your action bar...

in the first line you will see " local button = # " ... change # to the action bar number that you put the cape in

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
function bladeCape()
	local button = #
	local _, _, Name, _, _ = GetInventoryItemDurable("player",5) 
	for i=1, 50 do
		if UnitBuff("player",i)=="Shadow Flash" then
			if Name=="Transformed Lindworm's Cape" then 
				return 
			else
				UseItemByName("Transformed Lindworm's Cape") break
			end
		elseif i==50 then
			if GetActionUsable(button) then
				if Name~="Aoth Blade Cape" then
					UseItemByName("Aoth Blade Cape")
				end
				UseAction(button) break
			end
		end
	end
	if Name~="Transformed Lindworm's Cape" then 
		UseItemByName("Transformed Lindworm's Cape") 
	else
		return
	end
end

if there is an error let me know and ill correct it..

* * for other capes just change the names to the correct ones * *
LifeFire - Eternal - Grimdal
Mage/Priest/Knight
82/82/82

Give a macro, Take a Macro
Lifefire's Collections

10

Monday, February 17th 2014, 5:18am

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
function SiegeTitle(title, prev)
	local tid = TitleToId(title)
	local pid = TitleToId(prev)
	if tid and pid then
		if not (GetCurrentTitle() == tid) then
			SetTitleRequest(tid)
		end
		local name, _, _, _, _, _, _, _, _ = GetSkillDetail(1,17);
		local cooldown, remaining = GetSkillCooldown(1,17);

		if name and (remaining == 0) then
			CastSpellByName(name)
		else
			if not (GetCurrentTitle() == pid) then
				SetTitleRequest(pid)
			end
		end
	else
		Msg("Title Failure, Check Spelling")
	end
end
-- title is an id or a string, if its a string, will look up the ID
-- Code Stolen from the Titleist addon
function TitleToId(title)
	local count = GetTitleCount();
	
	--hacky, rom doesnt load title count until achievement frame is loaded
	if count == 0 then
		AchievementTitleFrame:Show();
		AchievementTitleFrame:Hide();
		count = GetTitleCount();
	end;

	for i=1,count-1 do
		local name, titleID, geted, icon, classify1, classify2, note, brief, rare = GetTitleInfoByIndex(i);
		
		if tonumber(title) ~= nil then
			if tonumber(title) == tonumber(titleID) then
				return titleID;
			end
		else
			if string.lower(title) == string.lower(name) then
				return titleID;
			end
		end;
	end
	
	return nil;
end;


Source code

1
2
3
 /run SiegeTitle("siege title","normal title")
/wait .5
/run SetTitleRequest(TitleToId("normal title")) 


so currently there is a small issue that you have to set normal title in TWO places. Slight inconvenience. Might fix later.

This post has been edited 1 times, last edit by "Darwec" (Feb 17th 2014, 5:27am)


11

Monday, February 17th 2014, 8:17am

@ Darwec, look through the german diyce forums using google translate. It appears as though someone has already posted functions to use capes and title skills for diyce.

Also, you can avoid having to use action bar slot references. There's a function called ExecuteMacroLine("string") that will let you incorporate /cast X and /use Aoth Blade Cape type macros into lua code.

one such application for diyce is to modify the MyCombat function (in DIYCE.lua) so that you can use

Source code

1
name = "Macro: /use Aoth Blade Cape", use = boss }


in the same fasion that the current action bar references work. I have this done should you want/need help in doing it but it appears as though you should be more then capable of figuring it out

12

Monday, February 17th 2014, 7:48pm

@ Darwec, look through the german diyce forums using google translate. It appears as though someone has already posted functions to use capes and title skills for diyce.

Also, you can avoid having to use action bar slot references. There's a function called ExecuteMacroLine("string") that will let you incorporate /cast X and /use Aoth Blade Cape type macros into lua code.

one such application for diyce is to modify the MyCombat function (in DIYCE.lua) so that you can use

Source code

1
name = "Macro: /use Aoth Blade Cape", use = boss }


in the same fasion that the current action bar references work. I have this done should you want/need help in doing it but it appears as though you should be more then capable of figuring it out

I have it working in my dicye quite well. I was actually trying to write them seperate from dicye, since there is some social stigma in this game around people who use dicye, but apperently macros and addons are perfectly acceptable.

13

Monday, February 17th 2014, 8:03pm

Ah. Was under the impression that was what it was for since you posted the code rather then just uploading an addon and posting link. Sorry for incorrect assumption.

14

Monday, February 17th 2014, 8:17pm

Ah. Was under the impression that was what it was for since you posted the code rather then just uploading an addon and posting link. Sorry for incorrect assumption.

See when you put it like that...Ill do that later today :D

15

Tuesday, February 18th 2014, 5:04am

In retrospect, i think that i am going to leave this as is for now because although the bladecape macro lifefire work is not dependent on dicye, and my siege title macro is not dependent on it at all, it can still just sit in a custom fuctions file for people.

I think that for now i want to leave it so that people who know how to set up their own personal functions file can take my code, otherwise they can go learn how to.

I dont have too many other functions. I have a few like isSilenced, isRooted, pattackfood, and other such buffs that are dependent on some dicye functions. I might make a new thread showing how to write functions based on the dicye base code that are for more than just spamming attack skills.

16

Thursday, February 27th 2014, 8:29am

Alright i updated the siege title stuff, and now its a full blown addon, and its kind of awesome, and it works.

Install the addon,

Source code

1
/run SiegeTitle("Siege title","Normal Title", skillposition)


Usage:
Siege title is the title you want to cast
Normal Title is the title u want to swap back to
skill position is where in the skill interface the skill is
Darwec has attached the following file:
  • siegetitle.zip (1.33 kB - 4 times downloaded - latest: May 6th 2016, 5:29pm)

17

Sunday, March 2nd 2014, 3:30am

Source code

1
2
3
4
5
6
/run SiegeTitle("Siege title","Normal Title", skillposition)
/wait .1
/run SiegeTitle("Siege title","Normal Title", skillposition)
/wait .1
/run SiegeTitle("Siege title","Normal Title", skillposition)
/wait .1


is a slightly easier to use macro since u dont have to spam click it.

18

Sunday, March 2nd 2014, 11:44am

ok here we go. This version works for rings, capes, and titles. Title command is still the same as above.

siege title

Source code

1
/run SiegeTitle("Siege title","Normal Title", skillposition)


cape

Source code

1
/run CapeCast(aoth, norm)


ring

Source code

1
/run RingCast(aoth,norm)


next version will have more robust use of timers and support for other equipment casts/ more robust equipment casts. Pls tell me if u find any major bugs.
Darwec has attached the following file:
  • darskillswap.zip (1.48 kB - 11 times downloaded - latest: May 6th 2016, 5:30pm)