Jump to content
  • 0

Starting Bar Tutorial Book


Dante44®

Question

Kalispera psaxno pos tha allakso to Tutorial book kai o kwdikas mesa sto characterCreation mou ellege

if (item.getId() == 5588)
				{
					shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);
					newChar.registerShortCut(shortcut);
				}
				
				if (item.isEquipable() && ie.isEquipped())
				{
					newChar.getInventory().equipItem(item);
				}

Mporei kapios na me voithisei?

Allazo to 5588 me to ID tou antikimenou pou thelo alla otan kano new char anti na mou vgalei to item pou exw wrisei mou to afinei keno
Den exo provlima oute se Itemname oute se etcitemgrp klp klp apla pos mporw na to kano na mpenei automata ston kainourio paixti stin thesi tou vivliou??

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Kalws eisai, den.

 

to shortcut prepei na mpei otan ftiaxneis to new item

 

L2ItemInstance item = ...

registerShortcut(new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1));

 

gia na mpei ena item stin mpara prepei na exeis reference i toulaxiston tin oID, sketi oID diskola ara 9es reference pou simenei oti prepei na mpei tin stigmi pou dineis to item ston char

 

 

 

-if (item.getId() == 5588) Υπάρχει ήδη πιο πάνω γι'αυτό και το έστειλα έτσι. Όμως το πρόβλημα είναι ότι του βγάζει κενό στη μπάρα σαν να μην όρισε ιτεμ.

-               {

-                    shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);

-                   newChar.registerShortCut(shortcut);

-                }

               

 

+            if (item.getItemId() == 5588)

+               {

+               newChar.registerShortCut(new L2ShortCut(11, 0, 1, item.getObjectId(), -1, 1));

+                }

 

Για άλλαξε τώρα απλά το 5588. Δε μπορώ να καταλάβω κάτι άλλο.. Δεν έχω αλλάξει ξανά το bar, όμως όπως το διαβάζω θα πρέπει να δουλέψει. Μόνο αντικατάσταση κάνεις. Δεν χρειάζεται να περάσεις κάτι άλλο κάπου αλλού, εκτός και αν το ιτεμ που θες είναι Custom Item, εκεί υπάρχει αλλού άλλα να αλλάξεις μετά από αυτά.

Αλλά αν στο invetory το βλέπεις κανονικά, τι να σου πω...

Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

Kalispera psaxno pos tha allakso to Tutorial book kai o kwdikas mesa sto characterCreation mou ellege

if (item.getId() == 5588)
				{
					shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);
					newChar.registerShortCut(shortcut);
				}
				
				if (item.isEquipable() && ie.isEquipped())
				{
					newChar.getInventory().equipItem(item);
				}

Mporei kapios na me voithisei?

Allazo to 5588 me to ID tou antikimenou pou thelo alla otan kano new char anti na mou vgalei to item pou exw wrisei mou to afinei keno

Den exo provlima oute se Itemname oute se etcitemgrp klp klp apla pos mporw na to kano na mpenei automata ston kainourio paixti stin thesi tou vivliou??

Μόνο αυτός είναι ο κώδικας?

Πιο ίτεμ είναι το 5588?

 

edit: Τώρα κατάλαβα καλύτερα την ερώτησή σου. Άκου, πήγαινε στο Eclipse, game/ data/ stats/ initialEquipment.xml

Κάνε το edit και βάλε:

 

Όπου:  κόκκινο, αλλάζεις και βάζεις αυτό που θες.

      <!-- Human Fighter -->

        <equipment classId="0">

                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->

                <item id="10" count="1" /> <!-- Dagger -->

                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->

                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->

                <item id="5588" count="1" /> <!-- Tutorial Guide -->

                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->

                <item id="32226" count="10" />

        </equipment>

 

