StinkyMadness Posted May 25, 2014 Posted May 25, 2014 Psaxnw to pos borw se enan L2Teleporter na valo diaforetika Cost sta Teleports. Ti enow.... p.x. Giran Castle Town - 15000 AdenaAden Castle Town - 15000 Adena Farming Zone - 30000 Adena Party Zone - 30 Event Medal Baium Zone - 1 Raid Scroll Olympiad Zone - 10 Gold Bar Ginete kati tetio se Interlude L2jFrozen Rev:1004 ?anagastika 8elei Java Code?Iparxei kapio share ?Euxaristo :) Quote
0 Lucky Dice Posted May 25, 2014 Posted May 25, 2014 (edited) you need special gatekeeper working like <target loc="-80684 149770 -3040" item_id="57" price="18000" name="1010004" StringName="Giran StringNameLang="Giran"/><target loc="9744 15645 -4568" item_id="57" price="24000" name="1010003" StringName="Farm Zone" StringNameLang="Farmzone"/> <target loc="115120 -178224 -880" item_id="57" price="46000" name="1010009" StringName="Party Zone" StringNameLang="Party Zone"/> <target loc="46951 51550 -2976" item_id="57" price="23000" name="1010002" StringName="Baium" StringNameLang="Baium"/> Edited May 25, 2014 by ๖ۣۜinfamousbytes๖ۣ Quote
0 StinkyMadness Posted May 25, 2014 Author Posted May 25, 2014 you need special gatekeeper working like so i put this on HTML ? O_O <target loc="-80684 149770 -3040" item_id="57" price="18000" name="1010004" StringName="Giran StringNameLang="Giran"/> <target loc="9744 15645 -4568" item_id="57" price="24000" name="1010003" StringName="Farm Zone" StringNameLang="Farmzone"/> <target loc="115120 -178224 -880" item_id="57" price="46000" name="1010009" StringName="Party Zone" StringNameLang="Party Zone"/> <target loc="46951 51550 -2976" item_id="57" price="23000" name="1010002" StringName="Baium" StringNameLang="Baium"/> Quote
0 pr0n0mio Posted May 25, 2014 Posted May 25, 2014 ego den 8imame akribos. omos ego to eixa balei ola free ston server mou. to alazeis sta data kapou prepei na exei teleport. kai alazeis ta adena . i sto navicat . alla nomizo prepei na einai stin data . kai psaxe Quote
0 @Slash Posted May 25, 2014 Posted May 25, 2014 ameServerConfig.ALT_GAME_FREE_TELEPORT || player.reduceAdena("Teleport", mono auto mporesa na bro sto java sto l2teleporterinstance den sou lew kati gia na mhn ginoun ola mpourdelo gt den exw idea :) Quote
0 ExCaLiBuR® Posted May 25, 2014 Posted May 25, 2014 (edited) sto acis einai etsi <teleport id="1" loc_x="-12672" loc_y="122776" loc_z="-3116" price="10000" fornoble="0"/> <teleport id="2" loc_x="-12672" loc_y="122776" loc_z="-3116" price="9200" fornoble="0"/> <teleport id="3" loc_x="46934" loc_y="51467" loc_z="-2977" price="9200" fornoble="0"/> <teleport id="4" loc_x="9745" loc_y="15606" loc_z="-4574" price="10000" fornoble="0"/> <teleport id="5" loc_x="-80826" loc_y="149775" loc_z="-3043" price="7300" fornoble="0"/> <teleport id="6" loc_x="15670" loc_y="142983" loc_z="-2705" price="3400" fornoble="0"/> <teleport id="7" loc_x="-44836" loc_y="-112524" loc_z="-235" price="26000" fornoble="0"/> <teleport id="8" loc_x="115113" loc_y="-178212" loc_z="-901" price="38000" fornoble="0"/> <teleport id="9" loc_x="-84318" loc_y="244579" loc_z="-3730" price="9400" fornoble="0"/> <teleport id="10" loc_x="46934" loc_y="51467" loc_z="-2977" price="16000" fornoble="0"/> <teleport id="11" loc_x="9745" loc_y="15606" loc_z="-4574" price="16000" fornoble="0"/> Edited May 25, 2014 by ExCaLiBuR® Quote
0 StinkyMadness Posted May 25, 2014 Author Posted May 25, 2014 sto acis einai etsi <teleport id="1" loc_x="-12672" loc_y="122776" loc_z="-3116" price="10000" fornoble="0"/> <teleport id="2" loc_x="-12672" loc_y="122776" loc_z="-3116" price="9200" fornoble="0"/> <teleport id="3" loc_x="46934" loc_y="51467" loc_z="-2977" price="9200" fornoble="0"/> <teleport id="4" loc_x="9745" loc_y="15606" loc_z="-4574" price="10000" fornoble="0"/> <teleport id="5" loc_x="-80826" loc_y="149775" loc_z="-3043" price="7300" fornoble="0"/> <teleport id="6" loc_x="15670" loc_y="142983" loc_z="-2705" price="3400" fornoble="0"/> <teleport id="7" loc_x="-44836" loc_y="-112524" loc_z="-235" price="26000" fornoble="0"/> <teleport id="8" loc_x="115113" loc_y="-178212" loc_z="-901" price="38000" fornoble="0"/> <teleport id="9" loc_x="-84318" loc_y="244579" loc_z="-3730" price="9400" fornoble="0"/> <teleport id="10" loc_x="46934" loc_y="51467" loc_z="-2977" price="16000" fornoble="0"/> <teleport id="11" loc_x="9745" loc_y="15606" loc_z="-4574" price="16000" fornoble="0"/> Ginete kati tetio se Interlude L2jFrozen Rev:1004 ? Quote
0 ExCaLiBuR® Posted May 25, 2014 Posted May 25, 2014 Ginete kati tetio se Interlude L2jFrozen Rev:1004 ? y pane database sto table teleport kai einai etsi akrivos Quote
0 StinkyMadness Posted May 26, 2014 Author Posted May 26, 2014 y pane database sto table teleport kai einai etsi akrivos L2jFrozen/gameserver/data/ (.....?) Quote
0 ExCaLiBuR® Posted May 27, 2014 Posted May 27, 2014 L2jFrozen/gameserver/data/ (.....?) trelos eisai re? database navicat gameserver_beta pws aliws na sto pw pane ekei kai tha vrei ena table me onoma teleport Quote
0 SirLionheart Posted May 27, 2014 Posted May 27, 2014 Εκτός από την database πήγαινε και στο αρχείο htm του συγκεκριμένου NPC και άλλαξε εκεί τις τιμές. Γιατί διαφορετικά θα δείχνει ότι για παράδειγμα από την Giran στη Dion, θέλει 6800 adena, ενώ εσύ στην database το έχεις αλλάξει σε 7000. Η διαδρομή για να βρεις αυτό το αρχείο όσο αναφορά το Frozen είναι \L2jFrozen\gameserver\data\html\teleporter. Quote
0 Devlin Posted May 27, 2014 Posted May 27, 2014 (edited) Στο aCis είναι έτσι @L2TeleporterInstance (instance) if (Config.ALT_GAME_FREE_TELEPORT || player.destroyItemByItemId("Teleport " + (list.getIsForNoble() ? " nobless" : ""), 57, price, this, true)) όπου 57 είναι το id του item που ζητάει για κάθε teleport και το price καθορίζεται από xml όπου στο frozen είναι από database. Και με τα δεδομένα του aCis, με την παρακάτω γραμμή if (list.getTeleId() == 1) player.destroyItemByItemId("", 9142, 1, player, true); στο teleport με id 1, θα παίρνει το x item. Εάν θέλεις παραπάνω βοήθεια με τα δεδομένα του frozen, κάνε με add στο skype (harris.devlin). ============================================ ### Eclipse Workspace Patch 1.0 #P L2jFrozen_GameServer Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2TeleporterInstance.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2TeleporterInstance.java (revision 1004) +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2TeleporterInstance.java (working copy) @@ -328,6 +328,11 @@ } player.teleToLocation(list.getLocX(), list.getLocY(), list.getLocZ(), true); } + else if (list.getTeleId() == 1) + { + player.destroyItemByItemId("Teleport.", 9142, 1, player, true); + player.teleToLocation(list.getLocX(), list.getLocY(), list.getLocZ(), true); + } } else { Οπου 1 = το teleport id, 9142 το id του item που θέλεις να παίρνει και 1 (δίπλα από το 9142) είναι το πόσα item να παίρνει. Άμα θέλεις πολλά teleport να είναι έτσι, απλά κάνε c/p αυτό που σου έδωσα και άλλαξε τις μεταβλητές. Edited May 27, 2014 by DAMN^Devlin Quote
0 StinkyMadness Posted May 28, 2014 Author Posted May 28, 2014 (edited) ExCaLiBuR® kai SirLionheart esy kala ta lete alla sto Database tou Frozen dn leei ItemID / Price leei mono "Price" kai einai posa adena 8elw na to valw... dn exw pou8ena epologh na to valo na einai cost kapio alo item ektos twn adena Edited May 28, 2014 by StinkyMadness Quote
0 SirLionheart Posted June 1, 2014 Posted June 1, 2014 Αν και σε aCis board ρίξε μια ματιά σε αυτό εδώ Quote
0 Dante44® Posted June 2, 2014 Posted June 2, 2014 Tha arxiso na travao tis kolotrixes mou siga siga :D Quote
Question
StinkyMadness
Psaxnw to pos borw se enan L2Teleporter na valo diaforetika Cost sta Teleports. Ti enow....
p.x.
Giran Castle Town - 15000 Adena
Aden Castle Town - 15000 Adena
Farming Zone - 30000 Adena
Party Zone - 30 Event Medal
Baium Zone - 1 Raid Scroll
Olympiad Zone - 10 Gold Bar
Ginete kati tetio se Interlude L2jFrozen Rev:1004 ?
anagastika 8elei Java Code?
Iparxei kapio share ?
Euxaristo :)
14 answers to this question
Recommended Posts
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.