Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...