Pages

Jumat, 07 Mei 2010

Auto Distance Buff

Biar Paket Automatic bisa koq dari config gini caranya, cari file CoreLogic.pm di folder openkore >> src >> AI.

search aja bagian yg kaya gni..
sub processPartySkillUse

Terus di apus bagian yg ini..
next if ((!$char->{party} || !$char->{party}{users}{$ID}) && (!$char->{homunculus} || $char->{homunculus}{ID} ne $ID) && !$config{"partySkill_$i"."_notPartyOnly"});
next if ($char->{party}{users}{$ID}->{name} ne $playersList->getByID($ID)->name);


Kan kadang klo dari jauh lgsg dipaket nah buat ngaturnya bisa dari situ juga, default distance-nya di ubah..
Cari bagian yg keq gni..
if (inRange(distance($char->{pos_to}, $players{$ID}{pos}), $config{partySkillDistance} || "1..8")
jadi
if (inRange(distance($char->{pos_to}, $players{$ID}{pos}), $config{partySkillDistance} || "1..5")
1..5 tuh artinya jarak 1 s/d 5 kotak..

jangan lupa di config dibagian partySkill yah..
dtambahin notpartyOnly 1
terus juga kalo mau targetnya ke guild bisa dtambahin lagi target_isGuild [nama guild]

contohnya keq gni..
partySkill Assumptio {
lvl 10
maxCastTime 0
minCastTime 0
hp
sp > 10
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout 60
disabled 0
manualAI 0
target_isGuild Light Shiny Shine
notPartyOnly 1
target_hp
target_isJob
target_isNotJob
target_whenStatusActive
target_whenStatusInactive Assumptio
target_aggressives
target_monsters
target_timeout 60
target_deltaHp
target_dead 0
inInventory
isSelfSkill 0
}

kalo buat Spirit contohnya ntar di config jadi kaya gni..
partySkill Monk {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Monk, Champion
notPartyOnly 1
target_timeout 30
}

partySkill Sage {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Sage, Professor
notPartyOnly 1
target_timeout 30
}

partySkill Crusader {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Crusader, Paladin
notPartyOnly 1
target_timeout 30
}

partySkill Wizard {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Wizard, High Wizard
notPartyOnly 1
target_timeout 30
}

partySkill Priest {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Priest, High Priest
notPartyOnly 1
target_timeout 25
}

partySkill Rogue {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Rogue, Stalker
notPartyOnly 1
target_timeout 30
}

partySkill Assassin {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Assassin, Assassin Cross
notPartyOnly 1
target_timeout 30
}

partySkill Blacksmith {
lvl 10
hp
sp > 10
timeout 30
target_isGuild Light Shiny Shine
target_isJob Blacksmith, Whitesmith
notPartyOnly 1
target_timeout 30
}

Syarat spirit, Sleeptime jgn diganti ganti, normal aja 10000,kalo diganti efeknya dia mengompress command yg g berguna, ntar sbagian command di config ada yg g dijalanin..

Kamis, 06 Mei 2010

Bot Check Zeus Low Rate

#################### ZEUS LOW RATE RO ############################

automacro botcheck {
console /Unknown (.*): (.*)ditambah (.*) sama dengan/
run-once 1
call {
$number1 = $.lastMatch2
$number2 = $.lastMatch3
$hasil = @eval ($number1 + $number2)

do talk num $hasil

do reload macro
}
}

automacro botcheck2 {
console /Unknown (.*): (.*)dikurang (.*) sama dengan/
run-once 1
call {
$number1 = $.lastMatch2
$number2 = $.lastMatch3
$hasil = @eval ($number1 - $number2)

do talk num $hasil

do reload macro
}
}
##############################################################