<!-- Human Fighter -->
        <equipment classId="0">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Human Mystic -->
        <equipment classId="10">
                <item id="6" count="1" equipped="true" /> <!-- Apprentice's Wand -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Elven Fighter -->
        <equipment classId="18">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Elven Mystic -->
        <equipment classId="25">
                <item id="6" count="1" equipped="true" /> <!-- Apprentice's Wand -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Dark Fighter -->
        <equipment classId="31">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Dark Mystic -->
        <equipment classId="38">
                <item id="6" count="1" equipped="true" /> <!-- Apprentice's Wand -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Orc Fighter -->
        <equipment classId="44">
                <item id="2369" count="1" /> <!-- Squire's Sword -->
                <item id="2368" count="1" equipped="true" /> <!-- Training Gloves -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Orc Mystic -->
        <!-- NOTE: This is orc_mage (orc_shaman is retail typo) -->
        <equipment classId="49">
                <item id="2368" count="1" equipped="true" /> <!-- Training Gloves -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Dwarf Fighter -->
        <equipment classId="53">
                <item id="2370" count="1" equipped="true" /> <!-- Guild Member's Club -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Male Kamael Soldier -->
        <equipment classId="123">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Female Kamael Soldier -->
        <equipment classId="124">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

Καλύτερα όμως θα ήταν σε config να μην μπερδεύεσαι τόσο κάθε φορά..

 

θα προσπαθήσω να κάνω ένα αλλά δε σε εγγυόμαι ότι θα δουλέψει 100%. Έχω πάνω από 2 χρόνια να ασχοληθώ με αυτό. Λίγα θυμάμαι.

 

Πήγαινε στο config.Java

 

Βρες το

public static boolean ANNOUNCE_CASTLE_LORDS;
+
+/**Custom Stating Item**//
+public static boolean STARTING_ITEMS = false;
    +public static int STARTING_ITEMS_ID;
    +public static long STARTING_ITEMS_COUNT;
 

+
+
+STARTING_ITEMS = Boolean.parseBoolean(otherSettings.getProperty("StartingItems", "False"));
            +STARTING_ITEMS_ID = Integer.parseInt(otherSettings.getProperty("StartingItemId", "5588"));
            +STARTING_ITEMS_COUNT = Long.parseLong(otherSettings.getProperty("StartingItemCount", "1"));
+
STARTING_ADENA = Integer.parseInt(otherSettings.getProperty("StartingAdena", "100"));

μετά πήγαινε CharacterCreate.java

 

Βρες αυτό που έδειξες πριν

                    newChar.getInventory().equipItem(item);
                }
+
+if (Config.STARTING_ITEMS)
        +{
        +    newChar.addItem("Init", Config.STARTING_ITEMS_ID, (int) Config.STARTING_ITEMS_COUNT, null, false);
        +}

μετά πήγαινε σε

other.properties στο τέλος του
+#Custom Starting Items
+StartingItems = false
+StartingItemId = 5588
+StartingItemCount = 1

Άνοιξα ένα svn του frozen χωρίς eclipse και το ψαξα, δε ξέρω κατά πόσο θα δουλέψει.

Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

Se euxaristo para polli gia ton xrono sou kai gia tin apantisi sou :)
Den thelo apla na dwso ston char ena item otan ksekinaei auto mporw na to kano i me invidual item system i me to startupsystem pou exo.Thelo to item auto na mpei stin mpara tou kathe new player stin thesi pou ine to Tutorial Book 

An deis kathe fora pou ftiaxneis new char stin bara sou exei px ston Fighter sto F1 to attack sto f4 to pickup kai sto F11 i F12 den thimame kala sou dinei to Tutorial book ego auto pou thelo na ftiakso ine stin thesi tou Tutorial Book stin Mpara na valo ena diko mou item se kathe new char creation!!

Link to comment
Share on other sites

  • 0

Μπορείς να μου στείλεις σε ΠΜ, ένα παλιό ή ότι να'ναι Interlude source για να μπω στο CreateCharacter.java να βρω τις σειρές που θέλω?

Δεν έχω ούτε Eclipse ούτε τίποτα πλέον στο pc.

 

