My bot keeps making tps

ThousandKilla

Member!
Joined
May 30, 2005
Messages
42
Reaction score
0
Everytime I go try doing a run of any sorts my bot makes tp and says Let's get some beer before we fight. Sometimes this happen right at the wp and other times it happen in the throneroom.

any help will be appreicated...


thx
 

Draygonia

BattleForums Junior Member
Joined
May 17, 2005
Messages
101
Reaction score
0
WTF?!!! Your bot is insane, lol. What the hell did you do?

*Makes tp, "lets get some beer before we fight!"* You must have programmed this to be f'ed up, lolz
 

ThousandKilla

Member!
Joined
May 30, 2005
Messages
42
Reaction score
0
Lol I have no clue lol...

all i know is that everytime it makes it to the throneroom or sometimes just the wp, it starts making tps, going to town, buying a tp, going back, making a tp, and continuing the cycle...

it probably is insane... lol
 

oslO

New Member
Joined
Apr 28, 2005
Messages
3
Reaction score
0
in that situation... i'd start over cause it sounds like your config's etc is massively messed up lol.
 

Johnny

IMMERSION RUINED
Joined
Mar 24, 2005
Messages
2,375
Reaction score
1
Location
Garden Grove, CA
it does that to me every now and then, it goes into town w/ full health/mana/pots and buys a pot and drops it right afterwards... dumb thing... but then it goes and finishes it...
 

ArtificialIntel

Member!
Joined
May 6, 2005
Messages
40
Reaction score
0
Try this... In your character configuration file, change the pots in belts..for example here's mine.

//--------------------------------------------------------------------
// Minimum amount of potions in each column before needing refilling.
// If there's less potions then this number in the column we go and shop.
// Set to 4 to go shopping as soon as there's a potion missing.
// Leave columns set to "rv" at 0, since shops don't carry rejuvs.
//--------------------------------------------------------------------

DT_BeltColMin[0] = 1;
DT_BeltColMin[1] = 1;
DT_BeltColMin[2] = 1;
DT_BeltColMin[3] = 1;



And lastly..Stop getting it Drunk!
 

ThousandKilla

Member!
Joined
May 30, 2005
Messages
42
Reaction score
0
oh ya guys lol I found the file that the "Let's get some beer before we fight" phrase is from. Unfortunately, this file is written in javascript so I don't understand it....

I will post it up here if any of you guys do lol...


function YAM_SafeCheck() {
//var _lifethreshold = parseInt((me.hpmax * YAM_SafeHP) / 100);
//var _manathreshold = parseInt((me.mpmax * YAM_SafeMP) / 100);

if (YAM_CheckIfCursed()||DT_CheckBelt()||DT_CheckHeal()||_YAM_OutOfPots||(DT_CheckUnids() > 0)||
DT_CheckMerc()||_YAM_Town) { _YAM_GoToHealer = true; }

if (DT_CheckRepair(DT_RepairPercent)||DT_CheckAmmo()) { _YAM_GoToRepair = true; }

if (_YAM_GoToHealer || _YAM_GoToRepair) {
print("let's get another beer before the fight! :)");

if (YAM_Debug) {
if (_YAM_OutOfPots) print("YAM_SafeCheck: We are Out-of-Pots!");
if (_YAM_Town) print("YAM_SafeCheck: LifeWatch says we need to tp to town!");
}

var _esc_from=me.area;
var _esc_act=me.act;

YAM_TownManager ();
if (me.act != _esc_act) {
YAM_PathToWayPoint();
DM_UsePortal("Waypoint",TownAreaCodes[_esc_act-1]);
DC_DoDel(2000); // Wait a while, hopefully to fix the
// tp not found problem when changing act
 

Wing Zero

lol just as planned
Joined
Oct 27, 2002
Messages
12,206
Reaction score
16
i rather just leave it alone
as long it doenst kill u ur fine
 

ThousandKilla

Member!
Joined
May 30, 2005
Messages
42
Reaction score
0
lol your right it doesnt kill me, but tping is the only thing the bot does

If it sees a enemy, it doesnt attack, it just makes a tp goes to town and so on...
 

Johnny

IMMERSION RUINED
Joined
Mar 24, 2005
Messages
2,375
Reaction score
1
Location
Garden Grove, CA
i beleive that there is a go to healer section; and that its based off of your health so maybe you imputted the wrong health into that... if you have 2k life and you thought you had 2.8k life; so you set go to healer at 1.9k, u'd see why u would have a problem, also make sure you have enough to repair your gear; that might also be the problem.
 

Trojan

Respected Member
Joined
Jun 15, 2004
Messages
3,545
Reaction score
2
Location
OG From '02
yea, this used to happen to me in 1.09's jsp. Before killing meph, my sorc would go to town and heal because her return to town mana was very high. Just set yours a bit lower and you should be fine.
 

_CM

Respected Member
Joined
May 19, 2003
Messages
3,874
Reaction score
3
Location
Luxembourg
try to configure your lifewatch configs... and leave the scripts themselves alone, they're fine.. your configs are just screwed up.
 

ThousandKilla

Member!
Joined
May 30, 2005
Messages
42
Reaction score
0
lol i figured out what happened.... lol

i didnt copy the yamb_lifewatch file into the correct folder lol
 

fritfrat

Member!
Joined
May 30, 2003
Messages
456
Reaction score
0
Website
Visit site
I am surprised no one actually has suggested to turn of the safechecks.. that's the reason why it goes to town. I suppose changing the lifewatch would also be able to change when you do the safechecks to go to town, but that's not the direct reason.

It's in your character file..
 

ThousandKilla

Member!
Joined
May 30, 2005
Messages
42
Reaction score
0
no i didnt even put the lifewatch file into the tools directry...

the character file didnt have a lifewatch file 2 start with that is why it didnt work...
 

NewPosts

New threads

Top