Welcome to RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr) Mark forums read | View Forum Leaders
RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

OGame Discuss, [Tut] How to make a Ogame Server On a host. at Server Developments forum; Ok so here goes. Well I'm kind of new to ogame but from what I've seen the best server files ...




Reply
Thread Tools
[Tut] How to make a Ogame Server On a host.
 
 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 39
07-03-2008, 07:50 AM
 
Ok so here goes.
Well I'm kind of new to ogame but from what I've seen the best server files around are :

RageZone Repack 0.9.
[Only Registered and Activated Users Can See Links. Click Here To Register...]

If you use them please give credit back to hero322.


1.Installing OGame On a host

1.1.Requirements

I would advise you to get a host that has a domain name (.com.net.whatever) and that is paid.You pay about
10 $ for cheapest host but at least you are not that restricted like free hosts.
Free hosts are a solution but only for testing.
Traffic is an important part of your future Ogame.With 5 members online and 15 accounts i've used 300mb traffic in 2 days.I suggest you try to find a host that provides either unlimited traffic ar a huge ammount
In the host you must have:MySql as new as possible,PhpMyAdmin,Cpanel
 
 
permalink
 

RaGEZONE is proudly sponsored by
 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 39
07-03-2008, 08:00 AM
 
1.2 Preparing server files.

Upload Rage Online Repack through FTP on your server.

What is FTP?And how do i Upload with it?

