on event ?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
caramel
Posts: 8
Joined: Sat Sep 25, 2010 5:08 am

on event ?

#1 Post by caramel » Tue Oct 05, 2010 2:47 am

How can I get a bot listening to an event ?

for example a bot waiting the Event:TRADE REQUEST

it's to use to trade between 2 bots:

Code: Select all

-- select the player 1 in party
			-- ask for a trade
			sendMacro("RequestTrade("party1")"); yrest(500);
			-- put item in trade
			sendMacro("PickupBagItem(GetBagItemInfo(78))"); yrest(500);
			sendMacro("ClickTradeItem(1)"); yrest(500);
			-- press ok
			sendMacro("AcceptTrade("")"); yrest(500);
			-- player 1 press ok
			-- press trade
			sendMacro("AgreeTrade()"); yrest(500);
			-- player 1 press trade
Thanks in advance,

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: on event ?

#2 Post by Administrator » Tue Oct 05, 2010 10:40 am

That is really best left for an addon to handle. Communication between the bot and RoM are generally too slow for constant checking like this.

caramel
Posts: 8
Joined: Sat Sep 25, 2010 5:08 am

Re: on event ?

#3 Post by caramel » Tue Oct 05, 2010 12:24 pm

ok thanks for the answer.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests