Search found 436 matches
- Tue Nov 15, 2011 11:39 pm
- Forum: Runes of Magic
- Topic: patch tomorrow... BOTS WILL NOT WORK!!!
- Replies: 21
- Views: 5266
Re: patch tomorrow... BOTS WILL NOT WORK!!!
are you getting an error or is this stuff just not working at all?
- Tue Nov 15, 2011 11:14 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
you could possibly also automate the whole thing by looking at the way lootomatic and lootfilter++ auto-loot from corpses. That way, when they open the loot frame and do their thing, you could grab a list of the loot and the mob and then send that.
- Tue Nov 15, 2011 11:10 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
I suspect you are trying to do a few things which is where we are getting confused. From what I can tell, you wanna use this 'function' to push data into the DB. So you would kill a mob, see what it drops and use this stuff to add that to the database. at some later point, you will use all that info...
- Tue Nov 15, 2011 11:07 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
that 'funny stuff' is the bot pressing the 'G' key automatically. if you have a chat window open, it gets the G keypress too :) the bot will also close the chat window automatically :) trying ot chat while the bot is running never works. believe me, I've tried. I always end up pressing the End key t...
- Tue Nov 15, 2011 11:00 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
try this instead - just loop endlessly with yrest in the loop. <?xml version="1.0" encoding="utf-8"?> <waypoints> <onLoad> function MyFunction() local time, moreToCome, name, msg = EventMonitorCheck("MyFunctionEvent", "4,1") if time ~= nil then cprintf(cli.yel...
- Tue Nov 15, 2011 10:55 pm
- Forum: Runes of Magic
- Topic: Levelling up Skills beyond 1-10
- Replies: 24
- Views: 4987
Re: Levelling up Skills beyond 1-10
you could just build a complete table with a format like: local skillDevTable = { [CLASS_WARRIOR] = { WARRIOR_SLASH= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64...
- Tue Nov 15, 2011 10:06 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
yup, sounds like your getting it sorted now :) /script SendSystemChat("sdfsfdf") just adds the text to the system chat frame locally. It all executes locally within the game client, which is why there is no event raised either. The System part of Send System[/]Chat indicates which type of ...
- Tue Nov 15, 2011 9:18 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
also try it with something like:
in case its getting the wrong parameter
Code: Select all
/script igf_events:OnEvent(nil, "CHAT_MSG_SYSTEM", "1", "2", "3", "4")
- Tue Nov 15, 2011 9:14 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
something is wrong with your setup if you are not getting triggered on /script igf_events:OnEvent(nil, "CHAT_MSG_SYSTEM", "test") I assume the bot is running when you do it? So your WP file is something like: <?xml version="1.0" encoding="utf-8"?> <waypoints> ...
- Tue Nov 15, 2011 8:48 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
lol, I think he wants the mob drop data to be sent to the CHAT window IN the game CLIENT - not the MM window. He has a separate MySQL db he is using - I have no idea what is in it or if it has lots of stuff from romDB's online etc. My idea of what he wants is: 1) he sees a mob and wants to know what...
- Tue Nov 15, 2011 8:28 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
I believe he is trying to run execute some code while still in the rom game window to display what a specific mob drops. The idea being that he has a mysql database with said mobs and what phat lootz etc they drop. In the game, he types some stuff to trigger said function which sends the results to ...
- Tue Nov 15, 2011 8:19 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
the code I indicated:
should get picked up by your monitor (if it is monitoring for CHAT_MSG_SYSTEM). I just tested it and it works as I was expecting.
Code: Select all
/script igf_events:OnEvent(nil, "CHAT_MSG_SYSTEM", "test")
- Tue Nov 15, 2011 7:03 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
Rock's code for the events is shown here: function igf_events:OnEvent(this, event, arg1, arg2, arg3, arg4, arg5, arg6 ) local args = { arg1, arg2, arg3, arg4, arg5, arg6 } local triggerTime = os.time() -- for each monitor for monitorName, monitorArgs in pairs(Monitors) do -- check if event matches a...
- Tue Nov 15, 2011 6:53 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
Code: Select all
/script DEFAULT_CHAT_FRAME:AddMessage("Test");
- Tue Nov 15, 2011 6:14 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: General Movement Waypoints
- Replies: 11
- Views: 3438
Re: General Movement Waypoints
Source code is all at
Code: Select all
http://romviewer.googlecode.com/svn/trunk
- Tue Nov 15, 2011 6:08 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
yes, that looks more like it ;) I'm not sure about argument passing tho, i image that as long as you type in a chat msg in the correct format, then you can parse the received string in the eventmonitor bit and pull it out. then execute your GetModId with it :) and yes, SystemChat only goes to the cl...
- Tue Nov 15, 2011 5:41 pm
- Forum: Runes of Magic
- Topic: patch tomorrow... BOTS WILL NOT WORK!!!
- Replies: 21
- Views: 5266
Re: patch tomorrow... BOTS WILL NOT WORK!!!
hmm...sounds like there will be more content updates, but don't know if that will require many changes for Client.exe as there is nothing 'new' from the games point of view (other than the content which is dynamically loaded anyway). Fingers crossed there'll be little to no changes to client.exe as ...
- Tue Nov 15, 2011 5:38 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
you cannot call your code from the game as it is being run in micromacro. Some explanation is prolly necessary here: Client.exe is the game client for playing ROM Micromacro is the botting framework that is used to run all the rombot scripts. Rombot is a collection of lua scripts that execute within...
- Tue Nov 15, 2011 2:19 pm
- Forum: Runes of Magic
- Topic: Need some explanations about RoM and LUA
- Replies: 45
- Views: 9401
Re: Need some explanations about RoM and LUA
You can't send commands directly from the game to MM. You have to use the event monitor stuff:
http://www.solarstrike.net/wiki/index.p ... _Functions
http://www.solarstrike.net/wiki/index.p ... _Functions
- Tue Nov 15, 2011 12:23 pm
- Forum: Runes of Magic
- Topic: patch tomorrow... BOTS WILL NOT WORK!!!
- Replies: 21
- Views: 5266
Re: patch tomorrow... BOTS WILL NOT WORK!!!
cause they barely changed Client.exe - they changed a couple of bytes near the end of the program - not sure if them byte changes are even code-related.