kill all player on PK servers

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

Message
Author
ganzaman
Noob
Noob
Posts: 12
Joined: 18 Jun 2014, 20:37
Noob?: No

kill all player on PK servers

#1 Post by ganzaman »

how can i do for my bot kill all players ?? on PK server pls?

i have tried to put on mon_control:
$player 2 0 0
@player 2 0 0

but it dont attack and be passive.... and be killed by others....

Dark Airnel
Been there done that!
Been there done that!
Posts: 133
Joined: 09 Oct 2009, 01:43
Noob?: No

Re: kill all player on PK servers

#2 Post by Dark Airnel »

That's not gonna work. mon_control tells kore which monster to attack / don't attack. You have to create a macro that will trigger when a player is nearby then issue a command to kill it.

ganzaman
Noob
Noob
Posts: 12
Joined: 18 Jun 2014, 20:37
Noob?: No

Re: kill all player on PK servers

#3 Post by ganzaman »

ok thank for reply, but i'm noob with macros, can you teach me this?

ganzaman
Noob
Noob
Posts: 12
Joined: 18 Jun 2014, 20:37
Noob?: No

Re: kill all player on PK servers

#4 Post by ganzaman »

i put this macro, but i dont know how to configure spells...
automacro kill {
exclusive 1
player /(.*)/i
call {
$player = @player ($.lastMatch1)
do kill $player
do sp x $player
}
}
i want it to make :
1 endure
2 magnum break
3 spam the bash

Dark Airnel
Been there done that!
Been there done that!
Posts: 133
Joined: 09 Oct 2009, 01:43
Noob?: No

Re: kill all player on PK servers

#5 Post by Dark Airnel »

Initiating the command to attack player is simple but it's a bit tricky if you would have to use skills. It can be done but it would be lot easier if you configure your attackSkillSlot and useselfskill slot depending on how you want the bot to kill players.

useSelf_skill Endure {
lvl 10
whenStatusInactive Endure
onAction attack
timeout 2
notInMap
disabled 0
}

attackSkillSlot Magnum Break {
lvl 10
dist 1.5
sp >= 50
whenStatusInactive Magnum Break Delay, Sleeping, Petrifying, Frozen, Petrified, Silenced, Oblivioncurse
notInTown 1
timeout 0
disabled 0
}

attackSkillSlot Bash {
lvl 10
dist 1.5
sp >= 50
whenStatusInactive Magnum Break, Sleeping, Petrifying, Frozen, Petrified, Silenced, Oblivioncurse
notInTown 1
timeout 0
disabled 0
}

Post Reply