Jump to content

'Baggos'

Legendary Member
  • Posts

    3,875
  • Joined

  • Last visited

  • Days Won

    28
  • Feedback

    100%

Everything posted by 'Baggos'

  1. Αν δε ξέρεις πως να κάνεις, δες κάποιον οδηγό. Δεν είναι κάτι εξαιρετικά δύσκολο... Υπομονή χρειάζεται στο να διαβάσεις τον οδηγό και θα το κάνεις.. [Guide]Πως Να Κάνεις Compile & Πως Περνάς Έναν Java Code! Όπου χρειαστείς βοήθεια, στείλε μου να σε βοηθήσω φίλε.
  2. Βάλτα στο eclipse και κάνε compile.
  3. Because it is important, i'll find time to sit in the evening to i learn what you say, reading. It is very important ... Thank you for this share mate! I want to know more about java, and it helps to i know a part of what i want..
  4. Τι εννοείς? Να βάλεις τα αρχεία όπως πρέπει για να τρέξει ο Server? Αν ναι, μέσα στους φακέλους datapack,gamesever θα υπάρχουν φάκελοι build, από εκεί θα κάνεις αποσυμπίεση τα αρχεία. Θα ανοίξεις έναν νέο φάκελο στην επιφάνεια εργασίας σου με ότι όνομα θες! Μετά θα πας εκεί που σου είπα, και θα πατήσεις "Αποσυμπίεση σε" και θα τα βάλεις να τρέξουν μέσα στον φάκελο που έφτιαξες!
  5. Yeah! Too right ... personally something I want (not so great), I try to figure it out without a copy of a share. So i stay behind now, but better to be late and to learn than to do it, despite quickly and ready, and not thy left with nothing in mind. I do not care what i'll deliver here in maxcheaters, but i care to i learn first. yesterday, you give free codes. I asked only one place that i not could find here for an hour ... I did not want all the code from what I had in mind to do. It's easy to spend something, but is difficult for one to learn how to edit it.
  6. Όπως θυμάμαι παλιά, δούλευε μια χαρά. Το έκανες True από False? # UseItem - item usage flooding FloodProtectorUseItemInterval = 1 FloodProtectorUseItemLogFlooding = False FloodProtectorUseItemPunishmentLimit = 0 FloodProtectorUseItemPunishment Type = none FloodProtectorUseItemPunishmentTime = 0
  7. I have try on aCis and it's ok. Last night i give wrong code because i use acis and on RequestRestartPoint i don't have this check/config: if (activeChar.getKarma bla bla bla) and i confused on copy. Now i put frozen svn and i'll try the night... But give a try here.. maybe you have custom zones on gatekeeper(farm zones and etc).. Go find this teleport on data/zones and change the spawn location with main town. (if you want to respawn after die on main town). I don't remember many from files on lineage, because i have to play/edit 2 years+ I try to help, in that i remember.. Forgive me if i spam, with many replays. (as say the Frank). That you're asking is too simply ... The l2jfrozen, has many codes! And that some will do edit, will not work them too easy. (Not always, of course ). My opinion is to just change the many respawn having each town, to put only one, and there, in every place, to you have NPC's and gatekeeper. in mass PVP, some prefer to be elsewhere by others. That is, they want to take their time and do not want to know the others when to leave or how many go roundtrips. Anyway ... an example for the respawn in zones, as i say above: <zone id='11030' type='Town' shape="NPoly" minZ="-2800" maxZ="-1500"> <stat name='name' val='Hunter Village'/> <stat name='townId' val='11'/> <stat name='taxById' val='5'/> <spawn X='117163' Y='76511' Z='-2712'/> <spawn X='116580' Y='76179' Z='-2729'/> <spawn X='119644' Y='76609' Z='-2274'/> <spawn X='117009' Y='78935' Z='-2289'/> <spawn X='115091' Y='77740' Z='-2709'/> <spawn X='118270' Y='74494' Z='-2502'/> <spawn X='115663' Y='74995' Z='-2625'/> </zone>
  8. i only replay 3 times. or you say for all of us? i try to help.. the code is work... yesterday i tested and is ok... Maybe author do something wrong...
  9. Ήθελα εξαρχής να γράψω στην memberlist, αλλά είχα κάτι βιαστικό εκείνη την ώρα και ξεχάστηκα... ααα.. κατάλαβα... απλά μου φάνηκε κάπως παράξενο...Τα βλέπω συνέχεια μέσα, και σε διάφορα ποστ... Μου ήρθε στο μυαλό μήπως απλά είναι άτομα (guests), τα οποία απλα βρίσκουν το φόρουμ στην αναζήτηση, αλλά ήθελα να βεβαιωθώ... Σ'ευχαριστώ φίλε... ;)
  10. Is not correct... i put the code on line with karma.. because i put the config line with karma line. (is the same config). when i read the code (when the activechar member, has say the wrong), i find my shit. The previous is this: - default: - if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN) - { - loc = new Location(17836, 170178, -3507);// Floran Village - break; - } - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); - break; - } + default: + if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN && Config.CUSTOM_RESPAWN) (is the same). + { + loc = new Location(17836, 170178, -3507);// Floran Village + loc = new Location(Config.LOCX, Config.LOCY, Config.LOCZ);// Respawn Village (this is wrong line). + break; + } + } [/code] But the correct i think is this: default: if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN) { loc = new Location(17836, 170178, -3507);// Floran Village break; } - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); - break; - } + loc = new Location(Config.LOCX, Config.LOCY, Config.LOCZ);// Respawn Village + break; + }
  11. Tessa if you look over, the 've changed. i typed two times the same mistake, making copy/paste from the old. default: if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN) { loc = new Location(17836, 170178, -3507);// Floran Village break; } - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); + loc = new Location(Config.LOCX, Config.LOCY, Config.LOCZ);// Respawn Village After Die break; }
  12. oh yes.. you have right... where is my mind... then i hope with this default: if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN) { loc = new Location(17836, 170178, -3507);// Floran Village } + + if (Config.CUSTOM_RESPAWN) + loc = new Location(Config.LOCX, Config.LOCY, Config.LOCZ);// Respawn Village + break; + } or just like that. (without to put Enable config). default: if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN) { loc = new Location(17836, 170178, -3507);// Floran Village + loc = new Location(Config.LOCX, Config.LOCY, Config.LOCZ);// Respawn Village }
  13. You have give a try in the code i give you before? ( the second post on page 2). give a try here RequestRestartPoint.Java default: if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN) { loc = new Location(17836, 170178, -3507);// Floran Village break; } - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); - break; - } + loc = new Location(Config.LOCX, Config.LOCY, Config.LOCZ);// Respawn Village + break; + } Config.java public static boolean NEW_PLAYER_EFFECT; + +// Custom respawn after die. +public static int LOCX; +public static int LOCY; +public static int LOCZ; NEW_PLAYER_EFFECT = Boolean.parseBoolean(frozenSettings.getProperty("NewPlayerEffect", "True")); + + // Custom respawn after die + LOCX = Integer.parseInt(frozenSettings.getProperty("LocationX", "put a loc here")); + LOCY = Integer.parseInt(frozenSettings.getProperty("LocationY", "put a loc here")); + LOCZ = Integer.parseInt(frozenSettings.getProperty("LocationZ", "put a loc here")); frozen.properties # New players get fireworks the first time they log in # Default: False NewPlayerEffect = False + + # Custom respawn for dead players + LocationX = put a loc here + LocationY = put a loc here + LocationZ = put a loc here
  14. Δοκίμασε να περάσεις μία μόνο αυτά.. Θα αρχίσεις από το 1ο "+" μέχρι το τελευταίο. Τα υπόλοιπα είναι για να κάνεις search που να τα βάλεις. L2PcInstance.java /** * Create a new SkillDat object and set the player _currentPetSkill.<br> * <br> * @param currentSkill * @param ctrlPressed * @param shiftPressed */ + @SuppressWarnings("javadoc") public void giveItems(boolean dagger,boolean sagi,boolean mage,boolean duelist,boolean tit,boolean nixas,boolean paladin,boolean FSeeker,boolean dreadnought,boolean HellKnight,boolean swordMuse,boolean dancer) { final int[] armorIdDagger = {6590,6379,6380,6381,6382,920,858,858,889,889}; final int[] armorIdSagi = {7577,6379,6380,6381,6382,920,858,858,889,889}; final int[] armorIdMage = {6608,2407,5767,5779,512,920,858,858,889,889}; final int[] armorIdDuelist = {6580,6373,6374,6375,6376,6378,920,858,858,889,889}; final int[] armorIdTit = {6605,6373,6374,6375,6376,6378,920,858,858,889,889}; final int[] armorIdNixas = {6604,6379,6380,6381,6382,920,858,858,889,889}; final int[] armorIdPaladin = {6581,6373,6374,6375,6376,6377,6378,920,858,858,889,889}; final int[] armorIdFSeeker = {6585,6373,6374,6375,6376,6377,6378,920,858,858,889,889}; final int[] armorIddreadnought = {6601,6373,6374,6375,6376,6378,920,858,858,889,889}; final int[] armorIdhellKnight = {6581,6373,6374,6375,6376,6377,6378,920,858,858,889,889}; final int[] armorIdswordMuse = {6581,6379,6380,6381,6382,920,858,858,889,889,6377}; final int[] armorIdDancer = {6580,6379,6380,6381,6382,920,858,858,889,889}; if(dagger) { if (armorIdDagger.length == 0) return; L2ItemInstance items = null; for (int id : armorIdDagger) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(sagi) { if (armorIdSagi.length == 0) return; L2ItemInstance items = null; for (int id : armorIdSagi) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(mage) { if (armorIdMage.length == 0) return; L2ItemInstance items = null; for (int id : armorIdMage) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(duelist) { if (armorIdDuelist.length == 0) return; L2ItemInstance items = null; for (int id : armorIdDuelist) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(tit) { if (armorIdTit.length == 0) return; L2ItemInstance items = null; for (int id : armorIdTit) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(nixas) { if (armorIdNixas.length == 0) return; L2ItemInstance items = null; for (int id : armorIdNixas) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(paladin) { if (armorIdPaladin.length == 0) return; L2ItemInstance items = null; for (int id : armorIdPaladin) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(FSeeker) { if (armorIdFSeeker.length == 0) return; L2ItemInstance items = null; for (int id : armorIdFSeeker) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(dreadnought) { if (armorIddreadnought.length == 0) return; L2ItemInstance items = null; for (int id : armorIddreadnought) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(HellKnight) { if (armorIdhellKnight.length == 0) return; L2ItemInstance items = null; for (int id : armorIdhellKnight) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(swordMuse) { if (armorIdswordMuse.length == 0) return; L2ItemInstance items = null; for (int id : armorIdswordMuse) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } else if(dancer) { if (armorIdDancer.length == 0) return; L2ItemInstance items = null; for (int id : armorIdDancer) { getInventory().addItem("Armors", id, 1, this, null); items = getInventory().getItemByItemId(id); items.updateDatabase(); getInventory().equipItemAndRecord(items); getInventory().reloadEquippedItems(); this.broadcastCharInfo(); this.sendPacket(new InventoryUpdate()); this.sendPacket(new ItemList(this, false)); this.sendPacket(new StatusUpdate(this)); } } } /** * */ private void broadcastCharInfo() { + } public void setCurrentPetSkill(final L2Skill currentSkill, final boolean ctrlPressed, final boolean shiftPressed) Και εδώ το ίδιο... από το πρώτο "+". L2ClassMasterInstance.java /** The _instance. */ private static L2ClassMasterInstance _instance; + private int newJobLevel; player.setBaseClass(classId); + if(newJobLevel == 3 && !player.isSubClassActive()) + autoEquip(player); // player.setBaseClass(player.getActiveClass()); html.setHtml(sb.toString()); player.sendPacket(html); html = null; sb = null; return; } + private static void autoEquip(final L2PcInstance player) { final ClassId HDagger =ClassId.adventurer; final ClassId Sagi =ClassId.sagittarius; final ClassId Duelist =ClassId.duelist; final ClassId Tit =ClassId.titan; final ClassId Nixas =ClassId.grandKhauatari; final ClassId Paladin =ClassId.phoenixKnight; final ClassId MSentinel =ClassId.moonlightSentinel; final ClassId FSeeker =ClassId.fortuneSeeker; final ClassId Maestro =ClassId.maestro; final ClassId dreadnought =ClassId.dreadnought; final ClassId hellKnight =ClassId.hellKnight; final ClassId evaTemplar =ClassId.evaTemplar; final ClassId swordMuse =ClassId.swordMuse; final ClassId windRider =ClassId.windRider; final ClassId shillienTemplar =ClassId.shillienTemplar; final ClassId spectralDancer =ClassId.spectralDancer; final ClassId ghostHunter =ClassId.ghostHunter; final ClassId ghostSentinel =ClassId.ghostSentinel; if(player.getClassId().equals(HDagger)) player.giveItems(true,false,false,false,false,false,false,false,false,false,false,false); else if(player.getClassId().equals(Sagi)) player.giveItems(false,true,false,false,false,false,false,false,false,false,false,false); else if(player.getClassId().isMage()) player.giveItems(false,false,true,false,false,false,false,false,false,false,false,false); else if(player.getClassId().equals(Duelist)) player.giveItems(false,false,false,true,false,false,false,false,false,false,false,false); else if(player.getClassId().equals(Tit)) player.giveItems(false,false,false,false,true,false,false,false,false,false,false,false); else if(player.getClassId().equals(Nixas)) player.giveItems(false,false,false,false,false,true,false,false,false,false,false,false); else if(player.getClassId().equals(Paladin)) player.giveItems(false,false,false,false,false,false,true,false,false,false,false,false); else if(player.getClassId().equals(MSentinel)) player.giveItems(false,true,false,false,false,false,false,false,false,false,false,false); else if(player.getClassId().equals(FSeeker)) player.giveItems(false,false,false,false,false,false,false,true,false,false,false,false); else if(player.getClassId().equals(Maestro)) player.giveItems(false,false,false,false,false,false,false,true,false,false,false,false); else if(player.getClassId().equals(dreadnought)) player.giveItems(false,false,false,false,false,false,false,false,true,false,false,false); else if(player.getClassId().equals(hellKnight)) player.giveItems(false,false,false,false,false,false,false,false,false,true,false,false); else if(player.getClassId().equals(evaTemplar)) player.giveItems(false,false,false,false,false,false,false,false,false,true,false,false); else if(player.getClassId().equals(swordMuse)) player.giveItems(false,false,false,false,false,false,false,false,false,false,true,false); else if(player.getClassId().equals(windRider)) player.giveItems(true,false,false,false,false,false,false,false,false,false,false,false); else if(player.getClassId().equals(shillienTemplar)) player.giveItems(false,false,false,false,false,false,false,true,false,false,false,false); else if(player.getClassId().equals(spectralDancer)) player.giveItems(false,false,false,false,false,false,false,false,false,false,false,true); else if(player.getClassId().equals(ghostHunter)) player.giveItems(true,false,false,false,false,false,false,false,false,false,false,false); else if(player.getClassId().equals(ghostSentinel)) player.giveItems(false,true,false,false,false,false,false,false,false,false,false,false); + }
  15. Για διάβασε εδώ, βοηθάει? http://apps.teipir.gr/mhx_nz_csharp/lectures/Lecture04.pdf
  16. Τι είναι αυτά τα δύο που δε μπορούμε να πατήσουμε επάνω τους? Επίσης, αυτοί μπορούν να εντοπίσουν την IP μας ή κάτι προσωπικό μας τέλος πάντων?
  17. Same Questions from the same persons. http://www.maxcheaters.com/topic/188292-help-gia-to-vilage/ http://www.maxcheaters.com/topic/188296-skill-enchanter-problem/
  18. Βέβαια και κάνει φίλε. Και είναι ίσως από τα μόνα Interlude που κάνουν για live server. Όμως αν θες για pvp server, άνοιξε με το L2J Frozen. Και πιο εύκολο στη χρήση, και έχει μέσα πάρα πολλά custom mods. Αν όμως ξέρεις να περνάς κώδικες, μπορείς να χτίσεις το L2J aCis με τα custom mods που χρειάζεσαι εσύ από μόνος σου.
  19. Το θέμα σου μεταφέρθηκε χθες το βράδυ. Στο παρακάτω σύνδεσμο θα το βρεις. (Δώσε βάση στην απάντηση του Fanky). Help gia to Village
  20. Make a update on eclipse. there is the problem...
  21. Το frozen έχει δικό του τέτοιο npc. Τρέχει, αν πατήσεις να κάνει install τα custom sql. Μετά, απλά επεξεργάσου το html με αυυό που θες... έτσι έκανα και γω στο παρελθόν...
  22. Δε θα δουλέψει καθόλου έτσι? Από απορία... Ήξερα πως ήθελε σβήσιμο το "loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);" και αντικατάσταση με το "loc = new Location(82480, 149087, -3350);" αλλά δεν ήμουν σίγουρος.. νόμιζα πως είναι καθαρά μόνο για την jail. :/ Γι'αυτό είπα δε ξέρω αν δουλέψει... δε μπορούσα να μπω l2 να δοκιμάσω..
  23. Δοκίμασε μία το παρακάτω... Πήγαινε net.sf.l2j.gameserver.network.clientpackets.RequestRestartPoint.java (Δεν μπορώ να δοκιμάσω αν δουλέψει γιατί τα'χει παίξει το pc). case 27: // to jail if (!activeChar.isInJail()) return; loc = new Location(-114356, -249645, -2984); break; - - default: - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); - break; - } + + default: + if (activeChar.isDead()) + { + loc = new Location(82480, 149087, -3350); + break; + } + loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); + break; + }
  24. Έχει δίκιο ο Dante44. Πρώτα κοιτάμε με τι έχουμε να κάνουμε, τι πρέπει να φτιάξουμε, τι δουλεύει και τι όχι, και μετά κάνουμε κινήσεις για live έναν Server. Τέλος πάντων... Κοίτα αν έχει false για το check του topzone. Αλλιώς, στείλε τον κώδικα από τα Java. Τι έρρορ παίρνεις στο gs μόλις τρώνε dc οι παίχτες? Δώσε περισσότερες πληροφορίες...
  25. Είναι πολύ παλιό το Interlude του L2J Server. Άρχισε πάνω στο L2J aCis να ασχολήσε. Καλύτερο... REV 320: https://xp-dev.com/svn/aCis_community/
×
×
  • 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