Home Download Forum My Account Store NPC/Item Drop Database

[v10.3.0] Sample PVP script

READ FIRST: L2Divine Forum Rules

[v10.3.0] Sample PVP script

Post by dev on Mon Jan 21, 2013 06:18 AM

Kill all karma player in range 1000 of your current location.

Code: Select all
START:

// Leveling ...
BattleStart()

CHECK_KARMA_PC:
Delay(500)

// Found karma player in range 1000
If (FoundKarmaPlayer(1000))
{
Msg(Console, "Found karma pc")
Jump("DO_PVP")
}

Jump("CHECK_KARMA_PC")

DO_PVP:

// Stop battle
BattleStop()

// Select nearst karma player
SelectKarmaPlayer()

// Our team?
If (Target.IsTeam)
{
Jump("START")
}

While (!Target.IsDead)
{
// Attack with melee
ForceAttackTarget()
Delay(250)
}

Delay(5000)
Jump("START")
Avatar
Developer
 
Posts: 6122
Joined:

RE: [v10.3.0] Sample PVP script

Post by kagetaze on Mon Jun 03, 2013 05:12 PM

zenithmaster wrote:Okay, but can I get the script instead?

It's in the first post.
Avatar
Moderator
 
Posts: 2227
Joined: Sat Jul 04, 2009 08:29 AM

RE: [v10.3.0] Sample PVP script

Post by bincombo01 on Sun Jul 21, 2013 03:27 AM

Command is forced to attack my summoner.
Avatar
Registered User
 
Posts: 32
Joined: Sat Jun 30, 2012 04:03 AM

RE: [v10.3.0] Sample PVP script

Post by shigueru on Wed Aug 28, 2013 03:26 PM

is to make the pets attack?
Avatar
Registered User
 
Posts: 8
Joined: Wed Feb 27, 2013 11:18 AM

RE: [v10.3.0] Sample PVP script

Post by kagetaze on Thu Aug 29, 2013 11:08 PM

shigueru wrote:is to make the pets attack?


What?
Avatar
Moderator
 
Posts: 2227
Joined: Sat Jul 04, 2009 08:29 AM

RE: [v10.3.0] Sample PVP script

Post by drugo on Sat Aug 31, 2013 03:26 PM

the script not work to me, it says NOT FOUND LABEL CHECK / NOT FOUND LABEL START / COMPILE FAILED WITH 2 ERRORS.

i mean with kagetaze script, can explain plz where i'm wrong ?
Avatar
Registered User
 
Posts: 82
Joined: Tue Sep 25, 2012 10:54 AM

RE: [v10.3.0] Sample PVP script

Post by elismar on Sat Jun 06, 2015 08:09 AM

Pyro420 wrote:when you say karma player...does that mean players that are red...or pvp flagged?
Avatar
Registered User
 
Posts: 1
Joined: Sun May 31, 2015 05:42 PM

RE: [v10.3.0] Sample PVP script

Post by BUDULIS1 on Sat Aug 22, 2015 01:56 PM

about karma who will need use script? i make forcé attack to all pt members and only script the PT leader for detect karma and attack?
Avatar
Registered User
 
Posts: 10
Joined: Fri Oct 12, 2012 02:30 AM


Who is online

In total there is 2 user online
Registered users: aaron0986, zoronwings
Legend: , , , Registered User

2006-2018 ☻ L2DIVINE.COM