FTP is a software that let's you make connections through FTP.The best software I've found and used is Core FTP lite(google it,it's free).

Ok,Now how to upload.
Enter ftp->File->connect.

Hostname/Ip/Url:If your domain is [Only Registered and Activated Users Can See Links. Click Here To Register...] or your ip's 87.3.4.123(these are only examples) in the Hostname/ip/url block you write:
[Only Registered and Activated Users Can See Links. Click Here To Register...]
Bellow hostname you will need to have the username and password to managing your host:
write at Username: User
Password:Pass
Replace User and Pass with your username and password obviously.

Now after you have connected upload rage online repack in public_html folder.

Now with the FTP we are done.
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 39
07-03-2008, 08:08 AM
 
1.3 Importing Database.

Ok now you need to import the database.The database is located in the server files and it's a Sql. File.

To import it do the following(it may sound strange if you're new ,but when you get there you see that doing the following steps are really easy):

-Go to your host's cpanel
-Go to mysql tab and create a new database.
-On the new database create and add a user with all PRIVILEGES
-Go to PhpMyAdmin
-Click on your created database
-Click Import and choose the database on your computer.


Ok. We are done with this.

After you have uploaded the files and imported the database when you go to [Only Registered and Activated Users Can See Links. Click Here To Register...] you see a database error.Let's fix that.

Configuring the file.

Go to your host through ftp,find config.php and click edit.

Code:
<?php
if(!defined("INSIDE")){ die("attemp hacking"); }
$dbsettings = Array(
"server"     => "localhost", // MySQL server name.
"user"       => "username", // MySQL username.
"pass"       => "pass", // MySQL password.
"name"       =>"database", // MySQL database name.
"prefix"     => "game_", // Tables prefix.
"secretword" => "RageOnline"); // Cookies.
?>
Preety simple huh.Now after you edit,save and the ftp client will ask you to overwrite.Click yes.

Now go to [Only Registered and Activated Users Can See Links. Click Here To Register...] and you can register a new account.

1.5 Making yourself an admin.

Go to [Only Registered and Activated Users Can See Links. Click Here To Register...]
Login with the following username and pass:
Code:
User:Jangan
Pass:test
Go to Administrator then->Admin Panel-> Modify Access->then write your username and set your access to "Administrator"


Try to edit files in notepad,play with admincp,and experiment.That was all.If you ever have questions PM me or post here.
 
 
permalink
 


 
RaGEZONER

Rank: Omicron


Reply With Quote
 
Join Date: Sep 2006
Posts: 75
07-03-2008, 09:46 AM
 
Quote: Originally Posted by Syx-Nine View Post
Traffic is an important part of your future Ogame.With 5 members online and 15 accounts i've used 300mb traffic in 2 days.
Wrong

look mine case

2-3 online +-, 80 + acconts

Bandwidth Usage: 400 / 50000 mb on 30 days
Disk Usage: 20 / 6000 mb -> Only becouse of serv files.

There are some free web host, like i found 1, with


Bandwidth Usage: 50000 mb / 30 days
Disk Usage: 6000 mb
5 database on the same website account
5 websites on 1 account, each website with his own Bandwidth and Disk Usage
phpmyadmin
FTP
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 39
07-03-2008, 11:05 AM
 
well currently now mine has 50 accounts and 5 players constantly online and it has traffic usage
1gb/per day.
 
 
permalink
 

 
RaGEZONER

Rank: Omicron


Reply With Quote
 
Join Date: Sep 2006
Posts: 75
07-03-2008, 11:23 AM
 
Quote: Originally Posted by Syx-Nine View Post
well currently now mine has 50 accounts and 5 players constantly online and it has traffic usage
1gb/per day.
Thats depend also the configuration of the web browser of the poeple.
Let me explain.

If the web browser is configure to do not store files, so each click it will load everything, like pictures.
If the web browser is configure to store pictures, so they will not load from server, it will load from his computer so, less traffic usage.

But 1gb / day is strange

2 things can be happen.
1- I sad
2- Those people or some of them could be using macro to click for them, so he will be online 24h, and it will have a large band consume.
3- Or you have too much heavy pictures in your site.

By the way, can you post here the skins of you site, i saw it and i wanna have it too.
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 39
07-03-2008, 12:17 PM
 
check server releseas on ragezone for ogame for aurora skin
 
 
permalink
 

 
* ~ Jangan ~ *

Rank: Member


Reply With Quote
 
Join Date: Nov 2006
Location: Canada
Posts: 814
07-03-2008, 02:00 PM
 
lol well i get free unlimited hosting by an affiliated company.. so i dont care how much it uses lol
This needs to be moved to the main section, i will go bug bimbo...

good job for the guide, nice to see your giving back to the community :)
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 39
07-03-2008, 08:50 PM
 
well i am trying
 
 
permalink
 

 
* ~ Jangan ~ *

Rank: Member


Reply With Quote
 
Join Date: Nov 2006
Location: Canada
Posts: 814
07-03-2008, 09:03 PM
 
done... thanks bimbo
 
 
permalink
 

 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Location: Netherlands
Posts: 11
07-14-2008, 01:21 PM
 
i did do exact whats standing in the tutorial but still i get a nice error

Code:
error(mysql_error()."
$query","SQL Error"); mysql_select_db($dbsettings["name"]) or $debug->error(mysql_error()."
$query","SQL Error"); mysql_query("SET NAMES latin2"); echo mysql_error();} $sql = str_replace("{{table}}", $dbsettings["prefix"].$table, $query); $sqlquery = mysql_query($sql) or $debug->error(mysql_error()."
$sql
","SQL Error"); unset($dbsettings); $numqueries++; $arr = debug_backtrace(); $file = end(explode('/',$arr[1]['file'])); $line = $arr[1]['line']; $debug->add("Query $numqueries: $query$file($line)$table$fetch"); if($fetch) {$sqlrow = mysql_fetch_array($sqlquery); return $sqlrow; }else{return $sqlquery;}} ?>
Fatal error: Call to undefined function doquery() in \www\common.php on line 43
any one know whats going wrong ???

Edit: nevermind fixed the problem :)

Last edited by Crasher1001; 07-14-2008 at 10:51 PM.
 
 
permalink
 

 
byo byo is offline
Alpha

Rank: New Blood


Reply With Quote
 
Join Date: Mar 2004
Location: Argentina
Posts: 135
07-14-2008, 10:52 PM
 
well ... you could use http compression methods, and save bandwith as i do ^^
 
 
permalink
 

 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Location: Netherlands
Posts: 11
07-17-2008, 09:09 AM
 
no need for bandwith saving i got my server on the 100mbit / down fiber network from the company i work. love to be a domain admin :)
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 65
07-21-2008, 04:52 PM
 
