Jump to content

Dulens.

Banned
  • Posts

    3,353
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Dulens.

  1. It works, but I don't care if l2jsigmo is famous lol.
  2. It's difficult to find job because I'm too young (15 y.o). I think the best is to start gym, and bike ;3 About the sea, and friends is already known :'D
  3. I'm thinking about gym, and the bike is sure. Also, I'm doing something with a girl ;x I want to start again football, but I have problem with my breath :|
  4. Hello everyone, because I don't have the necessary knowledge about system editing I want help to change the types of the lifestones and bog in order to be stackable. 1. High Grade Life Stone 76 2 8752 0 3 3 3 0 dropitems.drop_mineral_rare_m00 dropitemstex.drop_mineral_rare_t00 icon.etc_mineral_rare_i03 0 2 53 0 0 1 1 ItemSound.itemdrop_mold 0 0 0 2. Top Grade Life Stone 76 2 8762 0 3 3 3 0 dropitems.drop_mineral_unique_m00 dropitemstex.drop_mineral_unique_t00 icon.etc_mineral_unique_i03 0 2 53 0 0 1 1 ItemSound.itemdrop_mold 0 0 0 3. Secret Book Of Giant 2 6622 0 0 2 5 0 dropitems.drop_sack_m00 dropitemstex.drop_sack_t00 icon.etc_codex_of_giant_i00 0 10 18 0 0 1 1 ItemSound.itemdrop_sack 0 0 0 What I should change from these lines in order to make stackable these items? PS; Java and database sides are ready. Thanks!
  5. Επειδή δεν τα πάω πολύ καλά με system, θα ήθελα λίγη βοήθεια για να αλλάξω το type από τις lifestone και τα bog μέσω του etcitemgrp.dat! 1. 2 8752 0 3 3 3 0 dropitems.drop_mineral_rare_m00 dropitemstex.drop_mineral_rare_t00 icon.etc_mineral_rare_i03 0 2 53 0 0 1 1 ItemSound.itemdrop_mold 0 0 0 2. 2 8762 0 3 3 3 0 dropitems.drop_mineral_unique_m00 dropitemstex.drop_mineral_unique_t00 icon.etc_mineral_unique_i03 0 2 53 0 0 1 1 ItemSound.itemdrop_mold 0 0 0 3. 2 6622 0 0 2 5 0 dropitems.drop_sack_m00 dropitemstex.drop_sack_t00 icon.etc_codex_of_giant_i00 0 10 18 0 0 1 1 ItemSound.itemdrop_sack 0 0 0 Τι πρέπει να αλλάξω από αυτές τις γραμμές για να είναι stackable? PS; το java και το database side είναι έτοιμα.
  6. I'm gonna report you, what's the reason of these posts? Loled.
  7. με java code, ζήτα από κάποιον να στο κάνει.
  8. selfreq.
  9. I searched for, but nothing.
  10. exactly, and promoted for this reason :p
  11. Warmaster = YouTube
  12. Many files from source are missing. This source it's useless. Look at handler's folder!
  13. What do you mean?
  14. Here is l2jsigmo's casino. Go here, Java\com\src\gameserver\model\actor\instance and create java file with name L2CasinoInstance.java And copy the follow code into the file: package com.src.gameserver.model.actor.instance; import javolution.text.TextBuilder; import com.src.gameserver.GameTimeController; import com.src.gameserver.ai.CtrlIntention; import com.src.gameserver.network.serverpackets.ExShowScreenMessage; import com.src.gameserver.network.serverpackets.ItemList; import com.src.gameserver.network.serverpackets.MagicSkillUser; import com.src.gameserver.network.serverpackets.NpcHtmlMessage; import com.src.gameserver.network.serverpackets.SetupGauge; import com.src.gameserver.network.serverpackets.SocialAction; import com.src.gameserver.templates.chars.L2NpcTemplate; import com.src.gameserver.thread.ThreadPoolManager; import com.src.gameserver.util.Broadcast; import com.src.util.random.Rnd; public class L2CasinoInstance extends L2NpcInstance { public String filename; public L2CasinoInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { if(player == null || player.getLastFolkNPC() == null || player.getLastFolkNPC().getObjectId() != this.getObjectId()) { return; } if(command.startsWith("play1")) { Casino1(player); } if(command.startsWith("play2")) { Casino2(player); } if(command.startsWith("play3")) { Casino3(player); } if(command.startsWith("play4")) { Casino4(player); } } private static void displayCongrats(L2PcInstance player) { player.broadcastPacket(new SocialAction(player.getObjectId(), 3)); player.broadcastPacket(new MagicSkillUser(player, player, 2024, 1, 1, 0)); player.sendPacket(new ExShowScreenMessage("Congratulations " + player.getName() + " you win!", 4000, 0x02, true)); } private static void displayCongrats2(L2PcInstance player) { player.broadcastPacket(new SocialAction(player.getObjectId(), 13)); player.sendPacket(new ExShowScreenMessage("-beep- " + player.getName() + " you lost!", 4000, 0x02, true)); } @Override public void showChatWindow(L2PcInstance player, int val) { filename = (getHtmlPath(getNpcId(), val)); NpcHtmlMessage msg = new NpcHtmlMessage(this.getObjectId()); msg.setHtml(casinoWindow(player)); msg.replace("%objectId%", String.valueOf(this.getObjectId())); player.sendPacket(msg); } private String casinoWindow(L2PcInstance player) { TextBuilder tb = new TextBuilder(); tb.append("<html><title>Casino Manager</title><body>"); tb.append("<center>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32><br>"); tb.append("<font color=\"999999\">Chance to win: 50%</font><br><br>"); tb.append("Welcome " + player.getName() + "<br>"); tb.append("<tr><td>Double or Nothing ?</td></tr><br>"); tb.append("Place your bets"); tb.append("<br>"); tb.append("<tr>"); tb.append("<td><button value= 100KK action=\"bypass -h npc_%objectId%_play1\" width=70 height=21 back=L2UI.DefaultButton_click fore=L2UI.DefaultButton></td>"); tb.append("<td><button value= 300KK action=\"bypass -h npc_%objectId%_play2\" width=70 height=21 back=L2UI.DefaultButton_click fore=L2UI.DefaultButton></td>"); tb.append("</tr>"); tb.append("<tr>"); tb.append("<td><button value= 500KK action=\"bypass -h npc_%objectId%_play3\" width=70 height=21 back=L2UI.DefaultButton_click fore=L2UI.DefaultButton></td>"); tb.append("<td><button value= 1KKK action=\"bypass -h npc_%objectId%_play4\" width=70 height=21 back=L2UI.DefaultButton_click fore=L2UI.DefaultButton></td>"); tb.append("</tr>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32><br>"); tb.append("</center>"); tb.append("</body></html>"); return tb.toString(); } public static void Casino1(L2PcInstance player) { int unstuckTimer = (1*1000 ); player.setTarget(player); player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); player.disableAllSkills(); MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0); Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000); SetupGauge sg = new SetupGauge(0, unstuckTimer); player.sendPacket(sg); Casino1 ef = new Casino1(player); player.setSkillCast(ThreadPoolManager.getInstance().scheduleGeneral(ef, unstuckTimer)); player.setSkillCastEndTime(10+GameTimeController.getGameTicks()+unstuckTimer/GameTimeController.MILLIS_IN_TICK); } private static class Casino1 implements Runnable { private L2PcInstance _player; Casino1(L2PcInstance player) { _player = player; } public void run() { if(_player.isDead()) { return; } _player.setIsIn7sDungeon(false); _player.enableAllSkills(); int chance = Rnd.get(2); if(_player.isNoble() && _player.getInventory().getInventoryItemCount(57, 0) >= 100000000) { if(chance == 0) { displayCongrats(_player); _player.getInventory().addItem("Adena", 57, 100000000, _player, null); } if(chance == 1) { displayCongrats2(_player); _player.getInventory().destroyItemByItemId("Adena", 57, 100000000, _player, null); _player.sendPacket(new ItemList(_player, false)); } } else { _player.sendMessage("You don't have enough items."); } } } public static void Casino2(L2PcInstance player) { int unstuckTimer = (1*1000 ); player.setTarget(player); player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); player.disableAllSkills(); MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0); Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000); SetupGauge sg = new SetupGauge(0, unstuckTimer); player.sendPacket(sg); Casino2 ef = new Casino2(player); player.setSkillCast(ThreadPoolManager.getInstance().scheduleGeneral(ef, unstuckTimer)); player.setSkillCastEndTime(10+GameTimeController.getGameTicks()+unstuckTimer/GameTimeController.MILLIS_IN_TICK); } private static class Casino2 implements Runnable { private L2PcInstance _player; Casino2(L2PcInstance player) { _player = player; } public void run() { if(_player.isDead()) { return; } _player.setIsIn7sDungeon(false); _player.enableAllSkills(); int chance = Rnd.get(3); if(_player.isNoble() && _player.getInventory().getInventoryItemCount(57, 0) >= 300000000) { if(chance == 0) { displayCongrats(_player); _player.getInventory().addItem("Adena", 57, 300000000, _player, null); } if(chance == 1) { displayCongrats2(_player); _player.getInventory().destroyItemByItemId("Adena", 57, 300000000, _player, null); _player.sendPacket(new ItemList(_player, false)); } if(chance == 2) { displayCongrats2(_player); _player.getInventory().destroyItemByItemId("Adena", 57, 300000000, _player, null); _player.sendPacket(new ItemList(_player, false)); } } else { _player.sendMessage("You don't have enough items."); } } } public static void Casino3(L2PcInstance player) { int unstuckTimer = (1*1000 ); player.setTarget(player); player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); player.disableAllSkills(); MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0); Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000); SetupGauge sg = new SetupGauge(0, unstuckTimer); player.sendPacket(sg); Casino3 ef = new Casino3(player); player.setSkillCast(ThreadPoolManager.getInstance().scheduleGeneral(ef, unstuckTimer)); player.setSkillCastEndTime(10+GameTimeController.getGameTicks()+unstuckTimer/GameTimeController.MILLIS_IN_TICK); } private static class Casino3 implements Runnable { private L2PcInstance _player; Casino3(L2PcInstance player) { _player = player; } public void run() { if(_player.isDead()) { return; } _player.setIsIn7sDungeon(false); _player.enableAllSkills(); int chance = Rnd.get(3); if(_player.isNoble() && _player.getInventory().getInventoryItemCount(57, 0) >= 500000000) { if(chance == 0) { displayCongrats(_player); _player.getInventory().addItem("Adena", 57, 500000000, _player, null); } if(chance == 1) { displayCongrats2(_player); _player.getInventory().destroyItemByItemId("Adena", 57, 500000000, _player, null); _player.sendPacket(new ItemList(_player, false)); } if(chance == 2) { displayCongrats2(_player); _player.getInventory().destroyItemByItemId("Adena", 57, 500000000, _player, null); _player.sendPacket(new ItemList(_player, false)); } } else { _player.sendMessage("You don't have enough items."); } } } public static void Casino4(L2PcInstance player) { int unstuckTimer = (1*1000 ); player.setTarget(player); player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); player.disableAllSkills(); MagicSkillUser msk = new MagicSkillUser(player, 361, 1, unstuckTimer, 0); Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 810000); SetupGauge sg = new SetupGauge(0, unstuckTimer); player.sendPacket(sg); Casino4 ef = new Casino4(player); player.setSkillCast(ThreadPoolManager.getInstance().scheduleGeneral(ef, unstuckTimer)); player.setSkillCastEndTime(10+GameTimeController.getGameTicks()+unstuckTimer/GameTimeController.MILLIS_IN_TICK); } private static class Casino4 implements Runnable { private L2PcInstance _player; Casino4(L2PcInstance player) { _player = player; } public void run() { if(_player.isDead()) { return; } _player.setIsIn7sDungeon(false); _player.enableAllSkills(); int chance = Rnd.get(3); if(_player.isNoble() && _player.getInventory().getInventoryItemCount(57, 0) >= 1000000000) { if(chance == 0) { displayCongrats(_player); _player.getInventory().addItem("Adena", 57, 1000000000, _player, null); } if(chance == 1) { displayCongrats2(_player); _player.getInventory().destroyItemByItemId("Adena", 57, 1000000000, _player, null); _player.sendPacket(new ItemList(_player, false)); } if(chance == 2) { displayCongrats2(_player); _player.getInventory().destroyItemByItemId("Adena", 57, 1000000000, _player, null); _player.sendPacket(new ItemList(_player, false)); } } else { _player.sendMessage("You don't have enough items."); } } } } After all these, add a npc into database with type L2Casino ! PS; If someone need this casino for another project, just tell me to change the imports! Because, Vhalior prix my balls credits to: Vhalior aka L2jSigmo's Owner! Okay?
  15. There are too many topics about this subject (which pack is better) , don't stay offtopic! You are wrong, you know the reason? aCis hasn't got completed and fixed AI, so isn't perfect for low rate because some things don't work. Frozen is the best choose for Low Rate, because all the AI are completed and fixed. Also, the aCis is the perfect project for PvP Server!
  16. μωρέ το έχεις το pc, αλλά θες να δεις πόσο σάπιο είναι?
  17. It's not with hex code, just test numbers like 1,2,3,4,5 etc.
  18. αφού δεν το έχεις χρησιμοποιήσει ακόμα. θες να δοκιμάσουμε ένα booter πάνω?
  19. Oh come on, help me ;p
  20. όχι, δεν ξέρω κάποιον που να την έχει χρησιμοποιήσει απλά έχω δει σχόλια στο topic της εταιρίας εδώ στο MaxCheaters.
  21. καλή? όλοι λένε ότι έχει πρόβλημα με το lag, και ότι δεν είναι γενικά καλή. εγώ προσωπικά δεν την συνιστώ.
  22. το papaki.gr είναι για website hosting ή domain. άμα θέλεις ελληνική εταιρία υπάρχει η tophost.gr που είναι πολύ φτηνή αλλά χωρίς προστασία.
  23. εκεί + worldstream αλλά είναι ακριβή λόγο ότι έχει ddos protection.
  24. Είναι ελληνικό section, και νομίζω είπε ότι θέλει μια 'φτηνή' εταιρία.
×
×
  • Create New...

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