PDA

View Full Version : Openkore KS function Function


supapogz2
25th August 2005, 17:15
In your config.txt type >>> Kill_Steal_On_Player

if (AI::action eq "attack" && timeOut(AI::args->{ai_attack_giveup}) && !$config{attackNoGiveup}) {
my $ID = AI::args->{ID};
$monsters{$ID}{attack_failed} = time if ($monsters{$ID});
AI::dequeue;
message "I cant reach you, i'll leave you alone hehehhh!\n", "ai_attack";
useTeleport(1) if ($config{'teleportAuto_dropTarget'});

--------------------------------------------------------------------------------------------------
} elsif (!$cleanMonster) {
# Drop target if it's already attacked by someone else
message "Lets Rock! eheheehe!!! ahihihihihi\n", "ai_attack";
sendMove(\$remote_socket, $realMyPos->{x}, $realMyPos->{y});
AI::dequeue;

--------------------------------------------------------------------------------------------------
# Check for kill steal while moving
if (AI::is("move", "route") && AI::args->{attackID} && AI::inQueue("attack")) {
my $ID = AI::args->{attackID};
if ($monsters{$ID} && !checkMonsterCleanness($ID)) {
message "ooppppss! i got you \n";
stopAttack();

praetor
25th August 2005, 18:03
dead meat!!!

rubentan
25th August 2005, 18:10
1. we do not support ksing here in mpc..
2. thats fake.. it wont do anything aside from just changing the message dropping target to lets rok.. blah blah

and as you can see why should we add
Kill_Steal_On_Player in our config ? there is no function for it in the code you posted
-Closed