bij deze mod moet ik dit vinden:
Code: Selecteer alles
if (isset($renewitem))
{

dit moet ik er achter zetten:
Code: Selecteer alles
//create class field in correct format
$selectedclasses = count($class);
$newclasslist = '';
for ($sc = 0; $sc < $selectedclasses; $sc++)
{
$newclasslist .= "ß".$class[$sc]."Þ";
}
if ($newclasslist == "ßÞ")
{$newclasslist = '';}
if ((in_array('ALL',$class)) && ($selectedclasses > 1))
{message_die(GENERAL_MESSAGE,"If you select 'ALL' from the Class list, you do not need to select any other classes.<P>Please go back and try again.");}
if ((in_array('',$class)) && ($selectedclasses > 1))
{message_die(GENERAL_MESSAGE,"If you select 'n/a' from the Class list, you do not need to select any other classes.<P>Please go back and try again.");}
if ((($type != '') || ($newclasslist != '') || ($mpcost != 0)) && ($battle_effect == '0'))
{message_die(GENERAL_MESSAGE,"You have selected an Item Type/Class and/or MP Cost, but no Battle Effect! Without this, the item cannot be used in battle.<P>Please go back and try again.");}
if ((($type == '') || ($newclasslist == '')) && ($battle_effect != '0'))
{message_die(GENERAL_MESSAGE,"You have entered a Battle Effect, but selected no Item Type and/or Classes.<P>Please go back and try again.");}