
NarutoPRG.com
Members-
Posts
167 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by NarutoPRG.com
-
Personally, I would buy one from Peter || MaxPixa :D
-
Wow, nice work Danny. :) But this got me abit.. echo'<big>'. ucwords($blog['name']) .'</big> Normally, you will get an error because you are cancling the string from ending from your echo'<big>' // End there because of the string I'm not so sure about when using this ( '. .) It might not cause an error. :) Yet again, good work danny! :thumbsup:
-
Erm... -__-
-
WTH! 8| @ Djkanna: Agreed. All though CB & Dbas might be busy, personally I would just goto MCC support. But, I it's true were your getting at. :) @ Dylan: Thanks mate, need some more added I think. :D @ Crimgame: Thank you. :) @ bladewolf2010: OK first WTH? Not many on here don't know SQL, so there for, they can't help, along with me(But still learning, lol). People who have spare time and know SQL, will help. Like Dylan & Crimgame. And this is dreadful. OK, tell you what. When you need more help. With your "Valid" MCC V2, don't come whyinging to us when your friend isn't online. Just because we have saw your thread doesn't mean we should help STRAIGHT away. We will help you when we have time. Ohh 1 more question... With the VALID MCCV2 Files, you get a page full of SQL's. And if you don't understand, the DP SQL's should already be there. So I think someone has paid a visit to Rapidshare.. :thumbdown:
-
You don't need to wish for that... Just keep learning. :) Mine would probs be a world of Pokemon. :)
-
POKEMON! 8o Lol. Anyway, the login looks great mate, aswel the Header & register. :) Keep the good work up!
-
Well said Nic. I think I might be able to explain some of this myself. NOW! I ain't so good/good at this so, I might be wrong. But some parts I have seen in recent mods of some people. 1: [mysql]`gangUPDATE` = 1[/mysql] Well, as I understand of SQL, your saying for the database to = 1 Gang? As nic posted above: [mysql]`gangUPDATE` = `gangUPDADE` + 1[/mysql] Your Adding(+) the gang update by 1. Im not sure why `gangUPDATE` is needed twice, but lets not argue. :P 2: [mysql]WHERE `userid`[/mysql] Erm... gangs? Lol. Wrong DB.. Lol. Yet again like nic posted. [mysql]`gangID` = {$ir['gang']}[/mysql] Is the right DB for using for. Although, I'm not to sure on this. but I think ( $r ) Is used for that USERS gang. And I think ( $ir ) for for everyonee gang. Like, displying Gangs in the gang.php file. But, I might be wrong. Please correct me if I am right. :)
-
Thank you Crosey. I have been looking up copright for a while for my incoming game, and I must say, the information you have provided is well detailed & makes perfect sence. Obviously, I disagree with some parts of CR, but it's the law. :)
-
Easier way for Raven's scammed customers
NarutoPRG.com replied to Lilith's topic in Feedback and Site Support
It's still money... If you think $15 is nothing. Would you mind sending some money into my paypal? :) -
Hey, I apologia if I'm in the wrong thread. FW = FireWorks Now, I got a FW from a friend, yano to experiment with, blah blah. And I didn't like it.. I thought I might aswel get GIMP or something. So, I went to delete FW from my computer & it wouldn't let me. It's taking loads of MEMO on my computer, but It doesn't want to delete. Ideas on I cam control my computers security?
-
Ermm.. it's working? Lol. Thanks Djkanna. Much Appreciated. :)
-
Hi there, I have fitted a template into register.php, and it seemed to go well.. But I tried to register to make sure thing were OK, but I get an error & I can't seem to fix it: Fatal error: Call to undefined function valid_email() in /home/XXX/public_html/register.php on line 143 <?php session_start(); include "config.php"; global $_CONFIG; define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM `settings`"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>XX</title> <meta name="keywords" content="EOG" /> <meta name="description" content="EOG" />'; echo '<script type="text/javascript"> var xmlHttp // xmlHttp variable function GetXmlHttpObject(){ // This function we will use to call our xmlhttpobject. var objXMLHttp=null // Sets objXMLHttp to null as default. if (window.XMLHttpRequest){ // If we are using Netscape or any other browser than IE lets use xmlhttp. objXMLHttp=new XMLHttpRequest() // Creates a xmlhttp request. }else if (window.ActiveXObject){ // ElseIf we are using IE lets use Active X. objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP") // Creates a new Active X Object. } // End ElseIf. return objXMLHttp // Returns the xhttp object. } // Close Function function CheckPasswords(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="check.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("passwordresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function CheckUsername(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="checkun.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("usernameresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function CheckEmail(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="checkem.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("emailresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function PasswordMatch() { pwt1=document.getElementById("pw1").value; pwt2=document.getElementById("pw2").value; if(pwt1 == pwt2) { document.getElementById("cpasswordresult").innerHTML="<font color=green>OK</font>"; } else { document.getElementById("cpasswordresult").innerHTML="<font color=red>Not Matching</font>"; } } </script>'; echo '<link href="templatemo_style.css" rel="stylesheet" type="text/css" /> </head>'; echo '<body> <div id="templatemo_container_bg"> <div id="templatemo_container"> <div id="templatemo_header"> <div id="templatemo_menu"> <ul> [*][url="login.php"][b]Home[/b][/url] <li class="current">[url="register.php"][b]Register[/b][/url] [*][url="screenshots.php"][b]Screenshots[/b][/url] [*][url="contact.php"][b]Contact Us[/b][/url] [/list] </div> </div> <div id="templatemo_content_area"> <div class="templatemo_one_col">'; echo '<div class="templatemo_h_line"></div>'; $IP = $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this.</font>[/b]</body></html>"); } if($_POST['username']) { if($set['regcap_on']) { if(!$_SESSION['captcha'] or $_SESSION['captcha'] != $_POST['captcha']) { unset($_SESSION['captcha']); die("Captcha Test Failed >[url='register.php']Back[/url]"); } unset($_SESSION['captcha']); } if(!valid_email($_POST['email'])) { die("Sorry, the email is invalid. >[url='register.php']Back[/url]"); } if(strlen($_POST['username']) < 4) { die("Sorry, the username is too short. >[url='register.php']Back[/url]"); } $sm=100; if($_POST['promo'] == "Your Promo Code Here") { $sm+=100; } $username=$_POST['username']; $username=str_replace(array("<", ">"), array("<", ">"), $username); $q=$db->query("SELECT * FROM users WHERE username='{$username}' OR login_name='{$username}'"); $q2=$db->query("SELECT * FROM users WHERE email='{$_POST['email']}'"); if($db->num_rows($q)) { print "Username already in use. Choose another. >[url='register.php']Back[/url]"; } else if($db->num_rows($q2)) { print "E-Mail already in use. Choose another. >[url='register.php']Back[/url]"; } else if($_POST['password'] != $_POST['cpassword']) { print "The passwords did not match, go back and try again. >[url='register.php']Back[/url]"; } else { $_POST['ref'] = abs((int) $_POST['ref']); $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $q=$db->query("SELECT * FROM users WHERE lastip='$IP' AND userid={$_POST['ref']}"); if($db->num_rows($q)) { die("No creating referral multies. Bad dog. >[url='register.php']Back[/url]"); } if($_POST['ref']) { $q=$db->query("SELECT * FROM users WHERE userid={$_POST['ref']}"); $r=$db->fetch_row($q); } $db->query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$IP', '$IP')"); $i=$db->insert_id(); $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)"); if($_POST['ref']) { require "global_func.php"; $db->query("UPDATE users SET crystals=crystals+2 WHERE userid={$_POST['ref']}"); event_add($_POST['ref'],"For refering $username to the game, you have earnt 2 valuable crystals!",$c); $db->query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$IP')"); } print "You have signed up, enjoy the game. > [url='login.php']Login[/url]"; } } else { if($set['regcap_on']) { $chars="123456789abcdefghijklmnpqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!?\\/%^"; $len=strlen($chars); $_SESSION['captcha']=""; for($i=0;$i<6;$i++) $_SESSION['captcha'].=$chars[rand(0, $len - 1)]; } echo "<div class='templatemo_section_2'> <form action=register.php method=post> <table width='75%' class='table' cellspacing='1'> <tr> <td width='30%'>Username</td> <td width='40%'><input type=text name=username onkeyup='CheckUsername(this.value);'></td> <td width='30%'><div id='usernameresult'></div></td> </tr> <tr> <td>Password</td> <td><input type=password id='pw1' name=password onkeyup='CheckPasswords(this.value);PasswordMatch();'></td> <td><div id='passwordresult'></div></td> </tr> <tr> <td>Confirm Password</td><td><input type=password name=cpassword id='pw2' onkeyup='PasswordMatch();'></td> <td><div id='cpasswordresult'></div></td> </tr> <tr> <td>Email</td><td><input type=text name=email onkeyup='CheckEmail(this.value);'></td> <td><div id='emailresult'></div></td> </tr> <tr> <td>Gender</td> <td colspan='2'><select name='gender' type='dropdown'> <option value='Male'>Male <option value='Female'>Female</select></td> </tr> <tr> <td>Promo Code</td><td colspan=2><input type=text name=promo></td> </tr> <input type=hidden name=ref value='"; if($_GET['REF']) { print $_GET['REF']; } print "' />"; if($set['regcap_on']) { print "<tr> <td colspan=3>[img=captcha_verify.php?bgcolor=C3C3C3] <input type='text' name='captcha' /></td> </tr>"; } print " <tr> <td colspan=3 align=center><input type=submit value=Submit></td> </tr> </table> </form> </div>"; } echo" <div class='templatemo_section_2'> <h1>COPYRIGHT</h1> XXXX</p> </div>"; echo '<div class="cleaner"></div> </body> </html>'; ?> I haven't changed the codes of anything yet, so please don't ask why the code is like this. If you can fix it, Thanks very much. If you tried, then I thank you for your efforts. :D Cheers, Rasheed Saeed
-
Easier way for Raven's scammed customers
NarutoPRG.com replied to Lilith's topic in Feedback and Site Support
Ohh, sorry. My bad Lilith. :) -
[REQUEST] Rating Modification
NarutoPRG.com replied to Dillion & Amanda 4 Lif's topic in Free Modifications
Personal Crimgame, in my point of view, it gives some people a tip that you are liked. And that if your new, they would be friendly to you.. Well just my opinion. :) Ill have a look now bud. :) -
Easier way for Raven's scammed customers
NarutoPRG.com replied to Lilith's topic in Feedback and Site Support
My point of view, Raven has messed up many game owners & games. 1: POINTED OUT BY CRIMGAME - Template was robbed on Mafia-Corruption. That's a way to get your game taken by the creator of that. 2: RAVEV = MCC - Basically isn't an engine/script in my view, just another game with added mods.. Personally, I don't feel like people blaming Dabs & CB. Iv'e seen some people blame them, but how? If you made an engine, and someone decided to add some mods & sell it for cheaper, and say they made it.. Isn't your fault.. Get my point? I hope Raven gets his/her head out his/her ass & read up a thing called "Copyright". My friend "Theodore Fulbright" bought Raven MCC, for $25 (Codes/License). Later found out that he had to take his game down, because of this.. Redickluss. Plus, he isn't going to get his money back.. Some people said "It's only $25" Well, he could of given his kids something out of it.. NOTE: I personally think $25 should be a discount for the people who have to buy MCC, as it's not there fault. Nore CB & Dabs. P.S: I added some info on the other thread, sorry. :P -
[REQUEST] Rating Modification
NarutoPRG.com replied to Dillion & Amanda 4 Lif's topic in Free Modifications
OK,. 1: Seriously no need to bump. Wait for people to reply. 2: People will use/won't-use this mod, and not even post. 3: FREE MOD! Hello.. @ CG - Aww, I wanted to see a rating system on CG. Lol. :) -
Very nice Bard! Well done mate. :) echo "[url='gameroom.php']Back To Game Room[/url]</center>"; Could be echo '[url="gameroom.php"]Back To Game Room[/url]</center>'; I heard that it helps performance. Yet again keep up the good work. ;)
-
Idea for MWG: Introductions
NarutoPRG.com replied to Dillion & Amanda 4 Lif's topic in Feedback and Site Support
Yeah, but its all the way down there, a new member wouldnt know that. You have a valid point. ;) -
Ermm.. Lol? :P
-
You can convert it yourself. :) Tutorial: v2 - v1 Conversion
-
Lol, I mostly spend 30 mins on a mod TOPS, but when I get better at PHP/MySQL/SQL ill create some decent modifications for the future hopefully. :)
-
Sure, Sniko. Ill post them in the first post. :)
-
Well, £130 isn't expensive for full-game security from him. But still, £130 is alot. :P Just think how many snikers you could get with that. 8o
-
Sorry, but that's too noisy. ;(
-
What's a Pozzy? What ever it means, I think Crimgame is very good at security in my opinion.