Renkia Posted March 12, 2010 Posted March 12, 2010 Hey Guys Now some people are probably interested on making a Mccode game, so Basicly I am just gonna tell you how to set one up. TAKES AROUND: 5 - 20 MAX Ok first you will need: 1. A Free web hosting. For more information on Web hosting - http://www.w3schools.../host_intro.asp 2. A Free domain. For more information on Domains - http://www.domainsne...adomainname.htm 3. Mccodes V1 / V2 / V3. To purchase Mccodes go to - http://www.mccodes.com NOTE: You will receive a license with your order. Free web hosting: A Great free web hosting would have to be http://www.host2x.com or Mdshares free hosting. LOOK AT ANNOUCMENTS / This will basicly keep your game online & control it within your CPanel. There are 2 CPanle`s. Custon CPanel - Poor CPanel 11+ - Great! Free Domain: The most used free domain is co.cc to get this free domain go to http://www.co.cc Many other free domains are available like .COM / .NET / .CO.UK You will just have to look around on google. =D When you have your hosting account, you will need to control your Domain. To prevent people ruing your game or taking full control of it, all domains have a section called DNS - Domain Name Server. This prevents noobs taking over your game. EXAMPLE: DNS1: http://www.HOSTINGNAME.??? Or http://www.host2x.com DNS2: http://www.HOSTINGNAME.??? Or http://www.host2x.com You will probably be thinking many other people online use the same hosting and could take control, but the only way they could do this is by trying to guess your Username & Password. Make sure you have a strong passowrd. Mccodes: Basicly i think we all know what mccodes is. http://www.chaoticwars.co.uk = Mccodes http://www.immortal-darkness.com = Mccodes Mccodes are the basics to your game. What to do next? After setting up your domain & hosting. You will need to go to your FILE MANAGER UPLOAD YOUR MCCODES WHEN UPLOADED - RIGHT CLICK ON MCCODES AND EXTRACT THEM INTO A CERTIN FILE NAME CLOSE AND OPEN FILE MANAGER RIGHT CLICK AGAIN - EXTRACT THEM INTO A FILE CALLED ( public_html ) When everything is upload go into public_html and look for a certain file called CONFIG.PHP RIGHT CLICK - EDIT / When it has opened, open up a new tab and back onto your Cpanel. Look for a option called MYSQL. AKA YOUR DATABASE. Open it and create a database. LOGIN NAME FOR CPANEL EXAMPLE: rasheed_DATABASE NAME / NAME IT WHAT EVER YOU WANT. When it has been created copy and paste into your CONFIG.PHP Folder, go back onto MYSQL and click [go back] Scroll down and create a user & password for the user. EXAMPLE: rasheed_DATABASE USER NAME / NAME IT WHAT EVER YOU WANT / CREATE A PASSWORD AND CLICK [Create User] Copy and paste your info into the CONFIG.PHP / Back onto MYSQL and click [go back] Scroll down even more and look until you can see your DATABASE NAME & USER Click below ADD USER TO DATABASE / Some boxes should come up click them all and then click ADD near the bottom right. Back onto your CONFIG.PHP file and top right of your screen click. SAVE CHANGES That's nearly everything sorted. 1 Last step left. http://www.YOURGAMENAME.???/installer.php Menu you comes up telling you everyting thing is able to run the game and edit it. Continue and enter your DATABASE info from CONFIG.PHP add in Game info and admin information. If you have done it correctly everything should be installed. The bottom at the page it will display something called Cron jobs. /5* or something http://www.YOURGAMENAME.???/cron_fivemin?code=CADEOFNUMBERSANDLETTERS Should be 4 there. Go back onto the main part of your CPanel look for ADVANCED & Cron jobs. Eneter / http://www.YOURGAMENAME.???/cron_fivemin?code=CADEOFNUMBERSANDLETTERS And the setting. Very easy to add. Anyway that`s your own game set up. I Thank you very much for reading this and hope you enjoy. =D Please leave comments & Mail me if any problems you don`t understand. =D Quote
Renkia Posted March 12, 2010 Author Posted March 12, 2010 Ohh yeah a few more things. When all set up, go back into the CPanel FILE MANAGER. Public_html > DELETE > register.php & installer.php Then find LOGIN.PHP > Open it & look for these codes $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; Replace with $IP = $_SERVER['REMOTE_ADDR']; That should secure your game for a while. :thumbsup: Quote
Analog Posted March 12, 2010 Posted March 12, 2010 Ohh yeah a few more things. When all set up, go back into the CPanel FILE MANAGER. Public_html > DELETE > register.php & installer.php Then find LOGIN.PHP > Open it & look for these codes $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; Replace with $IP = $_SERVER['REMOTE_ADDR']; That should secure your game for a while. :thumbsup: Actually, no it won't. You need to secure every input that comes from a player. Every $_POST, $_GET, $_REQUEST can be compromised. Quote
Renkia Posted March 12, 2010 Author Posted March 12, 2010 Actually, no it won't. You need to secure every input that comes from a player. Every $_POST, $_GET, $_REQUEST can be compromised. I Said it should secure you game for a while, not fully. ;) Quote
Guest Drizzle Posted March 12, 2010 Posted March 12, 2010 I registered on a game without a register lol. You just need the files on ur server, set them up to send the posts, and boom it works. Quote
Danny696 Posted March 12, 2010 Posted March 12, 2010 1. A Free web hosting. For more information on Web hosting - http://www.w3schools.../host_intro.asp 2. A Free domain. For more information on Domains - http://www.domainsne...adomainname.htm LAMO Free!! hows about paid! Quote
Renkia Posted March 12, 2010 Author Posted March 12, 2010 Never new the Drizzle Thanks :) Danny really? You just started things and get a paid hosting? Naaa free would be the best option at first. :thumbup: Quote
Danny696 Posted March 12, 2010 Posted March 12, 2010 If your serious about the game, free will drag you down, most of them are reallly slow anyway Quote
Renkia Posted March 12, 2010 Author Posted March 12, 2010 True but they will hardly know anything about Mccodes. More tuts shall come soon on how to edit your style. And many more. Simple. Then you get a paid hosting. Good enough point tho dan. 8) Quote
Danny696 Posted March 12, 2010 Posted March 12, 2010 I want mrgreen back, coz thats what i would h'v put. Nice anyways, $IP = $_SERVER['REMOTE_ADDR']; least you didnt mres it like other -.- Quote
Renkia Posted March 12, 2010 Author Posted March 12, 2010 Lol. MRES Wouldcould be optional. :rolleyes: Quote
wrx Posted March 13, 2010 Posted March 13, 2010 To prevent people ruing your game or taking full control of it, all domains have a section called DNS please explain... how does DNS stop people from taking full controll of your game ? wrx Quote
Redex Posted March 13, 2010 Posted March 13, 2010 Domain Name System (DNS) basically translates hostnames to ip addresses. I'm sure Renkia meant this will help in setting up your account with the hosting company of you're choice, becuase if accidently or meaningfully you change the DNS (Domain name server) on your host, it will change you to another host. This does not mean, you will get free hosting from that other company, as there are further steps to follow from the hosting company to set up your account and make sure everything is working fine. - Redex Quote
wrx Posted March 13, 2010 Posted March 13, 2010 I'm sure Renkia meant this will help in setting up your account with the hosting company of you're choice, i have my opinion too as to what Renkia meant......maybe Renkia can clarfiy what this means To prevent people ruing your game or taking full control of it, all domains have a section called DNS Domain Name Server. This prevents noobs taking over your game. Quote
Redex Posted March 13, 2010 Posted March 13, 2010 Well yes, your entitled to your own opinion. I wasn't saying you could be wrong, apologies if it came out like that. Quote
Renkia Posted March 13, 2010 Author Posted March 13, 2010 Sorry for the misunderstanding. But I should of put more information about DNS. Yet again cheers Redex :P 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.