Help - Search - Members - Calendar
Full Version: How To Set Up A Galaxy Tool For Ogame
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Drewiske
Please do not steal this as I put a lot of effort creating it, and if you do copy it, at least give me some acknowledgment for my hard work on figuring out how to do this on my own. Thanks!

Guide to Setting Up a Hosted GalaxyTool Website:
(Utilizes FileZilla and www.zymic.com/…With Pictures!!!)

The first thing you need to do is download all of the required programs and files to set this up.

A. Pre-Set Up Downloads:
1. Download Filezilla-- Copy and paste this into your browser: http://sourceforge.net/project/showfiles.p...lease_id=590456
Run the installation until it is done. Move on to the next step.

2. Download Galaxy Tool--Copy and paste this into your browser: http://www.galaxytool.eu/galaxytool_4_3_2.zip
The zip file should be located on your desktop, unzip the file to the desktop.


B. Creating a web site host for your GalaxyTool:
1. Go to http://www.zymic.com
2. Click on Register ( or http://www.zymic.com/sign-up/)
3. Enter all the information requested and you will then be sent a confirmation email. Get the email and click the activation link.
4. Go and login to your new account.
5. On the left tab you will see a button that says “My Account Management” Click on that.



6. You will then see an page like this:

Click on the highlighted button that says “Create New Web Host Account”

7. You now will see some new input boxes show up under the button you just pressed.


In the box that has an arrow with the number 1, enter the tag of your alliance. In the box with the arrow and number 2, you can select different host names. I would suggest using the one that says ‘clanteam.com’ Also enter a password that you, the admin will remember. Enter the security image and click ‘I agree to the TOS’ Click confirm Registration.
8. You will be emailed the information about your website so you won’t forget it.
9. You will automatically be redirected to the following page:



10. You will then click on the login button for the new web site to the right of the area you just entered the information on. The password is the same as you just created the website with.


We Will Now Set-Up the database you will use later on:
1. Now click on the button that says ‘ MySQL Database Management’



2. Look at this image to see what information to enter. If you enter the correct information, you will see a message that says ‘The requested operation has been completed successfully.’



3. Now assign the privileges to the user.



You will see a message that says ‘The requested operation has been completed successfully.’


You are now done with setting up the site. But you will have to leave it open to get info from it for FileZilla and the GalaxyTool file changes that need to be made.


C. Editing the Galaxy Tool Files:
1. Go to Start-All Programs-Accessories-WordPad (Note Pad will NOT work for this.)
2. Once in word pad, click File-Open. Locate the file that says config.php.
a) Galaxytool_4_3_2 - galaxytool – secret – change the ‘files of type’ to All Documents. You will then be able to see config.php . Select that item.

3. You will then see the following information. (Plus a little more but you can ignore the rest of it. If you change anything else besides these four items, your tool won’t work.)

$dbusername = 'username'; // database username
$dbpassword = 'password'; // database password
$dbname = 'database'; // database name
$dbhost = 'localhost'; // host address of your mysql server

This is where you enter the information from your new host site.

4. On the same page you just created the database and the user for the database you will see down at the bottom of the page, the database name and the database user name. See picture below for more detailed info.



5. Now with that information you can edit the four lines above in your config.php file in wordpad.

6. Keeping the quotes, Enter the username from the website into the line that says : $dbusername = 'username'; // database username
a) Example:
$dbusername = "ofoolsgt_clanteam_com_mydrewiske"; // database username

7. Keeping the quotes, Enter the password from the website into the line that says : $dbpassword = 'password'; // database password
a) This is the password you used to set up the user account in the database user set-up.

8. Keeping the quotes, Enter the dbname from the website into the line that says : $dbname = 'database'; // database name
a) Example:
$dbname = " ofoolsgt37_clanteam_com_ofoolsdb"; // database name

9. Keeping the quotes, Enter the dbhost as ‘mysql’ to you into the line that says :
$dbhost = 'localhost'; // host address of your mysql server
a) Example:
$dbhost = "mysql"; // host address of your mysql server
10. Go to File- Save You are done with this file.

Now for the second file you need to edit:

11. Once in word pad, click File-Open. Locate the file that says config.php.
a) Galaxytool_4_3_2 - galaxytool – secret – change the ‘files of type’ to All Documents. You will then be able to see attributes.php . Select that item.

12. Now find the line that reads:
* Set your name here. It will be shown at the logon page.
*/
$owner = 'yourname';
a. Where it says ‘yourname’ enter your alliance tag

