Search found 188 matches
- Fri Jan 09, 2015 4:42 pm
- Forum: MicroMacro scripts
- Topic: Interactive Lua (perhaps a stupid question)
- Replies: 8
- Views: 8064
Re: Interactive Lua (perhaps a stupid question)
Btw, by adding a waypoint as below you will also get a Lua interpreter with full Rom bot functionality and can manually control your client. -DX <?xml version="1.0" encoding="utf-8"?> <waypoints> <onLoad> <![CDATA[ cmd = require "cmd" cmd.LuaInterpreter() ]]> </onLoad> ...
- Fri Jan 09, 2015 4:04 pm
- Forum: MicroMacro scripts
- Topic: Interactive Lua (perhaps a stupid question)
- Replies: 8
- Views: 8064
- Fri Jan 09, 2015 3:54 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Rock5's Fusion Control Functions
- Replies: 187
- Views: 61317
Re: Rock5's Fusion Control Functions
Great, thx
-dx
-dx
- Fri Jan 09, 2015 3:45 pm
- Forum: MicroMacro scripts
- Topic: Interactive Lua (perhaps a stupid question)
- Replies: 8
- Views: 8064
Re: Interactive Lua (perhaps a stupid question)
Building new scripts (not rombot) and probing processes I always wanted an interactive environment to test in. To get a 'normal' Lua interpreter to work in with full functionality of Micromacro I used the lua.c file from Lua 5.2 distribution and built it as a .dll for loading into Micromacro. This l...
- Fri Jan 09, 2015 1:55 pm
- Forum: MicroMacro scripts
- Topic: Interactive Lua (perhaps a stupid question)
- Replies: 8
- Views: 8064
Re: Interactive Lua (perhaps a stupid question)
Both hints are good I'd like a copy of your script Rock.
Thx,
Dx
Thx,
Dx
- Fri Jan 09, 2015 6:14 am
- Forum: MicroMacro scripts
- Topic: Interactive Lua (perhaps a stupid question)
- Replies: 8
- Views: 8064
Interactive Lua (perhaps a stupid question)
Is there a way to run an interactive Lua interpreter in the Micromacro window, i.e. just like when we start Lua with no arguments but with the full Micromacro functionality available?
Best regard
DX
Best regard
DX
- Thu Jan 08, 2015 10:26 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Rock5's Fusion Control Functions
- Replies: 187
- Views: 61317
Re: Rock5's Fusion Control Functions
I have trouble finding/using the "Preset" option. Looking into the code for "Version 0.46 b1" I can't really find any references to it at all? Best regards DX Command> Fusion_Config("Preset", "Dirty+") Wrong usage of the Fusion_Config function. Possible argume...
- Thu Dec 11, 2014 7:07 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 69504
Minor bug
Hey, I'm using this to run a special client setup where client is linked in as 'bot' in scripts/rom directory. When starting this by commandline with something like below it works nicely. micromacro.exe micromacro\scripts\rom\login.lua acc:1 char:1 client:bot path:myscript But, if I print out the 'c...
- Tue Dec 02, 2014 4:04 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: svn updates for userfunctions
- Replies: 43
- Views: 15302
Re: svn updates for userfunctions
Is this still maintained?
-dx
-dx
- Mon Nov 03, 2014 7:26 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: ROM Multiclicker
- Replies: 7
- Views: 3663
Re: ROM Multiclicker
Only a .bat file in archive?
- Thu Jun 26, 2014 1:45 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: GM detection and banning chance reduction
- Replies: 499
- Views: 147952
Re: GM detection and banning chance reduction
I can confirm GMHide buff as id 500990.
-dx
-dx
- Thu Jun 05, 2014 7:55 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: planting like the flintstones
- Replies: 41
- Views: 14480
Re: planting like the flintstones
Hmm chests are in this range (201383) at least, the same opening function works on chests as well.
-dx
-dx
- Thu Jun 05, 2014 2:48 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: planting like the flintstones
- Replies: 41
- Views: 14480
Re: planting like the flintstones
I've rewritten the planting script, now you don't need to have the client window in focus and mouse is not touched, all targeting is done in memory. Its based on the static house record pointer and offset within this, I find it with a pattern in memory. If possible, these would be nice in include in...
- Tue May 27, 2014 6:06 am
- Forum: Runes of Magic
- Topic: Warden pet
- Replies: 1
- Views: 1075
Warden pet
Is there a configuration option to NOT use/summon the warden pet? Seems to me its currently hardcoded?
Doesn't really work well with a pet on autoattack when being power leveled or following my main.
-dx
Doesn't really work well with a pet on autoattack when being power leveled or following my main.
-dx
- Sun May 25, 2014 1:57 pm
- Forum: Runes of Magic
- Topic: item:moveTo suggestion
- Replies: 1
- Views: 1044
item:moveTo suggestion
I'm implementing an userfunction to get maid pots while moving old pots to bank and back again for merge but, to my surprise the item:moveTo merges stacks which ruins the merging of maid pots to update expiration to 24h. So, question is, would it be possible to have one optional argument in the item...
- Thu May 22, 2014 6:12 am
- Forum: Runes of Magic
- Topic: House class
- Replies: 7
- Views: 1730
Re: House class
--delete--
- Sat May 17, 2014 1:38 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 69504
Re: Automatic 'login' script
Ofc a function can be a key, anything can be a key. You even find examples of it in addons for Rom. (checkout some of Peryl's code) C:\Users\sample>lua Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio > function tt() >> end > > testTable = {} > testTable[tt] = tt > > print(testTable[tt]) function:...
- Fri May 16, 2014 12:21 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 69504
Re: Automatic 'login' script
If you have a table where the keys are functions: function tt() end testTable = {} testTable[tt] = tt pr(testTable) the pr command failes due to the attempt to append a function with a string in '(key and (key.."=")'. function printline(value, key) if type(value) ~= "table" then ...
- Sun May 11, 2014 4:43 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 69504
Re: Automatic 'login' script
Just a minor omission, the "pr()" function does not work for odd key types like functions :=)
So, I suggest a "tostring(key)" in the two instances u print keys.
-dx
So, I suggest a "tostring(key)" in the two instances u print keys.
-dx
- Mon Mar 24, 2014 10:13 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Secret Garden Ideas
- Replies: 105
- Views: 31792
Re: Secret Garden Ideas
To speed up I've been using player:target with a yrest after instead.
I'm not sure if any cast speed pots/skills applies to looting chests, if they do this will fail.
-dx
Code: Select all
player:target(chest.Address)
Attack()
yrest(900)
-dx