edit: Θέλω να ανεβάσεις μόνο τα java του, τίποτα άλλο αν μπορείς.

Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

Δοκίμασε μία έτσι, αν όχι τότε το παρακάτω.

Διαφορετικά, θα βγάζει ερρορ αν έχει πρόβλημα, στείλε μου φώτο το ερρορ.

-    shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);
-                   newChar.registerShortCut(shortcut);
 
+newChar.registerShortCut(new L2ShortCut(11,0,1,εδώ για βάλε το id από το ιτεμ,-1,1));

Αντικατέστισε αυτά που γράφω με το item id.

 

 

ή κάνε αυτό, σε αυτό που που έστειλες...

-shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);
+shortcut = new L2ShortCut(11, 0, 1, βάλε το id από το ίτεμ που θες, -1, 1);

Δοκίμασε μία και πες μου, αλλιώς στείλε μου τα source που σου ζήτησα.

Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

Δοκίμασε μία έτσι, αν όχι τότε το παρακάτω.

Διαφορετικά, θα βγάζει ερρορ αν έχει πρόβλημα, στείλε μου φώτο το ερρορ.

-    shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);
-                   newChar.registerShortCut(shortcut);
 
+newChar.registerShortCut(new L2ShortCut(11,0,1,εδώ για βάλε το id από το ιτεμ,-1,1));

Αντικατέστισε αυτά που γράφω με το item id.

 

 

ή κάνε αυτό, σε αυτό που που έστειλες...

-shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);
+shortcut = new L2ShortCut(11, 0, 1, βάλε το id από το ίτεμ που θες, -1, 1);

Δοκίμασε μία και πες μου, αλλιώς στείλε μου τα source που σου ζήτησα.

 

 

Kalws eisai, den.

 

to shortcut prepei na mpei otan ftiaxneis to new item

 

L2ItemInstance item = ...

registerShortcut(new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1));

 

gia na mpei ena item stin mpara prepei na exeis reference i toulaxiston tin oID, sketi oID diskola ara 9es reference pou simenei oti prepei na mpei tin stigmi pou dineis to item ston char

Link to comment
Share on other sites

  • 0

Ίσως να δουλεύει όπως το κάνεις, αλλά στα παρακάτω το αλλάζεις για να μπει το ιτεμ στον παίχτη που σου είπα πιο πάνω αρχικά?

Το ίδιο και σε όλα τα υπόλοιπα class.

 

<!-- Human Fighter -->
        <equipment classId="0">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="5588" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>

 

 

 

Για να τα πάρουμε από την αρχή κάνε τα παρακάτω και δεν βρίσκω λόγο να μην δουλέψει.

Άμα δε του το δώσεις στο Invetory, δε θα το έχει ούτε στη μπάρα φίλε. Γι'αυτό χθες σου έδωσα το equipment.xml

-            if (item.getId() == 5588)
-               {
-                    shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);
-                   newChar.registerShortCut(shortcut);
-                }
                
 

+            if (item.getItemId() == βάλε ID)
+               {
+               newChar.registerShortCut(new L2ShortCut(11, 0, 1, item.getObjectId(), -1, 1)); 
+                }

game/ data/ stats/ initialEquipment.xml

 

<!-- Human Fighter -->
        <equipment classId="0">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Human Mystic -->
        <equipment classId="10">
                <item id="6" count="1" equipped="true" /> <!-- Apprentice's Wand -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Elven Fighter -->
        <equipment classId="18">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Elven Mystic -->
        <equipment classId="25">
                <item id="6" count="1" equipped="true" /> <!-- Apprentice's Wand -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Dark Fighter -->
        <equipment classId="31">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Dark Mystic -->
        <equipment classId="38">
                <item id="6" count="1" equipped="true" /> <!-- Apprentice's Wand -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Orc Fighter -->
        <equipment classId="44">
                <item id="2369" count="1" /> <!-- Squire's Sword -->
                <item id="2368" count="1" equipped="true" /> <!-- Training Gloves -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Orc Mystic -->
        <!-- NOTE: This is orc_mage (orc_shaman is retail typo) -->
        <equipment classId="49">
                <item id="2368" count="1" equipped="true" /> <!-- Training Gloves -->
                <item id="425" count="1" equipped="true" /> <!-- Apprentice's Tunic -->
                <item id="461" count="1" equipped="true" /> <!-- Apprentice's Stockings -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Dwarf Fighter -->
        <equipment classId="53">
                <item id="2370" count="1" equipped="true" /> <!-- Guild Member's Club -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Male Kamael Soldier -->
        <equipment classId="123">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>
        <!-- Female Kamael Soldier -->
        <equipment classId="124">
                <item id="2369" count="1" equipped="true" /> <!-- Squire's Sword -->
                <item id="10" count="1" /> <!-- Dagger -->
                <item id="1146" count="1" equipped="true" /> <!-- Squire's Shirt -->
                <item id="1147" count="1" equipped="true" /> <!-- Squire's Pants -->
                <item id="βάλε ID" count="1" /> <!-- Tutorial Guide -->
                <item id="10650" count="5" /> <!-- Adventurer's Scroll of Escape -->
                <item id="32226" count="10" />
        </equipment>

Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

-if (item.getId() == 5588) Υπάρχει ήδη πιο πάνω γι'αυτό και το έστειλα έτσι. Όμως το πρόβλημα είναι ότι του βγάζει κενό στη μπάρα σαν να μην όρισε ιτεμ.

-               {

-                    shortcut = new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1);

-                   newChar.registerShortCut(shortcut);

-                }

               

 

+            if (item.getItemId() == 5588)

+               {

+               newChar.registerShortCut(new L2ShortCut(11, 0, 1, item.getObjectId(), -1, 1));

+                }

 

Για άλλαξε τώρα απλά το 5588. Δε μπορώ να καταλάβω κάτι άλλο.. Δεν έχω αλλάξει ξανά το bar, όμως όπως το διαβάζω θα πρέπει να δουλέψει. Μόνο αντικατάσταση κάνεις. Δεν χρειάζεται να περάσεις κάτι άλλο κάπου αλλού, εκτός και αν το ιτεμ που θες είναι Custom Item, εκεί υπάρχει αλλού άλλα να αλλάξεις μετά από αυτά.

Αλλά αν στο invetory το βλέπεις κανονικά, τι να σου πω...

Etsi doulepse :) Se euxaristo para polli 

Link to comment
Share on other sites

  • 0

Etsi doulepse :) Se euxaristo para polli 

Τίποτα φίλε. Τελικά όντως δεν χρειάστεικε αλλαγή στο initialEquipment.xml? Γιατί μου φαίνεται παράξενο να ήρθε ένα ίτεμ χωρίς να το δώσουμε στο invetory..

(ή το άλλαξες στα τυχόν config που έχεις για starting items)?

Link to comment
Share on other sites

  • 0

Τίποτα φίλε. Τελικά όντως δεν χρειάστεικε αλλαγή στο initialEquipment.xml? Γιατί μου φαίνεται παράξενο να ήρθε ένα ίτεμ χωρίς να το δώσουμε στο invetory..

(ή το άλλαξες στα τυχόν config που έχεις για starting items)?

Na sou po tin alitheia eksarxis den ixa dokimasei na dwso to item meso tou invidual giati to evala se allo code pou dino item sto startup kai etsi den xriastike na pirakso to invidual

ston kwdika itane to provlima alla me to last post ftiaxtikan ola :D

Link to comment
Share on other sites

  • 0

Na sou po tin alitheia eksarxis den ixa dokimasei na dwso to item meso tou invidual giati to evala se allo code pou dino item sto startup kai etsi den xriastike na pirakso to invidual

ston kwdika itane to provlima alla me to last post ftiaxtikan ola :D

