Jump to content
MakeWebGames

rfw2003

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Everything posted by rfw2003

  1. Re: IRC Set-up help!     it does tell you your errors, but it says warnign instead these are the 2 errors with the line numbers of where the error is on your setup this is your first error [warning] unrealircd.conf:253: listen with SSL flag enabled on a non SSL compile This is your second error [warning] unrealircd.conf:320: link services.yourdomain.com with SSL option enabled on a non-SSL compile [warning] unrealircd.conf:320: link services.yourdomain.com with ZIP option enabled on a non-ZIP compile R.F.
  2. Re: coding question you need to add the form to your code, so that it will have a place to input the information
  3. Re: Give Item Error if you go through when you are doing mods to the code, and change the main queries to specify the info that you want to update or insert into the DB you will never have to modify the queries again, here is an example of what I'm talking about   mysql_query("INSERT INTO `items` (`itmid`, `itmtype`, `itmname`, `itmdesc`, `itmbuyprice`, `itmsellprice`, `itmbuyable`) VALUES (NULL, '8', '{$_POST['itemname']}', '', '0', '0', '0')",$c);   I highly suggest that you do it at least on the registration.php file so that anytime you add new features to the game that require adding more fields to the users table, you will not have to go back and modify the registration table. R.F.
  4. Re: Urgent -- Sign Up Bug... My guess is that it only effects those that do not enter email addies when the signup. because of this piece of code in the header.php   if(!$ir['email']) { die ("<body>Your account may be broken. Please mail [email][email protected][/email] stating your username and player ID."); }   R.F.
  5. Re: INT and BIG INT bigint can handle up to 9.2 quint after that you need to goto float
  6. Re: Proxy Banning Well yes it is possible to write some code to check if the IP has an open proxy on it, but the downfall is this. If you were to do that, 1 it would really slow down the game because you would have your server contacting every IP that logs onto it, and your server would be trying to see if i can connect to thier system so that it can check for the open proxy. 2. you would also endup denying entry to lots of people out there that are completly legitamate, as they have to use proxies to be able to surf the internet.
  7. Re: Editing staff levels well lets see if I can explain this, yes user_level it the field in the DB that depics what level the person is. Now as for adding new levels you will need to go through all your staff panels and change the level number and name to your new system so that they can access the areas that you want them to access. My current levels are as follows 1=general players 2=owner 3=admin 4=sec 5=assistant 6=ircop You would also need to change in you admin panel where it assigns the staff positions as well so that when you get a new staff member they will be given the correct level that you choose. One of these areas would be this one in your admin.php file   function userlevelform() { global $ir,$c,$h,$userid; print "<h3>User Level Adjust</h3> <form action='owner.php' method='get'> <input type='hidden' name='action' value='userlevel'> User: ".user_dropdown($c,'ID')." User Level: <input type='radio' name='level' value='1' /> Member <input type='radio' name='level' value='2' /> Super Admin <input type='radio' name='level' value='3' /> Admin <input type='radio' name='level' value='4' /> Secretary <input type='radio' name='level' value='5' /> Ass Hat <input type='radio' name='level' value='6' /> IRCop <input type='submit' value='Adjust' /></form>";   I hope this helps
  8. Re: Need some help I got it figured out. yes the loop and an extra column in the table is what I did, just before I came back in here.   R.F.
  9. O.k. I am trying to code up a mod. I'm working on a lottery style Mod for a friend. I have it to the point that I can input the numbers into the DB, and a script that will randomly generate the numbers. I have been successful in compareing the numbers in the DB to the generated numbers to see if all numbers match, and if they do peform a my function. Where I'm having trouble is figureing out how to see if only 3,4 or 5 of the numbers match the generated numbers. Can anyone help with this???? R.F.
  10. Re: Multi Account Issues Not sure what's going on with yours sevendet, but I had no problems with the script I posted, but then again there may be a few diffs, between our setups. On another note, I tried the link above for you game, when I click register I get a 404 page not found error.
  11. Re: Multi Account Issues   Did you take out all you had before and put what I suggested in it's place Also if you are trying to test with you own computer you will not be able to register with it. You will need to use another computer that has a different IP
  12. Re: Multi Account Issues o.k. I have tested this, and it seems to work just fine. It won't even let them type in thier info, if thier IP is the same as one that is already registered.   require "mysql.php"; global $c; $q=mysql_query("SELECT * FROM users WHERE lastip='{$ip}'",$c); if(mysql_num_rows($q)) { die ("IP already in use. If you would like to register a Family member plz email the owners at owner@#######"); }   R.F.
  13. Re: Multi Account Issues need to change this if($count[0] > 0) to this if($count[0] > 1)
  14. Re: Profile Signatures   What it is replacing it with is ASCII codes ( is ( ) is ) : is : [ is [ ] is ] { is { } is } just do a search replace when you paste it into your notepad, or what ever other editor you use for working with your code. R.F.
×
×
  • Create New...