Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

Moderator: Moderators

Message
Author
rahveel
Noob
Noob
Posts: 4
Joined: 26 Apr 2009, 01:51
Noob?: Yes

Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#1 Post by rahveel »

last edited on december 24th, thursday. fixed some reported errors on lex and hit list macro, and some additions on self defense macro, and added some stupid monster gets by christmas event

attention, these macros are only working if u uses english on ur openkore. the openkore itself do have several languages as some different countries are using them, and usually some players are using the local language they used to. i used a console command in some macros which wouldnt works until u either uses english or adjust them to ur needs, the latter is for openkore macro user, therefore i suggest copypaster to go wif the 1st option.

Q : but i never changes any language settings on openkore, how come it goes by my language?
A : exactly, u cant change the language settings on the openkore, u probably already adjust it on your Regional and Language Settings on ur Control Panel

Q : how am i gonna change it?
A : 1stly go to ur Control Panel, u can always find Control Panel on ur Start button. go to menu Regional and Language Options. below the Format menu scrolls the Current Format and pick English (United States). then below the Administrative also change ur System Locale to English (United States). a successful attempt will make the windows requests a system restart, and then ur done.

Q : what if i cant speak english?
A : then ur done for and i dun giv a crap

lex monster while casting (put on priest)
edited, now available by names with asterisks on example **roplayer**

Code: Select all

automacro atk {
console /Player (.*) \((\d+)\) is casting (.*) on monster (.*) \((\d+)\).*/i
var .lastMatch1 == PutPlayerNameHere
call {
do sm 78 $.lastMatch5
}
}
lex player while casting (put on priest)

Code: Select all

automacro atk2 {
console /Player (.*) \((\d+)\) is casting (.*) on player (.*) \((\d+)\).*/i
var .lastMatch1 == PutPlayerNameHere
call {
do sp 78 $.lastMatch5
do kill $.lastMatch5
}
}
self defense, killing attacker while attacked 1st

Code: Select all

automacro dipukul {
console /Player (.*) \((\d+)\) attacks you.*/i
call {
do kill $.lastMatch2
}
}

automacro dimagic {
console /Player (.*) \((\d+)\) uses (.*) on you - Dmg.*/i
call {
do kill $.lastMatch2
}
}

automacro dicast {
console /Player (.*) \((\d+)\) is casting (.*) on you.*/i
var .lastMatch1 != PutSlaveNameHereRemoveThisLineIfBottingSolo
call {
do kill $.lastMatch2
}
}
hit list, autokill when certain player nearby
using these while having a slave priest in certain pvp server may result in killing your own priest due to some pvp server allows interguild and interparty fight so be careful
in certain state macros wont released by itself due failing on killing other ppl, so we need another macro as a precautious statement just in case

Code: Select all

automacro bunuh {
run-once 1
player "playerA"
call {
release jaga2
do kill $.lastplayer
release bunuh
}
}

automacro bunuh2 {
run-once 1
player "playerB"
call {
release jaga2
do kill $.lastplayer
release bunuh2
}
}

automacro jaga2 {
run-once 1
console /Can't reach or damage target/i
call {
release bunuh
release bunuh2
}
}
another hit list, shorter version yet cant be used against players with asterisks (*) on their name example **roplayer**

Code: Select all

automacro bunuh {
run-once 1
exclusive 1
player /PlayerA|PlayerB|PlayerC/i
call {
do kill $.lastplayer
release bunuh
}
}

automacro jaga2 {
run-once 1
console /Can't reach or damage target/i
call {
release bunuh
}
}
auto kill, my favourite up until recently, kills certain job only (thx mushroom for helping me out on this 1). the example below will do autokill on every monk/champion job nearby, change the if ($job = Champion) goto kill part or add new 1 below those to adding new job example Lord Knight or Hunter

Code: Select all