Πολύ κομπλέ τότε αδερφέ.

Καλή συνέχεια ρει...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Thank you 😊👍 working great! 
    • MidnightSell team WTB/WTS GOLD TWW EU/US all servers Cataclysm all servers Payment Visa/Master/Btc/Eth/Trc-20/Erc-20 (all payments within 10 min) For all question pls dm Discord https://discord.gg/h8AN57qJjK Or Telegram @MidnightSell
    • GOSTEI MUITO DO VIASUAL DO SERVE COMO POSSO ADQUIRI ESSA REV PACK   
    • Helly everyone . I use L2jmobius interlude , i did everything , installed the db compiled the Build in eclipse Gameserver seems to lead OK , but it fails to connect to loginserver When i click to start the loginserver it says  "Loginserver terminated abnormally" This is wheat gameserver shows me :    [05/10 17:25:12] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:12] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:17] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:17] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:22] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:22] LoginServerThread: LoginServer not available, trying to reconnect...   And This is my login config file:   # --------------------------------------------------------------------------- # Login Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 0.0.0.0 LoginserverHostname = 0.0.0.0 # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHostname = 127.0.0.1 # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # --------------------------------------------------------------------------- # Database # --------------------------------------------------------------------------- # Specify the JDBC driver class for your database. # Default: org.mariadb.jdbc.Driver Driver = org.mariadb.jdbc.Driver # Database URL # Default: jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true URL = jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true # Database user info. Default is "root" but it's not recommended. Login = root # Database user password, leave empty for no password. Password = root # Maximum number of database connections to maintain in the pool. # Default: 5 MaximumDatabaseConnections = 5 # Determine whether database connections should be tested for availability. # Default: False TestDatabaseConnections = False # --------------------------------------------------------------------------- # Automatic Database Backup Settings # --------------------------------------------------------------------------- # Generate database backups when server restarts or shuts down.  BackupDatabase = False # Path to MySQL bin folder. Only necessary on Windows. MySqlBinLocation = C:/xampp/mysql/bin/ # Path where MySQL backups are stored. BackupPath = ../backup/ # Maximum number of days that backups will be kept. # Old files in backup folder will be deleted. # Set to 0 to disable. BackupDays = 30 # --------------------------------------------------------------------------- # Thread Configuration # --------------------------------------------------------------------------- # Defines the number of threads in the scheduled thread pool. # If set to -1, this will be determined by available processors divided by 2. ScheduledThreadPoolSize = 2 # Defines the number of threads in the instant thread pool. # If set to -1, this will be determined by available processors divided by 2. InstantThreadPoolSize = 2 # --------------------------------------------------------------------------- # Security # --------------------------------------------------------------------------- # How many times you can provide an invalid account/pass before the IP gets banned. # Default: 5 LoginTryBeforeBan = 5 # Time you won't be able to login back again after LoginTryBeforeBan tries to login. # Default: 900 (15 minutes) LoginBlockAfterBan = 900 # If set to True any GameServer can register on your login's free slots # Default: True AcceptNewGameServer = True # Flood Protection. All values are in milliseconds. # Default: True EnableFloodProtection = True # Default: 15 FastConnectionLimit = 15 # Default: 700 NormalConnectionTime = 700 # Default: 350 FastConnectionTime = 350 # Default: 50 MaxConnectionPerIP = 50 # --------------------------------------------------------------------------- # Misc Login Settings # --------------------------------------------------------------------------- # If False, the license (after the login) will not be shown. # Default: True ShowLicence = True # Default: True AutoCreateAccounts = True # Datapack root directory. # Defaults to current directory from which the server is started. DatapackRoot = . # --------------------------------------------------------------------------- # Scheduled Login Restart # --------------------------------------------------------------------------- # Enable disable scheduled login restart. # Default: False LoginRestartSchedule = False # Time in hours. # Default: 24 LoginRestartTime = 24    
  • Topics

×
×
  • Create New...