Jump to content

Question

Posted

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

  • 0
Posted (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 by ๖ۣۜinfamousbytes๖ۣ
  • 0
Posted

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"/>

  • 0
Posted

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 

  • 0
Posted

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 :)

  • 0
Posted (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 by ExCaLiBuR®
  • 0
Posted

 

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 ?

  • 0
Posted

Εκτός από την database πήγαινε και στο αρχείο htm του συγκεκριμένου NPC και άλλαξε εκεί τις τιμές. Γιατί διαφορετικά θα δείχνει ότι για παράδειγμα από την Giran στη Dion, θέλει 6800 adena, ενώ εσύ στην database το έχεις αλλάξει σε 7000.

 

Η διαδρομή για να βρεις αυτό το αρχείο όσο αναφορά το Frozen είναι \L2jFrozen\gameserver\data\html\teleporter.

  • 0
Posted (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 by DAMN^Devlin
  • 0
Posted (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

cKnTGXY.png
 

Edited by StinkyMadness

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Legends never truly die. They just wait for the right time to return. For over a decade, Vindication (aka Noobwars) held the crown as the longest-running and most legendary Greek private server. We built a home, created unbreakable bonds, and lived through thousands of hours of epic PvP, endless castle sieges, and unforgettable memories. Lately, others have tried to use our name to mimic what we built. But you can't copy soul, and you can't fake history. As the original Administrator, I am proud to tell you that the waiting is finally over. The true architect is back to bring you the ultimate Interlude experience. We are returning to revive that pure, old-school Lineage 2 nostalgia—the way it was always meant to be played. Just the authentic Vindication vibe we all fell in love with. Gather your old comrades, prepare your clans, and get ready to step back into the world of Interlude where it all started.   The original era begins again. Welcome home. GM*absolut*   Server Rates VINDICATION CLASSIC INTERLUDE x4  EXP/SP: x4  Adena: x2  Drop: x3  Spoil: x3  Seal Stones: x2  Raid Boss EXP/SP: x2  Raid Boss Drop: x1  Epic Boss Drop: x1  Manor: x1  Safe Enchant: +3  Max Enchant: +20  Normal Scroll Chance: Retail  Blessed Scroll Chance: Retail   🚀 Nostalgia Meets Next-Gen Technology We are not just bringing back the server you loved; we are upgrading it for the modern era. For the first time ever, we have integrated DLSS 5 into our Interlude client. Experience the classic gameplay you miss with ground-breaking performance     More info @ sites   Website:    http://www.vindication.gr Discord:       https://discord.gg/BVtgYvjyk6 Facebook:  https://www.facebook.com/groups/lineage2gr
    • maybe you can try L2jBayev Chronicle 4 project.
    • I think that bastard has been doing this for a long time, taking advantage of his reputation. 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..