Slave-slave trade/slave-main trade

Moderator: Moderators

Message
Author
juan_g
Noob
Noob
Posts: 3
Joined: 12 May 2009, 02:19
Noob?: No

Slave-slave trade/slave-main trade

#1 Post by juan_g »

Pretty simple macro designed to trade zeny between slaves (one is "master" slave), and then trade with main. All you have to do is PM your master slave "deal slaves" to get it started. When done, PM master slave "deal me", and have it walk to a preset location, and you're done. Convenient if your computer can't handle multiple clients.



This is the master slave macro. Upon being PMd "deal slaves", it mass PMs the slaves to deal zeny. Pretty good if you mass bot locations with high zeny output. The master slave's "deal me" is different from the mini-slaves "deal me", as to avoid people flocking to the area you're trading with your main.

Code: Select all

automacro Trade {
	pm "deal slaves"
	run-once 1
	call {
		do ai manual
		do conf dealAuto 3
		do move xx yy map
		call PM
		release all
	}
}

macro PM {
		do pm "player" deal me
		release all
	}

automacro Autozeny {
	console /Requests a Deal/
	run-once 1
	call {
		pause 2
		do deal
		do deal
		pause 3
		do deal
		pause 1
		release all
	}
}

automacro DealMe {
	pm "deal me"
	run-once 1
	call {
		do ai manual
		do conf dealAuto 3
		do move main's xx yy map
		do deal 0
		pause 3
		do deal add z
		do deal
		do deal
		pause 1
		do ai auto
		release all
	}
}

And the mini-slaves macros.

Code: Select all

automacro DealMe {
	pm "deal me"
	run-once 1
	call {
		do move xx yy map
		do ai manual
		call trade
	}
}


macro trade {
		do conf dealAuto 3
		do deal 0
		pause 3
		do deal add z
		do deal
		do deal
		pause 1
		release all

}


automacro next {
	console /Deal Complete/
	run-once 1
	call {
		do move xx yy map
		do ai auto
		do pm "another slave" deal me
		release all
	}
}
This code can infinitely loop itself if you don't remove the "do pm" from the final slave's macro. I have around 10 bots running, and I start with bot 1 as master slave (just 'cause it's OK folder is first in line), and end with bot 10. Bot 10 doesn't PM anyone, and merely goes back to work.



I also don't know how to trade valuable items, but considering the areas I'm botting, there aren't many valuable items in store anyway. If anyone knows how to make them trade cards and useful consumables, I'm all ears. Otherwise, enjoy.