Re: [REVIEW] Deadly Ghetto.
Haha, it was shelled.. (not by my hand)
I also see plenty of 500 Internal Server Error logs on there - someone went to town on your site O.o
Re: Crime Creation Error [v2]
I'm getting bored of constantly replying to this particular error..
When creating a crime, fill in ALL the boxes.
If you don't want the crystals to payout, input 0
Re: mccodes v2 help
echo sprintf("There %s %s player%s registered", ($rows == 1) ? 'is' : 'are', number_format($rows), ($rows == 1) ? '' : 's');
Output:
There are 0 players registered
There is 1 player registered
There are 2 players registered
There are 3 players registered
etc..
Re: PHP Question
PHP comes from the C family ;)
I also did the same thing.
Opened a game I knew virtually nothing about, played around with the codes, and got to where I am now :P (the same damn well uncomfortable chair!) xD
Re: [Mccodes v2] DatatBase quiestion
You can do that, or you can create another database with the same data and use MC Craps' change_database() function :P
Re: mccodes v2 help
$rows = $db->fetch_single($db->query("SELECT COUNT(userid) FROM users"));
if($rows >= 20)
{
echo "Registration is closed until the game is brought out of beta";
exit;
}
Re: .htaccess or php help needed
Don't you mean
if(!defined('Something')) die('Get out here!');
No.
Haunted Dawg's method is correct.
So yes, you do mean that..
Re: Spam filter New-
Perhaps "flagging" the message?
Insert the flagged message into a new table (for example; `flagged_mail`), create a log for it, and Bob's your crocodile! (Seen that Rowntree's advert too much...)
Re: help:(
lol you need to rename the index2.php to just index.php but make sure the game is installed and then you have to secure your site lol mccodes original has over 70 exploites and bugs
Yeah, that's just the forums.php alone!
Re: bbcode problem
You haven't globally defined the $bbc variable..
Find
function gang_view()
{
global $db,$ir,$c,$h,$gangdata;
and change to
function gang_view()
{
global $db, $ir, $c, $h, $gangdata, $bbc;
Re: Free secure forums?
I already have, though it is using my custom functions, so I won't be releasing it.
They can be seen on Criminal Generation and Deadly Country
Re: help:(
You posted 2 topics, saying the exact same thing -.-
Have you edited viewuser.php? If not, check the users table in the database. There may have been an exploit/hack - I'm guessing so anyway, based on what I see from your language (I haven't even looked at your game) - check the ID's..