Prime Posted April 6, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 01/11/12 Last Seen: January 18 Share Posted April 6, 2015 My server max lvl is 350 but i want that player can only reach 349 and 350 only by quest, how can i block exp past 349? Quote Link to comment Share on other sites More sharing options...
Skorm Posted April 6, 2015 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted April 6, 2015 This is more of a general question. Quote Link to comment Share on other sites More sharing options...
Prime Posted April 6, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 01/11/12 Last Seen: January 18 Author Share Posted April 6, 2015 can someone help me :C Quote Link to comment Share on other sites More sharing options...
Driw Posted April 8, 2015 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 28 Reputation: 1 Joined: 03/18/12 Last Seen: December 7, 2019 Share Posted April 8, 2015 First modify pc_checkbaselevelup in pc.c Probably you will need create a new command.This will depend of your ideia, one time for up to 350 or gain exp to up 350. If you want up to 350 just on time by command, I think is something like this next = pc_gets_status_point(sd->status.base_level);sd->status.base_level ++;sd->status.status_point += next; Check the db\statpoints.txt to accept points to 350 and set max level to 349. Try make that alone, if you can't tell me and maybe I make the source code, but you will be copy and past correctly if I make this. Quote Link to comment Share on other sites More sharing options...
Prime Posted April 9, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 01/11/12 Last Seen: January 18 Author Share Posted April 9, 2015 How to add it i want only reachable by command /: Quote Link to comment Share on other sites More sharing options...
Driw Posted April 10, 2015 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 28 Reputation: 1 Joined: 03/18/12 Last Seen: December 7, 2019 Share Posted April 10, 2015 In pc.c you will change pc_checkbaselevelup funcion (6.149 line +-)After unsigned int next = pc_nextbaseexp(sd);Add this if (sd->status.base_level >= pc_maxbaselv(sd) - 1)return 0; sd->status.base_level: character levelpc_maxbaselv(sd): max level to class of characterNow, to up the max level just if by atcommand baselvl (i don't test to up with getexp script command), because i think the pc_nextbaseexp is used by getexp, so this will be need more time and its complicate for me.If you want this jut to level 349 to 350 so used: if (sd->status.base_level == 349 && sd->status.base_level >= pc_maxbaselv(sd) - 1)return 0; Have "a bug", where the exp is gainned to 108% 500% 1000% but you not gain a level xDI make a basic modification, need more specify, but i think this what you need for now. Quote Link to comment Share on other sites More sharing options...
Question
Prime
My server max lvl is 350 but i want that player can only reach 349 and 350 only by quest, how can i block exp past 349?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.