automacro check-PK {
player /(.*)/
run-once 1
exclusive 1
timeout 5
call {
       $job = none
      do eval foreach my $_player (@{$::playersList->getItems()}) {next unless ($_player->{'binID'} eq "$::Macro::Data::varStack{pl}"); $::Macro::Data::varStack{job} = ($::players{$::playersID[$_player->{binID}]}->job);}
      if ($job = Champion) goto kill
      if ($job = Monk) goto kill
      release check-PK
      stop
      :kill
      do kill $.lastplayer
      release check-PK
      }
}
invalid monsters macro, dced while meets a mob who shouldnt be there, works on anything, even porings and planktons who summoned by dead branch, check the appropriate monsters by checking maps on ratemyserver.net, sample below are ein_fild04 (dont remove the monsters after Wild Rose and after, Wild Rose is almost on each and every town, Wild Gift Box is occasionally appeared in events and the rest are bodyguards name in openkore console)

Code: Select all

automacro gasudi {
run-once 1
notMonster Geographer, Metaling, Mineral, Holden, Giearth, Red Plant, Green Plant, Yellow Plant, Wild Rose, Wild Gift Box, Jakk Xmas, Gobline Xmas, Christmas Orc, Antonio, David, Ellen, Luise, Frank, Ryan, Paolo, Jens, Thierry, Steven, Wayne, Mina, Dorou, Nami, Elfin, Clara, Dali, Karaya, Hiyori, Kero, Sukye, Rodin, Lancer, Nathan, Roan, Orizaro, Thyla, Ben, Pinaka, Kuhlmann, Roux
call {
do relog 1500
release gasudi
}
}
buffing guild members w/ increase agi, blessing and impositio, triggered by using guild chat, set the command b4 using, will ignore other members who asked when busy buffing. adjust pause with ur priests dex and delay

Code: Select all

automacro agiblesimpo {
run-once 1
guild "agiblesimpo"
call {
do sp 29 $.lastguild 10
pause 3
do sp 34 $.lastguild 10
pause 3
do sp 66 $.lastguild 5
release agiblesimpo
}
}
separate assumptio and gloria buff (gloria is limited on party only)

Code: Select all

automacro asum {
guild "asum"
call {
do sp 361 $.lastguild 5
}
}

automacro glor {
pubm "glor"
status not Gloria
call {
do ss 75
}
}
on location warp command, 1st use /where command on ragnarok, then pick 1 spot nearby your warper, about 9 cells max. then type ur command on this order "warp 0/1/2/3 koordinat xxx yyy"

the 0/1/2/3 is refers to warp slots ur warper got
xxx refer to x axis coordinate
yyy refer to y axis coordinate

example a priest got payon as save point, 1st memo on lhz_fild01, 2nd memo on mosk_fild02, 3rd memo on ve_fild07 your stepping point is 100, 200 intend to opens warp portal on 105, 200

to payon : warp 0 koordinat 105 200
to moskovia dungeon entrance : warp 2 koordinat 105 200

macro below also set as guild members command

Code: Select all

automacro warp {
run-once 1
inventory "Blue Gemstone" > 0
guild /warp (.*) koordinat (.*)/i
call {
do sl 27 $.lastMatch2
pause 2
do warp $.lastMatch1
release warp
}
}
requested by Irlie :
a nice addition to the on location warp macro, this 1 allows u 2 quickly warps back whenever u died on some maps that are hard to reach by foot example mosk_dun01 and hu_fild04, whenever u died it will refill their hp/sp by clicking on the rest npc, gives out command to warper char and move itself wherever the warper cast their portal. i giv a little timeout just for precautious, please adjust pause timing according to ur connection, oh and also i uses relog to to remove the errors usually caused when bots talking to npc and removed somewhere within the same map. dont forget to put appropriate warp number on ur warp request macro, the example below uses the warp 3 (4th warp slot on manual portals)

requirements :
warper and training bot are on 1 guild
warper must uses the on location warp macro
warper got enough blue gemstone
warper should put at payon_in01 132 10 and shouldnt wanders around (get route_randomwalk 0 and follow 0 and no lockmap in you config), if u dont know the place its the room below the payon pvp npc room
training bot must save position on payon inn npc, inside the payon pvp npc room

suggestion :
warper isnt necessary to be priest, even super novices or lv 20 acolyte got enough sp to opens warp portal, u can use ur priests for better uses

