webdes27 Posted February 10, 2010 Posted February 10, 2010 That's trying to add a new grade in Interlude. That must be understood here that's the code: GameServer/datatables/ItemTable.java ------------------------------------------------------------- _crystalTypes.put("s90", L2Item.CRYSTAL_S90); _crystalTypes.put("s80", L2Item.CRYSTAL_S80); _crystalTypes.put("s", L2Item.CRYSTAL_S); _crystalTypes.put("a", L2Item.CRYSTAL_A); _crystalTypes.put("b", L2Item.CRYSTAL_B); _crystalTypes.put("c", L2Item.CRYSTAL_C); _crystalTypes.put("d", L2Item.CRYSTAL_D); -------------------------------------------------------------- GameServer/model/actor/instance/L2PcInstance.java -------------------------------------------------------------- private static final int[] EXPERTISE_LEVELS = { SkillTreeTable.getInstance().getExpertiseLevel(0), // NONE SkillTreeTable.getInstance().getExpertiseLevel(1), // D SkillTreeTable.getInstance().getExpertiseLevel(2), // C SkillTreeTable.getInstance().getExpertiseLevel(3), // B SkillTreeTable.getInstance().getExpertiseLevel(4), // A SkillTreeTable.getInstance().getExpertiseLevel(5), // S SkillTreeTable.getInstance().getExpertiseLevel(6), // S80 SkillTreeTable.getInstance().getExpertiseLevel(7) // S90 --------------------------------------------------------------- Gameserver/templates/L2Item.java --------------------------------------------------------------- public static final int CRYSTAL_D = 0x01; // ?? public static final int CRYSTAL_C = 0x02; // ?? public static final int CRYSTAL_B = 0x03; // ?? public static final int CRYSTAL_A = 0x04; // ?? public static final int CRYSTAL_S = 0x05; // ?? public static final int CRYSTAL_S80 = 0x06; // ?? public static final int CRYSTAL_S90 = 0x07; // ?? --------------------------------------------------------------- GameServer/model/L2Skill.java --------------------------------------------------------------- // conditional values public final static int COND_GRADEA = 0x010000; public final static int COND_GRADEB = 0x020000; public final static int COND_GRADEC = 0x040000; public final static int COND_GRADED = 0x080000; public final static int COND_GRADES = 0x100000; Here I do not know for sure! --------------------------------------------------------------- SQL: skill_trees.sql --------------------------------------------------------------- INSERT INTO skill_trees VALUES (0,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (0,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (10,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (10,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (18,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (18,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (25,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (25,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (31,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (31,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (38,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (38,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (44,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (44,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (49,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (49,239,7,'Expertise S90',0,90); INSERT INTO skill_trees VALUES (53,239,6,'Expertise S80',0,80); INSERT INTO skill_trees VALUES (53,239,7,'Expertise S90',0,90); Please'll show what is missing! Use assembly L2J Teon Beforehand very grateful! Max Player lvl 100 for Interlude L2JTeon: /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package net.sf.l2j.gameserver.model.base; public class Experience { public final static long LEVEL[] = { -1L, // level 0 (unreachable) 0L, 68L, 363L, 1168L, 2884L, 6038L, 11287L, 19423L, 31378L, 48229L, // level 10 71201L, 101676L, 141192L, 191452L, 254327L, 331864L, 426284L, 539995L, 675590L, 835854L, // level 20 1023775L, 1242536L, 1495531L, 1786365L, 2118860L, 2497059L, 2925229L, 3407873L, 3949727L, 4555766L, // level 30 5231213L, 5981539L, 6812472L, 7729999L, 8740372L, 9850111L, 11066012L, 12395149L, 13844879L, 15422851L, // level 40 17137002L, 18995573L, 21007103L, 23180442L, 25524751L, 28049509L, 30764519L, 33679907L, 36806133L, 40153995L, // level 50 45524865L, 51262204L, 57383682L, 63907585L, 70852742L, 80700339L, 91162131L, 102265326L, 114038008L, 126509030L, // level 60 146307211L, 167243291L, 189363788L, 212716741L, 237351413L, 271973532L, 308441375L, 346825235L, 387197529L, 429632402L, // level 70 474205751L, 532692055L, 606319094L, 696376867L, 804219972L, 931275828L, 1151275834L, 1511275834L, 2099275834L, 4200000000L, // level 80 6299994999L, 8402177499L, 16805084165L, 25208719998L, 33613084998L, 42018179165L, 50424002499L, 58830555000L, 67237836668L, 75645847503L, // level 90 84054587505L, 92464056674L, 100874255010L, 109285182513L, 117696839183L, 126109225020L, 134522340024L, 142936184195L, 151350757533L, 159766060038L //level 100 }; /** * This is the first UNREACHABLE level.<BR> * ex: If you want a max at 100 & 99.99%, you have to put 101.<BR> * <BR> */ public final static byte MAX_LEVEL = 101; public final static byte MIN_NEWBIE_LEVEL = 6; public final static byte MAX_NEWBIE_LEVEL = 25; } SubClass Max lvl 100 for Interlude L2JTeon: Index: D:/workspace/MMO-Dev_Team_GameServer/java/net/sf/l2j/gameserver/model/base/SubClass.java =================================================================== --- D:/workspace/MMO-Dev_Team_GameServer/java/net/sf/l2j/gameserver/model/base/SubClass.java (revision 0) +++ D:/workspace/MMO-Dev_Team_GameServer/java/net/sf/l2j/gameserver/model/base/SubClass.java (working copy) @@ -88,8 +88,8 @@ public void setExp(long expValue) { - if (expValue > Experience.LEVEL[Experience.MAX_LEVEL]) - expValue = Experience.LEVEL[Experience.MAX_LEVEL]; + if (expValue > (Experience.LEVEL[101] - 1)) + expValue = (Experience.LEVEL[101] - 1); _exp = expValue; } @@ -106,8 +106,8 @@ public void setLevel(byte levelValue) { - if (levelValue > Experience.MAX_LEVEL - 1) - levelValue = Experience.MAX_LEVEL - 1; + if (levelValue > 100) + levelValue = 100; else if (levelValue < 40) levelValue = 40; @@ -116,7 +116,7 @@ public void incLevel() { - if (getLevel() == Experience.MAX_LEVEL - 1) + if (getLevel() == 100) return; _level++;
Madboy Posted February 10, 2010 Posted February 10, 2010 6299994999L, 8402177499L, 16805084165L, 25208719998L, 33613084998L, 42018179165L, 50424002499L, 58830555000L, 67237836668L, 75645847503L, // level 90 84054587505L, 92464056674L, 100874255010L, 109285182513L, 117696839183L, 126109225020L, 134522340024L, 142936184195L, 151350757533L, 159766060038L //level 100 }; these values are wrong . here you can find corect values http://www.maxcheaters.com/forum/index.php?topic=98974.0
LauQ Posted February 10, 2010 Posted February 10, 2010 Thats not yours, also wrong section Does he say it's his? If you want new grades with the little icon things, you also require Client modding, but it's hard cause client side you can't just add another grade (is in .u files), just like adding another weapontype :/
Versus Posted February 10, 2010 Posted February 10, 2010 Does he say it's his? No, he didn't but he should include credits since it's not his.
xAddytzu Posted February 10, 2010 Posted February 10, 2010 So it is impossible to add a new grade? Anything is possible ...
Commodus Posted February 10, 2010 Posted February 10, 2010 Anything is possible ... Just to have a clear and working mind :)
GreenBob Posted February 10, 2010 Posted February 10, 2010 dont you think someone would already make a nab mod out of it if it was that easy?
webdes27 Posted February 11, 2010 Author Posted February 11, 2010 No, he didn't but he should include credits since it's not his. If desired, all can Madboy - thanks left to finish grade Versus - These fixes I lie since 2006 if not sooner! Just dopravil sensitive so do not need!
webdes27 Posted February 12, 2010 Author Posted February 12, 2010 I can not add driving pet! If Mount 1 as described and it strider 2, this wyvern. And my nein be under the 3-and Suva not vedu! Affairs under the Mount 1 Peter eats all the attacks as expected but when sit up showing that sat on the strider. 'll Show what is wrong?
CrazyDeagle Posted March 21, 2010 Posted March 21, 2010 i think you need corect something go in Stats/skill 0200-0299.xml seach <skill id="239" you can see the lv skill is Max 5 i think you need change 5 to 7 if i have a error please correct me
webdes27 Posted May 25, 2010 Author Posted May 25, 2010 Client file symbolname-e.dat: id filename alias UNK_0 1 smile symbol.imoticon001 1 2 -_- symbol.imoticon002 1 3 crying symbol.imoticon003 1 4 rage symbol.imoticon004 1 5 heart symbol.imoticon005 1 100 adena symbol.adena 1 101 grades symbol.grade_s 1 102 gradea symbol.grade_a 1 103 gradeb symbol.grade_b 1 104 gradec symbol.grade_c 1 105 graded symbol.grade_d 1 Where a bunch of id grade as described in Inside the nucleus? I want to add your own!
Recommended Posts