Jump to content

'Baggos'

Legendary Member
  • Posts

    3,875
  • Joined

  • Last visited

  • Days Won

    28
  • Feedback

    100%

Everything posted by 'Baggos'

  1. On part with fewer lines: Do something like that... I do not give a try if will be work exactly so, just i give you my idea for fewer lines. Ingore the Items... is a example... Because i like your idea, i want to you find a easy way... if (Config.STARTINGS_ITEMS_RACES) { if (!newChar.isMageClass()) { if (newChar.getRace() == Race.Human) { newChar.getInventory().addItem("Angel Slayer", 6367, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Light", 6379, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Boots", 6380, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Gloves", 6381, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Helmet", 6382, 1, newChar, newChar); newChar.getInventory().addItem("TEO Necklace", 920, 1, newChar, newChar ); newChar.getInventory().addItem("TEO Earring", 858, 2, newChar, newChar); newChar.getInventory().addItem("TEO Ring", 889, 2, newChar, newChar ); } if (newChar.getRace() == Race.Elf) { newChar.getInventory().addItem("Angel Slayer", 6367, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Light", 6379, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Boots", 6380, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Gloves", 6381, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Helmet", 6382, 1, newChar, newChar); newChar.getInventory().addItem("TEO Necklace", 920, 1, newChar, newChar ); newChar.getInventory().addItem("TEO Earring", 858, 2, newChar, newChar); newChar.getInventory().addItem("TEO Ring", 889, 2, newChar, newChar ); } if (newChar.getRace() == Race.DarkElf) { newChar.getInventory().addItem("Angel Slayer", 6367, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Light", 6379, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Boots", 6380, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Gloves", 6381, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Helmet", 6382, 1, newChar, newChar); newChar.getInventory().addItem("TEO Necklace", 920, 1, newChar, newChar ); newChar.getInventory().addItem("TEO Earring", 858, 2, newChar, newChar); newChar.getInventory().addItem("TEO Ring", 889, 2, newChar, newChar ); } if (newChar.getRace() == Race.Orc) { newChar.getInventory().addItem("Angel Slayer", 6367, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Light", 6379, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Boots", 6380, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Gloves", 6381, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Helmet", 6382, 1, newChar, newChar); newChar.getInventory().addItem("TEO Necklace", 920, 1, newChar, newChar ); newChar.getInventory().addItem("TEO Earring", 858, 2, newChar, newChar); newChar.getInventory().addItem("TEO Ring", 889, 2, newChar, newChar ); } if (newChar.getRace() == Race.Dwarf) { newChar.getInventory().addItem("Angel Slayer", 6367, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Light", 6379, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Boots", 6380, 1, newChar, newChar); newChar.getInventory().addItem("Dragonic Gloves", 6381, 1, newChar, newChar ); newChar.getInventory().addItem("Dragonic Helmet", 6382, 1, newChar, newChar); newChar.getInventory().addItem("TEO Necklace", 920, 1, newChar, newChar ); newChar.getInventory().addItem("TEO Earring", 858, 2, newChar, newChar); newChar.getInventory().addItem("TEO Ring", 889, 2, newChar, newChar ); } else { newChar.getInventory().addItem("Arcana Mace Acumen", 6608, 1, newChar, newChar); newChar.getInventory().addItem("DC Robe", 2407, 1, newChar, newChar ); newChar.getInventory().addItem("DC Gloves", 5767, 1, newChar, newChar); newChar.getInventory().addItem("DC Boots", 5779, 1, newChar, newChar ); newChar.getInventory().addItem("DC Helmet", 512, 1, newChar, newChar); newChar.getInventory().addItem("TEO Necklace", 920, 1, newChar, newChar ); newChar.getInventory().addItem("TEO Earring", 858, 2, newChar, newChar); newChar.getInventory().addItem("TEO Ring", 889, 2, newChar, newChar ); }
  2. It is a good idea for starting items for each class... But maybe is more "clean", if you put fewer lines. For example, make all fighter race to get the same items, apart of weapon if you want. And the same on mage... or something better, make 2 item with name "Fighter Items" or "Mage Items" give this in inventory, and then, with 2 click give all that you want... (with class check for item).
  3. Sorry, my English is shit . What do you mean ? :P hahahaha now i understand... yes it is a idea.. :lol: You've right... :( for people who do not have good computer to test.
  4. // Add Fighter or Mage Tattoos if (Config.REWARD_TATTOOS_ENABLE) { if (getPvpKills() == Config.PVP_COUNT) { if (!isMageClass()) { addItem("Tattoo", Config.TATTOO_FIGHTER_ID, Config.FIGHTER_TATTOO_COUNT, this, true); sendMessage("Congratulations! " + Config.PVP_COUNT + " PvP Kills! You won Fighter Tattoo."); } else { addItem("Tattoo", Config.TATTOO_MAGE_ID, Config.MAGE_TATTOO_COUNT, this, true); sendMessage("Congratulations! " + Config.PVP_COUNT + " PvP Kills! You won Mage Tattoo."); } } } } On eclipse i use this. :P I give wrong check here on quote. :lol: I put the wrong copy / paste lines one by one. Now is ok?
  5. take a look in my last post. i have edit with this. :P
  6. You mean this way? + // Add Fighter or Mage Tattoos + if (Config.REWARD_TATTOOS_ENABLE && !isMageClass()) + { + if (getPvpKills() == Config.PVP_COUNT) + { + addItem("Tattoo", Config.TATTOO_FIGHTER_ID, Config.FIGHTER_TATTOO_COUNT, this, true); + sendMessage("Congratulations! " + Config.PVP_COUNT + " PvP Kills! You won Fighter Tattoo."); + } + else + { + addItem("Tattoo", Config.TATTOO_MAGE_ID, Config.MAGE_TATTOO_COUNT, this, true); + sendMessage("Congratulations! " + Config.PVP_COUNT + " PvP Kills! You won Mage Tattoo."); + } + } + }
  7. I made my own way, because I did not want to do copy/paste, but I had to get an idea of ​​how to do it. Yesterday I tried like you, without the "pvpkillCount" is work, and i thought all will work if i put only addItem.Configblabla. For the reason to i create something new and not like all this is already share... This is my false... I wanted something new. and probably needs more knowledge than i thought. Anyway... Updated with your choose... also with ""if (getPvpKills() == Config.PVP_COUNT)"" and choose enable or not.. Thank thus nevertheless..
  8. I like this... It's a good idea for a pvp server. and the shit i create yesterday is good idea but i have wrong on Item. :lol: In 1 hour will be ok.
  9. Yesterday i tried with fighter and gave two, as i had no class check. Now why not? :P The PC, does not open the second window Lineage will burn. :lol: Yesterday i was in a friend. haha
  10. Updated on this: Thank you AbsolutePower for your replay... Tessa Thank you also... :P :lol: - // Check if the character is Mage, and if is, do not give Fighter Tattoo. - if (isMageClass()) - return; - - if (Config.FIGHTER_TATTOO_ENABLE && pvpKillCount == Config.PVP_COUNT) + if (Config.FIGHTER_TATTOO_ENABLE && pvpKillCount == Config.PVP_COUNT && !isMageClass()) { addItem(Config.TATTOO_FIGHTER_ID); sendMessage("Congratulations! " + Config.PVP_COUNT + " PvP Kills! You won Fighter Tattoo."); + getInventory().updateDatabase(); } - else if(Config.MAGE_TATTOO_ENABLE && pvpKillCount == Config.PVP_COUNT1 && !isMageClass()) + else if(Config.MAGE_TATTOO_ENABLE && pvpKillCount == Config.PVP_COUNT1) { addItem(Config.TATTOO_MAGE_ID); sendMessage("Congratulations! " + Config.PVP_COUNT + " PvP Kills! You won Mage Tattoo."); + getInventory().updateDatabase(); } } I do not think updateDatabase be a problem ... but i put it .
  11. Yes, but in private message do not fill again. :lol: Or make edit your post and i'll see... + if (isMageClass()) + return; What with this? :-\ We need to get it out, and put something else? this? - if (isMageClass()) - return; + if (getClassId() == ClassId.mage) + return; Or all this is wrong?
  12. Hello members of maxcheaters! I have make this idea for my test project. It's a small code. Example: if a player is mage or fighter in x pvp count, will get Custom Tattoo. (Fighter or Mage depending in class)! You can choose the count of pvp and Tattoo id you want on config. It's for pvp server.. with this, the pvp has more interest. I've seen in l2mora, giving an item pvp in every pvp, for to get these tattoos .. now instead be given an item pvp in each pvp, given once, with the count of pvp want. I think it would be best if given like this way. To have importance the pvps and trade. For example, players will trade, since it does not exist in the shop, and will go for pvp, instead of waiting for the vote reward! An example for for stats on tattoos: Data/stats/armor/0400-0499.xml <item id='492' name="Tattoo of Soul"> <for> <set val='500' order='0x010' stat='pAtk'/> <set val='300' order='0x010' stat='pAtkSpd'/> <set val='15' order='0x010' stat='rCrit'/> <add val='100' order='0x10' stat='pDef'/> <add val='50' order='0x010' stat='runSpd'/> <add val='100' order='0x10' stat='mDef'/> <enchant val='0' order='0x0C' stat='pDef'/> </for> </item> <item id='493' name="Tattoo of Avadon"> <for> <set val='500' order='0x010' stat='mAtk'/> <set val='300' order='0x010' stat='mAtkSpd'/> <set val='15' order='0x010' stat='mCrit'/> <add val='50' order='0x010' stat='runSpd'/> <add val='100' order='0x10' stat='pDef'/> <add val='100' order='0x10' stat='mDef'/> <enchant val='0' order='0x0C' stat='pDef'/> </for> </item> NOTE: On your Lineage 2 system find armorgrp.dat and do there a edit. (With L2FileEdit). Find the tattoo's name and replace "Tattoo of soul with Fighter Tattoo" and "Tattoo of Avadon with Mage Tattoo". http://pastebin.com/TjyTWj6c
  13. I give answer in Hyo... No in you. :P Is a good code... I'll use it.. ;)
  14. [Off Topic] Θα φάει και εμάς η Katerina Petrova, εκτός την Bonnie.. :P
  15. here is one: Topic
  16. Με ένα απλό Search στο ίντερνετ θα βρει κάτι.. Σταματήστε να πουλάτε τέτοιων ειδών πράγματα, είναι κρίμα να κοροϊδεύεις αρχάριους!
  17. Καλησπέρα.. L2P-L2J, εννοείς L2Java Project? Αν ναι, υπάρχουν οδηγοί για το πως να κάνεις εγκατάσταση έναν L2J Server.
  18. Ευχαριστούμε που μας αφήνεις να εκφράσουμε τις ιδέες μας και είσαι θετικός στο να μείνει ανοιχτό αυτό το θέμα!(Poll). Πριν ανέφερα για συγκεκριμένο αριθμό "ψήφων" σε περίπτωση που ίσως δεν συμφωνούσε η αρμόδια ομάδα να τεθούνε απόψεις και ιδέες! Όμως όπως βλέπουμε, το θέμα μένει ενεργό, και ελπίζουμε να μην πάει σε Spam, αλλά μόνο κατά κύριον λόγο τα Ελληνικά Sections! Η δική μου γνώμη για τον παρακάτω κανόνα είναι η εξής: 5. Σωστή γλώσσα. Δεν μιλάμε με αγγλικά σε ελληνικά τοπικς, ούτε αγγλικά σε ελληνικά ποστς. Υπάρχει tag [GR] και [ΕΝ] για να ξεκινάτε ένα τοπικ στην γλώσσα σας. Τα Greeklish απαγορεύονται στις ελληνικές ενότητες "[GR] sections", αλλά αν για οποιονδήποτε λόγο δεν μπορείτε να γράφετε με ελληνικούς χαρακτήρες, παρακαλούμε μπείτε στο παρακάτω link, όπου υπάρχει αυτόματος μεταφραστής από Greeklish σε ελληνικά! Greeklish To Greek. (Κάπως έτσι δηλαδή). Και το καλό σε αυτόν τον μεταφραστή, είναι πως τα μεταφράζει με την σωστή ορθογραφία!
  19. Οι περισσότεροι κάνουμε Share απλά για να μοιραστούμε αυτό που φτιάξαμε με τους υπόλοιπους... Ούτε δόξες, ούτε κάτι άλλο.. Ναι, θα μας ικανοποιήσει μια θετική απάντηση, εννοείτε... Αλλά το "Κάρμα", δεν σε κάνει κάτι παραπάνω από κάποιους άλλους... Σιγά δηλαδή τι γίνεται αν έχει 0 ή 10... Απλά σε παροτρύνει να γεμίσεις περισσότερο τα Sections με ωραία share σου, τότε είναι ένας καλός λόγος να σου δίνουν... Δε λέω πως ποτέ δε μας ένοιαζε... και μένα στις αρχές που μπήκα εδώ μέσα με ένοιαζε... Όταν όμως κατάλαβα ότι δε προσφέρει τίποτα, πάρω δε πάρω, δώσω δε δώσω, το ίδιο είναι... Πέραν της στιγμής που κάνεις Share για το κάρμα, έρχεται η στιγμή που κάνεις Share για να βοηθήσεις πραγματικά... Νομίζω ξεφύγαμε από το κύριο θέμα που είναι τα Greeklish. Δεν έχουμε πάρει ακόμη απάντηση από έναν Mod για το αν έχει ουσία να συνεχίσουμε το Poll, γι'αυτό ας περιμένουμε λίγο ακόμη να δούμε τι θα πει.. Ας βάλει ένας Mod ένα όριο ψήφων, και όταν τελειώσει ας κλειδωθεί...
  20. Δεν νομίζω πως οι περισσότεροι εδώ μέσα που διαβάζουμε ένα κείμενο ενός οδηγού/προβλήματος/συζήτησης κτλπ, ότι μας ενδιαφέρει το αν εκείνος που το ανεβάσει, γράψει σωστά τα Ελληνικά ή όχι, αλλά η ουσία του θέματος! Ξέρω πως αυτό που εννοούσες δεν έχει να κάνει με το ενδιαφέρον για το θέμα, αλλά για τον τρόπο που θα αντιλαμβάνουμε τα ορθογραφικά του άλλου. Ωστόσο, το να δούμε και 50 ορθογραφικά σε 60 λέξεις, δε μας καθιστά ούτε κριτές για να την πούμε στον άλλον, αλλά ούτε χαλάει τα μάτια μας. (σε ρητορικό επίπεδο). Εάν δεν αρχίσεις να αντιλαμβάνεσαι τα λάθη σου, τότε δε θα τα λύσεις.. Έτσι και πάνω σε αυτό το θέμα... Θα μάθει από τα λάθη του και αργότερα θα κάνει λιγότερα! Όπως εγώ... Μπορεί στις αρχές που πρωτοξεκίνησα να γράφω Ελληνικά να έκανα από τις 20 λέξεις τις 5 λάθος, αλλά με το πέραν του χρόνου και αφού ήθελα να διορθώσω το λάθος μου, έμαθα τις λέξεις να τις γράφω σωστά! Οπότε, αυτός ο κανόνας θα βοηθήσει πάνω απ'όλα πρώτα εμάς τους ίδιους!!!
  21. Εσύ από παντού τα πέρνεις κουφάλα.. χαχα :P
  22. Θα έχει πολύ ενδιαφέρον βλέπω... Πολύ καλό σαν ιδέα αυτό που ανέβασες.. ;)
  23. Θα σε πείραζε, επειδή λες ακριβώς αυτό που σκέφτομαι για την διαμόρφωση τόσο των ελληνικών χαρακτήρων, αλλά και την ουσία τους, να βάλω το quote σου στο αρχικό μου ποστ? Είναι μία παράθεση που χρειάζεται να διαβαστεί. (Η επεξηγηματική αποτύπωση που ανέφερα στο προηγούμενο replay μου). @iSparky Ίσως αυτό που αναφέρεις να "αναστήσει" κάπως το Ελληνικό section! Πάραυτα όμως, το να αρχίσουμε αυτό το "έργο" να το πω έτσι, 2 ή 3 άτομα, δε ξέρω κατά πόσο θα παροτρύνει τους υπόλοιπους να ακολουθήσουν να ανεβάζουν κάτι δικό τους... Ας δείξει η πορεία... Γιατί είναι κρίμα το Ελληνικό Section, ενώ έχει ιστορία να παραμένει "νεκρό" στις μέρες μας..
  24. Ωραία Gatekeeper δείχνοντας ακριβώς αυτό που πρέπει. Κάτι διαφορετικό από τα συνηθισμένα Button που βλέπουμε συνέχεια... (Πιστεύω πως θα ήτανε καλύτερα, αν έβαζες τις Town σε 1 html, έτσι ώστε στα υπόλοιπα "βλ. Goddard, Aden, να μπει κάτι άλλο). Π.χ Στις Farming Zones, να μην κάνει αμέσως Teleport σε 1 area, αλλά να υπάρχει η επιλογή να πάμε σε περισσότερες. Καλή δουλειά όμως... Περιμένουμε να δούμε την εξέλιξή της...
×
×
  • 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..

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