Fatal error: Cannot redeclare CHARACTER::$options in /home/a9686500/public_html/game/lib/character.lib.php on line 335
Located in the //PRIVATE: sector of the file. It seems to want to call $options twice and is not functioning.
This was found after downloading the latest release from sourceforge. Any help would be great.
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)