<?xml version="1.0" encoding="utf-8"?>
<waypoints>
<onLoad><![CDATA[
EventMonitorStart("BUFFER", "CHAT_MSG_WHISPER")
while true do
cprintf(cli.lightred,"Waiting for buf requests...\n")
local time, moreToCome, _name, _message = EventMonitorCheck("BUFFER","4,1",true)
if _message == "buff" then
string.lower(_message)
printf("Got message ".._message.." from ".._name.."\n")
for i = 1,10 do
sendMacro("TargetNearestFriend();")
target=player:getTarget()
if target.Name == _name then
printf("Target: "..target.Name.."\n");
sendMacro("UseAction(2)");
break
end
if i == 10 then
printf("Did not find target ".._name.."\n");
end
end
end
player:update()
yrest(1000)
end
]]></onLoad>
</waypoints>
when i start the script , the buffer gets this error message
[Error]: call igf_events_Frame's OnEvent, line: [string"?"]:23: attempt to index global 'os' (a nil value)
Buff Whisper
Re: Buff Whisper
you need something like d303 fix on the game side since patch 3.03 their is no os object anymore for time on the client side
Jack-of-all-trades, but master-of-only of a few
My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
Re: Buff Whisper
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests