Page 32 of 111

Re: RoM bot

Posted: Sun Mar 29, 2009 4:48 pm
by deedly
It might be a bug, I'll look into it. Can you post your full profile?

Code: Select all

<profile>
	<options>
		<option name="HP_LOW" value="80" />
		<option name="MP_LOW_POTION" value="50" />
		<option name="HP_LOW_POTION" value="60" />

		<option name="COMBAT_TYPE" value="melee" />
		<option name="COMBAT_DISTANCE" value="200" />
		<option name="ANTI_KS" value="true" />
		<option name="WAYPOINTS" value="baapen.xml" />
		<option name="LOOT" value="true" />
		<option name="LOOT_TIME" value="1000" />
		<option name="ENERGY_STORAGE_1" value="energy" />
		<option name="ENERGY_STORAGE_2" value="mana" />
		<option name="POTION_COOLDOWN" value="15" />
		<option name="MAX_FIGHT_TIME" value="30" />
		<option name="DOT_PERCENT" value="90" />
	</options>

	<friends>
		<friend name="nejked" />
		<friend name="MyOtherCharacter2" />
	</friends>

	<hotkeys>
		<hotkey name="HP_POTION" key="VK_8" modifier="" />
		<hotkey name="MP_POTION" key="VK_9" modifier="" />
		<hotkey name="ATTACK" key="VK_1" modifier="" />
	</hotkeys>

	<skills>
		<skill name="ROGUE_SHADOWSTAB" hotkey="VK_2" modifier="" priority="100" />
		<skill name="ROGUE_LOW_BLOW" hotkey="VK_3" modifier="" priority="50" />
		<skill name="ROGUE_WOUND_ATTACK" hotkey="VK_4" modifier="" />
		<skill name="PRIEST_REGENERATE" level="23" hotkey="VK_5" modifier="" />
		<skill name="ROGUE_POISON" hotkey="VK_0" modifier="" />
		<skill name="ROGUE_QUICKNESS_AURA" hotkey="VK_7" modifier="" />
	</skills>
	
	<onDeath>
		-- Additional Lua code to execute on death
		keyboardPress(key.VK_END);
	</onDeath>

	<onLeaveCombat>
   		yrest(1000);
   		keyboardPress(key.VK_6);
   		yrest(500);
	</onLeaveCombat>
</profile>
there u go

was also wondering one more thing, is it possible to add like a "HP_LOW2" to use another skill for example wave armor at another percentage of HP ?

Re: RoM bot

Posted: Sun Mar 29, 2009 5:04 pm
by Administrator
Ah, right. I see what the problem is here. When set for 'melee' combat, you don't attack until you're in melee range. So, try setting combat mode to 'ranged', but set your COMBAT_RANGE to 50. This should result in pulling with range with melee style combat.

As for the suggestion: it will be looked at. I'm trying to figure out how I could allow for advanced options like this without having to add so many variables.

Re: RoM bot

Posted: Sun Mar 29, 2009 6:36 pm
by Zeno1
another suggestion i have for this bot is after it kills a monster, it should first attempt to target any monsters in front of it, then turn around 180 degrees and attempt to target any monsters behind it before it moves on to the next waypoint. I find very often I die because theres always a monster behind me that keeps attacking me and the bot is always unable to target, so I just keep pulling in more and more aggro. Especially for mage monsters, who can attack from behind at a distance and the bot will never see it if it doesn't turn around

Re: RoM bot

Posted: Mon Mar 30, 2009 2:17 am
by lazeta10
Tried all addresses and still same problem :evil:

Re: RoM bot

Posted: Mon Mar 30, 2009 3:46 am
by Administrator
lazeta10 wrote:Tried all addresses and still same problem :evil:
I don't know what to tell you then. Chances are, the problem is because the update messed up and you still have some of the older files. This used to happen a lot, and apparently still does.

Re: RoM bot

Posted: Wed Apr 01, 2009 4:52 am
by ellamental
as for the suggestion about a lowhp2, use a auto combat addon and set it up to use hot keys at a % of hp, I have mmy rogue set up to bubble,recall at 15% hp but sometimes the bot uses cooldowns. so it doesnt go off, so I have it being spammed now at 20% with .5 cast time on the addon.

Re: RoM bot

Posted: Wed Apr 01, 2009 10:04 am
by Jovaras
what about scout's skill auto shot? It isn't in skill's database.

Re: RoM bot

Posted: Wed Apr 01, 2009 6:53 pm
by Administrator
Jovaras wrote:what about scout's skill auto shot? It isn't in skill's database.
Still not currently supported. The bot will need a bit of work to recognize that it should only be used a maximum of once per combat sequence.

Re: RoM bot

Posted: Thu Apr 02, 2009 6:58 am
by Wolfgangwarriors
Im having trouble with the <onLeaveCombat> Command

I copied it from your earlier post and put it in for using hide. Not having any luck with it.

Re: RoM bot

Posted: Thu Apr 02, 2009 7:48 am
by deedly
Wolfgangwarriors wrote:Im having trouble with the <onLeaveCombat> Command

I copied it from your earlier post and put it in for using hide. Not having any luck with it.
Remove the "-- text" inside the code, that would fix it.

Re: RoM bot

Posted: Thu Apr 02, 2009 12:54 pm
by reloxx
hey


umm is there a posibility to use letters as skill hotkeys? when i did so i get error msg for settings.lua at line 162, and says "attempt to compare string with number". i tried capital letters and small once, same error.


im just asking :p


greetings =)

Re: RoM bot

Posted: Thu Apr 02, 2009 3:39 pm
by Administrator
reloxx wrote:hey