tips :
if u intends to use ur priest as a follow bot and also as a warper, put the on location warp macro on your priest and also the refill hp sp macro (the habismati macro) but dont put the other 2, this way if they both died and back on save position the priest will warps back and automatically follow the master when it goes inside the portal. note that priest also need to save position on payon inn, and this will only happens if both of them died

if u using priest following ur bot and also got a warper standby, dont forget to also put the macros on the priest char besides the save position on payon inn

Code: Select all

automacro habismati {
run-once 1
location payon_in01
hp < 100%
timeout 30
call {
do move 132 57
lock huntlagi
pause 5
do talknpc 132 62 r1 e
pause 5
do relog
release huntlagi
release habismati
}
}

automacro huntlagi {
location payon_in01
hp == 100%
player "PutWarperNameHere"
timeout 30
call {
do g warp 3 koordinat 132 9
release huntlagi
}
}

automacro masukportal {
run-once 1
location payon_in01
console /Player (.*) \((\d+)\) opened Warp Portal on (.*).*/i
var .lastMatch1 == PutWarperNameHere
call {
do move 132 9
pause 5
release masukportal
}
}
requested by Terry :
warps back to ur training ground whenever ur char goes someplace it didnt suppose to be, well just dont forget to bring appropriate numbers of blue gemstone and periodically checks on ur bot inventory. good against intentional warps casted by envious players who dislikes ur bot. dont forget to add all maps necessary, example if ur training at Greatest General map, saves position on Payon, there will be at least 3 extra maps u need to add as path (Spore, Smokie and Elder Willow map) therefore ur trigger will looks like this

Code: Select all

location not pay_fild10, payon, pay_fild08, pay_fild07, pay_fild09
macro below will sent u back to ur save position, edit the do warp line if u memo ur training ground

Code: Select all

automacro kesasar {
run-once 1
location not PutTrainingMapHere, PutKafraMapHere, PutAdditionalMapPathHere
timeout 60
call {
do g gawat saya di $.map koordinat $.pos
release kesasar
}
}

automacro warpbalik {
run-once 1
inventory "Blue Gemstone" > 0
guild /gawat saya di (.*) koordinat (.*) (.*)/i
call {
do sl 27 @eval ($.lastMatch2 + 3) $.lastMatch3
pause 2
do warp 0
pause 5
do move @eval ($.lastMatch2 + 3) $.lastMatch3
release warpbalik
}
}
Last edited by rahveel on 24 Dec 2009, 00:50, edited 6 times in total.

rahveel
Noob
Noob
Posts: 4
Joined: 26 Apr 2009, 01:51
Noob?: Yes

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#2 Post by rahveel »

extras : gift box & old blue box bot

this is somehow out of topic, i hope it could be tolerated since im doing this for good, this way my friends will only need to bookmark 1 page for their needs. pls remove this or move to another section if this was a violation.

copy this in ur config

Code: Select all

# Please Read the Users Manual
# The Manual is located at http://openkore.sourceforge.net/manual/

######## Login options and server-specific options ########

master Indonesia - idRO: Thor
server 1
username
password
pin
char 0
sex

bindIp
# For an overview of all servertypes please go to the following URL:
# http://www.openkore.com/wiki/index.php/ServerType#English
serverType 21

# 1 = hook into RO client, 2 = Act as stand-alone proxy, proxy = act as true proxy
XKore 0
XKore_silent 1
XKore_bypassBotDetection 0
XKore_exeName ragexe.exe

# XKore 2 / Proxy configuration
XKore_ID
XKore_listenIp 127.0.0.1
XKore_listenPort 6901
XKore_publicIp 127.0.0.1
XKore_proxyAllowed_IP

# It is not advised to set secureAdminPassword if you're using Xkore 2
secureAdminPassword 1
adminPassword vanatwes
callSign
commandPrefix ;

pauseMapServer 0
ignoreInvalidLogin 0
secureLogin_requestCode

message_length_max 80

######## Main configuration ########

alias_heal sp 28

allowedMaps
allowedMaps_reaction 1

