Jump to content

Rizel

Members
  • Posts

    271
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Rizel

  1. hey everyone. I decided to continue L2J coding, so I made this NPC for practice. I hope someone will find it usefull (and its not already made by someone else). Its coded for L2J Epilogue pack. This NPC augments the current weapon in the players hand. You can customize the item id and the ammount of the fee. After the augment the player have to re-login. I only made an example button since I dont have the mood/time to list all the augment skills. Insert what you want to use. I suggest to read the READmE.txt If you find any bug / have any suggestion reply. (i know my coding skills are way from perfect so any suggestion would be appreciated :) ) Download: http://www.mediafire.com/?jtjommok1my
  2. off values? :D 90% of the shares in this forum is some custom stuff :)
  3. Escape The Fate-There's No Sympathy For The Dead (one of my favourites) http://www.youtube.com/watch?v=cEW3NPKLQjs
  4. still 17...will be 18 at june:P
  5. my favourite is table tennis :)
  6. Don't double post! no.. you target yourself, type //add_skill with the gm character, a window will open you search gmskills or something like that and there will be the gmspeed if i'm right
  7. i think you misunderstood him.. he want to set the acces level needed to change other chars acces lvl.. you need to make a new level for example for acceslevel 75 and set all the commands to 75 wich you want enable to gm-s too.. the command for set acceslevel is in config/command-privileges ################### ### GM SETTINGS ### ################### admin_changelvl = 100
  8. in l2jfree you can add gmskills in //add_skill but i don't know if it works in l2j too.. :\
  9. nice share and thanks for the credits:D i didn't helped much:D
  10. Fix for this exploit: http://www.maxcheaters.com/forum/index.php?topic=46638.0 Credit's to me clientpackets.TradeRequest.java (about line 125) + if (partner.getAllowTrade() == false) + { + player.sendMessage("Target is not allowed to receive more than one trade request at the same time."); + return; + } + partner.setAllowTrade(false); + player.setAllowTrade(false); player.onTransactionRequest(partner); partner.sendPacket(new SendTradeRequest(player.getObjectId())); SystemMessage sm = new SystemMessage(SystemMessageId.REQUEST_S1_FOR_TRADE); sm.addString(partner.getName()); player.sendPacket(sm); ----------------------------------------------------------- clientpackets.AnswerTradeRequest.java (about line 69) L2PcInstance partner = player.getActiveRequester(); if (partner == null || L2World.getInstance().findObject(partner.getObjectId()) == null) { // Trade partner not found, cancel trade player.sendPacket(new SendTradeDone(0)); SystemMessage msg = new SystemMessage(SystemMessageId.TARGET_IS_NOT_FOUND_IN_THE_GAME); player.sendPacket(msg); player.setActiveRequester(null); + player.setAllowTrade(true); + partner.setAllowTrade(true); msg = null; return; } - if (_response == 1) player.startTrade(partner); + if (_response == 1) + { + player.startTrade(partner); + partner.setAllowTrade(true); + player.setAllowTrade(true); + } else { SystemMessage msg = new SystemMessage(SystemMessageId.S1_DENIED_TRADE_REQUEST); msg.addString(player.getName()); partner.sendPacket(msg); + player.setAllowTrade(true); msg = null; } ------------------------------------------ L2PcInstance.java (about line 497) private int _apprentice = 0; private int _sponsor = 0; + public boolean _allowTrade = true; private long _clanJoinExpiryTime; private long _clanCreateExpiryTime; L2PcInstance.java (about line 8121) public void setClanPrivileges(int n) { _clanPrivileges = n; } + public boolean getAllowTrade() + { + return _allowTrade; + } + + public void setAllowTrade(boolean a) + { + _allowTrade = a; + }
  11. altsettings.properties # Weight Limit multiplier - default 1 AltWeightLimit = 1. other.properties #------------------------------------------ # Death Penalty chance if killed by mob (%) #------------------------------------------ DeathPenaltyChance = 20 set the weight to 100 for example and the deathpenalty to 0
  12. try to use this code <a action="bypass -h admin_open 24190002">Open the Gates</a><br> <a action="bypass -h admin_close 24190002">Close the Gates</a><br> but it'll works only with admin char so you should make a new commandhandler with the same script as the AdminDoorControll.java but without the access lvl check
  13. you need all weapons in this npc or just the S-grade for example there's also a multisell maker program with this you can easily make the multisells: http://www.maxcheaters.com/forum/index.php?topic=8143.0
  14. if i remember right in the servers database there is a table named item_attributes..the server stores the augments here (augSkillId, augSkillLevel) i don't know exactly what do you need to insert the other columns :\ in l2jfree pack the augment skill list : gameserver/data/stats/augmentation/augmentation_skillmap.xml..try to write the row in the sql from another existing row good luck:D
  15. This is the English section so use english!
  16. INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, 31, 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, "LAST_HIT"); now it's has to be perfect
  17. INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, "LAST_HIT"); now it'll working ... ( i added too many 0 :D )
  18. INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, 0, "LAST_HIT"); try this :)
  19. INSERT INTO `custom_npc` so dump the custom_npc not the npc table
  20. very interesting share :) i think the kamael looks better this way ;) keep up dude :P
×
×
  • Create New...