Welcome to the Builder Academy

Question Interesting Crashlog

More
28 Jun 2012 17:33 #310 by Halenbane
Replied by Halenbane on topic Re: Interesting Crashlog
/* Function to return the exp required for each class/level */
int level_exp(int chclass, int level)
{
if (level > LVL_IMPL || level < 0) {
log("SYSERR: Requesting exp for invalid level %d!", level);
return 0;
}

/* Gods have exp close to EXP_MAX. This statement should never have to
* changed, regardless of how many mortal or immortal levels exist. */
if (level > LVL_IMMORT) {
return EXP_MAX - ((LVL_IMPL - level) * 1000);
}

/* Exp required for normal mortals is below */

Please Log in or Create an account to join the conversation.

More
28 Jun 2012 17:46 #312 by Liko
Replied by Liko on topic Re: Interesting Crashlog

Halenbane wrote: /* Function to return the exp required for each class/level */
int level_exp(int chclass, int level)
{
if (level > LVL_IMPL || level < 0) {
log("SYSERR: Requesting exp for invalid level %d!", level);
return 0;
}

/* Gods have exp close to EXP_MAX. This statement should never have to
* changed, regardless of how many mortal or immortal levels exist. */
if (level > LVL_IMMORT) {
return EXP_MAX - ((LVL_IMPL - level) * 1000);
}

/* Exp required for normal mortals is below */


Your system log is saying that it cannot find the experience for level 35, which would come from int level_exp.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
28 Jun 2012 17:51 #313 by Halenbane
Replied by Halenbane on topic Re: Interesting Crashlog
Yeah I know,

And I haven't modified int_exp in any way.

Please Log in or Create an account to join the conversation.

Time to create page: 0.166 seconds