attackAuto 0
attackAuto_party 0
attackAuto_onlyWhenSafe 0
attackAuto_followTarget 1
attackAuto_inLockOnly 1
attackDistance 1
attackDistanceAuto 1
attackMaxDistance 1
attackMaxRouteDistance 100
attackMaxRouteTime 4
attackMinPlayerDistance 2
attackMinPortalDistance 4
attackUseWeapon 1
attackNoGiveup 0
attackCanSnipe 0
attackCheckLOS 0
attackLooters 2
attackChangeTarget 1
aggressiveAntiKS 0

autoMoveOnDeath 0
autoMoveOnDeath_x
autoMoveOnDeath_y
autoMoveOnDeath_map

autoBreakTime {
	startTime
	stopTime
}

autoConfChange {
	minTime
	varTime
	lvl
	joblvl
}

autoMakeArrows 0

autoRestart 0

autoRestartMin 10800
autoRestartSeed 3600

autoRestartSleep 0
autoSleepMin 900
autoSleepSeed 900

autoResponse 0

autoSpell

avoidGM_near 0
avoidGM_near_inTown 0
avoidGM_talk 0
avoidGM_reconnect 1800
avoidGM_ignoreList

avoidList 0
avoidList_inLockOnly 1
avoidList_reconnect 30

cachePlayerNames 1
cachePlayerNames_duration 900
cachePlayerNames_maxSize 100

clientSight 20

itemsTakeAuto 2
itemsTakeAuto_party 1
itemsGatherAuto 2
itemsMaxWeight 75
itemsMaxWeight_sellOrStore 75
itemsMaxNum_sellOrStore 99
cartMaxWeight 7900

lockMap
lockMap_x
lockMap_y
lockMap_randX
lockMap_randY

route_escape_unknownMap 1
route_escape_reachedNoPortal 1
route_escape_randomWalk 0
route_escape_shout
route_randomWalk 0
route_randomWalk_inTown 0
route_randomWalk_maxRouteTime 75
route_maxWarpFee
route_maxNpcTries 5
route_teleport 0
route_teleport_minDistance 150
route_teleport_maxTries 8
route_teleport_notInMaps
route_step 15

runFromTarget 0
runFromTarget_dist 6

saveMap
saveMap_warpToBuyOrSell 1
saveMap_warpChatCommand

shopAuto_open 0
shop_random 0

sitAuto_hp_lower
sitAuto_hp_upper
sitAuto_sp_lower
sitAuto_sp_upper
sitAuto_over_50 0
sitAuto_idle 0

statsAddAuto 0
statsAddAuto_list
statsAddAuto_dontUseBonus 0
statsAdd_over_99 0

skillsAddAuto 0
skillsAddAuto_list

tankMode 0
tankModeTarget

dealAuto 1
dealAuto_names
partyAuto 2
partyAutoShare 1
guildAutoDeny 1

verbose 1
showDomain 0
squelchDomains
verboseDomains
beepDomains
beepDomains_notInTown

logChat 0
logPrivateChat 1
logPartyChat 1
logGuildChat 1
logSystemChat 1
logEmoticons
logConsole 0
logAppendUsername 1

chatTitleOversize 0
shopTitleOversize 0

sleepTime 10000
intervalMapDrt 1

ignoreAll 1
itemHistory 0
autoTalkCont 1
noAutoSkill 0
portalRecord 2
missDamage 0

tankersList

removeActorWithDistance

useSelf_item Gift Box, Old Blue Box, Red Envelope {
	hp < 100000
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout 0
	disabled 0
	inInventory
	manualAI 0
}

######## Autostorage/autosell ########

sellAuto 1
sellAuto_npc payon 159 96
sellAuto_standpoint
sellAuto_distance 5

storageAuto 1
storageAuto_npc payon 181 104
storageAuto_distance 5
storageAuto_npc_type 3
storageAuto_npc_steps c r1 n
storageAuto_password
storageAuto_keepOpen 0
storageAuto_useChatCommand
relogAfterStorage 0

getAuto Gift Box {
	minAmount 1
	maxAmount 100
	passive
}

######## Debugging options; only useful for developers ########

