Well, it seems everything is a spell.
sendMacro("CastSkillByName(\"Hide\");"); Doesn't exist as a RoM function, but
sendMacro("CastSpellByName(\"Hide\");"); does and is confirmed as working.
Search found 34 matches
- Sun Sep 13, 2009 4:54 am
- Forum: Runes of Magic
- Topic: Question
- Replies: 9
- Views: 2229
- Sun Sep 13, 2009 4:21 am
- Forum: Runes of Magic
- Topic: Question
- Replies: 9
- Views: 2229
Re: Question
RoMScript("CastSkillByName(\"Hide\");");CDWriter wrote:Well RoMScript("CastSkillByName('Hide');"); does not work in Rom it comes back with a lua crash...so ill try your way doo3232 see what happenes
Does that work?
- Sun Sep 13, 2009 4:12 am
- Forum: Runes of Magic
- Topic: How to: Healing Yourself With The Bot (Examples)
- Replies: 20
- Views: 36687
Re: How to: Healing Yourself With The Bot (Examples)
<option name="HP_LOW" value="65" /> <option name="HP_LOW_POTION" value="40" /> <!-- Rest if HP or Mana is below that level --> <option name="HP_REST" value="15" /> <hotkey name="HP_POTION" key="VK_H" /> Here's my potion...
- Sun Sep 13, 2009 3:47 am
- Forum: Runes of Magic
- Topic: Issue with not finding MACRO button and createpath
- Replies: 17
- Views: 3890
Re: Issue with not finding MACRO button and createpath
It returns this: â™ T Which is a Null and the number ascii 84.Administrator wrote:After it fails, check that macros text and see what it contains. What does it say?
Of course then the RoMScript("000"); returns 000 right after the 815 fails.
- Sat Sep 12, 2009 11:37 pm
- Forum: Runes of Magic
- Topic: Issue with not finding MACRO button and createpath
- Replies: 17
- Views: 3890
Re: Issue with not finding MACRO button and createpath
Are you up to (or past) revision 245 and still getting the macro error? I'm unable to get it to happen here. About the only thing I can think of right now is that it might be that your computer is running too slowly and the request is timing out. Try going to line ~364 of rom/functions.lua and look...
- Sat Sep 12, 2009 10:36 pm
- Forum: Runes of Magic
- Topic: Issue with not finding MACRO button and createpath
- Replies: 17
- Views: 3890
Re: Issue with not finding MACRO button and createpath
Ok, it failed multiple times on the bot.lua script today. I did notice it never happens if the window is in the foreground. Which is annoying, but it does manage to grab the minimized window sometimes. *shrug*
Also, createpath still has a bug. My bad. See the Rom Bot thread if you haven't already.
Also, createpath still has a bug. My bad. See the Rom Bot thread if you haven't already.
- Sat Sep 12, 2009 10:24 pm
- Forum: Runes of Magic
- Topic: RoM bot
- Replies: 2213
- Views: 924394
Re: RoM bot
I was testing the new "mouseclick" option when running 'createpath.lua' Once saved i tried to run it with 'bot.lua' but it gave an error. I went to check and opened the "waypoint".xml <waypoints> <!-- # 1 --><waypoint x="4344" z="7102"></waypoint> player:mous...
- Sat Sep 12, 2009 7:42 pm
- Forum: Runes of Magic
- Topic: Issue with not finding MACRO button and createpath
- Replies: 17
- Views: 3890
Re: Issue with not finding MACRO button and createpath
So far it's been in both. I'll make another post when it pops up again.
- Sat Sep 12, 2009 7:39 pm
- Forum: Runes of Magic
- Topic: Harvesting converter for yGather?
- Replies: 9
- Views: 2715
Re: Harvesting converter for yGather?
You'll have to make a parser to pull the info from the SaveVariables.lua file.
Find out who programmed it and send him an email for info on the tags he uses. Or read the files to see if he left comments.
Find out who programmed it and send him an email for info on the tags he uses. Or read the files to see if he left comments.
- Sat Sep 12, 2009 5:39 pm
- Forum: Runes of Magic
- Topic: Issue with not finding MACRO button and createpath
- Replies: 17
- Views: 3890
Issue with not finding MACRO button and createpath
Createpath.lua: It currently doesn't add the </waypoint> tag properly. Found the error. Missing an "hf_line .." Should be: elseif( v.wp_type == "WP" ) then hf_line = hf_line ..sprintf(wp_string, i, v.X, v.Z, p_wp_type, -- insert type=TRAVEL for waypoints if you want "")...
- Sat Sep 12, 2009 2:08 pm
- Forum: Runes of Magic
- Topic: MouseClick Logger in createpath.lua
- Replies: 5
- Views: 1563
Re: MouseClick Logger in createpath.lua
I haven't looked at this yet, but I do have one quick question about your changes. <waypoint x="5" z="19">player:merchant("Housekeeper");</waypoint> Did you add something to automatically insert that, or must that be done manually still? That was already an option.
- Sat Sep 12, 2009 6:49 am
- Forum: Runes of Magic
- Topic: MouseClick Logger in createpath.lua
- Replies: 5
- Views: 1563
Re: MouseClick Logger in createpath.lua
Thank you. Doubtless you'll have to make it look neater than my beginner level coding.
- Sat Sep 12, 2009 6:48 am
- Forum: Runes of Magic
- Topic: Harvesting converter for yGather?
- Replies: 9
- Views: 2715
Re: Harvesting converter for yGather?
It would take a lot of work to organize those points and make it so you don't get stuck. It's probably more efficient to just make a path, walk it a while and then remake the path.
- Fri Sep 11, 2009 5:54 pm
- Forum: Runes of Magic
- Topic: MouseClick Logger in createpath.lua
- Replies: 5
- Views: 1563
MouseClick Logger in createpath.lua
Just a minor extension on createpath.lua using the file as of revision 235. I added a mouseclick logger to the waypoint options. It simply made for less work than running a mouse logger script, writing down output, then adding into the waypoint file. It outputs something like this: - <waypoints> - <...