IPB

 
 
Reply to this topicStart new topicStart Poll

Outline · [ Standard ] · Linear+

> tele idle problems.....

cathy_lim_cutee
post Apr 21 2006, 12:00 PM
Post #1


Member
**

Race: demi-Humans
Posts: 35
Spawned: 17 Mar 06
Spawn ID: 3,858



here's the situation.....

i configured my bot to tele when idle
sit when sp is below 25%
and stand when sp is higher than 50%

my config worked for around 1 month
then my problem started

when sp is below 25% it sits
then my problem
it wont stand up and tele search even when it has 100% sp ALREADY! blink.gif

what could be wrong with this? hmm.gif


--------------------
as every leaf falls and withers, everything shall also come to an end.....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
maztahv00d00
post Apr 21 2006, 05:22 PM
Post #2


Chaos BlackSmith
*****

Race: Zombies
Posts: 245
Spawned: 8 Apr 06
From: pRO Chaos
Spawn ID: 4,133



huh?!

can you post your config?

did u change any settings in your timeouts.txt?

hmm.gif

this should work:

sitAuto_sp_lower 25
sitAuto_sp_upper 50

no1.gif


--------------------
"There is no greater HONOR than to protect your GUILD and COUNTRY."



REMEMBER:

- Be patient enough to wait for the answers, there's always the manual to refer if you're so eager /gg
- Stop buzzing me while I'm working, I can still read your messages though, again patience.

Can't catch up? READ THE MANUAL.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
cathy_lim_cutee
post Apr 22 2006, 06:42 AM
Post #3


Member
**

Race: demi-Humans
Posts: 35
Spawned: 17 Mar 06
Spawn ID: 3,858



thats what i have in my config.......
with the timout thing i did change the tele when idle....
instead of 4 i made it 2......
that's about it.....

so what do you think is wrong?
or maybe its just a glitch? hmm.gif


--------------------
as every leaf falls and withers, everything shall also come to an end.....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
maztahv00d00
post Apr 22 2006, 06:59 AM
Post #4


Chaos BlackSmith
*****

Race: Zombies
Posts: 245
Spawned: 8 Apr 06
From: pRO Chaos
Spawn ID: 4,133



@cathy_lim_cutee

wait... you haven't mentioned about the HP

sitAuto_hp_lower
sitAuto_hp_upper

have you noticed if all these arguments were TRUE or SATISFIED?

sitAuto_hp_lower 40
sitAuto_hp_upper 50
sitAuto_sp_lower 25
sitAuto_sp_upper 50
sitAuto_over_50 0
sitAuto_idle 0

Please check....

no1.gif


--------------------
"There is no greater HONOR than to protect your GUILD and COUNTRY."



REMEMBER:

- Be patient enough to wait for the answers, there's always the manual to refer if you're so eager /gg
- Stop buzzing me while I'm working, I can still read your messages though, again patience.

Can't catch up? READ THE MANUAL.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
maztahv00d00
post Apr 22 2006, 07:01 AM
Post #5


Chaos BlackSmith
*****

Race: Zombies
Posts: 245
Spawned: 8 Apr 06
From: pRO Chaos
Spawn ID: 4,133



additional...

how about these items?

teleportAuto_idle 1
teleportAuto_portal 0
teleportAuto_search 1

hmm.gif


--------------------
"There is no greater HONOR than to protect your GUILD and COUNTRY."



REMEMBER:

- Be patient enough to wait for the answers, there's always the manual to refer if you're so eager /gg
- Stop buzzing me while I'm working, I can still read your messages though, again patience.

Can't catch up? READ THE MANUAL.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
maztahv00d00
post Apr 22 2006, 11:12 AM
Post #6


Chaos BlackSmith
*****

Race: Zombies
Posts: 245
Spawned: 8 Apr 06
From: pRO Chaos
Spawn ID: 4,133



you may also check this, though this is not recommended to edit....

open your functions.pl with notepad and check if this is the same with the one below, look for SITAUTO:

======================
SITAUTO: {
my $weight = percent_weight($char);
my $action = AI::action;
my $lower_ok = (percent_hp($char) >= $config{'sitAuto_hp_lower'} && percent_sp($char) >= $config{'sitAuto_sp_lower'});
my $upper_ok = (percent_hp($char) >= $config{'sitAuto_hp_upper'} && percent_sp($char) >= $config{'sitAuto_sp_upper'});

if ($ai_v{'sitAuto_forceStop'} && $lower_ok) {
$ai_v{'sitAuto_forceStop'} = 0;
}

# Sit if we're not already sitting
if ($action eq "sitAuto" && !$char->{sitting} && $char->{skills}{NV_BASIC}{lv} >= 3 &&
!ai_getAggressives() && ($weight < 50 || $config{'sitAuto_over_50'})) {
debug "sitAuto - sit\n", "sitAuto";
sit();

# Stand if our HP is high enough
} elsif ($action eq "sitAuto" && ($ai_v{'sitAuto_forceStop'} || $upper_ok)) {
AI::dequeue;
debug "HP is now > $config{sitAuto_hp_upper}\n", "sitAuto";
stand() if (!$config{'sitAuto_idle'} && $char->{sitting});

} elsif (!$ai_v{'sitAuto_forceStop'} && ($weight < 50 || $config{'sitAuto_over_50'}) && AI::action ne "sitAuto") {
if ($action eq "" || $action eq "follow"
|| ($action eq "route" && !AI::args->{noSitAuto})
|| ($action eq "mapRoute" && !AI::args->{noSitAuto})
) {
if (!AI::inQueue("attack") && !ai_getAggressives()
&& (percent_hp($char) < $config{'sitAuto_hp_lower'} || percent_sp($char) < $config{'sitAuto_sp_lower'})) {
AI::queue("sitAuto");
debug "Auto-sitting\n", "sitAuto";
}
}
}


======================

no1.gif


--------------------
"There is no greater HONOR than to protect your GUILD and COUNTRY."



REMEMBER:

- Be patient enough to wait for the answers, there's always the manual to refer if you're so eager /gg
- Stop buzzing me while I'm working, I can still read your messages though, again patience.

Can't catch up? READ THE MANUAL.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
cathy_lim_cutee
post Apr 22 2006, 11:30 PM
Post #7


Member
**

Race: demi-Humans
Posts: 35
Spawned: 17 Mar 06
Spawn ID: 3,858



about the hp it was right....because when i checked the bot my char was already 100%hp 100%sp blink.gif

and the bot worked for around one month before it went crazy..... huh.gif

bout the sit idle and tele search i had it like that, otherwise it wouldn't have tele searched.....

and about that editing thing i think ill just stick to what is there...

one thing that seemed to help was compying the config txt and pasting it in a new bot that has just been unzipped..... smile.gif

thanks anyways...... no1.gif


--------------------
as every leaf falls and withers, everything shall also come to an end.....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
maztahv00d00
post Apr 23 2006, 04:48 AM
Post #8


Chaos BlackSmith
*****

Race: Zombies
Posts: 245
Spawned: 8 Apr 06
From: pRO Chaos
Spawn ID: 4,133



huwaaaaaaaaaaaaaaaaaa....


`wanted to help you... maybe you're right it could be on the added configs you pasted or plugins which resulted into mere conflicts on your bot....


well, you could unzip a new copy, right?

config it again.... and tadan...

no1.gif


--------------------
"There is no greater HONOR than to protect your GUILD and COUNTRY."



REMEMBER:

- Be patient enough to wait for the answers, there's always the manual to refer if you're so eager /gg
- Stop buzzing me while I'm working, I can still read your messages though, again patience.

Can't catch up? READ THE MANUAL.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
cathy_lim_cutee
post Apr 24 2006, 07:20 AM
Post #9


Member
**

Race: demi-Humans
Posts: 35
Spawned: 17 Mar 06
Spawn ID: 3,858



waaaaa!!! i know now what is wrong!
its me!!! blink.gif

when monsters attack my bot while it recovers sp i somtimes make it tele
then after making it tele i make it sit with the sit command......

unfortunately it will remain to sit even when sp is above the required % of sp....

i told it to sit and after that it no longer tele searched....
then i commanded it to stand and viola!
tele search mode!

stupid me >_<


--------------------
as every leaf falls and withers, everything shall also come to an end.....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
maztahv00d00
post Apr 24 2006, 08:00 AM
Post #10


Chaos BlackSmith
*****

Race: Zombies
Posts: 245
Spawned: 8 Apr 06
From: pRO Chaos
Spawn ID: 4,133



hmm.gif

hmm.gif

heh.gif

e4.gif

no1.gif

GOOD WORK!!!



--------------------
"There is no greater HONOR than to protect your GUILD and COUNTRY."



REMEMBER:

- Be patient enough to wait for the answers, there's always the manual to refer if you're so eager /gg
- Stop buzzing me while I'm working, I can still read your messages though, again patience.

Can't catch up? READ THE MANUAL.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicTopic OptionsStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Lo-Fi Version Time is now: 25th May 2012 - 07:44 AM

Visitor Counter:

pinoytopsites