debug 0
debugPacket_unparsed 0
debugPacket_received 0
debugPacket_ro_sent 0
debugPacket_sent 0
debugPacket_exclude
debugPacket_include
debugPacket_include_dumpMethod
debugDomains
storageEncryptKey 0x050B6F79, 0x0202C179, 0x00E20120, 0x04FA43E3, 0x0179B6C8, 0x05973DF2, 0x007D8D6B, 0x08CB9ED9
gameGuard 1
serverEncoding Western
m
macro_orphans terminate
#<syntax> <distance>
#This is compulsary and will trigger only if $actorDist <= maxPlayerDist
maxPlayerDist 10
and this is for the items_control

Code: Select all

all 0 0 1
Gift Box 1 0 0
Old Blue Box 0 1 0
Old Purple Box 0 1 0
Gold 0 1 0
Heroic Emblem 0 1 0
Alcohol 0 1 0
Karvodailnirol 0 1 0
Oridecon 0 1 0
Elunium 0 1 0
Osiris Doll 0 1 0
Yoyo Doll 0 1 0
Fang of Hatii 0 1 0
Rough Oridecon 0 1 0
Rough Elunium 0 1 0
Steel 0 1 0
Emperium 0 1 0
Haedonggum [2] 0 1 0
Saber [3] 0 1 0
Two-handed Sword [2] 0 1 0
Gladius [3] 0 1 0
Damascus [2] 0 1 0
Katar of Frozen Icicle 0 1 0
Katar of Quaking 0 1 0
Katar of Raging Blaze 0 1 0
Katar of Piercing Wind 0 1 0
Orcish Axe 0 1 0
Soul Staff 0 1 0
Chain [3] 0 1 0
Mighty Staff 0 1 0
Evil Bone Wand 0 1 0
Arbalest [2] 0 1 0
Gakkung Bow [2] 0 1 0
Guard [1] 0 1 0
Buckler [1] 0 1 0
Shield [1] 0 1 0
Mirror Shield [1] 0 1 0
Memory Book 0 1 0
Bunny Band 0 1 0
Helm [1] 0 1 0
Sweet Gent 0 1 0
Romantic Gent 0 1 0
Golden Gear 0 1 0
Western Grace 0 1 0
Coronet 0 1 0
Monk Hat 0 1 0
Wizard Hat 0 1 0
Angel Wing 0 1 0
Evil Wing 0 1 0
Iron Cain 0 1 0
Spiky Band 0 1 0
Cigarette 0 1 0
Pipe 0 1 0
Romantic Flower 0 1 0
Romantic Leaf 0 1 0
Ghost Bandana 0 1 0
Apple of Archer 0 1 0
Pirate Bandana 0 1 0
Blinker 0 1 0
Orc Helm 0 1 0
Mink Coat [1] 0 1 0
Full Plate [1] 0 1 0
Lord's Clothes [1] 0 1 0
Silk Robe [1] 0 1 0
Tights [1] 0 1 0
Ninja Suit 0 1 0
Pantie 0 1 0
Legion Plate Armor [1] 0 1 0
Crystal Pumps 0 1 0
High Heels 0 1 0
Boots [1] 0 1 0
Shoes [1] 0 1 0
Muffler [1] 0 1 0
Manteau [1] 0 1 0
Ancient Cape 0 1 0
Ragamuffin Manteau 0 1 0
Greaves [1] 0 1 0
Ring [1] 0 1 0
Earring [1] 0 1 0
Necklace [1] 0 1 0
Glove [1] 0 1 0
Brooch [1] 0 1 0
Rosary [1] 0 1 0
Clip [1] 0 1 0
Jewel Crown 0 1 0
Joker Jester 0 1 0
Fin Helm 0 1 0
Goblin Leader Mask 0 1 0
Panda Hat 0 1 0
Poring Hat 0 1 0
Small Ribbons 0 1 0
Ring 0 1 0
Earring 0 1 0
Necklace 0 1 0
Glove 0 1 0
Brooch 0 1 0
Red Envelope 0 1 0
Golden Bell 0 1 0
Queen's Hair Ornament 0 1 0
this will works once ur character bring at least 2 or more gift box (lets just bring 100 just to be safe) that way whenever it lacks of those it will continue doing autostorage, selling the craps until ur running out of gift boxes. the items control however, it contains important stuff on gift box AND old blue box, so u can uses the same config, simply change the getAuto on config into old blue box

