yes, that was the problem, thank you my friend...
Code: Select all
if ($weapon == 'blade'){$name = 'One Handed Blade';}
if ($weapon == '2h_blade'){$name = 'Two Handed Blade';}
if ($weapon == 'axe'){$name = 'Axe';}
if ($weapon == 'pole_arm'){$name = 'Pole Arm';}
if ($weapon == 'bow'){$name = 'Bow';}
if ($weapon == 'blunt'){$name = 'Blunt Weapon';}
if ($weapon == 'knife'){$name = 'Knife';}
if ($weapon == 'crossbow'){$name = 'Crossbow';}
if ($weapon == 'light_pistol'){$name = 'Light Pistol';}
if ($weapon == 'heavy_pistol'){$name = 'Heavy Pistol';}
if ($weapon == 'energy_pistol'){$name = 'Energy Pistol';}
if ($weapon == 'energy_rifle'){$name = 'Energy Rifle';}
if ($weapon == 'light_rifle'){$name = 'Light Rifle';}
if ($weapon == 'heavy_rifle'){$name = 'Heavy Rifle';}
if ($weapon == 'shotgun'){$name = 'Shotgun';}
not this is correct.. there was more stray " ..
Thank you again, but now i found another error.. i stry allot of things to fix this but no success.
The next problem is this..
im trying to build a inn or a house or anithing else i get this error... ( could not add shop )
any sugestion ?
and when you ar trying to harvest you get this error on line 116 but on line 116 was missing only this $ and now its ok...
line 116
Code: Select all
$illrand = $skills3[0] + 10 + $playerinfo3['iq'];
.. this is fix..
but now here is another error ( Attempting to Fish ....
You catch a . It took 1 hours.
could not add to backpack _ )
i alwyas get this error
i think is something wrong here ..
Code: Select all
$SQL = "INSERT into backpack(id, name, type, stats, modadd,price,level,randid,consumable) VALUES ('$id','$name','$foundr3[type]','$foundr3[stats]','$mod','$foundr3[price]','$foundr3[level]','$randid','$foundr3[consumable]')";
mysql_query($SQL) or die("could not add to backpack");