Page 1 of 1

some problems with bot after patch

Posted: Thu Feb 03, 2011 4:11 am
by Personalausweis
hey there,

last night i started my blend-rune bot the first time after patch.
he encountered two problems he didn't had before.

- no ressurect after dead

Code: Select all

<option name="RES_AUTOMATIC_AFTER_DEATH" 	value="true" />
- no healing after combat

Code: Select all

<onLeaveCombat><![CDATA[
		-- Additional Lua code to execute after killing an enemy
	if (50 > player.HP/player.MaxHP*100 ) then
		RoMScript("UseAction(9)");  -- Sprit Herb Essenz
		yrest(2200);
		elseif (75 > player.HP/player.MaxHP*100 ) then
				RoMScript("UseAction(8)") -- Infinite Herb
	end;
-- rune thorns
	if (inventory:itemTotalCount(212185)<500) then
		sendMacro("UseEquipmentItem(10)");
		yrest(1000);
		inventory:useItem(212185);
	end;
	]]></onLeaveCombat>
Rev is 570

any ideas what happend?
or any ideas how optimize this code?

Re: some problems with bot after patch

Posted: Thu Feb 03, 2011 12:41 pm
by Personalausweis
observed him now a while, after his first death he resurrects as intended, but when he dies again, he did not use ingame macro for ressurection...

http://www.bilder-space.de/show_img.php ... e=original

bot just stops there and waits for whatever ....

Re: some problems with bot after patch

Posted: Fri Feb 04, 2011 6:20 am
by lisa
it's interesting it resurected once and then not second time.

When you did SVN update did you copy the new ingamefunctions to the Runes of magic folder?

Re: some problems with bot after patch

Posted: Fri Feb 04, 2011 7:33 am
by Personalausweis
it's very strange...

i did some changes to the waypoints so he dies less, and everything is working -.-
even if he dies re resurects now as intended.

don't know...

whatever, its working now ^^

u can close/delete thread