#16491 - 01/19/08 01:38 PM
Hey there.
|
Styx
Malt-o-Meal
Registered: 01/15/08
Posts: 22
|
Offline
|
|
Hello, I'm new to this DK stuff. No, I'm not going to ask how to set it up or something, since I did.
I have a basic game with some mods like Minimap and Older News, but now I want to get it online. Is there a guide for this? I need a free host, by the way.
_________________________
DK abilities: Better than Average - Titles: Solo Developer of NeoRPG ---------------------- Goals: -------------------- -------------V = Done | X = Failed---------------- Make NeoRPG work. [V] Add Quests. [X] Add PvP. [ ] Add NPCs. [V] Add a better internal forum. [V] Get at least 50 registered people. [ ]
|
|
Top
|
|
|
#16492 - 01/19/08 02:50 PM
Re: Hey there.
[Re: Styx]
|
Whiz
Cheerios
Registered: 10/28/07
Posts: 129
|
Offline
|
|
I use http://www.freehostia.com. They have a fairly high limit on the free accounts, and some tech support for you. For some reason their mysql servers are unresponsive a few times a day, for only a few minutes each time, but some find this annoying. But, they're free and easy to use.
As far as how to get it "online", just upload all the files, enter the sql server information in the config.php file (be aware that, if you use freehostia, you need to provide something other than "localhost".) Then hit http://(your game url)/install.php, and follow the steps provided.
|
|
Top
|
|
|
#16493 - 01/19/08 02:53 PM
Re: Hey there.
[Re: Whiz]
|
Styx
Malt-o-Meal
Registered: 01/15/08
Posts: 22
|
Offline
|
|
So all I need to do is make an account of freehostia, then upload my files and edit config.php?
Sounds fair enough. May I contact you for any problems? Or should I post them here, rather?
_________________________
DK abilities: Better than Average - Titles: Solo Developer of NeoRPG ---------------------- Goals: -------------------- -------------V = Done | X = Failed---------------- Make NeoRPG work. [V] Add Quests. [X] Add PvP. [ ] Add NPCs. [V] Add a better internal forum. [V] Get at least 50 registered people. [ ]
|
|
Top
|
|
|
#16494 - 01/19/08 04:19 PM
Re: Hey there.
[Re: Styx]
|
Whiz
Cheerios
Registered: 10/28/07
Posts: 129
|
Offline
|
|
Post them here.
|
|
Top
|
|
|
#16495 - 01/19/08 06:53 PM
Re: Hey there.
[Re: Whiz]
|
Stixsmaster
Rice Krispies
Registered: 05/22/05
Posts: 363
|
Offline
|
|
Free hosts are not the correct solution to hosting DK or DS as they usually find a way to mess with the game in a way you may not like. If you want you can take up on my very cheap hosting plan...it only costs $15/a year and you get your own domain, 1gig of webspace, unlimited bandwidth, no ads, my service in helping to get content to upload and show. If you would like to do this lemme know and I will let you know how to accomplish this.
---Stixsmaster
|
|
Top
|
|
|
#16497 - 01/20/08 12:26 AM
Re: Hey there.
[Re: Fayt]
|
Styx
Malt-o-Meal
Registered: 01/15/08
Posts: 22
|
Offline
|
|
Yes. But I'm pretty low on money at the moment, so $15/a year is already too much for me. I recently moved to Europe.
_________________________
DK abilities: Better than Average - Titles: Solo Developer of NeoRPG ---------------------- Goals: -------------------- -------------V = Done | X = Failed---------------- Make NeoRPG work. [V] Add Quests. [X] Add PvP. [ ] Add NPCs. [V] Add a better internal forum. [V] Get at least 50 registered people. [ ]
|
|
Top
|
|
|
#16498 - 01/20/08 12:40 AM
Re: Hey there.
[Re: Styx]
|
Styx
Malt-o-Meal
Registered: 01/15/08
Posts: 22
|
Offline
|
|
Sorry for the double post;
Also, if you have to renew the hosting ecah year, do all my files disappear?
And at last, what do I need to edit in config.php?
Edited by Styx (01/20/08 12:52 AM)
_________________________
DK abilities: Better than Average - Titles: Solo Developer of NeoRPG ---------------------- Goals: -------------------- -------------V = Done | X = Failed---------------- Make NeoRPG work. [V] Add Quests. [X] Add PvP. [ ] Add NPCs. [V] Add a better internal forum. [V] Get at least 50 registered people. [ ]
|
|
Top
|
|
|
#16499 - 01/20/08 06:50 AM
Re: Hey there.
[Re: Styx]
|
Whiz
Cheerios
Registered: 10/28/07
Posts: 129
|
Offline
|
|
You won't lose any files if you renew before your year is up.
This is approximately what your config.php should like:
<?php // config.php :: Low-level app/database variables.
$dbsettings = Array(
"server" => "localhost", // MySQL server name. (Default: localhost)
"user" => "", // MySQL username.
"pass" => "", // MySQL password.
"name" => "", // MySQL database name.
"prefix" => "dk", // Prefix for table names. (Default: dk)
"secretword" => ""); // Secret word used when hashing information for cookies.
?>
You need to insert, inside the quotation marks, the appropriate information.
"server" => "localhost", <--- Change "localhost" to your database server information. If you are using freehostia, you can get this information by going to the "MYSQL Database" section of your user panel. You should see something like this "mysql3.freehostia.com" somewhere. Freehostia runs on a cluster of servers, so the number 3 could really be any number.
If you are using Freehostia, or any other host for that matter, you then need to create your database. While in "MYSQL Database", just click the "Add SQL Database" button, and it will walk you through selecting a username and password.'
Enter the username and password in config.php.
Juse leave the prefix value as "DK". There is no reason for you to change it at your level of php/mysql experience.
The secretword value is for cookies. This is to check against cookie manipulation. Give this whatever value you want. It is like a password.
Edited by Whiz (01/20/08 06:51 AM)
|
|
Top
|
|
|
#16500 - 01/20/08 09:31 AM
Re: Hey there.
[Re: Whiz]
|
Styx
Malt-o-Meal
Registered: 01/15/08
Posts: 22
|
Offline
|
|
I got it all but the server name:
Warning: mysql_connect(): Unknown MySQL Server Host 'mysql0.freehostia.com' (1) in /home/www/cotales.freehostia.com/lib.php on line 55 Unknown MySQL Server Host 'mysql0' (1)
Freehostia wrote:
MySQL Host/Server : mysql0.freehostia.com
_________________________
DK abilities: Better than Average - Titles: Solo Developer of NeoRPG ---------------------- Goals: -------------------- -------------V = Done | X = Failed---------------- Make NeoRPG work. [V] Add Quests. [X] Add PvP. [ ] Add NPCs. [V] Add a better internal forum. [V] Get at least 50 registered people. [ ]
|
|
Top
|
|
|
#16502 - 01/20/08 10:07 AM
Re: Hey there.
[Re: Fayt]
|
Styx
Malt-o-Meal
Registered: 01/15/08
Posts: 22
|
Offline
|
|
I'd rather have a free complex host than an easy paid host.
I'm already going to give out 7.75 euro's a year for the domain names. So no to the paid host.
Just help me out. >_>
_________________________
DK abilities: Better than Average - Titles: Solo Developer of NeoRPG ---------------------- Goals: -------------------- -------------V = Done | X = Failed---------------- Make NeoRPG work. [V] Add Quests. [X] Add PvP. [ ] Add NPCs. [V] Add a better internal forum. [V] Get at least 50 registered people. [ ]
|
|
Top
|
|
|
#16503 - 01/20/08 10:15 AM
Re: Hey there.
[Re: Styx]
|
Whiz
Cheerios
Registered: 10/28/07
Posts: 129
|
Offline
|
|
Send me a copy and paste of your config.php, in a private message. Make sure to edit out passwords. It might be as simple as just a blank space or something.
Edited by Whiz (01/20/08 10:16 AM)
|
|
Top
|
|
|
#16504 - 01/20/08 11:10 AM
Re: Hey there.
[Re: Whiz]
|
Stixsmaster
Rice Krispies
Registered: 05/22/05
Posts: 363
|
Offline
|
|
hey styx...if you have to renew each year no you do not loose all your currently hosted data...
---Stixsmaster
|
|
Top
|
|
|
#16505 - 01/20/08 11:25 AM
Re: Hey there.
[Re: Stixsmaster]
|
Styx
Malt-o-Meal
Registered: 01/15/08
Posts: 22
|
Offline
|
|
I sent Whiz the data but I'll post it here for y'all.
<?php // config.php :: Low-level app/database variables.
$dbsettings = Array(
"server" => "mysql0.freehostia.com", // MySQL server name. (Default: localhost)
"user" => "[Private]", // MySQL username.
"pass" => "[As if I would tell you.]", // MySQL password.
"name" => "CoTales", // MySQL database name.
"prefix" => "dk", // Prefix for table names. (Default: dk)
"secretword" => "[I'm keeping this secret just for fun. :)]"); // Secret word used when hashing information for cookies.
?>
_________________________
DK abilities: Better than Average - Titles: Solo Developer of NeoRPG ---------------------- Goals: -------------------- -------------V = Done | X = Failed---------------- Make NeoRPG work. [V] Add Quests. [X] Add PvP. [ ] Add NPCs. [V] Add a better internal forum. [V] Get at least 50 registered people. [ ]
|
|
Top
|
|
|
|
|