Search found 6991 matches

by lisa
Thu Jan 07, 2021 5:19 pm
Forum: Runes of Magic
Topic: Version 7.4.0.2897 progress
Replies: 1055
Views: 253438

Re: Version 7.4.0.2897 progress

using MM 105 or 198 ?
and is this the Steam version of RoM you are working on?
by lisa
Thu Jan 07, 2021 7:21 am
Forum: Runes of Magic
Topic: Version 7.4.0.2897 progress
Replies: 1055
Views: 253438

Re: Version 7.4.0.2897 progress

wow this game is still going?
was up late and bored, came across a stream of RoM on steam and I thought, hmm wasn't that game dead years ago?
then I thought hmm I wonder if the bot is still going too, seems so, or atleast trying to =)
by lisa
Thu Aug 04, 2016 2:25 am
Forum: Announcements
Topic: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts
Replies: 6
Views: 17874

Re: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts

(v194) ok works fine on the 64 version but when I used the 86 version it always returned nil as the name. local windowId = window.find("Untitled - Notepad"); local procId = process.findByWindow(windowId); local procHandle = process.open(procId); local filename = process.getModuleFilename(p...
by lisa
Thu Aug 04, 2016 1:06 am
Forum: Everything else
Topic: player direction
Replies: 3
Views: 5529

Re: player direction

copy pasted a bit of code from RoM and turning ended up like this. playerupdate() local angle = 0 --north local angleDif = angleDifference(angle, playerdirection); -- If more than X degrees off, correct before moving. local rotateStartTime = os.time(); local turningDir = -1; -- 0 = left, 1 = right i...
by lisa
Wed Aug 03, 2016 5:38 pm
Forum: Announcements
Topic: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts
Replies: 6
Views: 17874

Re: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts

procid = process.findByWindow(win) proc = process.open(procid) print(process.getModuleFilename(proc)) Failed to run init function, err code: 7 (Runtime error) fine1.lua:35: attempt to call a nil value (field 'getModuleFilename') stack traceback: fine1.lua:35: in function 'searchForWindow' fine1.lua...
by lisa
Wed Aug 03, 2016 12:15 am
Forum: Announcements
Topic: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts
Replies: 6
Views: 17874

Re: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts

I don't suppose you added getModuleFilename into this release? I tried the name as is but doesn't exist, I am hoping it is maybe a ****.getModuleFilename() :D
by lisa
Wed Aug 03, 2016 12:05 am
Forum: Everything else
Topic: player direction
Replies: 3
Views: 5529

player direction

Ok so I have been working on a game for a little and I get the cords and direction easy enough from memory, now to using those directions. The way I see it I have 2 options to go with. First is very similar to RoM in the way that you have 2 values and use the 2 values to work out which way you are p...
by lisa
Thu Jul 28, 2016 8:25 pm
Forum: MicroMacro general & support
Topic: MM2 reading files
Replies: 4
Views: 8108

Re: MM2 reading files

just keeps adding lines constantly, it does start a new file but I am not sure at what point, if it each log in or after ## lines or each day, haven't determined that yet. The lines are constantly being added when you do something, so when I am active it is adding more lines but when I sit there doi...
by lisa
Thu Jul 28, 2016 2:32 am
Forum: MicroMacro general & support
Topic: MM2 reading files
Replies: 4
Views: 8108

Re: MM2 reading files

What I am currently doing is in the macro.main loop --get event table if( filesystem.fileExists(filename) ) then eventtable = {} local file = io.open(filename, "r"); for line in file:lines() do table.insert(eventtable,line) end file:close() end and then just use a function to read from the...
by lisa
Thu Jul 28, 2016 12:30 am
Forum: MicroMacro general & support
Topic: MM2 reading files
Replies: 4
Views: 8108

MM2 reading files

I checked wiki but didn't find anything for what I was after, also found a mistake. http://www.solarstrike.net/wiki/index.php?title=Process_Module getModuleFilename and the example has "string process.getModuleAddress(handle process)" which is the previous command. Ok anyway to what I am a...
by lisa
Sat Jul 02, 2016 5:22 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Research Expert - Manual Macro
Replies: 2
Views: 3520

Re: Research Expert - Manual Macro

you can't use macros for that quest, simply can't be done, you either bot it or do it manually.
by lisa
Wed Jun 22, 2016 3:58 am
Forum: Runes of Magic
Topic: Butterfly daily with resets script
Replies: 24
Views: 13851

Re: Butterfly daily with resets script

pretty sure I was just editing code that was posted, didn't look at how or why it should or shouldn't work. Easy solution is get rid of the else and move the target npc and accept quest to after the second end local dqCount, dqPerDay = RoMScript("Daily_count()"); if dqCount == 10 then play...
by lisa
Tue Jun 21, 2016 10:14 pm
Forum: Runes of Magic
Topic: repairing
Replies: 11
Views: 6266

Re: repairing

I found the wp where that snippet of code came from, only took a few seconds in forum search.

http://www.solarstrike.net/phpBB3/viewt ... vel#p60248
by lisa
Tue Jun 21, 2016 10:00 pm
Forum: Runes of Magic
Topic: repairing
Replies: 11
Views: 6266

Re: repairing

if ( 50 > inventory:getMainHandDurability() ) then if inventory:itemTotalCount(201014) > 0 then cprintf(cli.lightred,"repairing ..."); inventory:useItem(201014); cprintf(cli.yellow,"done!\n"); inventory:update(); else cprintf(cli.lightred,"No repair hammers in bag!\n")...
by lisa
Sun Jun 19, 2016 5:57 pm
Forum: Runes of Magic
Topic: Butterfly daily with resets script
Replies: 24
Views: 13851

Re: Butterfly daily with resets script

local dqCount, dqPerDay = RoMScript("Daily_count()"); if dqCount == 10 then -- this part is done if you have done all 10 dailies player:update(); -- if you have atleast 1 daily reset it will use it if inventory:itemTotalCount(202434) > 0 then inventory:useItem(202434); -- if you have no re...
by lisa
Sat Jun 18, 2016 4:59 pm
Forum: Runes of Magic
Topic: Butterfly daily with resets script
Replies: 24
Views: 13851

Re: Butterfly daily with resets script

local dqCount, dqPerDay = RoMScript("Daily_count()"); if dqCount == 10 then player:update(); if inventory:itemTotalCount(202434) > 0 then inventory:useItem(202434); else sendMacro("LeaveParty();") player:sleep(); end else player:target_NPC("Robbie Butcher"); AcceptQues...
by lisa
Mon May 16, 2016 10:39 pm
Forum: Runes of Magic
Topic: error() causes a crash
Replies: 3
Views: 2797

Re: error() causes a crash

error() will make MM exit what ever script it is running and go back to the command prompt, that is what it is for.

I have absolutely no idea what you thought it was for.
by lisa
Sun May 01, 2016 11:25 pm
Forum: MicroMacro general & support
Topic: Question: Save stuff to file and read the infomation?
Replies: 4
Views: 12281

Re: Question: Save stuff to file and read the infomation?

well you have the file *****.lua and the info as a table. inside the file would look like this return { "socks", "shoes", "hats"} So the code to save it would be something like local file = io.open("filename.lua", "w") file:write('return { "sock...
by lisa
Tue Apr 12, 2016 6:40 am
Forum: Runes of Magic
Topic: Problem change skill options with onload
Replies: 5
Views: 4520

Re: Problem change skill options with onload

In the onload add this. table.print(settings.profile.skills) Everything needs to be exactly as they get printed and if the skill you want to change isn't in the prints then it obviously won't work, need to make sure they are actually in the profile as well. Check rocks post about it here and take a ...