Jump to content
  • 0
Sign in to follow this  
hannicaldummy

Quest Level

Question

1 - Is there any way the server max level is 100, but the player can still go up levels with quests?


 

Quote

 

Example: Quest 101 it becomes full level 101, but only with no question exp quest 101 rises to level 102, and so on ...


Would SRC, SQL, npc script?

 

Ive alread tryed for SQL:

 

		query_sql "SELECT `base_lvl` FROM `char` WHERE `char` = '"+strcharinfo(0)+"'";		query_sql "UPDATE `char` SET `base_lvl` = `base_lvl` + 1 WHERE `char_id`="+@CID+"",@esc$;

 

But the char downs't gain the nivel

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You could artificially reduce/nullify the amount of exp got when killing monsters once you're at certain level. Then you could issue a

set BaseLevel, BaseLevel+1;

on your quests so that the player gets the level.

 

About the SQL queries, they work (though first one is useless) but will only take effect when you relog the character, and (I guess) if new level is not greater than current max level in the confs.

Share this post


Link to post
Share on other sites
  • 0

I mean making some source edits so that when you reach a given level you'll be unable to get any more experience other than quests level ups.

Share this post


Link to post
Share on other sites
  • 0

To brAthena he code was

 

//if(pc_has_permission(sd,PC_PERM_DISABLE_EXP))
// return 0;

 

if(sd->status.base_level > 100)
return 0;

if(sd->status.job_level > 70)
return 0;

 

On map/pc.c, but on hercules i can't find the line or something who likes to customise, can someone tell me where i find that?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.