Re: RoM bot
Posted: Wed Apr 22, 2009 12:33 pm
Can anyone please share with me their settings to get this bot working with the addon called UberFlex ?
\137 is decimal notation. See the Extended ASCII chart. You will need to use string.char(0x89) to insert it through hex.frank wrote:I'm pretty sure "\137" isn't a valid string character. If LUA is anything like other languages it would be "\x89". The "\x" denotes you wish to insert a byte string, and then from there you can add all the hexadecimal code you want.Administrator wrote:Now, that 'ë' in your character's name needs to be replaced with \137. So, if your name was "Namë", change it to "Nam\137". Save it, and run the bot.
Anyways, I started fooling around with the bot a few days ago out of curiosity, and my bot isn't resurrecting upon death. The window just waits on a mouse click. What is the fix for this?
It does not do the trick. I added "Cow Beetle" and "Yuri" to my friends list in profiles\player.xml and I still attack both of those things.Administrator wrote:You could add the monsters to your friend list in profile. That should do the trick.Zeno1 wrote:i wonder if there is a way to "blacklist" mobs so u don't accidentally go after elite mobs or mobs that are too high for yu but in the area you want to bot
I figured out the problem. Somewhere in this topic you (or someone else) said the script was AcceptRessurection(true); and later on in the topic it was said to actually be AcceptResurect();Administrator wrote:As for the resurrection problem, let me see your profile and a screenshot of your hotkeys.
Code: Select all
local target = player:getTarget();
if( settings.profile.options.ANTI_KS ) then
if( target:haveTarget() and target:getTarget().Address ~= player.Address and (not player:isFriend(CPawn(target.TargetPtr))) ) then
cprintf(cli.red, language[5], target.Name);
else
player:fight();
end
else
player:fight();
end
Yes, that is correct.frank wrote: I haven't died yet, but I assume with the macro properly set up and default bot settings, when I die, the bot will use the macro, I will res, the bot will wait 60s for the sickness to go away, and then it will follow my deathpath.xml back to the leveling spot?
I'm sure there is a Lua function to swap your equipment, but I do not know what it is offhand. Lets just pretend it's SwapEquipment() for now. You can change your res macro to this:Also, there is a bug ingame; If you die, swap your equipment in your Character Screen using that new button. Swap your gear to be naked, then ressurect, then swap back. Your items wont lose any durability and you'll save yourself a lot of cash. Perhaps a macro or the bot could be updated to automatically do this upon death?
Code: Select all
SwapEquipment();
AcceptResurrect();
wait 5
SwapEquipment();
WORKS FINE RAJIN!! TY!!Rajinn wrote:since the targeting only targets stuff in front of you, you could goto the onLeaveCombat section and add a script to move backwardsblademagical wrote:Pls administrator help me =\
what i must change in my micromacro to my char attack first the mobs that are attacking me first, because here my character are being attacked by 3 mobs and he got a new target and dont attack first the mobs that are attacking me first, plz what i can do to my char kill first all the mobs are already attacking me first to take after a new target? ty =)
then when it goes to auto target it should grab the closest mob which should be the ones hitting you (i havent tried it yet, just theory)Code: Select all
keyboardHold(settings.hotkeys.MOVE_BACKWARD.key); yrest(200); keyboardRelease(settings.hotkeys.MOVE_BACKWARD.key);
Code: Select all
<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="test4.xml" />
<option name="RETURNPATH" value="test4.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="50" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="5000" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<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="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
<hotkey name="RES_MACRO" key="VK_9" modifier="" />
I need a screenshot of your hotkeys.fatty wrote:works great but can't get the looting to work, click to move and auto loot are both on... any ideas? heres where i'm at, maybe someone smarter than me can help![]()
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="cactusi.xml" />
<option name="RETURNPATH" value="cactusi.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="50" />
<option name="WAYPOINT_DEVIATION" value="50" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="energy" />
<option name="ENERGY_STORAGE_2" value="mana" />
<option name="POTION_COOLDOWN" value="60" />
<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_8" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
<hotkey name="RES_MACRO" key="VK_9" modifier="" />
</hotkeys>
<skills>
<skill name="PRIEST_URGENT_HEAL" hotkey="VK_7" modifier="" />
<skill name="ROGUE_SHADOWSTAB" hotkey="VK_2" modifier="" />
<skill name="ROGUE_LOW_BLOW" hotkey="VK_3" modifier="" />
<skill name="ROGUE_WOUND_ATTACK" hotkey="VK_4" modifier="" />
</skills>
<onDeath>
-- Additional Lua code to execute on death
pauseOnDeath(); -- Stop the script
</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>
Download the newest version (2.24), and manually load your profile. It's simple, just append the profile name when running the script: rom/bot.lua profile:Mynamëdeedly wrote:so, u know a way i can fix the "ë" ?