Jump to content

Se .xml Pleon Ta Npc Kai Oxi Npc.sql? Apo High Five Kai Meta.?


Recommended Posts

Kalispera pedia ekana compile prin 2 meres enan l2j High five p5 server olla kala ws edw meta diapistosa oti den uparxei table NPC.sql

stin database to eyaxa ligo kai diavasa stin selida tou l2j oti exoun alaxei location sta npc kai vriskonte sto

server/gameserver/data/stats/npcs/.xml

kai einai apothikeumena pleon se .xml twra ti fasi? to exete checkarei diladi einai ligo periergo pws tha kanoume create ena new npc nmz i mpwrei kioxi gia kapion pio proxorimeno egw entaxy eimai newbie :P anyway...peite tin gnwmi sas kai genikos ean to gnwrizate...

(ean kapios exei kana url svn na kanw compile kanena pio pallio project High Five panta pou na exei NPC.sql grafte to mou) :\

Link to comment
Share on other sites

  • 4 months later...

Kalispera pedia ekana compile prin 2 meres enan l2j High five p5 server olla kala ws edw meta diapistosa oti den uparxei table NPC.sql

stin database to eyaxa ligo kai diavasa stin selida tou l2j oti exoun alaxei location sta npc kai vriskonte sto

server/gameserver/data/stats/npcs/.xml

kai einai apothikeumena pleon se .xml twra ti fasi? to exete checkarei diladi einai ligo periergo pws tha kanoume create ena new npc nmz i mpwrei kioxi gia kapion pio proxorimeno egw entaxy eimai newbie :P anyway...peite tin gnwmi sas kai genikos ean to gnwrizate...

(ean kapios exei kana url svn na kanw compile kanena pio pallio project High Five panta pou na exei NPC.sql grafte to mou) :\

File an vreis i an vrikes pos ginete pes mou kai mena gt kai ego ekei kolisa :P

Link to comment
Share on other sites

  • 4 weeks later...

Φιλε απλως αντι να δημιουργεις NPC μεσο τις SQL δημιουργεις μεσο τις XML  που επιση και αυτη θεωρειται μια βαση δεδομένων .

Το να δημιουργησεις δεν ειναι κατι δυσκολο αν μπεις στον φακελο Custom που εχει εκει μεσα και ανοιξεις το custom.xml θα σου ανοιξει ενα τετοιο περιπου αρχειο.

<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/npcs.xsd">
	<npc id="50007" displayId="31324" name="Andromeda" usingServerSideName="true" title="Wedding Manager" usingServerSideTitle="true" type="L2Npc">
		<collision>
			<radius normal="8" />
			<height normal="23" />
		</collision>
	</npc>
	<npc id="70010" displayId="31606" name="Catrina" usingServerSideName="true" title="TvT Event Manager" usingServerSideTitle="true" type="L2Npc">
		<collision>
			<radius normal="8" />
			<height normal="15" />
		</collision>
	</npc>
	<npc id="900100" displayId="20432" level="1" name="Elpy" type="L2EventMonster">
		<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
			<vitals hp="40" hpRegen="3" mp="36" mpRegen="1" />
			<attack physical="8" magical="7" />
			<defence physical="25" magical="40" />
		</stats>
		<status undying="false" />
		<collision>
			<radius normal="5" />
			<height normal="4.5" />
		</collision>
	</npc>
	<npc id="900101" displayId="32365" name="Snowden" usingServerSideName="true" title="Event Manager">
		<collision>
			<radius normal="5" />
			<height normal="12.5" />
		</collision>
	</npc>
	<npc id="900102" displayId="13098" level="80" name="Event Treasure Chest" type="L2Monster">
		<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
			<vitals hp="2880" mp="1524" />
			<defence physical="1499" magical="1035.28" />
		</stats>
		<collision>
			<radius normal="8.5" />
			<height normal="8.5" />
		</collision>
	</npc>
	<npc id="900103" displayId="32365" name="Start" usingServerSideName="true" title="Event Manager">
		<collision>
			<radius normal="5" />
			<height normal="12.5" />
		</collision>
	</npc>
	<npc id="900104" displayId="32365" name="Finish" usingServerSideName="true" title="Event Manager">
		<collision>
			<radius normal="5" />
			<height normal="12.5" />
		</collision>
	</npc>
	<npc id="1000003" displayId="32226" name="Shiela" usingServerSideName="true" title=" " usingServerSideTitle="true" type="L2NpcBuffer">
		<collision>
			<radius normal="11" />
			<height normal="22.25" />
		</collision>
	</npc>
</list>

Αν θες να φτιαξεις ενα καινουριο ενα NPC . Σου κανω ενα παραδειγμα στα γρηγορα

<npc id="1000004" displayId="32227" name="Shiela" usingServerSideName="true" title="L2 Java" usingServerSideTitle="true" type="L2NpcBuffer">
		<collision>
			<radius normal="11" />
			<height normal="22.25" />
		</collision>
</npc>

Εφτιαξα ενα καινουριο με ιδια στοιχεια του 1000003 με ενα διαφορετικο απλως ID χαρακατηρα απλως και εναν τιτλο .  στον φακελο game/xsd/npc αν το δεις θα καταλαβεις καποια πραγματα για το πως λειτουργει , αν εχεις καποιες γνωσεις πανω στην XML , αλλιως βλεπε παραδειγματα απο αλλα npc και πρατε αναλογα

Link to comment
Share on other sites

  • 1 month later...

oxi den einai apo H5 kai meta einai analoga ton tropo poy exei to kathe pack gia na diabazi ta npc

apla me xml einai pio kala gia ton server ...

apantisi gia to create edose o BlackDevilDev

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock