Welcome
Hello this is Convictlife and i have made an RPG game and for you noobs out there i will be explaining
Here is a breif structure of this post:
1. Getting your codes.
2. Getting your host.
3. Uploading your codes.
4. Configuring your codes.
5. MySQL
6. phpMyAdmin
7. CronJobs
8. Editing
9. Finalizing
Getting Your Codes!
First of all you need codes that will power your website.
If you are a master coder (like Dabomstew) then you can code these codes yourself, but if you are "so-so" then you will need to get codes from somewhere.
I got my codes from Mccodes.
This is a great website that allows you to buy quality codes at a cheap price or get a reduced but free version of MC-CODES.V.1.0.1
Or you can get the good code base ($75) or the great code base ($300)
Getting Your Host
You need a good host that allows the following
At Least 100MB Of Web Disk Pace (public_html) At least 2GB of monthly bandwidth or 150mb daily bandwidth Cronjobs PHP cPanel or Vistapanel File Maganger File Editor MySQL (at least one database limit) MySQL Users phpMyAdmin One you get this host and your website is activiated then you can start building you website!
Uploading Your Codes
THIS IS A VITAL STEP!
If you have cPanel X or Vistapanel you can upload files by going to File Maganger or Legacy File Manager (Only cPanel X) and clicking on Upload.
Upload all your files that you recieved in your code folder except for files like index.php, index.html, index.txt, install.txt and copying.txt
Make sure all you files are being uploaded to you public_html (web root)
Configuring your codes
After you have uploaded all your codes then you need to tweak them a bit.
First we will start with your game logo, upload a logo with the following dimensions 129x692 and call it logo.png (save it as a PGN format)
Then go to a file called header.php and over here you can change the design of you game (note: you will have to do login.php and register.php seperatly as header.php dosn't affect these)
When you are in header.php go to a section that displays:
<style>
body { font-family:helvetica, arial, geneva, sans-serif;font-size:12;color: red;
scrollbar-base-color: #005B70;
scrollbar-arrow-color: #F3960B;
scrollbar-DarkShadow-Color: #000000; }
a:visited,a:active,a:hover,a:link { color: red;text-decoration: none; }
table,tr,td { font-family:helvetica, arial, geneva, sans-serif;font-size: 12; }
img { border:none; }
textarea { font-family:helvetica, arial, geneva, sans-serif;font-size:12;color: black; }
</style>
Here you can change the test-size and color just rename the part in bold (NOTE DONT TAKE OUT ANY OF THE ;)
Then you go to the section that displays:
print "<body bgcolor='#000000'>
Just rename the part in bold in HEX color codes
Then go to the part:
<title>Your Game Name</title>
Put you game name into the bold space.
MySQL
MySQL is a easy storage service that your site needs!
In cPanel X you can find MySQL under Databases.
After you do that create a Database called db (NOTE NORMALLY YOUR SERVER NAME WILL BE PUT IN FRONT SO IT WILL LOOK SOMETHING LIKE THIS: yourservername_db)
Then create a MySQL user called user and assosiate user with the database with ALL PRIVALGES
Then open the file called mysql.php and open that file
Then go to the part that says:
<?php
$c = mysql_connect('localhost', 'yourdatabsename[.b]', 'youdatabaseuserspassword');
mysql_select_db('yourdatabasename', $c);
$mykey=256573440;
?>
Edit the parts in bold.
After you did that your MySQL will be ready
phpMyAdmin
phpMyAdmin can be found in cPanel X uder databases
Click on phpMyAdmin and you will be redirected to the offical phpMyAdmin homepage.
Click on your databases name and then on Import
You should have recived a file called dbdata.sql or othername.sql please select that a click IMPORT
After that your storage facility is complete!
CronJobs
On your webserver create a folder called crons then upload all your cron files e.g cron_5mins or cron_day etc...
Then your crons are complete
Editing
In this stage you edit all that you nned to using you webservers 'EDIT' button!
Finalizing
This is the final stage, in this stage you can advertise your site in various sites the best of which is TOPRPGAMES
THANK YOU FOR READING AND PLEASE REPLY AND RATE!
Any Problems PM Me!