umm is there a posibility to use letters as skill hotkeys? when i did so i get error msg for settings.lua at line 162, and says "attempt to compare string with number". i tried capital letters and small once, same error.
Unless you actually provide the code you are trying to use, it's useless to ask.

Re: RoM bot

Posted: Fri Apr 03, 2009 5:40 am
by haura
Zeno1 wrote:another suggestion i have for this bot is after it kills a monster, it should first attempt to target any monsters in front of it, then turn around 180 degrees and attempt to target any monsters behind it before it moves on to the next waypoint. I find very often I die because theres always a monster behind me that keeps attacking me and the bot is always unable to target, so I just keep pulling in more and more aggro. Especially for mage monsters, who can attack from behind at a distance and the bot will never see it if it doesn't turn around
In file player.lua look for the line

Code: Select all

		if( canTarget == false and os.difftime(os.time(), startTime) > 1 ) then
Now, edit the 1 and try, say, 2.

This will cause the script to wait 2 seconds after looting the last killed mob before enabling new targets to be selected.
If your char is being attacked during that waiting time then the attacking mob is automatically targeted.
This is a game feature not a bot feature.
Therefore, even if that mob is behind your character (and even if it is at a distance using ranged attacks) your character will turn to attack before searching for any other targets.
The game feature of auto selecting such an aggressive mob seems to take about 1 sec to trigger so the original value of 1 is probably borderline too short for some ping latencies.

Re: RoM bot

Posted: Fri Apr 03, 2009 6:25 am
by reloxx
Administrator wrote:
reloxx wrote:hey

umm is there a posibility to use letters as skill hotkeys? when i did so i get error msg for settings.lua at line 162, and says "attempt to compare string with number". i tried capital letters and small once, same error.
Unless you actually provide the code you are trying to use, it's useless to ask.

Code: Select all

Example:

 <skill name="ROGUE_SHADOWSTAB" hotkey= "VK_J" modifier="">

instead of the number 1 as hotkey, i want to use a letter. here J.
i think u dont need my code for answering me how i could make this working.
how i told, it make an error msg for me.



greetings :)

Re: RoM bot

Posted: Fri Apr 03, 2009 11:25 am
by mauricemouth
Hi,

I have a little problem with some skills (urgent heal, regen and other priset skills)

my profile :

Code: Select all

<skills>
		<skill name="PRIEST_URGENT_HEAL" level="17" hotkey="VK_2" modifier="" />
		<skill name="PRIEST_RISING_TIDE" level="19" hotkey="VK_3" modifier="" />
		<skill name="PRIEST_REGENERATE" level="17" hotkey="VK_8" modifier="" />
		<skill name="PRIEST_WAVE_ARMOR" level="14" hotkey="VK_5" modifier="" />
		<skill name="MAGE_FIREBALL" level="11" hotkey="VK_4" modifier="" />
		<skill name="MAGE_LIGHTNING" level="11" hotkey="VK_7" modifier="" />
		<skill name="PRIEST_BONE_CHILL" level="15" hotkey="VK_6" modifier="" />
	</skills>
The problem is that the bot does not select my char as target when it launch urgent heal (for example)

Someone have this problem ?
Someone get this problem corrected ?

Thank You !

Re: RoM bot

Posted: Fri Apr 03, 2009 11:35 am
by reloxx
mauricemouth wrote:Hi,

I have a little problem with some skills (urgent heal, regen and other priset skills)

my profile :

Code: Select all

<skills>
		<skill name="PRIEST_URGENT_HEAL" level="17" hotkey="VK_2" modifier="" />
		<skill name="PRIEST_RISING_TIDE" level="19" hotkey="VK_3" modifier="" />
		<skill name="PRIEST_REGENERATE" level="17" hotkey="VK_8" modifier="" />
		<skill name="PRIEST_WAVE_ARMOR" level="14" hotkey="VK_5" modifier="" />
		<skill name="MAGE_FIREBALL" level="11" hotkey="VK_4" modifier="" />
		<skill name="MAGE_LIGHTNING" level="11" hotkey="VK_7" modifier="" />
		<skill name="PRIEST_BONE_CHILL" level="15" hotkey="VK_6" modifier="" />
	</skills>
The problem is that the bot does not select my char as target when it launch urgent heal (for example)

Someone have this problem ?
Someone get this problem corrected ?

Thank You !


hey

for healing and buffs i use "nBuff" addon, its quite simple and good :)

Re: RoM bot

Posted: Fri Apr 03, 2009 12:05 pm
by mauricemouth
reloxx wrote: hey

for healing and buffs i use "nBuff" addon, its quite simple and good :)

It works perfectly !!!

Thank You :)

Re: RoM bot

Posted: Fri Apr 03, 2009 7:40 pm
by Administrator
The problem is that the bot does not select my char as target when it launch urgent heal (for example)
You're right. That is a problem. And the cause is that you didn't bother reading the instructions.

Re: RoM bot

Posted: Sat Apr 04, 2009 8:54 am
by Wolfgangwarriors
Every time i die my character rez's and then runs towards the path. He gets killed every time by mobs and bosses with the rez effects. Is there a way i can get the bot to just error out and quit or not make him rez?

Re: RoM bot

Posted: Sat Apr 04, 2009 10:30 am
by deedly
Wolfgangwarriors wrote:Every time i die my character rez's and then runs towards the path. He gets killed every time by mobs and bosses with the rez effects. Is there a way i can get the bot to just error out and quit or not make him rez?
Having that problem too. Logout() and QuitGame() with OnDeath didnt work.