killSteal bot in openkore 2.0.7

11/05/2009 03:18 kcirned03#16
Still Working Until Now... the date is Nov.5,2009
11/05/2009 09:08 Aimless Angel#17
You dont need to post if this is still working or not! Just post if this is NOT working anymore!

Greetz Angel
11/07/2009 23:20 squarepants88#18
i have done downloading
OpenKore 2.0.7 in desktop, then @
Step 1:download and extract misc.pm then replace the old one in your src folder in openkore 2.0.7..
Step 2:on your config.txt add "killSteal 1"


what do you mean recompile!?

im new hear...sory i just follow the instruction...did i do it right?!
__________________
i think nothings happening :{
11/12/2009 17:32 jhincen#19
Openkore/control/config.txt
from your config.txt add this line

killSteal 1

-------------------------------------
=====================================
-------------------------------------

openkore/control/timeouts.txt
from your timeouts.txt change this ai_attack_waitAfterKill 0.7 to ai_attack_waitAfterKill 0.1

-------------------------------------
=====================================
-------------------------------------

openkore/src/Misc.pm
edit your MIsc.pm

add this line
"return 0 if ($config{'rabidDog'} || $config{'killSteal'});"


the line must look like

sub objectInsideSpell {
return 0 if ($config{'rabidDog'} || $config{'killSteal'});
my $object = shift;
my ($x, $y) = ($object->{pos_to}{x}, $object->{pos_to}{y});
foreach (@spellsID) {
my $spell = $spells{$_};
if ($spell->{sourceID} ne $accountID && $spell->{pos}{x} == $x && $spell->{pos}{y} == $y) {
return 1;
}
}

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

sub objectIsMovingTowardsPlayer {
return 0 if ($config{'rabidDog'} || $config{'killSteal'});
my $obj = shift;
my $ignore_party_members = shift;
$ignore_party_members = 1 if (!defined $ignore_party_members);

if (!timeOut($obj->{time_move}, $obj->{time_move_calc}) && @playersID) {
# Monster is still moving, and there are players on screen
my %vec;
getVector(\%vec, $obj->{pos_to}, $obj->{pos});

foreach (@playersID) {
next if (!$_ || ($ignore_party_members &&
($char->{party} && $char->{party}{users}{$_}) ||
(existsInList($config{tankersList}, $players{$_}{name}) &&
$players{$_}{name} ne 'Unknown')) ||
$players{$_}{statuses}{"GM Perfect Hide"});
if (checkMovementDirection($obj->{pos}, \%vec, $players{$_}{pos}, 15)) {
return 1;
}
}
}

====================================
sub checkMonsterCleanness {
return 1 if ($config{'rabidDog'} || $config{'killSteal'});
return 1 if (!$config{attackAuto});
my $ID = shift;
return 1 if ($players{$ID});
my $monster = $monsters{$ID};

# If party attacked monster, or if monster attacked/missed party
if ($monster->{'dmgFromParty'} > 0 || $monster->{'dmgToParty'} > 0 || $monster->{'missedToParty'} > 0) {
return 1;
}

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

sub positionNearPlayer {
return 0 if ($config{'rabidDog'} || $config{'killSteal'});
my $r_hash = shift;
my $dist = shift;

foreach (@playersID) {
next unless defined $_;
next if $char->{party} && $char->{party}{users} &&
$char->{party}{users}{$_};
next if existsInList($config{tankersList}, $players{$_}{name});
return 1 if (distance($r_hash, $players{$_}{pos_to}) <= $dist);
}


make sure you have a copy of your misc.pm in case theres a problem
credit goes to ragna016 on mpc forum.
12/07/2009 08:12 rakachi22#20
Quote:
Originally Posted by kcirned03 View Post
just replace the old misc.pm in your src folder...
where is the src folder???
12/19/2009 15:57 Aimless Angel#21
Quote:
Originally Posted by rakachi22 View Post
where is the src folder???
it is in you bot folder!
12/23/2009 23:35 ChibiEbil#22
Its depending on where you downloaded your bot, on all serious sources the src folder is in the main folder.
Just download openkore from Openkore.com

Hideki
12/26/2009 04:33 Boters.com#23
its working 100% i just observe my bot nd its KS yahooo!!!
12/27/2009 11:41 ixnine#24
Thanks!
12/28/2009 21:36 malcolm03#25
Hmm.. It doesn't seem to work for me..
I've placed killSteal 1 at config and changed the misc.pm in src folder but
i got this error :

OpenKore version what-will-become-2.1 (SVN Version)
@ai_seq = route attack route
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 6973
No loaded plugins.

Error message:
Undefined subroutine &AI::CoreLogic::isSafeActorQuery called at src/AI/CoreLogic.pm line 264.

Stack trace:
Undefined subroutine &AI::CoreLogic::isSafeActorQuery called at src/AI/CoreLogic.pm line 264.
at src/AI/CoreLogic.pm line 264
AI::CoreLogic::processGetPlayerInfo() called at src/AI/CoreLogic.pm line 49
AI::CoreLogic::iterate() called at src/functions.pl line 603
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HAS H(0x454bc1c)') called at openkore.pl line 96
main::__start() called at start.pl line 129

Died at this line:
foreach (keys %monsters) {
* last if (isSafeActorQuery($_) != 1); # Do not Query GM hidden Monster names
if ($monsters{$_}{'name'} =~ /Unknown/) {

Any idea what's wrong? Or is it my server? I'm playing on Malaysia RO Prontera server.. :)
01/08/2010 12:18 acis1#26
Quote:
Originally Posted by kcirned03 View Post
This is how to enable killStealing in openkore 2.0.7

Step 1:download and extract misc.pm then replace the old one in your src folder in openkore 2.0.7..

Step 2:in your config.txt add "killSteal 1"

use on your own risk...

Kindly press THANKS if i help
hi all ...
im newb here.
just want to ask ..

are the KS config is only working on OK 2.0.7 or not ?

i have not try it till now, should i only just replace the MISC.pm in the SRC folder and it's will be work, btw what is misc.pm for, what you min whit use your own risk ?
hope find some answer here..thnks..sory for lot of ask.
01/08/2010 16:19 Aimless Angel#27
just try it out! save a copy from the original and replace it!
and this sentence: use at your own risk, means, this file allows you to killsteal other players! if u do this, other players will report u at the gms because ks is not allowed! and with every report, the chance will increase that you get caught botting from a gm!

greetz Angel
01/10/2010 16:45 Mrviva#28
not working for me. where to put the killsteal 1? anywhere in the config.txt? can anyone specify the exact location? thanks
01/13/2010 06:54 shinikko#29
Quote:
Originally Posted by Mrviva View Post
not working for me. where to put the killsteal 1? anywhere in the config.txt? can anyone specify the exact location? thanks
its

killSteal 1

its case sensitive and put the misc.pm to ur scr>misc.pm
01/14/2010 08:33 Mrviva#30
Quote:
Originally Posted by shinikko View Post
its

killSteal 1

its case sensitive and put the misc.pm to ur scr>misc.pm
Thanks 4 replying shinikko...what i mean is the killSteal 1 put anywhere in the config.txt?

######## Main configuration ########
killSteal 1 <<here? or anywhere can be...

alias_heal sp 28

allowedMaps
allowedMaps_reaction 1

attackAuto 2
attackAuto_party 1