Page 1 of 1

how can i .. ?

Posted: Sun Dec 06, 2009 4:15 pm
by Tyrismido
Hello guys , I was wondering about RoM bot how can I disable the auto-logout after 10 deathes?
thanks.

Re: how can i .. ?

Posted: Sun Dec 06, 2009 4:26 pm
by Administrator
Add this to your profile:

Code: Select all

<option name="MAX_DEATHS" value="20" />

Re: how can i .. ?

Posted: Sun Dec 06, 2009 9:44 pm
by Tyrismido
ty alot

Re: how can i .. ?

Posted: Tue Dec 08, 2009 12:00 am
by Tyrismido
is there a way to make it keep certian distance of the monster ? because some times it stand on the monster and keep saying 'Must Face Target' stuff like that,
Thanks.

Re: how can i .. ?

Posted: Tue Dec 08, 2009 2:51 am
by Administrator
Are you a melee class? If so, then I don't think much can be done. The problem comes from a desynchronization between client and server. But, just rotating in the direction that the server says the enemy is won't work, either, because then the client may not accept it. Basically, both need to agree. Honestly, I'm not sure what the best approach would be. You could try modifying rom/classes/player.lua to cause the player to try attacking at different distances, however, this may have problems associated with it; one of which being that you may occasionally be too far away from the enemy to attack them with melee strikes, which is obviously a problem.

Re: how can i .. ?

Posted: Tue Dec 08, 2009 5:23 am
by Tyrismido
I am melee yes , and when that happens the monster keeps attacking me but I cant , because I simply become ON the monster for some reason , if we could make the range in battle 50 for example , wouldnt the bot auto-move my character to the range of 50 when my charcter is ON the mob?

Re: how can i .. ?

Posted: Tue Dec 08, 2009 2:25 pm
by Administrator
Check rom/classes/player.lua, line 609:

Code: Select all

		-- We're a bit TOO close...
		if( dist < 5.0 ) then
Modify the 5.0 to a higher value and see if that helps. It should be less than 30 or you could run into problems.