i adjust the items control only on my needs, so if u feel like needing extra items such as Witherless Rose, u might need to ad extras on ur own
Last edited by rahveel on 13 Aug 2009, 02:26, edited 2 times in total.

kamirie
Plain Yogurt
Plain Yogurt
Posts: 96
Joined: 22 Jul 2009, 23:19
Noob?: Yes

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#3 Post by kamirie »

Hello Sir,
Using the self defense macro' can i specify a skill to use? I'm Botting using a high wiz , is it possible that the bot will cast Jupitel Thunder on
those who will be aggressive to it (players) ?

rahveel
Noob
Noob
Posts: 4
Joined: 26 Apr 2009, 01:51
Noob?: Yes

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#4 Post by rahveel »

kamirie wrote:Hello Sir,
Using the self defense macro' can i specify a skill to use? I'm Botting using a high wiz , is it possible that the bot will cast Jupitel Thunder on
those who will be aggressive to it (players) ?
of course, well its not that hard actually, u dont even need macros to do that. just add Jupitel Thunder on ur config, ur bot will kills player according to skills ur using to kill monsters, if u just want to use those skills on players only, add ur surrounding monster names on notMonsters so it will attacks only player with certain skills, heres an example

Code: Select all

attackSkillSlot Fire Bolt {
	lvl 10
	dist 9
	maxCastTime 0
	minCastTime 0
	hp
	sp > 30
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	previousDamage
	stopWhenHit 0
	inLockOnly 0
	notInTown 0
	timeout 0
	disabled 0
	monsters
	notMonsters Les, Wood Goblin, Poporing, Mantis
	maxAttempts 0
	maxUses 100
	target_whenStatusActive
	target_whenStatusInactive
	target_deltaHp
	inInventory
	isSelfSkill 0
	equip_topHead
	equip_midHead
	equip_lowHead
	equip_leftHand
	equip_rightHand
	equip_leftAccessory
	equip_rightAccessory
	equip_robe
	equip_armor
	equip_shoes
	equip_arrow
	manualAI 0
}

attackSkillSlot Fire Bolt {
	lvl 5
	dist 9
	maxCastTime 0
	minCastTime 0
	hp
	sp > 30
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	previousDamage
	stopWhenHit 0
	inLockOnly 0
	notInTown 0
	timeout 0
	disabled 0
	monsters
	notMonsters
	maxAttempts 0
	maxUses 100
	target_whenStatusActive
	target_whenStatusInactive
	target_deltaHp
	inInventory
	isSelfSkill 0
	equip_topHead
	equip_midHead
	equip_lowHead
	equip_leftHand
	equip_rightHand
	equip_leftAccessory
	equip_rightAccessory
	equip_robe
	equip_armor
	equip_shoes
	equip_arrow
	manualAI 0
}
this way when i botting on mosk_dun01, i only uses lvl 5 firebolt to all enemies around me, and going to uses lvl 10 firebolt when some player attacks me. notice that u also need to put the priority firebolt on the first skill slot, or else u will try attacking player wif lvl 5 firebolts 1st according to ur maxuses after that then u uses lvl 10

kamirie
Plain Yogurt
Plain Yogurt
Posts: 96
Joined: 22 Jul 2009, 23:19
Noob?: Yes

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#5 Post by kamirie »

rahveel wrote:
kamirie wrote:Hello Sir,
Using the self defense macro' can i specify a skill to use? I'm Botting using a high wiz , is it possible that the bot will cast Jupitel Thunder on
those who will be aggressive to it (players) ?
of course, well its not that hard actually, u dont even need macros to do that. just add Jupitel Thunder on ur config, ur bot will kills player according to skills ur using to kill monsters, if u just want to use those skills on players only, add ur surrounding monster names on notMonsters so it will attacks only player with certain skills, heres an example

