How to increase your level limit?

Results 1 to 10 of 10
  1. #1
    Member going208 is offline
    MemberRank
    Dec 2009 Join Date
    HollandLocation
    61Posts

    ! How to increase your level limit?

    Hello ragezone community,

    I was wondering if there is any tutorial on how to increase the maximum level on your gunz.

    For example, right now I can reach level 99, but I want to be able to reach level 130.

    I would really appreciate it if someone could tell me how to do this, or link me to a tutorial.

    It is for a 1.5 server, and I'am using the 2008 r2 database.

    Thanks in advantage.

    Cheers!
    Jupiter, Mars, and then back to venus. Girls love me for the size of my... Spaceship.


  2. #2
    Member going208 is offline
    MemberRank
    Dec 2009 Join Date
    HollandLocation
    61Posts

    Re: How to increase your level limit?

    /bump
    I have still no clue how to do it.
    Jupiter, Mars, and then back to venus. Girls love me for the size of my... Spaceship.

  3. #3
    I iz a good doggy Justice For All is offline
    GammaRank
    Aug 2011 Join Date
    Fetching sticksLocation
    3,231Posts

    Re: How to increase your level limit?

    I would also like to know how to do this, if possible.

  4. #4
    Account Upgraded | Title Enabled! Lib is offline
    True MemberRank
    Oct 2013 Join Date
    285Posts

    Re: How to increase your level limit?

    Quote Originally Posted by Justice For All View Post
    I would also like to know how to do this, if possible.
    Ur still working with gunz?

  5. #5
    Account Upgraded | Title Enabled! medotarek is offline
    True MemberRank
    Apr 2012 Join Date
    Egypt/RageZoneLocation
    614Posts

    Re: How to increase your level limit?

    MAX_LEVEL , formula.xml

  6. #6
    I iz a good doggy Justice For All is offline
    GammaRank
    Aug 2011 Join Date
    Fetching sticksLocation
    3,231Posts

    Re: How to increase your level limit?

    Quote Originally Posted by medotarek View Post
    MAX_LEVEL , formula.xml
    That's not very helpful.

    That's like saying, "take the tires off" to someone asking how to fix their brakes.

    Poor comparison aside, you get the point.

    - - - Updated - - -

    Quote Originally Posted by Lib View Post
    Ur still working with gunz?
    Nope I just check what's going on in the Dev scene here and there.

  7. #7
    Member going208 is offline
    MemberRank
    Dec 2009 Join Date
    HollandLocation
    61Posts

    Re: How to increase your level limit?

    I'am also having problems with getting my auto updater to work, when I test it on my own pc it updates with no problems, but once I change the ip's back to my vps ip, it gives a error.
    Do you know a solution to fix that?
    Jupiter, Mars, and then back to venus. Girls love me for the size of my... Spaceship.

  8. #8
    Member going208 is offline
    MemberRank
    Dec 2009 Join Date
    HollandLocation
    61Posts

    Re: How to increase your level limit?

    /bump

    I still would like to know how to increase the level cap.
    Jupiter, Mars, and then back to venus. Girls love me for the size of my... Spaceship.

  9. #9
    I iz a good doggy Justice For All is offline
    GammaRank
    Aug 2011 Join Date
    Fetching sticksLocation
    3,231Posts

    Re: How to increase your level limit?

    Still nothing on this?

  10. #10
    Member Slime is offline
    MemberRank
    Jul 2011 Join Date
    South KoreaLocation
    66Posts

    Re: How to increase your level limit?

    Well. I think it's going to work.

    I have set the maximum level of 127.

    MMatchGlobal.h
    Code:
    #define MAX_CHAR_LEVEL	127 // 만렙

    MMatchFormula.h
    Code:
    #define MAX_LEVEL					127		///< 최대 레벨 // 만렙

    MQuestFormula.cpp
    Code:
    int MQuestFormula::CalcQL(int nMinPlayerLevel)
    {
    	if ((1 <= nMinPlayerLevel) && (nMinPlayerLevel <= 4)) return 0;
    	else if ((1 <= nMinPlayerLevel) && (nMinPlayerLevel <= 4)) return 1;
    	else if ((1 <= nMinPlayerLevel) && (nMinPlayerLevel <= 4)) return 2;
    	else if ((1 <= nMinPlayerLevel) && (nMinPlayerLevel <= 4)) return 3;
    	else if ((1 <= nMinPlayerLevel) && (nMinPlayerLevel <= 4)) return 4;
    	else if ((1 <= nMinPlayerLevel) && (nMinPlayerLevel <= 127)) return 5; // 만렙 Change to fix quest level error
    
    	return 0;
    }

    MLadderStatistics.h
    Code:
    #define MAX_LADDER_STATISTICS_LEVEL				26		// (127 / 5) // I don't know what is this. but I think it needs to edit
    Rebuild Gunz and MatchServer.

    And...Edit formula.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <XML id="formula">
    <FORMULA_TABLE id="NeedExpLM">
    	<LM lower="1" upper="20">1</LM>
    	<LM lower="21" upper="30">1.1</LM>
    	<LM lower="31" upper="40">1.2</LM>
    	<LM lower="41" upper="45">1.4</LM>
    	<LM lower="46" upper="50">1.6</LM>
    	<LM lower="51" upper="55">1.8</LM>
    	<LM lower="56" upper="60">2</LM>
    	<LM lower="61" upper="65">4</LM>
    	<LM lower="66" upper="70">8</LM>
    	<LM lower="71" upper="75">12</LM>
    	<LM lower="76" upper="80">16</LM>
    	<LM lower="81" upper="85">20</LM>
    	<LM lower="86" upper="90">20</LM>
    	<LM lower="91" upper="95">40</LM>
    	<LM lower="96" upper="99">40</LM>
    	<LM lower="100" upper="127">10</LM> <!-- Don't change it -->
    </FORMULA_TABLE>
    
    <FORMULA_TABLE id="GettingExpLM">
    	<LM lower="1" upper="20">50</LM>
    	<LM lower="21" upper="30">50</LM>
    	<LM lower="31" upper="40">50</LM>
    	<LM lower="41" upper="45">50.2</LM>
    	<LM lower="46" upper="50">50.2</LM>
    	<LM lower="51" upper="55">50.2</LM>
    	<LM lower="56" upper="60">50.2</LM>
    	<LM lower="61" upper="65">50.2</LM>
    	<LM lower="66" upper="70">50.2</LM>
    	<LM lower="71" upper="75">50.2</LM>
    	<LM lower="76" upper="80">50.2</LM>
    	<LM lower="81" upper="85">50.3</LM>
    	<LM lower="86" upper="90">50.3</LM>
    	<LM lower="91" upper="95">50.3</LM>
    	<LM lower="96" upper="99">50.3</LM>
    	<LM lower="100" upper="127">5.3</LM>
    </FORMULA_TABLE>
    
    <FORMULA_TABLE id="GettingBountyLM">
    	<LM lower="1" upper="20">0</LM>
    	<LM lower="21" upper="30">0</LM>
    	<LM lower="31" upper="40">0</LM>
    	<LM lower="41" upper="45">0</LM>
    	<LM lower="46" upper="50">0</LM>
    	<LM lower="51" upper="55">0</LM>
    	<LM lower="56" upper="60">0</LM>
    	<LM lower="61" upper="65">0</LM>
    	<LM lower="66" upper="70">0</LM>
    	<LM lower="71" upper="75">0</LM>
    	<LM lower="76" upper="80">0</LM>
    	<LM lower="81" upper="85">0</LM>
    	<LM lower="86" upper="90">0</LM>
    	<LM lower="91" upper="95">0</LM>
    	<LM lower="96" upper="99">0</LM>
    	<LM lower="100" upper="127">0</LM>
    </FORMULA_TABLE>
    
    </XML>

    Ok Finish.

    And exp rule :
    Code:
    void MMatchFormula::PreCalcNeedExp()
    {
    	unsigned long int n;
    	for (int lvl = 1; lvl <= MAX_LEVEL; lvl++)
    	{
    		n = (unsigned long int)((lvl * lvl * m_fNeedExpLMTable[lvl] * 100) + 0.5f);
    		n = n * 2;	// 기획서보다 2배 더한다.
    		m_nNeedExp[lvl] = m_nNeedExp[lvl-1] + n;
    	}
    }
    
    
     /////////////////////////////////////////////////////////////////
    
    
     next level minimum exp = ( level * level * NeedExpLM * 200 ) +  level minimum exp
    Ex1) 4 level minimum exp(2800) = ( 3 * 3 * 1(NeedExpLM) * 200 ) + 1000(3 level minimum exp)
    Ex2) 110 level minimum exp(1398969900) = ( 109 * 109 * 10(NeedExpLM) * 200 ) + 1375207900(109 level minimum exp)


    Minimum Exp Code
    Code:
    Level  Minimum exp
    1	0
    2	200
    3	1000
    4	2800
    5	6000
    6	11000
    7	18200
    8	28000
    9	40800
    10	57000
    11	77000
    12	101200
    13	130000
    14	163800
    15	203000
    16	248000
    17	299200
    18	357000
    19	421800
    20	494000
    21	574000
    22	671020
    23	777500
    24	893880
    25	1020600
    26	1158100
    27	1306820
    28	1467200
    29	1639680
    30	1824700
    31	2022700
    32	2253340
    33	2499100
    34	2760460
    35	3037900
    36	3331900
    37	3642940
    38	3971500
    39	4318060
    40	4683100
    41	5067100
    42	5537780
    43	6031700
    44	6549420
    45	7091500
    46	7658500
    47	8335620
    48	9042500
    49	9779780
    50	10548100
    51	11348100
    52	12284460
    53	13257900
    54	14269140
    55	15318900
    56	16407900
    57	17662300
    58	18961900
    59	20307500
    60	21699900
    61	23139900
    62	26116700
    63	29191900
    64	32367100
    65	35643900
    66	39023900
    67	45993500
    68	53175900
    69	60574300
    70	68191900
    71	76031900
    72	88130300
    73	100571900
    74	113361500
    75	126503900
    76	140003900
    77	158487100
    78	177459900
    79	196928700
    80	216899900
    81	237379900
    82	263623900
    83	290519900
    84	318075900
    85	346299900
    86	375199900
    87	404783900
    88	435059900
    89	466035900
    90	497719900
    91	530119900
    92	596367900
    93	664079900
    94	733271900
    95	803959900
    96	876159900
    97	949887900
    98	1025159900
    99	1101991900
    100	1180399900
    101	1200399900
    102	1220801900
    103	1241609900
    104	1262827900
    105	1284459900
    106	1306509900
    107	1328981900
    108	1351879900
    109	1375207900
    110	1398969900
    111	1423169900
    112	1447811900
    113	1472899900
    114	1498437900
    115	1524429900
    116	1550879900
    117	1577791900
    118	1605169900
    119	1633017900
    120	1661339900
    121	1690139900
    122	1719421900
    123	1749189900
    124	1779447900
    125	1810199900
    126	1841449900
    127	1873201900
    128	1905459900
    I wish you success. :)
    Last edited by Slime; 25-01-18 at 01:59 AM. Reason: 오타 수정



Advertisement