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

    • Thanks FunBasec, I recommend this developer ! He is very friendly and professional.
    • The project is a change to original l2 with modern game mechanics that is more "western". For example every race can craft, not just dwarves. Mages can cast spells without the need of a dedicated box MP charger. MP chargers are also able to solo farm and deal decent damage on their own. Paladins are now 2h sword dedicated healers/support dps. Drop rates are normalized among all classes, no longer needing spoil to craft.   The idea of the project is keep true to the old vanilla classic experience where you are rewarded for effort. And you must put effort into achieving things. Leveling is slow, gear wont be given to you, you must work towards obtaining upgrades. etc.   These are only a small portion of changes I am making to the game. I would love help and bounce design ideas off of others for some future content update ideas. Like can we design unique raid boss encounters? How about end-game content ideas? How can we make owning castles valuable? Maybe an instanced underground mining zone? Or unique raid fights that the clan can do for extra loot?    There's tons of ideas I have and I would like some help creating them.    This is not a paid project. It is a passion project with people who have a passion for l2 and wanna see the community grow.    Currently using client 418. 
    • It requires a lot of research and money to create something that is actually worth having on someones server. But again, even if something worth trying appears,  I dont even trust vanguard at this point, and its even worse if theres some kernel driver signed by a single person without a real company behind it to take the hit if something goes wrong. Thats a huge security risk. Most people are naive and untrained for thinking its okay to elevate permissions for an executable created by someone in their moms basement. The same goes for people who run compiled shared / paid sources and assume its fine, with nothing malicious running inside them.   A user with 13 posts suddenly appears. This is a tech forum, and developers are not here to flex. We are simply discussing the potential risks and reliabilty of the product, since that is the whole purpose of a discussion forum. Otherwise, it becomes no different from marketplaces. In addition, it is  reasonable to question someones capabilities based on their available public data. How do you go from selling web apps to working with such low level concepts that require a lot of specialized knowledge? Think again then before you buy from him with a blind eye.      The first statement contradicts the other one. You say you wont allow anyone access, but youre willing to explicitly run an anti cheat on your computer created by this guy. What exactly is your point?
  • 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..