What are the min requirements to run the server?

php ver?
mysql ver?

I seem to be having problems with rageonline. Ive uploaded same file to two different hosts one works fine the other does not. (very odd)...
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 53
08-05-2008, 09:35 PM
 
fixed my problem, thou the english is strange there not fully translated..
 
 
permalink
 

 
* ~ Jangan ~ *

Rank: Member


Reply With Quote
 
Join Date: Nov 2006
Location: Canada
Posts: 814
08-05-2008, 11:56 PM
 
1. Make sure you downloaded all the fixes.
2. Read in page uh, 3 or 4 in rageonline thread on how to fix the white screen bug. [Changing the folder name from Xnova - xnova]

3. login with the original username/pass then change your username and password from there.
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 53
08-07-2008, 01:43 PM
 
Quote: Originally Posted by hero322 View Post
1. Make sure you downloaded all the fixes.
2. Read in page uh, 3 or 4 in rageonline thread on how to fix the white screen bug. [Changing the folder name from Xnova - xnova]

3. login with the original username/pass then change your username and password from there.
THank you , I managed to fix the Xnova by myself after checking the path it looked for images, that why I edit my post and wrote "fixed my problems"

I used your fix for the odd message on the top but I think you did a mistake as I put an avatar and still had that mgs.

I still have 2 questions thou, how can I change the "RageOnline" to my server's name on the left menu (in the top and in the bottom of it), I managed to change the log in page server name by editing the files in 'template' folder thou can't find the right file to edit the left menu.

and another thing, when you click register the register window is fixed and doesn't moving, but the log in window are moving so if you have a big browser window its looks funny as it moves from its place in the background, how can I fix it?
ogame.breezeart.net is my server's location.

Thank you very much.
Lith


Edit:
forgot somethings:
in one of your posts you said you can manage the number of galaxies and planets in the admin panel, but I don't have this option, thou I found those options in options_body.tpl (\templates\OpenGame\sgo\options_body.tpl) how can I add this to the left menu?

and is there way to make 2 worlds? I mean 1 world server with fast rates and the second with slow for example?


options_body.tpl:

PHP Code:
<br>
<
center>
<
h2>GameO</h2>

<
form action="?mode=change" method="post">
 <
table width="519">

     <
tbody><tr><td class="c" colspan="2">GameO Configuration</td></tr>
<
tr>
      <
th>Server name</th>
   <
th><input name="game_name" size="20" value="{game_name}" type="text"></th>
    </
tr>
  <
tr>
  <
th>Powerd by # line<br><small></small></th>
   
<th><input name="copyright" size="40" maxlength="254" value="{copyright}" type="text"></th>
  </
tr>

   <
tr><th colspan="2"></th></tr>
  

    <!-- 
Planet Settings -->
  
  <
tr>
  <
td class="c" colspan="2">Game options</td>
  </
tr>
   <
th>Max Galaxies</th>
   <
th><input name="max_galaxy" maxlength="80" size="10" value="{max_galaxy}" type="text"
   </
th>
  <
tr>
   <
th>Max Systems</th>
   <
th><input name="max_system" maxlength="80" size="10" value="{max_system}" type="text"
   </
th>
  <
tr>
   <
th>Max Posistion</th>
   <
th><input name="max_position" maxlength="80" size="10" value="{max_position}" type="text"
   </
th>
  <
tr>
   <
th>Fleet Speed</th>
   <
th><input name="fleet_speed" maxlength="80" size="10" value="{fleet_speed}" type="text"
   </
th>
  <
tr>
   <
th>Game Speed</th>
   <
th><input name="game_speed" maxlength="80" size="10" value="{game_speed}" type="text"
   </
th>
  <
tr>
   <
