I fix this rows: 334-345

var $options2;
function CHARACTER($charId=0, $options2=PHPRPG_CHAR_ALL) {

$this->flush();
$this->id = intval($charId);
$this->options = intval($options2);
$this->sprite = new SPRITE();

if ($this->id > 0) return($this->load($this->id,$this->options));

return(true);
}

(Just rename the variable)
But After That i got some other errors XD

i fix them.

auth.lib.php rows: 183,185

$char_submit = "<input type='submit' class='inputbutton' id='character-submit' name='character-submit' value='Select Character'>";

$char_create = "<input type='button' class='inputbutton' id='character-create' name='character-create' value='Create Character' onClick='goLocation()'>";

After that the script is started working.
(sorry my englis is bad, i'm german)