Jump to content

ZaNteR

Members
  • Posts

    1,028
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ZaNteR

  1. Kalitera na pas sta forum apo ena pack, ekei sigoura tha vreis odigo pou na einai pliris.
  2. Why dont you make it so you dont even have to buy soulshots and spiritishots?
  3. I adopted it for latest L2J BETA 6253 and 9998 but when i use it nothing happens, i dont even get console errors. package custom.DeLevelManager; import com.l2jserver.gameserver.cache.HtmCache; import com.l2jserver.gameserver.datatables.ItemTable; import com.l2jserver.gameserver.model.skills.L2Skill; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.quest.Quest; import com.l2jserver.gameserver.network.serverpackets.ExBrExtraUserInfo; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jserver.gameserver.network.serverpackets.UserInfo; /** * @author `Heroin * Made For Maxcheaters.com */ public class DeLevelManager extends Quest { private static final int npcid = 36650; // npc id private static final int MinLevel = 10; // Minimum Level, (e.g if you set 10, players wont be able to be level 9). private static final int ItemConsumeId = 57; // Item Consume id private int levels ; // Item Consume id private static final int ItemConsumeNumEveryLevel = 100; // Item ItemConsumeNumEveryLevel private static String htm = "data/scripts/custom/DeLevelManager/1.htm"; //html location private static String ItemName = ItemTable.getInstance().createDummyItem(ItemConsumeId).getItemName(); public DeLevelManager(int questId, String name, String descr) { super(questId, name, descr); addFirstTalkId(npcid); addTalkId(npcid); addStartNpc(npcid); } @Override public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { if (event.startsWith("dlvl")) { Dlvl(event, npc, player, event); } return ""; } private void Dlvl(String event, L2Npc npc, L2PcInstance player, String command) { try { String val = command.substring(5); int pointer = Integer.parseInt(val); int k = player.getLevel(); levels = k - pointer; if (player.getInventory().getItemByItemId(ItemConsumeId) == null) { player.sendMessage("You don't have enough items!"); return; } if (val == null) { player.sendMessage("Something went wrong!"); return; } if (pointer < 10) { player.sendMessage("Incorrect Level Number!"); return; } if (pointer < MinLevel) { player.sendMessage("Incorrect Level Number!"); return; } if (player.getLevel() <= pointer) { player.sendMessage("Your level is already lower."); return; } if (player.getInventory().getItemByItemId(ItemConsumeId).getCount() < ItemConsumeNumEveryLevel*levels) { player.sendMessage("You don't have enough items!"); return; } if (player.getInventory().getItemByItemId(ItemConsumeId).getCount() >= ItemConsumeNumEveryLevel) { k = player.getLevel(); final byte lvl = Byte.parseByte(pointer + ""); player.getStat().setLevel(lvl); player.sendMessage("Congratulations! You are now "+pointer+" level."); for(L2Skill sk : player.getAllSkills()) { player.removeSkill(sk); } player.broadcastStatusUpdate(); player.broadcastUserInfo(); player.sendPacket(new UserInfo(player)); player.sendPacket(new ExBrExtraUserInfo(player)); player.giveAvailableAutoGetSkills(); player.giveAvailableSkills(true, true); player.sendSkillList(); levels = k - pointer; player.destroyItemByItemId("DlvlManager", ItemConsumeId, ItemConsumeNumEveryLevel*levels, player, true); } } catch (Exception e) { player.sendMessage("Something went wrong try again."); } } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { final int npcId = npc.getId(); if (player.getQuestState(getName()) == null) { newQuestState(player); } if (npcId == npcid) { String html = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), htm); html = html.replaceAll("%player%", player.getName()); html = html.replaceAll("%itemname%", ItemName); html = html.replaceAll("%price%", ""+ItemConsumeNumEveryLevel+""); NpcHtmlMessage npcHtml = new NpcHtmlMessage(0); npcHtml.setHtml(html); player.sendPacket(npcHtml); } return ""; } public static void main(final String[] args) { new DeLevelManager(-1, DeLevelManager.class.getSimpleName(), "custom"); System.out.println("De Level Manager by `Heroin has been loaded successfully!"); } }
  4. I dont really know anymore, i feel nostalgic about the past. The first server i played seriously was x35 C3 (The Game), i would like something like that. However now i dont have the time or the patience for such low rates. The newer updates added a lot more to work for thus requiring additional time to invest. On the other hand the high rate servers offer an unbalanced but fast gameplay wich i enjoy more right now. But high rates have usually bad communities (QQers, Smartasses etc.) I guess what i would like now its a high rate server where i get top items fast but to have things to do after my char is full, maybe an achievements thing that doesnt involve items. Maybe i should develop such a server. :D
  5. Looks intresting and its the cheapest i've seen.
  6. Packet injecting doesnt work anymore on l2j, probably the reason why there are only bug based exploits now.
  7. Diladi kata tin logiki sou epeidi den m aresoun ta revithia eimai revithofovikos? Ase to ti lew egw, egw exw tin diki mou apopsi, genika ama peis oti se enoxlei kati to opoio exei na kanei me lathrometanastes i metanastes sou vazoun tin tampela tou ratsisti aytomata. Den milisa gia xrisi augi, ama diavaseis to reply mou ayto to politiko sistima pou exoume den me antiprosopevei pleon.
  8. Prosopika exw arxisei na xanw elpida gia ayton ton topo kai tous anthrwpous tou. Exoume ftasei se parakmi san koinwnia genika. Ama peis oti eisai patriotis sou vazoun tin tampela fasistas i toulaxiston etsi exei perasei. Ama peis oti den sou aresei i omofilofilia eisai ratsistis kai homofovikos. (as erthoun oi lougres na mou klasoun poy tha tous fovithw kiolas lol) No offence o kathenas borei na kanei oti goustarei sto krevati tou arkei na min me enoxlisei. Ama peis oti den antexeis tous vrwmiarides lathrometanastes pou apo tote pou irthan i egklimatikotia exei ftasei sta ipsi eisai ratsistis. Oi perisoteroi den dexontai oute na prosarmostoun stin koinonia mas, en antithesi theloun emeis na prosarmostoume ston diko tous tropo zwis. O thesmos ethnos, oikogeneia kai thriskeia den simainoun kai polla pleon. Oi manades mas, kai oi giagiades mas, vlepoun oli mera tourkika san xaivania. O stratos mas einai 8 mines aggaries, na filas adeia ktiria kai opla sapia pou den doulevoun. Min ksexasw oti ama mas kanoun oi tourkoi epithesi egw proswpika tha tous epitethw me tin gwnia kai ton fakelo tou krevatiou mou. Olo to politiko sistima einai GTPK. Kaneis den aksizei kai ama iparxei kapoios pou aksizei pragmatika den tha borei na kanei tipota giati the prepei na parei adeia apo anothen. Oti kai na psifisetai ta idia skata kai xeirotera tha eimaste. Sta epomena 20-50 xronia (kai polla lew) tha exoume ginei xwra tis mesis anatolis/tritou kosmou etsi opos pame. Aytoi eimaste kata tin gnwmi mou.
  9. Looks intresting. Good luck mate i might try it out when its opened.
  10. No, im gonna try it right now. UPDATE: The hierarchy of files is different, im gonna try and use the oldest h5 beta version and work out the errors from there.
  11. I understand that you mean good and want to do this, but i see nothing not done before. Hell i dont even think theres anything new we can do to make this game any better at all.
  12. Is there going to be a version for H5 Stable? Because BETA H5 is unusable for Live servers.
  13. I tried overclocking my cpu core2due e8500 but my screen went black i aint trying it again lol.
  14. You can auto restart the server using global tasks in the servers database. Try this. INSERT INTO `global_tasks` VALUES ('9', 'restart', 'TYPE_GLOBAL_TASK', '1377057240983', '1', '06:00:00', '300'); With this your server will autorestart everyday at 6 in the morning with a 300 seconds countdown.
  15. Since English is the International language, only english should be allowed. The l2 community is smaller than it used to be.
  16. Και αυτοί μέρος του συστήματος είναι.
  17. I believe there have been some bad practises from the side of server owners/developers. For example they give in on players complaints and requests too easily resulting on various trends and unrealistic expectasions to form. For example here are some l2 cliches: If a server doesnt have a scheme buffer it sux If a server doesnt have pop up class change it sux If a server doesnt have vote reward it sux If a server doesnt have an event engine it sux If a server has easy farming it gets boring fast and it sux If a server has hard farming is boring and it sux If a server has medium farming it sux because its not easy If a server doesnt have 1h+ buffs it sux If a h5 server doesnt return cancel buffs after some seconds it sux If you try something original (like changing aspects of gameplay) it sux If a server doesnt have a premium website but has dedicated server it sux (I remember old l2zeus had a invision free forum, try doing that now :troll: ) Thats just from the top of my head im sure there are more.
  18. Do you wanna do it exactly like SAO? Wearing the headgear and then going into some short of rem sleep mode where we will be playing like dreaming? Anyway count me in for the story and concept things if you need i got some pretty cool ideas.
  19. After reading the post i get the point that some people dont see it fair for private/purchasable projects to be featured on the same place as free open source packs. A simple solution to all this mess would be designated sections for puchasable and free packs imo. Also i agree that free projects should get the best promotion possible for obvious reasons.
  20. Not sure if it exists allready maybe im blind :P but it would be cool if we can delete our own topics or replies or at least to have that option for a while after we have made a post/topic.
×
×
  • 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