13. Now find the line that reads:
* The user at this address will be informed about new registrations
*/
$email_to = admin@yourdomain.com
';
a. Enter your email address

14. Now find the line that reads:
/**
* choose your default language (german,english,spanish,dutch,balkan,french,portugues,italian,polish,turkish,...
)
*/
$default_language = "english";
a) You can change the language to what ever language you wish

15. Now find the line that reads:
/**
* Universe number from the top left corner of your ogame screen
*/
$global_universe = 1;
a) Enter your universe number

You can now click File-Save and close wordpad. You are done editing files for your galaxy tool.


D. Uploading your files to your website via FileZilla:

1. Now go to your FilaZilla application. Start-All Programs-FileZilla-FileZilla Client
2. Go back to your web site host and you will see the following information on the same page you took your dbname and dbusername information:


3. Enter in your information into the boxes. Make sure tht the user name you enter ends in @clanteam.com (if that is what you selected previously during the setup of the site.)
4. Click connect.
5. You will now see an view like this:


6. On the right side of the window you will see where it has a file named ‘index.html’ Right click there and select ‘Create Directory’ type in galaxytool and hit ‘OK’
7. Now on the left side of the page you have to navigate to the GalaxyTool folder where you unzipped the files to. It will most likely be on your desktop. Drag and drop the folder that says galaxytool to the folder on the right that says galaxytool. See the image below to see what I am talking about:

b. Depending on your connection will determine how long this will take.

You are now done with FileZilla. You can close the application

E. Finishing up on your host site:
1. Go back to your hosting site and on the left tab you will see the link for ‘File Manager’ Click That.
2. You will now see a list of two items. Galaxytool and index.html. Click on galaxytool
3. Two more items come up. <<back and galaxytool. Click galaxytool again.
4. You will now see a list of a lot of items. Look for the one that says install.php. Click that. You will be directed to a page that looks like this:

b. Click install (in green letters at the bottom of that list of items)
5. You will be brought to a new page that says if the installation was successful
a. It will be if you did everything the way I said so : ).
6. Now, in the address bar you will see something like this:
http://ofoolsgt37.clanteam.com/galaxytool/...?action=install
b. Delete everything after the second /galaxytool/
c. It should look like this: http://ofoolsgt37.clanteam.com/galaxytool/galaxytool/
d. Hit Enter

7. Now, you will be brought to a page that looks like this:



8. Now, enter this information:
a. Username:admin
b. Password:galatool
c. You can change this information later. Well, at least the password.
You have now successfully completed this walkthrough and your galaxytool site is set up. Read http://en.wiki.galaxytool.eu/index.php/Main_Page for more information and search on the ogame forums for user guides on how to fully use the tool.

I spent a lot of time on this guide, so please give me some kind words if this works for you. I set up a second tool in demonstrating this so if you see information in the pictures or in my examples and try to enter the information, you won’t get anywhere because I already deleted the second tool from my host. Plus that would be stealing and I would have to hurt you badly….Just Kidding!!!

Enjoy!!!!
Drewiske

If you have any questions, please feel free to PM me or find me on MSN: mdrewiske@hotmail.com
wozzym
this would go well in tutorials, but good job smile.gif very thorough explanation.
AirKnight
Drewiske, I followed up all your instruction but i am getting a very stupid message out hope you can help me. I send already a PM to you.

The message is as following


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'XXXXXXXXXX'@'207.210.86.252' (using password: YES) in /www/vndv.com/s/e/r/serefd/htdocs/galaxytool/install.php on line 63
swordz
One common reason for this error is that your username is too long - it can only be 16 characers.

swordz
Sean223
Great tutorial! smile.gif
AirKnight
QUOTE(swordz @ Aug 16 2008, 02:10 PM) *
One common reason for this error is that your username is too long - it can only be 16 characers.

swordz



But my username is only 5 characters long the rest is from the site itself !!!!

Btw i forgot to mention the tutorial is really good, even a dummy can understand lol
swordz
Your site name counts, so a username of yoursitename_user counts as 17 characters, and is too long. Same for the database name.

swordz.
Theo
Thank you for your great tuto ^^ But I have a problem with the email when people register, they get no email and me neither...
And I don't know why...
Do you have an idea ? I did exactly what you said huh.gif

Thank you very much ^^
Trippin7464
Email is disabled on all zymic accounts, you can have phpmail turned on for $5. Contact Jack on IRC.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.