Player is reborn invincible CancelBuff(500667) not working

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
grande
Posts: 261
Joined: Tue Jun 28, 2011 4:46 pm

Player is reborn invincible CancelBuff(500667) not working

#1 Post by grande »

I'm stumped, got lucky to find this nice /script executed ingame which shows buff IDs: /script i=1 while UnitBuff("player",i) ~= nil do nn,__,__,ii = UnitBuff("player",i) SendSystemChat(nn..", "..ii) i = i+1 end

But... for the "Player is reborn invincible" buff it shows 500667 and that seems to be the only buff I can't strip. Tried different variations in WP and profile. I can strip the "PK Protection" buffs all day with no problem but this 500667 thing is killing me.

Profile:

Code: Select all

	<onDeath><![CDATA[
	yrest(1000)
	RoMScript("BrithRevive();");
	yrest(1000)
	CancelBuff("Player is reborn invincible")
	CancelBuff("PK Protection")
	CancelBuff("PK Protection II")
	CancelBuff("PK Protection I")
	CancelBuff("PK Protection III")
	CancelBuff(500667)

		-- Additional Lua code to execute on death
		-- pauseOnDeath(); -- Stop the script
		-- player:logout();	-- logout
	]]></onDeath>
WP

Code: Select all

	<!-- #  1 --><waypoint x="3455" z="75667" y="5"> 	CancelBuff(500667);	</waypoint>
Also tried:

Code: Select all

	<!-- #  1 --><waypoint x="756" z="85678" y="5"> 	CancelBuff("Player is reborn invincible");	</waypoint>
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Player is reborn invincible CancelBuff(500667) not work

#2 Post by rock5 »

CancelBuff doesn't accept Ids.

If the buff can be removed then this should work.

Code: Select all

CancelBuff("Player is reborn invincible")
Can the buff be removed? If you rightclick the buff, does it remove it? Not all buffs can be removed.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Player is reborn invincible CancelBuff(500667) not work

#3 Post by lisa »

you could use the getidname function but yeah as rock said not all buffs can be cancelled
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
grande
Posts: 261
Joined: Tue Jun 28, 2011 4:46 pm

Re: Player is reborn invincible CancelBuff(500667) not work

#4 Post by grande »

LOL it works in the WP which is where I want to have it anyway.

Code: Select all

	<!-- #  1 --><waypoint x="7856" z="6858" y="5">
		yrest(200);
		CancelBuff("Player is reborn invincible");
		yrest(200);
		CancelBuff("PK Protection")
		yrest(200);
		CancelBuff("PK Protection II")
		yrest(200);
		CancelBuff("PK Protection I")
		yrest(200);
		CancelBuff("PK Protection III")
		CancelBuff(500667)	
		yrest(200);
</waypoint>
User avatar
grande
Posts: 261
Joined: Tue Jun 28, 2011 4:46 pm

Re: Player is reborn invincible CancelBuff(500667) not work

#5 Post by grande »

Any idea how to get rid of the 10 second timer after death?

Found this but it's not doing anything:

Code: Select all

WAIT_TIME_AFTER_RES = 8000,	-- time to wait after resurrection, needs more on slow PCs
Post Reply