Code: Select all

attackSkillSlot Fire Bolt {
	lvl 10
	dist 9
	maxCastTime 0
	minCastTime 0
	hp
	sp > 30
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	previousDamage
	stopWhenHit 0
	inLockOnly 0
	notInTown 0
	timeout 0
	disabled 0
	monsters
	notMonsters Les, Wood Goblin, Poporing, Mantis
	maxAttempts 0
	maxUses 100
	target_whenStatusActive
	target_whenStatusInactive
	target_deltaHp
	inInventory
	isSelfSkill 0
	equip_topHead
	equip_midHead
	equip_lowHead
	equip_leftHand
	equip_rightHand
	equip_leftAccessory
	equip_rightAccessory
	equip_robe
	equip_armor
	equip_shoes
	equip_arrow
	manualAI 0
}

attackSkillSlot Fire Bolt {
	lvl 5
	dist 9
	maxCastTime 0
	minCastTime 0
	hp
	sp > 30
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	previousDamage
	stopWhenHit 0
	inLockOnly 0
	notInTown 0
	timeout 0
	disabled 0
	monsters
	notMonsters
	maxAttempts 0
	maxUses 100
	target_whenStatusActive
	target_whenStatusInactive
	target_deltaHp
	inInventory
	isSelfSkill 0
	equip_topHead
	equip_midHead
	equip_lowHead
	equip_leftHand
	equip_rightHand
	equip_leftAccessory
	equip_rightAccessory
	equip_robe
	equip_armor
	equip_shoes
	equip_arrow
	manualAI 0
}
this way when i botting on mosk_dun01, i only uses lvl 5 firebolt to all enemies around me, and going to uses lvl 10 firebolt when some player attacks me. notice that u also need to put the priority firebolt on the first skill slot, or else u will try attacking player wif lvl 5 firebolts 1st according to ur maxuses after that then u uses lvl 10

Sir i tried puting JT on my config first block of the attack skill but it wont attack any player it will just walk continue and killing monsters. .do i have to set something on openkore config other than the skills? thank you

kaikai
Noob
Noob
Posts: 6
Joined: 07 Apr 2009, 08:14
Noob?: Yes

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#6 Post by kaikai »

Sir i tried puting JT on my config first block of the attack skill but it wont attack any player it will just walk continue and killing monsters. .do i have to set something on openkore config other than the skills? thank you[/quote]


@kamarie
you really deserve a brain so get a brain 1st
2nd know how to read (not just read it, you utterly need to understand it)
3rd use the search button
(read the manual :arrow: http://hakore.bot.nu/openkore/manual/).

lawrencez
Noob
Noob
Posts: 1
Joined: 22 Apr 2010, 10:54
Noob?: No

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#7 Post by lawrencez »

Self Defense? Speaking of self defense, always vary a weapon being used. Any weapon for self defense?

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#8 Post by Mushroom »

attackSkillSlot doesn't support attacking players.
Quit.

jolashane
Noob
Noob
Posts: 3
Joined: 14 Sep 2010, 21:08
Noob?: Yes

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#9 Post by jolashane »

automacro check-PK {
player /(.*)/
run-once 1
exclusive 1
timeout 5
call {
$job = none
do eval foreach my $_player (@{$::playersList->getItems()}) {next unless ($_player->{'binID'} eq "$::Macro::Data::varStack{pl}"); $::Macro::Data::varStack{job} = ($::players{$::playersID[$_player->{binID}]}->job);}
if ($job = Champion) goto kill
if ($job = Monk) goto kill
release check-PK
stop
:kill
do kill $.lastplayer
release check-PK
}
}

why my bot is always saying automacro check-PK triggered but it wont attack the character or job i put? i tried the autoself defense and it works 100% for me only this one kindly someone tell me what might be the problem?

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: Lex Aeterna, Self Defense, Hit List, Auto Kill (PVP Server)

#10 Post by Mushroom »

As long as there are players around your bot the macro will keep triggering and checking in 5 seconds.
You better find other methods to make the automacro trigger.
Quit.

Post Reply