Page 35 of 111
Re: RoM bot
Posted: Wed Apr 08, 2009 6:49 pm
by Administrator
You need to induce a keyboard press for that macro on your action bar. In your onDeath, add this:
Where 7 is the hotkey to press.
Re: RoM bot
Posted: Wed Apr 08, 2009 7:04 pm
by elroy72
ok that works!
Is there a way to do it without taking up a hotkey space?
Re: RoM bot
Posted: Wed Apr 08, 2009 7:07 pm
by Administrator
elroy72 wrote:ok that works!
Is there a way to do it without taking up a hotkey space?
No.
If it's a problem, you can completely customize the hotkeys for this game. I doubt you'll actually need 80+ hotkeys.
Re: RoM bot
Posted: Thu Apr 09, 2009 7:02 am
by Samsara
I dont understand what is going wrong with the bot. Every time I run it I will just spin in a circle. I also are still getting the
WARNING: Failure reading memory from 0xD7FDB0 at 0x8697a4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)
Could it be Xp Pro 64?
Re: RoM bot
Posted: Thu Apr 09, 2009 7:07 am
by Nasa210
Samsara wrote:I dont understand what is going wrong with the bot. Every time I run it I will just spin in a circle. I also are still getting the
WARNING: Failure reading memory from 0xD7FDB0 at 0x8697a4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)
Could it be Xp Pro 64?
No, The game was patched again to 1830.
we will need to wait for the new addresses
Re: RoM bot
Posted: Thu Apr 09, 2009 7:14 am
by Administrator
There doesn't seem to have been any changes that will affect the bot from 1829 to 1830. If you're having trouble, redownload and install the latest version of the script, and it should work.
Re: RoM bot
Posted: Thu Apr 09, 2009 7:33 am
by Nasa210
Administrator wrote:There doesn't seem to have been any changes that will affect the bot from 1829 to 1830. If you're having trouble, redownload and install the latest version of the script, and it should work.
haha ur right sorry still works!
Re: RoM bot
Posted: Thu Apr 09, 2009 10:07 am
by Onkelatze
possible the skill database needed a small update like :
<skill name="WARRIOR_ENRAGED" cooldown="20" type="buff" target="self" inbattle="false" />
cooldown went to 40 sec and make crazy sound without changed

did they do it in the update today have look only for warrior skills and have change 4-5 skills
Re: RoM bot
Posted: Thu Apr 09, 2009 10:11 am
by Jovaras
Hmm.After last patch, my bot does not loot(with autoloot enabled) and drinks potions instantly if below 100%(I mean at 99%) with HP_LOW_POTION set to 60% as pre-patch. Is it for me only?
Re: RoM bot
Posted: Thu Apr 09, 2009 11:21 am
by Nasa210
Jovaras wrote:Hmm.After last patch, my bot does not loot(with autoloot enabled) and drinks potions instantly if below 100%(I mean at 99%) with HP_LOW_POTION set to 60% as pre-patch. Is it for me only?
mine works fine for <50%
<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>
Re: RoM bot
Posted: Thu Apr 09, 2009 11:36 pm
by ellamental
Is there a way to detect if your armor/weapons are damaged and if so to press a hot key?
Re: RoM bot
Posted: Thu Apr 09, 2009 11:54 pm
by Administrator
ellamental wrote:Is there a way to detect if your armor/weapons are damaged and if so to press a hot key?
No.
Re: RoM bot
Posted: Fri Apr 10, 2009 2:55 am
by Jovaras
Admin, I can't solve why my bot after latest patch doesn't loot anymore and drinks potion after every mob(no matter how much hp I have). Here is my profile:
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="60" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="180" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="lol.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="concentration" />
<option name="ENERGY_STORAGE_2" value="energy" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>
<skills>
<skill name="SCOUT_FROST_ARROW" hotkey="VK_EQUAL" concentration="20" cooldown="300" type="buff" target="self" />
<skill name="SCOUT_SHOT" hotkey="VK_2" />
<skill name="SCOUT_WIND_ARROWS" hotkey="VK_3" modifier="" />
<skill name="ROGUE_SHADOWSTAB" hotkey="VK_6" modifier="" />
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" concentration="20" cooldown="10" range="180" type="dot" />
</skills>
<onDeath>
-- Additional Lua code to execute on death
</onDeath>
<onLeaveCombat>
-- Additional Lua code to execute after killing an enemy
</onLeaveCombat>
<onSkillCast>
-- Additional Lua code to execute when casting a skill
-- Note: arg1 contains the skill being used.
-- i.e. arg1.Name will be the name of the skill being cast.
</onSkillCast>
</profile>
Re: RoM bot
Posted: Fri Apr 10, 2009 3:37 am
by Administrator
And where's your log.txt and screenshot of hotkeys?
Re: RoM bot
Posted: Fri Apr 10, 2009 4:00 am
by Jovaras
Ok, after screenshotting I realised that potion position in toolbar was switched with attack.
Re: RoM bot
Posted: Fri Apr 10, 2009 4:51 am
by eviltuna
Do you have any plans on making the bot able to run back to your corpse? I think thats doable by creating a second waypoint, from the graveyard to where your botting waypoint is. This was done in various bots I've used for WoW.
Re: RoM bot
Posted: Fri Apr 10, 2009 10:22 am
by ellamental
Eviltuna: I think if you do something like this it might work
<onDeath>
-- Additional Lua code to execute on death
yrest(1000)
keyboardPress(key.VK_6);--press a key to hit a macro to accept res.
yrest(60000) --waits 60 secs
keyboardPress(key.VK_DELETE); -- hits delete to unpause script
__WPL:load(getExecutionPath() .. "/waypoints/Deathwaypoint.xml"); -- Loads way points for death run
__WPL:setWaypointIndex(1); -- not sure what this does, but from Admins examples in my thread its needed.
</onDeath>
Then in your death way point file this at the end
<waypoint x="-1896" z="-8259"> -- last way point in death file
if( player.Level >= 1 ) then -- not sure if there is another method but this should work since you should be higher then level 1
__WPL:load(getExecutionPath() .. "/waypoints/Alivewaypoints.xml"); -- loads your alive waypoints
__WPL:setWaypointIndex(1);
end;
</waypoint>
I have not tested this so it might not work, but I think this would be the right direction to get something working as you like. Also remove all the comments (-- and the text after it). Best of luck and if you manage to get it working, posting it here would be great to allow other people to see how it can be done.
Re: RoM bot
Posted: Fri Apr 10, 2009 11:02 am
by ketamine
THX dude nice job
Re: RoM bot
Posted: Fri Apr 10, 2009 12:18 pm
by kokowiki
The problem isn't getting back to where i want, it's getting the bot to actually continue after the short load-screen. It just gives errors.
Re: RoM bot
Posted: Fri Apr 10, 2009 12:21 pm
by chip99
im getting this error

i use the latest version