Page 1 of 1

Bags in Rorazan / Syrbal

Posted: Sat Jul 27, 2013 9:02 pm
by Schwertseele
Hello!
Is it possible to pick up the Bags, which are dropped in Rorazan and Syrbal? I don't know how the bot can pick up these things - I would like to bot them, since there are a lot of nice stats inside.

Didn't get it to work..Bot walks away and kills Mobs. :/ Any hints?

Best regards

Re: Bags in Rorazan / Syrbal

Posted: Sat Jul 27, 2013 9:25 pm
by wps
There are some topics about this.

add some code in onLeaveCombat
fill the bag id your self

Code: Select all

	if player:findNearestNameOrId(GetIdName(vBagId)) then
		player:target_Object(GetIdName(vBagId));
		yrest(1000);
		player:target_Object(GetIdName(vBagId));
		yrest(1000);
	end

Re: Bags in Rorazan / Syrbal

Posted: Sat Jul 27, 2013 9:56 pm
by Schwertseele
Thanks a lot! =)

Best regards

Re: Bags in Rorazan / Syrbal

Posted: Tue Dec 24, 2013 6:57 am
by rambo66
hi,

how can i combine the 2 bags, i think there are 2 different bag types

"Mysteri\148ser Beutel"
"Geheimnisvoller Beutel"

something like this ?

Code: Select all

....
player:findNearestNameOrId(GetIdName(vBagId OR vabagID2)) then
      player:target_Object(GetIdName(vBagId OR vabagID2));
....
merry x-mas ;-)

Re: Bags in Rorazan / Syrbal

Posted: Tue Dec 24, 2013 7:09 am
by rock5

Code: Select all

player:target_Object({vBagId, vabagID2})
No need for findNearestNameOrId.