Administrator wrote:Not a bad idea. Interesting implementation.
You are right. It is possible to send messages between MicroMacro instances. You have two choices: TCP/IP and IPC. The difference being that IPC should be quicker and easier to do, but must always be on the same machine. TCP/IP would allow you to sync bots on the same machine as well as anywhere in your network or through the internet.
I don't even think the IPC functions are documented yet. I should probably do that.
ups sry I should express myself more clearly
a simple example
two bots farming the same map with randomly selected channel.
Now it may be they farming the same place, i think this is a problem which must not be.
I'm sure there are better examples ^^ but its easy to understand that a bot alone can not solve the problem without more information.
so I thought a message-system could be useful and it is easy to implement but i believe it's not necessary to use a network interface.
rock5 wrote:Nice bit of codiing and definately a good idea.
You should have prefixed it with "userfunction_" though. "addon_" was deprecated because it causes confusion with ingame addons.
Wouldn't it be easier to just put the loop inside the function so you could just call,
Yes but if something goes wrong then there is no way to break the loop. In WP, it can easily aborted + other useful things.