Jesse60905 Posted May 18, 2007 Posted May 18, 2007 Whenever I try to update user levels for any account absolutely nothing happens. I want to be able to make all my admins high lvls to ward off people from attacking them. As it is people attack them however fail miserably because they all have max stats. I can't post my admin.php but I will upload it as a txt file Now I am also getting this message when trying to create a new weapon: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',1)' at line 1 Quote
vinyl Posted May 23, 2007 Posted May 23, 2007 Re: Help with admin.php you'll have to post a wee bit more code for anyone to be of much help. :-D a quick comparison of your original files should yield where the weapon problem is. user_level won't kep anyone from getting attacked, without stats, they are just as vulnerable and will likely reward your players with massive experience. try adding if user_level = '2' then die -you can't attack the staff in attack.php if that's REALLY what you want, just take a look at attack.php and you'll learn something coding it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.