Buff Whisper

Talk about anything in Runes of Magic. This does not need to pertain to botting.
Post Reply
Message
Author
Braziliano
Posts: 82
Joined: Fri Apr 19, 2013 2:36 pm

Buff Whisper

#1 Post by Braziliano » Wed Sep 18, 2013 1:20 am

<?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)

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Buff Whisper

#2 Post by BlubBlab » Wed Sep 18, 2013 3:03 am

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 :D

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

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Buff Whisper

#3 Post by rock5 » Wed Sep 18, 2013 3:38 am

  • 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest