<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
local partymember={}
local partymemberName={}
local partymemberObj={}
local noofpartymembers
local i
--********************************************************
--get all partymembers
--********************************************************
if RoMScript("UnitExists('party1')") then
table.insert(partymemberName, RoMScript("UnitName('player')"))
i = 1
while not(i >= 7 ) do
if RoMScript("UnitIsPlayer('party"..i.."');") then
table.insert(partymemberName,i+1, RoMScript("UnitName('party"..i.."')"))
end
i = i + 1
end
noofpartymembers = #partymemberName
for i,v in ipairs(partymemberName) do
table.insert(partymemberObj,i,player:findNearestNameOrId(partymemberName[i]))
table.insert(partymember,i,CPawn(partymemberObj[i].Address))
end
end
--********************************************************
--Look at partymember health and heal if necessary
--********************************************************
while(true) do
for i,v in ipairs(partymember) do
partymember[i]:update()
if (90 > partymember[i].HP/partymember[i].MaxHP*100 and partymember[i].HP/partymember[i].MaxHP*100 > 50) then
player:target(partymember[i])
--**********Put year casts here*********************
yrest(300)
elseif (50 > partymember[i].HP/partymember[i].MaxHP*100) then
player:target(partymember[i])
--**********and here*********************
yrest(300)
--**********and so on*********************
end
end
yrest(100)
RoMScript("FollowUnit('party1');");
end
</onLoad>
</waypoints>
of that im aware, maybe it wasnt really good spoken at first, i mean when theres a bot running the leader can just move while heal is looting... was thinking of some kind of a command to let the leader bot know that it have to wait xD
Someone made a post about party botting and they used to use buffs as a way to communicate between diff characters. So when priest is ready it casts a buff on tank, tank recognizing it has the specific buff, removes it and continues on.
Remember no matter you do in life to always have a little fun while you are at it
Actual chat is monitored by a programme for the GM's to use. When you say specific words in any channel it is added to a log file which GM's have to read through to see if they were needed and anything else like "hey I'm a bot".
I wouldn't try to use any chat channels in regards to the bot.
Remember no matter you do in life to always have a little fun while you are at it
if the key words would be editable it wouldnt matter f/e
"hey w8 i need to grab stuff, plox" i doubt it would look any suspicous to htat program, but anyway, ill use the buffs for that matter easy and friendly solution
If you made the function that calls for anything by other bot as a table and the full table means you get the response you want then it might work. If 1 character says "Hey wait" every few minutes for hours on end it would look suspicious.
It would be possible to make the bot use chat channels for commands, it would bog down the bot a little though. Already many addons for group invites which monitor defined channels for spefic characters and then responding to them.
I'm not saying it isn't doable just saying if you didn't do it properly then it would just paint a big target on your head saying "I am a bot, bann me". Doing it "properly" would take a while.
Remember no matter you do in life to always have a little fun while you are at it
lisa wrote:If you made the function that calls for anything by other bot as a table and the full table means you get the response you want then it might work. If 1 character says "Hey wait" every few minutes for hours on end it would look suspicious.
It would be possible to make the bot use chat channels for commands, it would bog down the bot a little though. Already many addons for group invites which monitor defined channels for spefic characters and then responding to them.
I'm not saying it isn't doable just saying if you didn't do it properly then it would just paint a big target on your head saying "I am a bot, bann me". Doing it "properly" would take a while.