RoM bot
Re: RoM bot
Hello guys,
I'd really love to get that bot, but somehow I cant get through this.
I dl'd micromacro. What now?
My english isnt the best so I dun really know what to do now :S
I hope for some help.
I'd really love to get that bot, but somehow I cant get through this.
I dl'd micromacro. What now?
My english isnt the best so I dun really know what to do now :S
I hope for some help.
Re: RoM bot
I made a few tests, and i worked out how it works for Ubuntu with wine:
I'm not sure if all the includes are needed, but only player.lua isn't enough.
I have to call the script for every point, but that is ok for me
I'll try the bot out now and report if everything is working
Code: Select all
include("addresses.lua");
include("classes/player.lua");
include("classes/waypoint.lua");
include("functions.lua");
function main()
local playerPtr = memoryReadIntPtr(getProc(), staticcharbase_address, charPtr_offset);
player = CPlayer(playerPtr);
player:update();
local versionMsg=sprintf("\rLocation: (%5d, %5d)", player.X, player.Z);
cprintf(cli.lightblue, versionMsg .. "\n");
yrest(100);
end
startMacro(main,true);
I have to call the script for every point, but that is ok for me
I'll try the bot out now and report if everything is working
Re: RoM bot
Hi !!
I got a problem since an uptade. Whan the bot kill a mob, sometimes the bot don't loot, sometime it loots.
I got :
If it helps :
I don't understand why it doesnot loot maybe Im doing something wrong.
Somebody got the same problem ?
Thanks
EDIT
after little check in forum, I changed player.lua :
and it works fine
I got a problem since an uptade. Whan the bot kill a mob, sometimes the bot don't loot, sometime it loots.
I got :
Code: Select all
Clearing target.
Target dead/lost
Waiting on aggressive enemies
Moving to waipoints
Code: Select all
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="LOOT_DISTANCE" value="300" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="45" />
Somebody got the same problem ?
Thanks
EDIT
after little check in forum, I changed player.lua :
Code: Select all
-- Loot and clear target.
self:update();
if( self.TargetPtr ~= 0 ) then
if( settings.profile.options.LOOT == true ) then
self:loot();
--if( not self.Battling ) then
-- Skip looting when under attack
-- self:loot();
--end
end
self:clearTarget();
end;
Re: RoM bot
'Waiting on aggressive enemies' means you have still aggro from some other mob. Thats the reason that the bot skips the looting.maurice wrote: Target dead/lost
Waiting on aggressive enemies
The RoM Bot Online Wiki needs your help!
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
It could also be due to lag. If you look up a few lines, you'll see yrest(200). Change the 200 to, say, 500, and then save it. That should allow more time for the battle flag to properly update so you aren't skipping loot after battle.
Re: RoM bot
Yes, it was when I was still in combat, but in the area Im botting, Im always in combat, and don't have any chance to die.d003232 wrote:'Waiting on aggressive enemies' means you have still aggro from some other mob. Thats the reason that the bot skips the looting.maurice wrote: Target dead/lost
Waiting on aggressive enemies
Thank You for answers
Re: RoM bot
i fixed my loot problem simply by increase the wait time after the mob should be death:
player.lua
a line up this
-- Monster is dead (0 HP) but still targeted.
-- Loot and clear target.
is the yrest(100);
change it to:
i change this every update we get and all time it fixes my loot problem-.
player.lua
a line up this
-- Monster is dead (0 HP) but still targeted.
-- Loot and clear target.
is the yrest(100);
Code: Select all
yrest(100);
Code: Select all
yrest(1000);
i change this every update we get and all time it fixes my loot problem-.
Re: RoM bot
None taken! Guess i didnt start out too well lol, sorry for that. Well i have set up the bot and got it running ok, including the gathering feature, and it works wonders, but now i caught myself with a silly doubt while plotting my gathering route... Are resource nodes spawn fixed? I mean if i gather something in a spot, there's always a chance to be the same kind of resource on that same spot? Or do diferent resources rotate on all available resource nodes? I'm asking this because i'm trying to plot a gathering patrol that will only harverst a given herb, not interested in all the metal/wood in the same zone. Thanks for any reply.Read the very first post of this thread ... no offence.
Zilvermoon
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
The harvesting spawns are random. The locations are always the same, but you never can be sure what will show up there. There are plans for an addition to the harvesting system that will help the user harvest only what he or she wants.
It simply works by either allowing the user to specify they only want to harvest wood, ore, or herbs, or they can specify a list of items they want to collect (ie. Zinc Ore, Ash Wood, etc.). This isn't finished (or even begun, really) yet, so make due with what you've got for now.
It simply works by either allowing the user to specify they only want to harvest wood, ore, or herbs, or they can specify a list of items they want to collect (ie. Zinc Ore, Ash Wood, etc.). This isn't finished (or even begun, really) yet, so make due with what you've got for now.
Re: RoM bot
Cool thing in the works i see. Anyway, i have found a way around this limitation by using the Lootfilter Addon, my bot runs for really extended periods of time, my main concern is to get the most $$$ for my bag space, and lootfilter lets me do that np! thanks for the reply tho.
Problem with 1844
When i run update.lua it tells me "Unable to find static base pointer in module."
Re: Problem with 1844
Seems the update process don't work after the patch. I hope Admin can help.CrazyGuy wrote:When i run update.lua it tells me "Unable to find static base pointer in module."
The RoM Bot Online Wiki needs your help!
Re: RoM bot
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script> rom\bot.lua update
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
âŒSolarStrike Software, http://www.solarstrike.net
The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Resumed.
Scanning for updated addresses...
scripts\rom\bot.lua:62: Unable to find static base pointer in module.
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script> rom\bot.lua
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
âŒSolarStrike Software, http://www.solarstrike.net
The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Resumed.
RoM Bot Version 2.40
!! Notice: !!
The game may have been updated or altered.
It is recommended that you run rom/update.lua
WARNING: Failure reading memory from 0x2B1FDB4 at 0x88ef20 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
Attempt to read playerAddress
WARNING: Failure writing memory to 0x2B1FDA4 at 0x244 in memoryWriteInt(). Error
code 487 (Attempt to access invalid address.)
WARNING: Failure reading memory from 0x2B1FDB4 at 0x88ef20 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
...New Folder/micromacro/scripts/rom/classes/player.lua:754: bad argument #1 to
'sprintf' (got nil)
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
-------------------------------------------------------------------------------------------------------------------
This is going to take some time to fix
Type in 'exit' (without quotes) to exit.
Script> rom\bot.lua update
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
âŒSolarStrike Software, http://www.solarstrike.net
The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Resumed.
Scanning for updated addresses...
scripts\rom\bot.lua:62: Unable to find static base pointer in module.
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script> rom\bot.lua
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
âŒSolarStrike Software, http://www.solarstrike.net
The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Resumed.
RoM Bot Version 2.40
!! Notice: !!
The game may have been updated or altered.
It is recommended that you run rom/update.lua
WARNING: Failure reading memory from 0x2B1FDB4 at 0x88ef20 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
Attempt to read playerAddress
WARNING: Failure writing memory to 0x2B1FDA4 at 0x244 in memoryWriteInt(). Error
code 487 (Attempt to access invalid address.)
WARNING: Failure reading memory from 0x2B1FDB4 at 0x88ef20 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
...New Folder/micromacro/scripts/rom/classes/player.lua:754: bad argument #1 to
'sprintf' (got nil)
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
-------------------------------------------------------------------------------------------------------------------
This is going to take some time to fix
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
Updated to be compatible with the latest game version. A lot has changed, so there may still be some problems. Most likely, there are problems with detecting if other players or monsters are attackable. Report here if you find anything.
Re: RoM bot
My bot is up to date now but a new failure
Code: Select all
Tue Jun 30 21:34:54 2009 : MicroMacro v1.0
Tue Jun 30 21:34:54 2009 : Processor Type: 4X 586, OS: Windows Vista | Windows Server 2008 Service Pack 2
Tue Jun 30 21:34:54 2009 : LuaCoco is available.
Tue Jun 30 21:34:54 2009 : Lua glues exported.
Tue Jun 30 21:34:54 2009 : Keyboard layout: US English
Tue Jun 30 21:35:03 2009 : Executing script 'bot.lua'
==================================================
Tue Jun 30 21:35:04 2009 : RoM Bot Version 2.41
Tue Jun 30 21:35:04 2009 : Using static base address 0x88FF40, player address 0x2C027C00
Tue Jun 30 21:35:04 2009 : Language: deutsch
stack traceback:
C:\Users\EThaNol\Desktop\micromacro\lib\lib.lua:513: in function 'startMacro'
scripts\rom/bot.lua:323: in main chunk
----------TRACEBACK END----------
Tue Jun 30 21:35:04 2009 : scripts\rom/bot.lua:156: attempt to call method 'getMode' (a nil value)
Tue Jun 30 21:35:04 2009 : Execution error: Runtime error
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
Delete all of the files inside the 'classes' folder, then reinstall them all out of the zip.AmonRa wrote:My bot is up to date now but a new failure
Re: RoM bot
done. But.Administrator wrote:Delete all of the files inside the 'classes' folder, then reinstall them all out of the zip.
Code: Select all
Tue Jun 30 21:55:38 2009 : MicroMacro v1.0
Tue Jun 30 21:55:38 2009 : Processor Type: 4X 586, OS: Windows Vista | Windows Server 2008 Service Pack 2
Tue Jun 30 21:55:38 2009 : LuaCoco is available.
Tue Jun 30 21:55:38 2009 : Lua glues exported.
Tue Jun 30 21:55:38 2009 : Keyboard layout: US English
Tue Jun 30 21:55:48 2009 : Executing script 'bot.lua'
==================================================
Tue Jun 30 21:55:49 2009 : RoM Bot Version 2.41
Tue Jun 30 21:55:49 2009 : Using static base address 0x88FF40, player address 0x2C027C00
Tue Jun 30 21:55:49 2009 : Language: deutsch
stack traceback:
C:\Users\EThaNol\Desktop\micromacro\lib\lib.lua:513: in function 'startMacro'
scripts\rom/bot.lua:323: in main chunk
----------TRACEBACK END----------
Tue Jun 30 21:55:49 2009 : ...ol/Desktop/micromacro/scripts/rom/classes/player.lua:884: attempt to compare number with nil
Tue Jun 30 21:55:49 2009 : Execution error: Runtime error
Re: RoM bot
Yes, I have the 'Target not attackable' problem. At the moment I'm just running to deliver my dailys. So it's wonderful. The bot dont stop and don't fight. That's express delivery but nothing to kill monsters.Administrator wrote:Most likely, there are problems with detecting if other players or monsters are attackable. Report here if you find anything.
The RoM Bot Online Wiki needs your help!
Re: RoM bot
Insert two new options into your profileAmonRa wrote:done. But.Administrator wrote:Delete all of the files inside the 'classes' folder, then reinstall them all out of the zip.
Code: Select all
<option name="LOGOUT_TIME" value="0" />
<option name="LOGOUT_SHUTDOWN" value="false" />
The RoM Bot Online Wiki needs your help!
Re: RoM bot
Updated bot, but its not attacking anything..
tryed 2 monster types and every single one it something like this
Target not attackable: Ystra snow frog
tryed 2 monster types and every single one it something like this
Target not attackable: Ystra snow frog
Who is online
Users browsing this forum: Google [Bot] and 2 guests