Jump to content

Searching increase exp


Recommended Posts

59 minutes ago, .PolluX said:

You don't need to increase the exp.

Just divide the needed exp per level and the exp per mob(kill) by the same amount and you have smaller numbers but the same time you need to get to a higher level.

Easy to do... ;)

Yea, thats what im thinking too... but more work u know?

Link to comment
Share on other sites

  • Honorable Member

No really..

Try something like this:

UPDATE player.mob_proto SET exp = (exp / 4);
$handle = fopen("exp_table.txt", "r");
if ($handle) {
    while (($line = fgets($handle)) !== false) {
        // process the line read.
		$line = (intval($line) / 4);
		file_put_contents('exp_table_new.txt', $line.PHP_EOL, FILE_APPEND | LOCK_EX);
    }

    fclose($handle);
} else {
    // error opening the file.
} 

 

  • Love 2
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.