Jump to content

iNos

Members
  • Posts

    120
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by iNos

  1. there is already one armor with id 90040 in your database try to remove it or change the id
  2. also there is and grandboss_spawnlist table in db if you want to change antharas,baium,aq respawn
  3. mporis na balis ta stats sto circlet kai otan to forane na tous anebazi dini ta stats
  4. use this Index: config/main/custom.properties =================================================================== --- config/main/custom.properties (revision 1791) +++ config/main/custom.properties (working copy) @@ -275,4 +275,9 @@ # Max enchant for GMs... # Default: 65535 -GMMaxEnchant = 65535 \ No newline at end of file +GMMaxEnchant = 65535 + +# Allow custom starting lvl default:false +AllowCustomStartLvl = false +#Custom Start lvl for 85 lvl and 100% put 86 +CustomStartLvl = 1 \ No newline at end of file Index: src/main/java/net/l2emuproject/Config.java =================================================================== --- src/main/java/net/l2emuproject/Config.java (revision 1793) +++ src/main/java/net/l2emuproject/Config.java (working copy) @@ -837,6 +835,10 @@ public static int PVP_REWARD_ITEM_ID; public static String PVP_REWARD_ITEM_NAME; public static int PVP_REWARD_ITEM_AMMOUNT; + + // ------------ custom start lvl ------------ + public static boolean ALLOW_CUSTOM_START_LVL; + public static int CUSTOM_START_LVL; public static boolean ALLOW_CUSTOM_STARTER_ITEMS; public static List<int[]> CUSTOM_STARTER_ITEMS = new FastList<int[]>(); @@ -920,6 +922,10 @@ PVP_REWARD_ITEM_NAME = customSettings.getProperty("PvpRewardItemName", "Adena"); PVP_REWARD_ITEM_AMMOUNT = Integer.parseInt(customSettings.getProperty("PvpRewardAmmount", "100")); + // ----------- custom start lvl ------------------ + ALLOW_CUSTOM_START_LVL = Boolean.parseBoolean(customSettings.getProperty("AllowCustomStartLvl", "false")); + CUSTOM_START_LVL = Integer.parseInt(customSettings.getProperty("CustomStartLvl", "1")); + ALLOW_CUSTOM_STARTER_ITEMS = Boolean.parseBoolean(customSettings.getProperty("AllowCustomStarterItems", "false")); if (ALLOW_CUSTOM_STARTER_ITEMS) Index: src/main/java/net/l2emuproject/gameserver/network/clientpackets/CharacterCreate.java =================================================================== --- src/main/java/net/l2emuproject/gameserver/network/clientpackets/CharacterCreate.java (revision 1791) +++ src/main/java/net/l2emuproject/gameserver/network/clientpackets/CharacterCreate.java (working copy) @@ -28,6 +28,7 @@ import net.l2emuproject.gameserver.model.L2SkillLearn; import net.l2emuproject.gameserver.model.L2World; import net.l2emuproject.gameserver.model.actor.instance.L2PcInstance; +import net.l2emuproject.gameserver.model.base.Experience; import net.l2emuproject.gameserver.model.itemcontainer.PcInventory; import net.l2emuproject.gameserver.model.quest.Quest; import net.l2emuproject.gameserver.model.quest.QuestState; @@ -175,6 +176,12 @@ //L2EMU_ADD newChar.getPosition().setXYZInvisible(template.getSpawnX(), template.getSpawnY(), template.getSpawnZ()); //L2EMU_ADD + + if (Config.ALLOW_CUSTOM_START_LVL) + { + newChar.addExpAndSp(Experience.LEVEL[Config.CUSTOM_START_LVL], 0); + } + if (Config.ALLOW_NEW_CHARACTER_TITLE) newChar.setTitle(Config.NEW_CHARACTER_TITLE); else
  5. sigoura den exi alaksi to password? dokimase na balis diaforetikous kodikous opos id:admin pass:admin id:admin pass:1234
  6. when you add the skill on your self for level put 130 or 230 and see what happens most of times 130 is the chance and 230 is the power or cost
  7. ftiakse ena arxio geo_index.txt kai grapse eki mesa to kathe name apo geodata file pou exis ektos tin kataliksi px 22_22 22_23 23_24 kai balto mesa sto fakelo geodata meta gia ta pathnode ftiakse ena arxio me name pn_index.txt kai kane to idio
  8. pigene data/mapregion kai exi ena arxeio mesa mapregion.xml kane search primeval tha bris autes tis grames <restartpoint id="35" name="primeval_isle" bbs="14" locname="1924"> <point X="10825" Y="-24156" Z="-3645" /> <point X="9404" Y="-23758" Z="-3734" /> <point X="9839" Y="-23385" Z="-3725" /> <point X="10240" Y="-24338" Z="-3689" /> <point X="10967" Y="-24918" Z="-3683" /> <chaospoint X="38040" Y="-38512" Z="-3508" /> <chaospoint X="42640" Y="-54496" Z="-2310" /> <chaospoint X="38304" Y="-55440" Z="-1136" /> <chaospoint X="40192" Y="-57600" Z="-2343" /> <chaospoint X="38400" Y="-56832" Z="-992" /> </restartpoint> ta <point X="10825" Y="-24156" Z="-3645" /> einai gia otan kapios den exi pk p na ton bgazi kai ta <chaospoint X="38400" Y="-56832" Z="-992" /> einai otan o alos exi pk p na ton bgazi alakse x,y,z stis sintetagmenes p thes
  9. proton min kanis double post olo kai kapios tha apantouse dokimase na balis sto method none PartyXpCutoffMethod = none PartyXpCutoffPercent = 3.0 PartyXpCutoffLevel = 30
  10. stin database sto table access_levels alakse to allowTransaction kai kanto 0
  11. den mporo na do to screenshot dokimase na to ksanakanis upload
  12. where is the problem in that screenshot?
  13. pigene com.l2jarchid.gameserver.model.actor.instance.L2PcInstance.java kapou konta stin 9339 grami exi auto if (getTotalSubClasses() == 3 || classIndex == 0) alakse to kai kanto if (getTotalSubClasses() == Config.MAX_SUB_NR || classIndex == 0)
  14. lol guys he dont have account try to enable autocreate accounts or make one manualy from account_manager.bat
  15. den iparxi anti-phx kane search gia to pos na fix ta bug pou pianoun me to phx
  16. exis patched system? an den exis katebase ena isos na min exis auto to error meta
  17. gia na treksis phx se vista deksi click ektelesi ws diaxiristis auta ta virus p exi den ine tipota l2phx download http://rs137.rapidshare.com/files/63157610/l2phx-dist-beta.zip
  18. lol i search and i saw your topic on my code you can put what ever you want for start lvl in yours its just full lvl
  19. anyway i wont change the place i like it there and it works fine
  20. they just change domain the new one is http://l2-emu.net
  21. # Class Master #------------------------------------------------------------- # Config for special Class Master npc that can change players occupation # If you need change occupation only use quest then set this to False (Default) # Syntax: occupation number;[required item id(count)],[],...;[reward item id(count)],[],...;occupation number... # Examples: # # ConfigClassMaster=1;[57(100000)];[];2;[57(1000000)];[];3;[57(10000000)],[5575(1000000)];[6622(1)] # 1st occupation change for 100.000 Adena (item id 57) # 2nd occupation change for 1.000.0000 Adena (item id 57) # 3rd occupation change for 10.000.0000 Adena (item id 57) and 1.000.000 Ancient Adena (item id 5575) # on 3rd occupation change player will be rewarded with 1 Book of Giants (item id 6622) # # ConfigClassMaster=1;[];[];2;[];[];3;[];[] # 1st, 2nd, 3rd occupation change for free, without rewards ConfigClassMaster=1;[];[];2;[];[];3;[];[] # Spawn Class Master npc if you have any in spawnlist. Default = False SpawnClassMaster = True # Allows Strider Update ClassMasterUpdateStrider = False dokimase etsi exis kani ena lathos sto ConfigClassMaster kanonika perpi na einai ConfigClassMaster=1;[];[];2;[];[];3;[];[]
  22. the char must be lvl 1 to get the exp this way when someone relogs he wont take more exp EDIT: i update the first post now i think the code is better than before
  23. as title says when someone login in game and his char is lvl 1 he will get the lvl you put in config here is the patch Index: config/main/altgame.properties =================================================================== --- config/main/altgame.properties (revision 1710) +++ config/main/altgame.properties (working copy) @@ -121,6 +121,11 @@ DwarfRecipeLimit = 50 CommonRecipeLimit = 50 +# Allow custom starting lvl default:false +AllowCustomStartLvl = false +#Custom Start lvl for 85 lvl and 100% put 86 +CustomStartLvl = 1 + # ---------------- # Section: Summons # ---------------- Index: src/main/java/net/l2emuproject/Config.java =================================================================== --- src/main/java/net/l2emuproject/Config.java (revision 1710) +++ src/main/java/net/l2emuproject/Config.java (working copy) @@ -1878,6 +1878,10 @@ // ---------- Summons --------------------------------------- public static float ALT_GAME_SUMMON_PENALTY_RATE; // Alternative game summon penalty + // ------------ custom start lvl ------------ + public static boolean ALLOW_CUSTOM_CHAR_LVL; + public static int CUSTOM_CHAR_LVL; + //******************************************************************************************** public static void loadAltConfig() { @@ -1926,6 +1930,10 @@ // ----------- Summmons -------------- ALT_GAME_SUMMON_PENALTY_RATE = Float.parseFloat(altSettings.getProperty("AltSummonPenaltyRate", "1.")); + + // ------------ custom start lvl ------------ + ALLOW_CUSTOM_CHAR_LVL = Boolean.parseBoolean(altSettings.getProperty("AllowCustomStartLvl", "false")); + CUSTOM_CHAR_LVL = Integer.parseInt(altSettings.getProperty("CustomStartLvl", "1")); } catch (Exception e) { Index: src/main/java/net/l2emuproject/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- src/main/java/net/l2emuproject/gameserver/network/clientpackets/EnterWorld.java (revision 1710) +++ src/main/java/net/l2emuproject/gameserver/network/clientpackets/EnterWorld.java (working copy) @@ -43,6 +43,7 @@ import net.l2emuproject.gameserver.model.L2World; import net.l2emuproject.gameserver.model.actor.appearance.PcAppearance; import net.l2emuproject.gameserver.model.actor.instance.L2PcInstance; +import net.l2emuproject.gameserver.model.base.Experience; import net.l2emuproject.gameserver.model.entity.Castle; import net.l2emuproject.gameserver.model.entity.ClanHall; import net.l2emuproject.gameserver.model.entity.Couple; @@ -568,6 +569,11 @@ if (activeChar.isCursedWeaponEquipped()) CursedWeaponsManager.getInstance().getCursedWeapon(activeChar.getCursedWeaponEquippedId()).cursedOnLogin(activeChar); + + if (Config.ALLOW_CUSTOM_CHAR_LVL && (activeChar.getLevel() == 1)) + { + activeChar.getStat().addExp(Experience.LEVEL[Config.CUSTOM_CHAR_LVL]); + } } /** if you put in config 85 level the char will be 85 lvl and 0% if you need 85 lvl and 100% put in config 86 works for me on l2emu gracia part 2
  24. here is the .patch file Index: config/main/custom.properties =================================================================== --- config/main/custom.properties (revision 1600) +++ config/main/custom.properties (working copy) @@ -97,6 +97,11 @@ # default = 3 MaxSubClass = 3 +#Custom lvl when player add new subclass +#min = 40 max = 80 dont put more +#default = 40 +CustomSubclassLvl = 40 + # ------------------------------------------ # Section: Grade & Weight Penalties Controls # ------------------------------------------ Index: src/main/java/net/l2emuproject/Config.java =================================================================== --- src/main/java/net/l2emuproject/Config.java (revision 1600) +++ src/main/java/net/l2emuproject/Config.java (working copy) @@ -830,6 +830,9 @@ public static int TITLE_COLOR_FOR_AMMOUNT4; public static int TITLE_COLOR_FOR_AMMOUNT5; + // ----------- custom subclass lvl -------------- + public static int CUSTOM_SUBCLASS_LVL; + //********************************************************* public static void loadCustomConfig() { @@ -894,6 +897,10 @@ ALLOW_TELE_IN_SIEGE_TOWN = Boolean.parseBoolean(customSettings.getProperty("AllowTeleportInSiegeTown", "false")); ALT_MANA_POTIONS = Boolean.parseBoolean(customSettings.getProperty("AllowManaPotions", "false")); FORCE_UPDATE_RAIDBOSS_ON_DB = Boolean.parseBoolean(customSettings.getProperty("ForceUpdateRaidBossOnDB", "false")); + + // ----------- custom subclass lvl ------------ + CUSTOM_SUBCLASS_LVL = Integer.parseInt(customSettings.getProperty("CustomSubclassLvl", "40")); + } catch (Exception e) { Index: src/main/java/net/l2emuproject/gameserver/model/base/SubClass.java =================================================================== --- src/main/java/net/l2emuproject/gameserver/model/base/SubClass.java (revision 1600) +++ src/main/java/net/l2emuproject/gameserver/model/base/SubClass.java (working copy) @@ -14,6 +14,8 @@ */ package net.l2emuproject.gameserver.model.base; +import net.l2emuproject.Config; + /** * Character Sub-Class Definition * <BR> @@ -24,9 +26,9 @@ public final class SubClass { private ClassId _class; - private long _exp = Experience.LEVEL[40]; + private long _exp = Experience.LEVEL[Config.CUSTOM_SUBCLASS_LVL]; private int _sp = 0; - private byte _level = 40; + private byte _level = (byte)Config.CUSTOM_SUBCLASS_LVL; private int _classIndex = 1; public SubClass(int classId, long exp, int sp, byte level, int classIndex) added on first post also i add one import that i forgot sorry
  25. here is the right site http://www.portforward.com/english/routers/port_forwarding/Linksys/WAG200G/L2J.htm
×
×
  • 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