taultunleashed logoKill stealing with openkore : RO Submissions
newtopic  postreply
 [ 1 post ] 
blue large dot

Kill stealing with openkore : RO Submissions

Posted: March 29th, 2006, 1:42 pm
 
cainsux
cainsux's Reps:
User avatar
Openkore is a free english bot for Ragnarok Online. Refer to http://www.openkore.com/ to download the bot as well as obtaining more info on it.

By default, the bot is unable to KS (kill steal). The steps below are simple procedures to modify the bot to being KS-able.

STEP 1: Go to the folder where Openkore was installed and look for the 'src' folder
STEP 2: Under the 'src' folder there is 'misc.pm' file
STEP 3: Open the 'misc.pm' file using notepad
STEP 4: Search for this line 'checkmonstercleanness' ( tips: use alt f ) and locate the following parameters


##
# checkMonsterCleanness(ID)
# ID: the monster's ID.
#
# Checks whether a monster is "clean" (not being attacked by anyone).
sub checkMonsterCleanness {
return 1 if (!$config{attackAuto});
my $ID = shift;
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;
}

# If we're in follow mode
if (defined(my $followIndex = binFind(\@ai_seq, "follow"))) {
my $following = $ai_seq_args[$followIndex]{following};
my $followID = $ai_seq_args[$followIndex]{ID};

if ($following) {
# And master attacked monster, or the monster attacked/missed master
if ($monster->{dmgToPlayer}{$followID} > 0
|| $monster->{missedToPlayer}{$followID} > 0
|| $monster->{dmgFromPlayer}{$followID} > 0) {
return 1;
}
}
}

# If monster attacked/missed you
return 1 if ($monster->{'dmgToYou'} || $monster->{'missedYou'});

# If monster hasn't been attacked by other players
if (!binSize([keys %{$monster->{'missedFromPlayer'}}])
&& !binSize([keys %{$monster->{'dmgFromPlayer'}}])
&& !binSize([keys %{$monster->{'castOnByPlayer'}}])

# and it hasn't attacked any other player
&& !binSize([keys %{$monster->{'missedToPlayer'}}])
&& !binSize([keys %{$monster->{'dmgToPlayer'}}])
&& !binSize([keys %{$monster->{'castOnToPlayer'}}])
) {
# The monster might be getting lured by another player.
# So we check whether it's walking towards any other player, but only
# if we haven't already attacked the monster.
if ($monster->{'dmgFromYou'} || $monster->{'missedFromYou'}) {
return 1;
} else {
return !objectIsMovingTowardsPlayer($monster);
}
}

# The monster didn't attack you.
# Other players attacked it, or it attacked other players.
if ($monster->{'dmgFromYou'} || $monster->{'missedFromYou'}) {
# If you have already attacked the monster before, then consider it clean
return 1;
}
# If you haven't attacked the monster yet, it's unclean.

return 0;
}



STEP 5: Delete the entire block leaving somthing looking like this

##
# checkMonsterCleanness(ID)
# ID: the monster's ID.
#
# Checks whether a monster is "clean" (not being attacked by anyone).
sub checkMonsterCleanness {
return 1 }


STEP 6: Save the file and start the bot like normal. It's recommended that a copy of the original 'misc.pm' file be kept for backup purposes especially before modification.


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 2 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of RO Submissions RSS Feed 
Sitemap of RO Submissions Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?