Jump to content

heladito

Members
  • Posts

    59
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by heladito

  1. where is the second fix? only gave me the fix for announce, right?
  2. hi zake! thanks for help me. So, u say dont add this code? and the fix for second error?
  3. i dont have money to pay. sorry. Anyone can help me? please. i really apreciate
  4. thanks but i dont have money. Anyone can help me or guide me to fix it? please.
  5. hi guys! i added the l2tournament https://maxcheaters.com/topic/239719-l2jfrozen-tournament/ for Jfrozen. But i have some errors in the code. The first error its in the line Broadcast.gameAnnounceToOnlinePlayers https://imgur.com/a/filt11H The second error its in ArenaTask.java with the Player if (player.isOnline() == 1 && !player.isInArenaEvent() && !player.isArenaAttack()) { if (player.isArena1x1()) Arena1x1.getInstance().remove(player); if (player.isArena3x3()) Arena3x3.getInstance().remove(player); if (player.isArena5x5()) Arena5x5.getInstance().remove(player); if (player.isArena9x9()) Arena9x9.getInstance().remove(player); player.setArenaProtection(false); https://imgur.com/joN1bIJ i hope anyone can help me. Thanks!
  6. Hi. I've already added the patch but when I want to talk to npc, I get this error on the console. and the lines the gs marks me are these but I can't find the problem
  7. hi guys! again me. anyone can help me with this? maybe i need replace some lib file?
  8. hi guys! i added a skin 2 click item and every its ok in Eclipse, but when i want start the gs, i have this error. https://ibb.co/svnsWkV this is the code in config.java /** Skins Dressme */ public static boolean ALLOW_DRESS_ME_SYSTEM; public static Map<String, Integer> DRESS_ME_HELMET = new HashMap<>(); public static Map<String, Integer> DRESS_ME_CHESTS = new HashMap<>(); public static Map<String, Integer> DRESS_ME_LEGS = new HashMap<>(); public static Map<String, Integer> DRESS_ME_BOOTS = new HashMap<>(); public static Map<String, Integer> DRESS_ME_GLOVES = new HashMap<>(); public static Map<String, Integer> DRESS_ME_WEAPONS = new HashMap<>(); public static String SKIN_NAME1; public static String SKIN_NAME2; public static String SKIN_NAME3; public static String SKIN_NAME4; public static String SKIN_NAME5; public static String SKIN_NAME6; public static String SKIN_NAME7; public static String SKIN_NAME8; public static String SKIN_NAME9; public static String SKIN_NAME10; public static String SKIN_NAME11; public static String SKIN_NAME12; public static String SKIN_NAME13; public static String SKIN_NAME14; public static String SKIN_NAME15; public static int SKIN_ITEM_1; public static int SKIN_ITEM_2; public static int SKIN_ITEM_3; public static int SKIN_ITEM_4; public static int SKIN_ITEM_5; public static int SKIN_ITEM_6; public static int SKIN_ITEM_7; public static int SKIN_ITEM_8; public static int SKIN_ITEM_9; public static int SKIN_ITEM_10; public static int SKIN_ITEM_11; public static int SKIN_ITEM_12; public static int SKIN_ITEM_13; public static int SKIN_ITEM_14; public static int SKIN_ITEM_15; public static String NAME1; public static String NAME2; public static String NAME3; public static String NAME4; public static String NAME5; public static String NAME6; public static String NAME7; public static String NAME8; public static String NAME9; public static String NAME10; public static String NAME11; public static String NAME12; public static String NAME13; public static String NAME14; public static String NAME15; ALLOW_DRESS_ME_SYSTEM = Boolean.parseBoolean(frozenSettings.getProperty("AllowDressMeSystem", "false")); SKIN_NAME1 = String.valueOf(frozenSettings.getProperty("SkinName1", "SkinName")); SKIN_NAME2 = String.valueOf(frozenSettings.getProperty("SkinName2", "SkinName")); SKIN_NAME3 = String.valueOf(frozenSettings.getProperty("SkinName3", "SkinName")); SKIN_NAME4 = String.valueOf(frozenSettings.getProperty("SkinName4", "SkinName")); SKIN_NAME5 = String.valueOf(frozenSettings.getProperty("SkinName5", "SkinName")); SKIN_NAME6 = String.valueOf(frozenSettings.getProperty("SkinName6", "SkinName")); SKIN_NAME7 = String.valueOf(frozenSettings.getProperty("SkinName7", "SkinName")); SKIN_NAME8 = String.valueOf(frozenSettings.getProperty("SkinName8", "SkinName")); SKIN_NAME9 = String.valueOf(frozenSettings.getProperty("SkinName9", "SkinName")); SKIN_NAME10 = String.valueOf(frozenSettings.getProperty("SkinName10", "SkinName")); SKIN_NAME11 = String.valueOf(frozenSettings.getProperty("SkinName11", "SkinName")); SKIN_NAME12 = String.valueOf(frozenSettings.getProperty("SkinName12", "SkinName")); SKIN_NAME13 = String.valueOf(frozenSettings.getProperty("SkinName13", "SkinName")); SKIN_NAME14 = String.valueOf(frozenSettings.getProperty("SkinName14", "SkinName")); SKIN_NAME15 = String.valueOf(frozenSettings.getProperty("SkinName15", "SkinName")); SKIN_ITEM_1 = Integer.parseInt(frozenSettings.getProperty("SkinItem1", "0")); SKIN_ITEM_2 = Integer.parseInt(frozenSettings.getProperty("SkinItem2", "0")); SKIN_ITEM_3 = Integer.parseInt(frozenSettings.getProperty("SkinItem3", "0")); SKIN_ITEM_4 = Integer.parseInt(frozenSettings.getProperty("SkinItem4", "0")); SKIN_ITEM_5 = Integer.parseInt(frozenSettings.getProperty("SkinItem5", "0")); SKIN_ITEM_6 = Integer.parseInt(frozenSettings.getProperty("SkinItem6", "0")); SKIN_ITEM_7 = Integer.parseInt(frozenSettings.getProperty("SkinItem7", "0")); SKIN_ITEM_8 = Integer.parseInt(frozenSettings.getProperty("SkinItem8", "0")); SKIN_ITEM_9 = Integer.parseInt(frozenSettings.getProperty("SkinItem9", "0")); SKIN_ITEM_10 = Integer.parseInt(frozenSettings.getProperty("SkinItem10", "0")); SKIN_ITEM_11 = Integer.parseInt(frozenSettings.getProperty("SkinItem11", "0")); SKIN_ITEM_12 = Integer.parseInt(frozenSettings.getProperty("SkinItem12", "0")); SKIN_ITEM_13 = Integer.parseInt(frozenSettings.getProperty("SkinItem13", "0")); SKIN_ITEM_14 = Integer.parseInt(frozenSettings.getProperty("SkinItem14", "0")); SKIN_ITEM_15 = Integer.parseInt(frozenSettings.getProperty("SkinItem15", "0")); String temp = frozenSettings.getProperty("DressMeChests", ""); String[] temp2 = temp.split(";"); for (String s : temp2) { String[] t = s.split(","); DRESS_ME_CHESTS.put(t[0], Integer.parseInt(t[1])); } temp = frozenSettings.getProperty("DressMeHair", ""); temp2 = temp.split(";"); for (String s : temp2) { String[] t = s.split(","); DRESS_ME_HELMET.put(t[0], Integer.parseInt(t[1])); } temp = frozenSettings.getProperty("DressMeLegs", ""); temp2 = temp.split(";"); for (String s : temp2) { String[] t = s.split(","); DRESS_ME_LEGS.put(t[0], Integer.parseInt(t[1])); } temp = frozenSettings.getProperty("DressMeBoots", ""); temp2 = temp.split(";"); for (String s : temp2) { String[] t = s.split(","); DRESS_ME_BOOTS.put(t[0], Integer.parseInt(t[1])); } temp = frozenSettings.getProperty("DressMeGloves", ""); temp2 = temp.split(";"); for (String s : temp2) { String[] t = s.split(","); DRESS_ME_GLOVES.put(t[0], Integer.parseInt(t[1])); } temp = frozenSettings.getProperty("DressMeWeapons", ""); temp2 = temp.split(";"); for (String s : temp2) { String[] t = s.split(","); DRESS_ME_WEAPONS.put(t[0], Integer.parseInt(t[1])); } NAME1 = frozenSettings.getProperty("NameArmor1", " Skins Dressme"); NAME2 = frozenSettings.getProperty("NameArmor2", " Skins Dressme"); NAME3 = frozenSettings.getProperty("NameArmor3", " Skins Dressme"); NAME4 = frozenSettings.getProperty("NameArmor4", " Skins Dressme"); NAME5 = frozenSettings.getProperty("NameArmor5", " Skins Dressme"); NAME6 = frozenSettings.getProperty("NameArmor6", " Skins Dressme"); NAME7 = frozenSettings.getProperty("NameArmor7", " Skins Dressme"); NAME8 = frozenSettings.getProperty("NameArmor8", " Skins Dressme"); NAME9 = frozenSettings.getProperty("NameArmor9", " Skins Dressme"); NAME10 = frozenSettings.getProperty("NameArmor10", " Skins Dressme"); NAME11 = frozenSettings.getProperty("NameArmor11", " Skins Dressme"); NAME12 = frozenSettings.getProperty("NameArmor12", " Skins Dressme"); NAME13 = frozenSettings.getProperty("NameArmor13", " Skins Dressme"); NAME14 = frozenSettings.getProperty("NameArmor14", " Skins Dressme"); NAME15 = frozenSettings.getProperty("NameArmor15", " Skins Dressme"); and the line 2670 its is DRESS_ME_CHESTS.put(t[0], Integer.parseInt(t[1]));
  9. hi man! thanks for answer always in my post. sorry for the delay, my wife and i are waiting a baby and she's already in the last weeks pregnant. The method exist in the requestbypass <code> + else if (_command.equals("bp_changedressmestatus")) + { + if (activeChar.isDressMeEnabled()) + { + activeChar.setDressMeEnabled(false); + activeChar.broadcastUserInfo(); + } + else + { + activeChar.setDressMeEnabled(true); + activeChar.broadcastUserInfo(); + } + + DressMe.sendMainWindow(activeChar); + } + else if (_command.startsWith("bp_editWindow")) + { + String bp = _command.substring(14); + StringTokenizer st = new StringTokenizer(bp); + + sendEditWindow(activeChar, st.nextToken()); + } + else if (_command.startsWith("bp_setpart")) + { + String bp = _command.substring(11); + StringTokenizer st = new StringTokenizer(bp); + + String part = st.nextToken(); + String type = st.nextToken(); + + setPart(activeChar, part, type); + } + else if (_command.startsWith("bp_gettarget")) + { + String bp = _command.substring(13); + StringTokenizer st = new StringTokenizer(bp); + + String part = st.nextToken(); + + stealTarget(activeChar, part); + } + else if (_command.equals("bp_main")) + { + DressMe.sendMainWindow(activeChar); + } else if (_command.startsWith("voice ")) { String text = _command.substring(5); @@ -249,6 +299,303 @@ activeChar.sendPacket(html); } + public void stealTarget(L2PcInstance p, String part) + { + if (p.getTarget() == null || !(p.getTarget() instanceof L2PcInstance)) + { + p.sendMessage("Invalid target."); + return; + } + + L2PcInstance t = (L2PcInstance)p.getTarget(); + + if (p.getDressMeData() == null) + { + DressMeData dmd = new DressMeData(); + p.setDressMeData(dmd); + } + + boolean returnMain = false; + + switch (part) + { + case "chest": + { + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST) == null) + { + p.getDressMeData().setChestId(0); + } + else + { + p.getDressMeData().setChestId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST).getItemId()); + } + break; + } + case "legs": + { + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS) == null) + { + p.getDressMeData().setLegsId(0); + } + else + { + p.getDressMeData().setLegsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS).getItemId()); + } + break; + } + case "gloves": + { + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES) == null) + { + p.getDressMeData().setGlovesId(0); + } + else + { + p.getDressMeData().setGlovesId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES).getItemId()); + } + break; + } + case "boots": + { + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET) == null) + { + p.getDressMeData().setBootsId(0); + } + else + { + p.getDressMeData().setBootsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET).getItemId()); + } + break; + } + case "weap": + { + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) == null) + { + p.getDressMeData().setWeapId(0); + } + else + { + p.getDressMeData().setWeapId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).getItemId()); + } + break; + } + case "all": + { + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST) == null) + { + p.getDressMeData().setChestId(0); + } + else + { + p.getDressMeData().setChestId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST).getItemId()); + } + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS) == null) + { + p.getDressMeData().setLegsId(0); + } + else + { + p.getDressMeData().setLegsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS).getItemId()); + } + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES) == null) + { + p.getDressMeData().setGlovesId(0); + } + else + { + p.getDressMeData().setGlovesId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES).getItemId()); + } + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET) == null) + { + p.getDressMeData().setBootsId(0); + } + else + { + p.getDressMeData().setBootsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET).getItemId()); + } + if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) == null) + { + p.getDressMeData().setWeapId(0); + } + else + { + p.getDressMeData().setWeapId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).getItemId()); + } + returnMain = true; + break; + } + } + + p.broadcastUserInfo(); + if (!returnMain) + sendEditWindow(p, part); + else + DressMe.sendMainWindow(p); + } + + public static void setPart(L2PcInstance p, String part, String type) + { + if (p.getDressMeData() == null) + { + DressMeData dmd = new DressMeData(); + p.setDressMeData(dmd); + } + + switch (part) + { + case "chest": + { + if (Config.DRESS_ME_CHESTS.keySet().contains(type)) + { + p.getDressMeData().setChestId(Config.DRESS_ME_CHESTS.get(type)); + } + + break; + } + case "legs": + { + if (Config.DRESS_ME_LEGS.keySet().contains(type)) + { + p.getDressMeData().setLegsId(Config.DRESS_ME_LEGS.get(type)); + } + + break; + } + case "gloves": + { + if (Config.DRESS_ME_GLOVES.keySet().contains(type)) + { + p.getDressMeData().setGlovesId(Config.DRESS_ME_GLOVES.get(type)); + } + + break; + } + case "boots": + { + if (Config.DRESS_ME_BOOTS.keySet().contains(type)) + { + p.getDressMeData().setBootsId(Config.DRESS_ME_BOOTS.get(type)); + } + + break; + } + case "weap": + { + if (Config.DRESS_ME_WEAPONS.keySet().contains(type)) + { + p.getDressMeData().setWeapId(Config.DRESS_ME_WEAPONS.get(type)); + } + + break; + } + } + + p.broadcastUserInfo(); +// sendEditWindow(p, part); + } + + public static void sendEditWindow(L2PcInstance p, String part) + { + NpcHtmlMessage htm = new NpcHtmlMessage(0); + htm.setFile("./data/html/custom/dressme/edit.htm"); + htm.replace("%part%", part); + switch (part) + { + case "chest": + { + if (p.getDressMeData() == null) + { + htm.replace("%partinfo%", "You have no custom chest."); + } + else + { + htm.replace("%partinfo%", p.getDressMeData().getChestId() == 0 ? "You have no custom chest." : ItemTable.getInstance().getTemplate(p.getDressMeData().getChestId()).getName()); + } + String temp = ""; + for (String s : Config.DRESS_ME_CHESTS.keySet()) + { + temp += s+";"; + } + htm.replace("%dropboxdata%", temp); + break; + } + case "legs": + { + if (p.getDressMeData() == null) + { + htm.replace("%partinfo%", "You have no custom legs."); + } + else + { + htm.replace("%partinfo%", p.getDressMeData().getLegsId() == 0 ? "You have no custom legs." : ItemTable.getInstance().getTemplate(p.getDressMeData().getLegsId()).getName()); + } + String temp = ""; + for (String s : Config.DRESS_ME_LEGS.keySet()) + { + temp += s+";"; + } + htm.replace("%dropboxdata%", temp); + break; + } + case "gloves": + { + if (p.getDressMeData() == null) + { + htm.replace("%partinfo%", "You have no custom gloves."); + } + else + { + htm.replace("%partinfo%", p.getDressMeData().getGlovesId() == 0 ? "You have no custom gloves." : ItemTable.getInstance().getTemplate(p.getDressMeData().getGlovesId()).getName()); + } + String temp = ""; + for (String s : Config.DRESS_ME_GLOVES.keySet()) + { + temp += s+";"; + } + htm.replace("%dropboxdata%", temp); + break; + } + case "boots": + { + if (p.getDressMeData() == null) + { + htm.replace("%partinfo%", "You have no custom boots."); + } + else + { + htm.replace("%partinfo%", p.getDressMeData().getBootsId() == 0 ? "You have no custom boots." : ItemTable.getInstance().getTemplate(p.getDressMeData().getBootsId()).getName()); + } + String temp = ""; + for (String s : Config.DRESS_ME_BOOTS.keySet()) + { + temp += s+";"; + } + htm.replace("%dropboxdata%", temp); + break; + } + case "weap": + { + if (p.getDressMeData() == null) + { + htm.replace("%partinfo%", "You have no custom weapon."); + } + else + { + htm.replace("%partinfo%", p.getDressMeData().getWeapId() == 0 ? "You have no custom weapon." : ItemTable.getInstance().getTemplate(p.getDressMeData().getWeapId()).getName()); + } + String temp = ""; + for (String s : Config.DRESS_ME_WEAPONS.keySet()) + { + temp += s+";"; + } + htm.replace("%dropboxdata%", temp); + break; + } + } + + p.sendPacket(htm); + } + </code>
  10. hi guys, i still trying to adapt the skin system + 2 click items. I have some errors in the skin1.java and i just dont know how to fix it. My skin1.java package com.l2jfrozen.gameserver.handler.itemhandlers; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.handler.IItemHandler; import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance; import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer; public class skin1 implements IItemHandler { @Override public void useItem(L2PlayableInstance playable, L2ItemInstance item) { if(Config.ALLOW_DRESS_ME_SYSTEM) { if(!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME1); RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME1); RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME1); RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME1); if (activeChar.isDressMeEnabled()) { activeChar.setDressMeEnabled(false); activeChar.broadcastUserInfo(); activeChar.sendMessage("You have disabled skin."); } else { activeChar.setDressMeEnabled(true); activeChar.broadcastUserInfo(); activeChar.sendMessage("You have activated " + Config.SKIN_NAME1 + " skin."); } } else playable.sendMessage("Sorry, admin has disabled skins."); } @Override public int[] getItemIds() { return ITEM_IDS; } private static final int ITEM_IDS[] = { Config.SKIN_ITEM_1 }; } and the errors
  11. hey guys, chill out. Just use frozen, thats all. So, anyone can help me how can make the datapack read .java in?
  12. its 1 server only, but the player can choose the proxy, like in the picture.
  13. hello guys again me. I wanted to know how to make frozen read .java files from the datapack like Acis does. i know is something about the folder lib with .jar anyone can help me with this?
  14. Hi. I wanted to know how to have several proxies in the server selection. Use jfrozen rev 1132
  15. hi! i added this code to my datapack but its giving me a problem with Duplicate Character in DB Have idea why? and critical error. The author its @EdenEternal Code Index: com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (revision 946) +++ com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -3041,6 +3042,15 @@ { karma = 0; } + + if(karma ==0 && Config.TRANSFORM_PK) + { + getPoly().setPolyInfo(null, "1"); + decayMe(); + spawnMe(getX(),getY(),getZ()); + sendMessage("You have been untransformed."); + broadcastUserInfo(); + } if(_karma == 0 && karma > 0) { @@ -8359,10 +8369,21 @@ updateTitle(); } + if(Config.TRANSFORM_PK) + { + String transform_id = Config.TRANSFORM_NPC_ID; + getPoly().setPolyInfo("npc", transform_id); + teleToLocation(getX(), getY(), getZ(), false); + sendMessage("You have killed a player!"); + sendMessage("You have been transformed to "+Config.TRANSFORM_NPC_NAME+"."); + broadcastUserInfo(); + } + //Update the character's title color if they reached any of the 5 PK levels. updatePkColor(getPkKills()); broadcastUserInfo(); + // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); } =================================================================== --- com/l2jfrozen/Config.java (revision 946) +++ com/l2jfrozen/Config.java (working copy) @@ -2167,10 +2167,21 @@ public static boolean DONATOR_SKILLS; + public static boolean TRANSFORM_PK; + public static String TRANSFORM_NPC_ID; + public static String TRANSFORM_NPC_NAME; @@ -2309,10 +2311,21 @@ //============================================================ public static void loadByLekiConfig() GM_MAX_ENCHANT = Integer.parseInt(ByLekiSettings.getProperty("GMMaxEnchant", "65355")); + TRANSFORM_PK = Boolean.parseBoolean(ByLekiSettings.getProperty("EnableTransformPK", "False")); + TRANSFORM_NPC_ID = ByLekiSettings.getProperty("TransformNPCID", "14040"); + TRANSFORM_NPC_NAME = ByLekiSettings.getProperty("TransformNPCName", "Zombie"); if (L2JMOD_CHAMPION_ENABLE_mxc != 0 && L2JMOD_CHAMPION_ENABLE_mxc != 1 && L2JMOD_CHAMPION_ENABLE_mxc != 2) L2JMOD_CHAMPION_ENABLE_mxc = 0; } catch(Exception e) Index: config/ByLeki/ByLeki.ini =================================================================== --- config/ByLeki/ByLeki.ini (revision 946) +++ config/ByLeki/ByLeki.ini (working copy) @@ -21,7 +24,5 @@ # words to use, between 10 and 16 keys. ######################################## #PK Cleaner NPC ######################################## #Item ID for Cleaning PK PKCleanItemID = 4037 #PK Cleaning price PKCleanPrice = 1 +######################################## +# Tranform PKs +######################################## +#Tranform PK Players? +EnableTransformPK = False +#Tranformation Monster ID +TransformNPCID = 14040 +#Tranform Monster Name +TransformNPCName = Zombie
  16. hi guys! im trying to write a script for clean the pk of character. Only have a part of them. Anyone can help me to finish it? please def onEvent(self,event,st): htmltext = event count=st.getQuestItemsCount(57) if count < 5 : htmltext = "ErrorAdena.htm" elif st.getPlayer().getPkKills() < 5 : htmltext = "ErrorPkKills.htm" else: st.getPlayer().setTarget(st.getPlayer()) if event == "RemovePk": st.takeItems(57,5) st.getPlayer().setPkKills(st.getPlayer().getPkKills() - 5) st.playSound("ItemSound.quest_finish") st.setState(COMPLETED) return "End.htm" if htmltext != event: st.setState(COMPLETED) st.exitQuest(1) return htmltext
  17. @Tryskell hi man! so, you say make a sincronized backup with mysql when the server restart?
×
×
  • Create New...