Re: RoM bot
Posted: Wed Sep 16, 2009 12:36 pm
Someone please email me (admin @ solarstrike.net) a copy of a profile (in a zip file) that produces the crashing. Do not modify any of the contents.
Fix your hotkeys in settings.xml if it's not reading from bindings.txt.ripper0815 wrote:i only got the problem with unsticking player after that he strafes right and left until a horde of aggressive mobs kills me ............. can anyone help me or has some ideas to fix this problem ..........
Are they in the first or second page of your inventory? Have you modified the inventory scan length (INV_MAX_SLOTS)?shoopwoop wrote:i replaced the english line with:Administrator wrote: shoopwoop: You can add it manually to rom/database/consumables.xml
still, doesn't work :/Code: Select all
<potion type="mana" id="201061" name="Elementargeist-Stein" level="51" />
It's at the first space in my first inventory page. I didn't modify the scan length. It's scanning 60 slots when i start the bot.Administrator wrote:
Are they in the first or second page of your inventory? Have you modified the inventory scan length (INV_MAX_SLOTS)?
Good Idea. Will be done. thx.Mystikal wrote:Well, this time im writing not to report a problem but a suggestion.
Whenever you run bot.lua without having specified any waypoint in 'charnamedefault.xml' profile it lets you choose the one you want to do numbering them
1.demo.xml
2.demo2.xml
...
What about setting the '0' as 'wandering waypoint'? So anytime you feel you want to wander a specific zone you dont have edit 'charnamedefault.xml' profile. It would look like:
0. Wander actual zone
1. demo.xml
2 .demo2.xml
This bot is getting better and better each day. gratz and thanks!
Try setting DEBUG_INV to "true" in your profile options. You'll have to add the line yourself, as it won't be there already. You should also set the max inventory slots to 2 just for debugging (so you don't get flooded with too much information).shoopwoop wrote: It's at the first space in my first inventory page. I didn't modify the scan length. It's scanning 60 slots when i start the bot.
Code: Select all
<option name="DEBUG_INV" value="true" />
<option name="INV_MAX_SLOTS" value="2" />
If you're getting that error, you didn't update correctly. Delete the red files and redo it.KindaNoob wrote: i updated but there is still when i try to stop the bot this error: ../rom/scripts/classes/pawn.lua:172: bad argument #1 to 'bitAnd' <<null>>
Administrator wrote: What does it display?
Code: Select all
RoM Bot Version 2.46
RoM windows size is 0x0, upper left corner at -32000,-32000
Ranged skill found: PRIEST_REGENERATE
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:3205a|h|cffffffff[Elementargeist-Stein]|r|h/Elementargeist-St
ein/204890/69/1/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3205
a|h|cffffffff[Elementargeist-Stein]|r|h/Elementargeist-Stein/204890/70/98/ffffff
100% [**************************************************]
We will wander around with a radius of 500.
Moving to waypoint #1, (17703, 26454)
Use 9: PRIEST_BATTLE_MONK_S=>
Use 0: PRIEST_GRACE_OF_LIFE=>
Use 4: WARRIOR_ENRAGED =>
Clearing target.
Moving to waypoint #1, (17584, 26728)
Clearing target.
Moving to waypoint #1, (17380, 26676)
Clearing target.
Moving to waypoint #1, (17441, 26526)
Clearing target.
Moving to waypoint #1, (17543, 26522)
Moving to waypoint #1, (17389, 26766)
no more mana potions found, sorry
no more mana potions found, sorry
no more mana potions found, sorry
no more mana potions found, sorry
no more mana potions found, sorry
no more mana potions found, sorry
no more mana potions found, sorry
Wow, so fast =P Thanks! Works fine =Dd003232 wrote:Good Idea. Will be done. thx.Mystikal wrote:Mystikal wrote:
Well, this time im writing not to report a problem but a suggestion.
Whenever you run bot.lua without having specified any waypoint in 'charnamedefault.xml' profile it lets you choose the one you want to do numbering them
1.demo.xml
2.demo2.xml
...
What about setting the '0' as 'wandering waypoint'? So anytime you feel you want to wander a specific zone you dont have edit 'charnamedefault.xml' profile. It would look like:
0. Wander actual zone
1. demo.xml
2 .demo2.xml
This bot is getting better and better each day. gratz and thanks!
EDIT: it's in the SVN now & there seems still to be a 'STUCK' problem (while wandering?) in the bot atm.
Code: Select all
SolarStrike Software
http://www.solarstrike.net
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.
-------------------------------------------------------------------------------
We read the hotkey settings from your bindings.txt file C:\Users\Raf\Moje dokume
nty\Runes of Magic\bindings.txt instead of using the settings.lua file.
ęSolarStrike Software, 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.46
...nes of Magic/micromacro/scripts/rom/classes/pawn.lua:172: bad argument #1 to
'bitAnd' ((null))
Please enter the script name to run.
Yep, that fixes it. Thanks :>Administrator wrote:Based on that information, it looks like the ID is actually 204890 and not 201061. Try changing that and let me know if that fixes it.
Delete all files except folders 'profiles' and 'waypoints' and do the SVN update again? Not sure if it will help.UnRegistered wrote:Hi, i did SVN chek & update by TortoiseSVN and Rom.bot still got error.Can any one help ?Code: Select all
SolarStrike Software http://www.solarstrike.net 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. ------------------------------------------------------------------------------- We read the hotkey settings from your bindings.txt file C:\Users\Raf\Moje dokume nty\Runes of Magic\bindings.txt instead of using the settings.lua file. ęSolarStrike Software, 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.46 ...nes of Magic/micromacro/scripts/rom/classes/pawn.lua:172: bad argument #1 to 'bitAnd' ((null)) Please enter the script name to run.
My old rom work correctly with no problems, after Elves Prophecy this error show all the time i did not edit any of files coz im leek of knowleage and im do it "eazy way" ;]
Thanks!
Code: Select all
We read the hotkey settings from your bindings.txt file C:\Users\xxx\yyy yyy\Runes of Magic\bindings.txt instead of using the settings.xml file.
ęSolarStrike Software, 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.46
RoM windows size is 1006x728, upper left corner at 438,150
No ranged skills specified in profile; Turning COMBAT_RANGED_PULL off.
We now use a new macro function to communicate with the client.
Please define the new hotkey: <hotkey name="MACRO" key="VK_0" />
within your profile. You can delete the old hotkeys for:
RES_MACRO, LOGOUT_MACRO, HP_POTION, MP_POTION, ATTACK.
Define ingame an empty macro at the FIRST macro space and assign that to your MA
CRO hotkey 'VK_0'.
Please correct the profile 'XXXX' and restart the bot again.
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="90" />
<option name="MP_LOW_POTION" value="70" />
<option name="HP_LOW_POTION" value="70" />
<option name="TEST_FIX_NOSTOP" value="true" />
<option name="COMBAT_TYPE" value="melee" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="NO1.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="1100" />
<option name="ENERGY_STORAGE_1" value="energy" />
<option name="ENERGY_STORAGE_2" value="concentration" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="12" />
<option name="DOT_PERCENT" value="90" />
<option name="WAYPOINT_DEVIATION" value="1" />
<option name="QUICK_TURN" value="true" />
</options>
<hotkeys>
</hotkeys>
<skills >
<skill name="ROGUE_LOW_BLOW" hotkey="VK_2" />
<skill name="ROGUE_SHADOWSTAB" hotkey="VK_3" />
<skill name="KNIGHT_DISARMAMENT" hotkey="VK_4" />
<skill name="ROGUE_ASSASSINS_RAGE" hotkey="VK_5" />
<skill name="ROGUE_PREMEDITATION" hotkey="VK_6" />
<skill name="KNIGHT_ENHANCED_ARMOR" hotkey="VK_7" />
<skill name="ROGUE_LIONS_PROTECTION" hotkey="VK_8" />
</skills>
</profile>
Code: Select all
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.46
RoM windows size is 1006x728, upper left corner at 438,150
No ranged skills specified in profile; Turning COMBAT_RANGED_PULL off.
[DEBUG] TIMEOUT in RoMScript ...
[DEBUG] TIMEOUT in RoMScript ...
The communication to the game with the MACRO function seems not to work.
Define ingame an empty macro at the FIRST macro space and assign that to your MA
CRO hotkey '0'.