PDA

View Full Version : MKHrebirth HOW TO KS?


shaider12
29th December 2004, 22:32
i found this padrt i dont konw how to edit this so it can ks

#Avoid KSing
undef $m_plDist_small;
my $judgeFirst = 1;
my $m_cDist = distance(\%{$chars[$config{'char'}]{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
for ($i = 0; $i < @playersID; $i++) {
next if ($playersID[$i] eq "");
$m_plDist = distance(\%{$players{$playersID[$i]}{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
if ($judgeFirst || $m_plDist < $m_plDist_small) {
$m_plDist_small = $m_plDist;
$judgeFirst = 0;
}
}
if((!$m_plDist_small || ($m_plDist_small >= $config{'NotAttackDistance'} && $config{'NotAttackDistance'} > 3 ) || $m_cDist <= $m_plDist_small)
&&(($config{'attackAuto'}==2 && $mon_control{lc($monsters{$_}{'name'})}{'attack_au to'})||$config{'attackAuto'}>2)){
push @{$ai_v{'ai_attack_cleanMonsters'}}, $_;
}
}
}
}

mignon
30th December 2004, 09:33
i u want to KS dont bot!!! that unfair to others.
kakahiya ka!!

edwardvb
31st December 2004, 03:05
ya know.....If you want a KS bot....Use revemu cause the creator of Modkore doesn't want ks bots

[-huh?-]
31st December 2004, 04:33
i u want to KS dont bot!!! that unfair to others.
kakahiya ka!!

Hey r u a noob in pRO? Have you ever tried going to High orc Alde ?

Its a very very nice place to bot... the exp there is as fast as hell
but if you wont program the bot to kill steal... then you'll gain nothing.

Next time use your head before making any comments right away will yah.

Phenixer
31st December 2004, 05:30
I botted just one time but i think i saw a feature
Kill Steal = 1 or 0... not ?

Take revemu...

mignon
31st December 2004, 07:46
undef $m_plDist_small;
my $judgeFirst = 1;
my $m_cDist = distance(\%{$chars[$config{'char'}]{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
for ($i = 0; $i < @playersID; $i++) {
next if ($playersID[$i] eq "");
$m_plDist = distance(\%{$players{$playersID[$i]}{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
if ($judgeFirst || $m_plDist < $m_plDist_small) {
$m_plDist_small = $m_plDist;
$judgeFirst = 0;
}
}
if((!$m_plDist_small || ($m_plDist_small >= $config{'NotAttackDistance'} && $config{'NotAttackDistance'} > 0 ) || $m_cDist <= $m_plDist_small)
&&(($config{'attackAuto'}==2 && $mon_control{lc($monsters{$_}{'name'})}{'attack_au to'})||$config{'attackAuto'}>2)){
push @{$ai_v{'ai_attack_cleanMonsters'}}, $_;
}
}
}
}

or try to caption this

#Avoid Kill Stealing
NotAttackDistance 5
to
#Avoid Kill Stealing
#NotAttackDistance 5 (try mo lang ito idea lng)



@-huh-
no! am not a noob.
ikaw ang nooby. well configure mo nlng bot mo.

jajajaja
31st December 2004, 10:12
those program only cater for distance attribute (not if the monster is taken damage from other ppl): the max of your not attacking distance and the distance of other ppl from the monster.....
why not just disable the step that not attacking unclean monser... (attack clean or unclean monster)...
this line:

elsif (!$ai_v{'ai_attack_cleanMonster'}) {
# Drop target if it's already attacked by someone else
print "Dropping target - no kill steal\n";
injectMessage("Dropping target - no kill steal") if ($config{'verbose'} && $sys{'Xmode'});
$monsters{$ai_seq_args[0]{'ID'}}{'attack_failed'}++;
sendAttackStop(\$remote_socket);
shift @ai_seq;
shift @ai_seq_args;



!$ai_v{'ai_attack_cleanMonster'} - if there is "!" in front of variable.. this means 'not'

gomorrah
13th January 2005, 06:12
make it attack all monsters by changing the conditions of the clean monsters so that it will attack clean and unclean monsters

botibot
13th January 2005, 08:12
']Hey r u a noob in pRO? Have you ever tried going to High orc Alde ?

Its a very very nice place to bot... the exp there is as fast as hell
but if you wont program the bot to kill steal... then you'll gain nothing.

Next time use your head before making any comments right away will yah.

nice try dude so now gms will hunt botters in that map coz u posted it here!!

grrrrrrrrrrrrrrrrrrrrrrr!!!!! use ur head also dude!!

Sillouhette
13th January 2005, 08:47
botibot did you get it? how to KS? IN hybrid-rebirth...

P.S.
Don't Mention or Post area's.

MK-R is not made to KS on maps that are not supppose to be Kill stealing, there are maps that your bot need to KS.

:smoke:

botibot
13th January 2005, 11:28
botibot did you get it? how to KS? IN hybrid-rebirth...

P.S.
Don't Mention or Post area's.

MK-R is not made to KS on maps that are not supppose to be Kill stealing, there are maps that your bot need to KS.

:smoke:

nope i wont even try to tweak my config for my bot to KS.. y? coz KS'ing is not fair.. i quote sumwhere in this forum I read a user said if kore stop developing modekore coz we break their rules who's lost is it? its our lost botters!!!

so if u want to KS!! dont use MKH!!!

Sillouhette
14th January 2005, 04:31
nope i wont even try to tweak my config for my bot to KS.. y? coz KS'ing is not fair.. i quote sumwhere in this forum I read a user said if kore stop developing modekore coz we break their rules who's lost is it? its our lost botters!!!

so if u want to KS!! dont use MKH!!!


yup i want to KS, maybe i will change my BOTing place to something like alot of MOB's monsterss and a lot of people too like GH.

sssieghartt
14th January 2005, 15:21
hmm, what file did you open that appeared

undef $m_plDist_small;
my $judgeFirst = 1;
my $m_cDist = distance(\%{$chars[$config{'char'}]{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
for ($i = 0; $i < @playersID; $i++) {
next if ($playersID[$i] eq "");
$m_plDist = distance(\%{$players{$playersID[$i]}{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
if ($judgeFirst || $m_plDist < $m_plDist_small) {
$m_plDist_small = $m_plDist;
$judgeFirst = 0;
}
}
if((!$m_plDist_small || ($m_plDist_small >= $config{'NotAttackDistance'} && $config{'NotAttackDistance'} > 3 ) || $m_cDist <= $m_plDist_small)
&&(($config{'attackAuto'}==2 && $mon_control{lc($monsters{$_}{'name'})}{'attack_au to'})||$config{'attackAuto'}>2)){
push @{$ai_v{'ai_attack_cleanMonsters'}}, $_;
}
}
}
}

Using C++? thnks a lot

botibot
17th January 2005, 14:17
hmm, what file did you open that appeared

undef $m_plDist_small;
my $judgeFirst = 1;
my $m_cDist = distance(\%{$chars[$config{'char'}]{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
for ($i = 0; $i < @playersID; $i++) {
next if ($playersID[$i] eq "");
$m_plDist = distance(\%{$players{$playersID[$i]}{'pos_to'}}, \%{$monsters{$_}{'pos_to'}});
if ($judgeFirst || $m_plDist < $m_plDist_small) {
$m_plDist_small = $m_plDist;
$judgeFirst = 0;
}
}
if((!$m_plDist_small || ($m_plDist_small >= $config{'NotAttackDistance'} && $config{'NotAttackDistance'} > 3 ) || $m_cDist <= $m_plDist_small)
&&(($config{'attackAuto'}==2 && $mon_control{lc($monsters{$_}{'name'})}{'attack_au to'})||$config{'attackAuto'}>2)){
push @{$ai_v{'ai_attack_cleanMonsters'}}, $_;
}
}
}
}

Using C++? thnks a lot



if ur using MKH-R its in the inc folder a file named "aiModule" open this file using notepad

neo¹™
18th January 2005, 00:14
modKore's not made to KS.. Star-Kung hates kill stealers... But there were maps where ur bot would be useless if it's not going to KS.. Like Byalan where most of the players are bots and Kill stealers too... I was able to make mine KS.. But it took a lot of time before I made it.. Just a hint, try to analyze this code


elsif (!$ai_v{'ai_attack_cleanMonster'}) {
# Drop target if it's already attacked by someone else
print "Dropping target - no kill steal\n";
injectMessage("Dropping target - no kill steal") if ($config{'verbose'} && $sys{'Xmode'});
$monsters{$ai_seq_args[0]{'ID'}}{'attack_failed'}++;
sendAttackStop(\$remote_socket);
shift @ai_seq;
shift @ai_seq_args;

You just have to find a new code so that when kore see an "unclean" monster it will not stop attacking it...

KS'ng is just so delicate that I believe this should not be abused!!! Or we will all be doomed!!! HEhehehe :cool:

leonaheidern
18th January 2005, 08:18
modKore's not made to KS.. Star-Kung hates kill stealers... But there were maps where ur bot would be useless if it's not going to KS.. Like Byalan where most of the players are bots and Kill stealers too... I was able to make mine KS.. But it took a lot of time before I made it.. Just a hint, try to analyze this code


elsif (!$ai_v{'ai_attack_cleanMonster'}) {
# Drop target if it's already attacked by someone else
print "Dropping target - no kill steal\n";
injectMessage("Dropping target - no kill steal") if ($config{'verbose'} && $sys{'Xmode'});
$monsters{$ai_seq_args[0]{'ID'}}{'attack_failed'}++;
sendAttackStop(\$remote_socket);
shift @ai_seq;
shift @ai_seq_args;

You just have to find a new code so that when kore see an "unclean" monster it will not stop attacking it...

KS'ng is just so delicate that I believe this should not be abused!!! Or we will all be doomed!!! HEhehehe :cool:


So i take it u delete this code segment?

sendAttackStop(\$remote_socket);

or do i have to delet the line above as well

$monsters{$ai_seq_args[0]{'ID'}}{'attack_failed'}++;

mahn
21st January 2005, 21:27
hey guys, download nlng kc kyo ng KSkore coz dis s kore is a modified MOdkore n meant for KSing.. kung wla kyong mhanap mail me nlng mahn_z@hotmail.com

juandelacruz
22nd January 2005, 18:26
ya know.....If you want a KS bot....Use revemu cause the creator of Modkore doesn't want ks bots

hey bro.where can i get revemu. post mo naman site plisssss.salamat po

123789
23rd January 2005, 07:06
owh my god!!!!!!
i posted the link for kskore so many tines
no one bothered to look.
all yur fault
use the search button"kskore link"
u will see it there.
all u have to do is download and extract it into the modkore folder easy and
all yur problems are solved.

redmage
23rd January 2005, 15:19
hahaha you posted the kskore link LOL the link for KSkore is dead mean's RIP mean's dead link mean's no KSkore there.. if there is a kind person can post the new KSkore link i consider that as a lifetime credit i will be so thankfull for that person

BTW the RIP mean's Rest In Peace

ty for the time and goodluk

chrisong
23rd January 2005, 16:09
hehehe i just get the kskore from 123789 links....thnx

the link is not dead..

neo¹™
24th January 2005, 19:42
So i take it u delete this code segment?

sendAttackStop(\$remote_socket);

or do i have to delet the line above as well

$monsters{$ai_seq_args[0]{'ID'}}{'attack_failed'}++;


If you would do just that, then your bot will freeze after targetting an unclean monster because you deleted the command that will make it attack it and not dropping it... You have to find a code that will make him continue attacking the "unclean" monster..... I can only give you guys hints.. I already told the reasons.. hope you all understand.....:cool:

drey
26th January 2005, 18:14
If you would do just that, then your bot will freeze after targetting an unclean monster because you deleted the command that will make it attack it and not dropping it... You have to find a code that will make him continue attacking the "unclean" monster..... I can only give you guys hints.. I already told the reasons.. hope you all understand.....:cool:
mr neo, i'm a noob too, and i don't know Perl, does that mean i have to find a code to send the command to NULL instead of \$remote_socket ?

if you have time, please email me: morbid_angel_017@yahoo.com . . .

thank you