Page 94 of 111

Re: RoM bot

Posted: Wed Sep 16, 2009 12:36 pm
by Administrator
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.

Re: RoM bot

Posted: Wed Sep 16, 2009 1:11 pm
by ripper0815
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 ..........

Re: RoM bot

Posted: Wed Sep 16, 2009 1:26 pm
by Administrator
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 ..........
Fix your hotkeys in settings.xml if it's not reading from bindings.txt.

Re: RoM bot

Posted: Wed Sep 16, 2009 3:02 pm
by Administrator
shoopwoop wrote:
Administrator wrote: shoopwoop: You can add it manually to rom/database/consumables.xml
i replaced the english line with:

Code: Select all

<potion type="mana" id="201061" name="Elementargeist-Stein" level="51" />
still, doesn't work :/
Are they in the first or second page of your inventory? Have you modified the inventory scan length (INV_MAX_SLOTS)?

Re: RoM bot

Posted: Wed Sep 16, 2009 3:10 pm
by alcor75
Tnx to Administrator for be a wery kinde person
/wave.

Btw tnx wery much for the fast update and all the work on this release of the bot, beside a cuple of glitch everythink work wanderfull.
/hug Administrator and team.

Alcor75

Re: RoM bot

Posted: Wed Sep 16, 2009 3:52 pm
by Mystikal
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!

Re: RoM bot

Posted: Wed Sep 16, 2009 4:10 pm
by shoopwoop
Administrator wrote:
Are they in the first or second page of your inventory? Have you modified the inventory scan length (INV_MAX_SLOTS)?
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.

Re: RoM bot

Posted: Wed Sep 16, 2009 4:11 pm
by d003232
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!
Good Idea. Will be done. thx.

EDIT: it's in the SVN now & there seems still to be a 'STUCK' problem (while wandering?) in the bot atm.

Re: RoM bot

Posted: Wed Sep 16, 2009 4:24 pm
by Administrator
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.
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).

Code: Select all

<option name="DEBUG_INV" value="true" />
<option name="INV_MAX_SLOTS" value="2" />
What does it display?

Re: RoM bot

Posted: Wed Sep 16, 2009 4:29 pm
by KindaNoob
well since the addon i have a problem, 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>>

Re: RoM bot

Posted: Wed Sep 16, 2009 4:31 pm
by Administrator
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>>
If you're getting that error, you didn't update correctly. Delete the red files and redo it.

Re: RoM bot

Posted: Wed Sep 16, 2009 4:42 pm
by shoopwoop
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

Re: RoM bot

Posted: Wed Sep 16, 2009 4:49 pm
by Administrator
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.

Re: RoM bot

Posted: Wed Sep 16, 2009 5:15 pm
by Mystikal
d003232 wrote:
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!
Good Idea. Will be done. thx.

EDIT: it's in the SVN now & there seems still to be a 'STUCK' problem (while wandering?) in the bot atm.
Wow, so fast =P Thanks! Works fine =D

Re: RoM bot

Posted: Wed Sep 16, 2009 10:26 pm
by shotpuller
I downloaded the tortoise SVN and updated the rom file. I am still getting this error when I try to run rom\bot.
Did do an update wrong? is there something in the pawn document that I need to change?

error: ../rom/scripts/classes/pawn.lua:175: bad argument #1 to 'bitAnd' <<null>>

Thank you for the help with this matter.

Re: RoM bot

Posted: Thu Sep 17, 2009 2:07 am
by UnRegistered
Hi, i did SVN chek & update by TortoiseSVN and Rom.bot still got error.

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.
Can any one help ?
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!

Re: RoM bot

Posted: Thu Sep 17, 2009 2:39 am
by shoopwoop
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.
Yep, that fixes it. Thanks :>

Re: RoM bot

Posted: Thu Sep 17, 2009 2:42 am
by d003232
UnRegistered wrote:Hi, i did SVN chek & update by TortoiseSVN and Rom.bot still got error.

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.
Can any one help ?
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!
Delete all files except folders 'profiles' and 'waypoints' and do the SVN update again? Not sure if it will help.

Re: RoM bot

Posted: Thu Sep 17, 2009 3:09 am
by shotpuller
I ended up going through and deleting all files and documents until they all came up with a green check mark..
I had to run through a couple times to get them all right. now when i run the bot this is what i get..

MicroMacro v1.0
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\Betty\My Docume
nts\Runes of Magic\bindings.txt instead of using the settings.xml file.
Due to technical reasons, we don't support modifiers like CTRL/ALT/SHIFT for hot
keys at the moment. Please change your hotkey Ctrl-Tab for 'TARGET_FRIEND'
You can't use the player:target_NPC() function until changed. That's only a warn
ing!

⌐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.46
RoM windows size is 0x0, upper left corner at -32000,-32000
Ranged skill found: PRIEST_BONE_CHILL
[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'.



Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>

i dont use any macros in the game. now what is it that I am doing wrong?

Re: RoM bot

Posted: Thu Sep 17, 2009 3:19 am
by UnRegistered
Ok now i got other Problem
First Error

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>
Than when i add <hotkey name="MACRO" key="VK_0" /> to my profil

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'.
Thanx for help :<