Hi,
is it possible to build some lua scripts an run them without having the game client up and running?
I am not talking about running whole WP files, but some code snippets and functions for testing purpose.
So I wonder how to set up a lua environment which knows for example the "cprintf_ex" function and others, available by the lua environment implemented in MM.
Ric
running scripts without having game client
Re: running scripts without having game client
I actually have a command line script that starts up a command line that doesn't need the game running. Is that what you are talking about? Of course no bot functions are available to it.Just put it in your "micromacro/scripts" folder and start it by typing "cl" in the micromacro window.
- 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
Re: running scripts without having game client
jep
thats it!
for testing when not at home and not having a game client around
with
i can also feed it with my code 
thanx Rock!
for testing when not at home and not having a game client around
with
Code: Select all
Lua> dofile("scripts/file.lua")thanx Rock!
Re: running scripts without having game client
I think you should also be able to just do
at the standard mm prompt to run the file.
Code: Select all
Script> file- 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