Jump to content
  • 0

[Help]Pws vazw reward otan pernoun PvP?


larroukos
 Share

Question

4 answers to this question

Recommended Posts

  • 0

man kserw egw koita an ksereis na pernas java code einai paneukolo na kaneis

add items sta pvp 8a sou diksw ena site

http://www.maxcheaters.com/forum/index.php?topic=162331.0

edw einai!!kali tuxi!!

Link to comment
Share on other sites

  • 0

man kserw egw koita an ksereis na pernas java code einai paneukolo na kaneis

add items sta pvp 8a sou diksw ena site

http://www.maxcheaters.com/forum/index.php?topic=162331.0

edw einai!!kali tuxi!!

 

euxaristw para polu!

Link to comment
Share on other sites

  • 0

Kalisepra file m.H Gnwmh m einai na mn valeis pvp reward dioti 8a arxisoun na farmaroun oloi...8a pigenoun se ena apomakri meros k dwse!... ec dn boreis na eisai 24/24 on... Twra an to 8es polu mono an exeis epilogue(periexei antifarm pvp system) s prwteinw na knc auto to pragma to opoio einai ligo kalutero...na valeis dld na dinei reward apo pvp mono se ena sugkekrimeno meros...dld na knc ena diko s pvp zone p.x thn gludin...kai otan kapios 8a xwnei ton allon sthn gludin kai mono 8a pernei 1 item...auto 8a to katafereis akolou8ontas ta e3hs vimata:

 

Pigeneis  gameserver.model.actor.instance.L2PcInstance.java

sth grammh 4538 8a deis kati tetoio:

// Add karma to attacker and increase its PK counter
       setPvpKills(getPvpKills() + 1);

 

meta akrivws apo auto 8a valeis auto:

// pvp reward
	if (isInsideZone(ZONE_PVP))
	{
		addItem("Loot",  x, y, this, true);
		sendMessage("You won 1 lifestone for a pvp kill!");
	}
            

 

kai 8a prepei na moiazei kapws etc :

// Add karma to attacker and increase its PK counter
		setPvpKills(getPvpKills() + 1);		
	// pvp reward
	if (isInsideZone(ZONE_PVP))
	{
		addItem("Loot", x, y, this, true);
		sendMessage("You won 1 lifestone for a pvp kill!");
	}
               // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
	sendPacket(new UserInfo(this));

p.s addItem("Loot", To id tou item: x, Posa items na pernei apo 1 pvp: y, this, true);

if (isInsideZone(ZONE_PVP edw vazeis thn sugkekrimenh zone p enas pexths 8a pernei pvp reward))

 

boreis na valeis tis parakatw zones:

 

ZONE_PVP -> arena

ZONE_PEACE -> Town

ZONE_SWAMP -> swamp zone

ZONE_NOLANDING ->no landing zone like toi for example

ZONE_MOTHERTREE ->elven village mothertree zone

ZONE_JAIL -> Jail zone

ZONE_FORT -> fortress zone

ZONE_MONSTERTRACK -> derby track zone

 

credits:Intrepid [ftp=ftp://http://www.maxcheaters.com/forum/index.php?topic=48159.0]http://www.maxcheaters.com/forum/index.php?topic=48159.0[/ftp]

 

Kai gia na alla3eis to eidos tou merous p 8eleis me ena apo ta parapanw pas:

gamserver\data\zones

anoigeis to arxeio me pad kai as poume pws 8eleis na alla3eis thn gludin apo poli se pvp zone gia na dinei reward:

 

<zone id="11025" type="Town" shape="NPoly" minZ="-3300" maxZ="-3000"> <!-- Gludin Village -->

<stat name="townId" val="5" />

<stat name="taxById" val="1" />

<spawn X="-83520" Y="150560" Z="-3000" />

<spawn X="-82464" Y="150848" Z="-3000" />

<spawn X="-84064" Y="150864" Z="-3000" />

<spawn X="-83408" Y="151376" Z="-3000" />

<spawn X="-82195" Y="150489" Z="-3000" />

<spawn X="-81787" Y="150780" Z="-3000" />

<spawn X="-81721" Y="151202" Z="-3000" />

<spawn X="-82241" Y="151163" Z="-3000" />

<spawn X="-82575" Y="151025" Z="-3000" />

<spawn X="-82909" Y="150357" Z="-3000" />

<spawn X="-83584" Y="150512" Z="-3000" />

<spawn X="-83529" Y="151205" Z="-3000" />

<spawn X="-82035" Y="152647" Z="-3000" />

<spawn X="-80053" Y="154348" Z="-3000" />

<spawn X="-81616" Y="157104" Z="-3150" isChaotic="true" />

<spawn X="-80688" Y="157216" Z="-3150" isChaotic="true" />

<spawn X="-79568" Y="156960" Z="-3150" isChaotic="true" />

<spawn X="-78800" Y="157744" Z="-3150" isChaotic="true" />

<spawn X="-80448" Y="157968" Z="-3130" isChaotic="true" />

<spawn X="-81712" Y="159536" Z="-3230" isChaotic="true" />

<spawn X="-79744" Y="160592" Z="-3330" isChaotic="true" />

<spawn X="-79584" Y="159408" Z="-3180" isChaotic="true" />

<spawn X="-74016" Y="150656" Z="-2800" isChaotic="true" />

<spawn X="-72720" Y="149632" Z="-2780" isChaotic="true" />

<spawn X="-75904" Y="162000" Z="-3300" isChaotic="true" />

<spawn X="-75488" Y="161472" Z="-3250" isChaotic="true" />

<spawn X="-74688" Y="160736" Z="-3200" isChaotic="true" />

<spawn X="-74352" Y="161488" Z="-3250" isChaotic="true" />

<spawn X="-76656" Y="160768" Z="-3280" isChaotic="true" />

<spawn X="-77472" Y="160960" Z="-3470" isChaotic="true" />

<spawn X="-77776" Y="158752" Z="-3270" isChaotic="true" />

<spawn X="-80448" Y="161488" Z="-3420" isChaotic="true" />

<spawn X="-75440" Y="162672" Z="-3350" isChaotic="true" />

<spawn X="-81760" Y="161248" Z="-3200" isChaotic="true" />

</zone>

 

apla allazeis to TOWN se ena apo ta parakatw:

 

arena

Town

swampzone

nolandingzone

mothertreezone

Jailzone

fortzone

derbytrackzone

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...