th>Research*Upgrading*Updating</th>
   <
th><input name="allow_invetigate_while_lab_is_update" maxlength="80" size="10" value="{allow_invetigate_while_lab_is_update}" type="text"
   </
th>
  <
tr>
   <
th>Registered Users(For fun if u wish)</th>
   <
th><input name="users_amount" maxlength="80" size="10" value="{users_amount}" type="text"
   </
th>
  <
tr>
   <
th>Initial fields</th>
   <
th><input name="initial_fields" maxlength="80" size="10" value="{initial_fields}" type="text"
   </
th>
  </
tr>
  <
tr>
   <
th>Resource multiplier</th>
   <
th>x<input name="resource_multiplier" maxlength="80" size="10" value="{resource_multiplier}" type="text">
   </
th>
  </
tr>
  <
tr>
   <
th>Starting Metal</th>
   <
th><input name="metal_basic_income" maxlength="80" size="10" value="{metal_basic_income}" type="text"
  </
tr>
  <
tr>
   <
th>Starting Crystal</th>
   <
th><input name="crystal_basic_income" maxlength="80" size="10" value="{crystal_basic_income}" type="text"
   </
th>
  </
tr>
  <
tr>
   <
th>Starting Deuterium</th>
   <
th><input name="deuterium_basic_income" maxlength="80" size="10" value="{deuterium_basic_income}" type="text"
   </
th>
  </
tr>
  <
tr>
   <
th>Starting Energy</th>
   <
th><input name="energy_basic_income" maxlength="80" size="10" value="{energy_basic_income}" type="text"
   </
th>
  <
tr>
  </
tr>

    <!-- 
Miscelaneos Settings -->

    <
tr>
     <
td class="c" colspan="2">Error</td>
    </
tr>

  <
tr>
     <
th>Show errors</a></th>
   <
th>
    <
input name="debug"{debugtype="checkbox" />
   </
th>
  </
tr>

  <
tr>
   <
th colspan="2"><input value="Submit" type="submit"></th>
  </
tr>


   
 </
tbody></table>

 
</
form>

</
center
 
 
permalink
 

 
* ~ Jangan ~ *

Rank: Member


Reply With Quote
 
Join Date: Nov 2006
Location: Canada
Posts: 814
08-07-2008, 08:42 PM
 
well the template folder is your friend,

1. left_menu.tpl is the file you need to edit to change my rageonline name :D

2. about the register, it looks fine, i registered and logged in and its perfect.

3. there is a HUGE problem with galaxies etc, its not gonna be fixed by me since im working on the upgraded version of my files :P sorry.


------------------------------------

btw i love your artwork that you have done for the main login page o.O ... your interested in designing me one for RageOnline v10?

:D
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Posts: 53
08-08-2008, 12:43 AM
 
Thanks for the fast reply, hmm I'm sure I looked at left_menu.tpl but couldn't find "RageOnline" in it only some function that shows server's version at the top, as the left menu shows the "RageOnline V9.0" I think it is it no?

About the design heh, sure it will be my pleasure, As I just came home from work and I work tomorrow I will have time on Sunday, add me in MSN and tell me what exactly do you need.
 
 
permalink
 

 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Jul 2006
Posts: 14
09-07-2008, 09:30 AM
 
i have a erroer

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'ogame' (11001) in C:\xampp\htdocs\Ogame\Server Files\db\mysql.php on line 8
mySQL no esta disponible por el momento, sentimos el inconveniente...


wat i can do
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Nov 2007
Posts: 34
09-08-2008, 04:18 AM
 
I did this prob:
Mensagens do MySQL :
#1044 - Access denied for user 'xxxxxxx'@'localhost' to database 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
 
 
permalink
 

 
Infraction Banned

Rank: Member


Reply With Quote
Blog Entries: 1
 
Join Date: Mar 2008
Location: Belgium
Posts: 350
09-09-2008, 04:50 PM
 
Well maybe you can best then use a install step because else if you are new to this it will get very complicated
 
 
permalink