• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Index-Page for more then one server

Status
Not open for further replies.
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
Hello .....



i have made a multiserverpage.
For all that will have more then 1 server running :)

I have build in 4 server and this data is needed :

$server1 = 1; // 0 for OFFLINE and 1 for ONLINE
$sspeed1 = 50; // Wrote down here your serverspeed
$tspeed1 = 10; // Wrote down here your troopspeed
$s1url = "http://login.php"; // Wrote down here the complete url to the login.php
$r1url = "http://anmelden.php"; // Wrote down here the complete url to the anmelden.php

all needed data u must put in on the top of the page.

after that u can load it in the rootdir....
if u use more then one server u need for each server his own folder :)

here is an livedemo :

All needed files amd grafics are in the archive. u can change all grafics if u will.
Please let the link inside the footer.

thx and have fun with it...

best regards
netsoundrad
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Nov 17, 2011
Messages
49
Reaction score
11
Paddlepop took the new index installed it and killed the link inside the footer at first. :thumbdown:
this should be very motivating for netsoundrad..
netsoundrad wrote:
Please let the link inside the footer.
a good moment to shut down my computer

greets
mikele
 
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
what can we do, that user let copyrights or any other stuff in the work of the developers?

nothing .....

so......

let the game begin :)

Offtopic on :

It's sad when others are adorned with borrowed feathers.

Offtopic off

best wishes
Ralf

ps: excuse my bad english :)
 
Newbie Spellweaver
Joined
Jun 20, 2012
Messages
59
Reaction score
0
Dude, this index dun have Player total, Player online, Player active ..
 
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
Re: Index-Page for more then one server UPDATE

I have made an update for the Multi-Server-Index-Page

U can see the update here on the

The new version are uploaded.

If anybody need it and use it, please let the copy inside.

best wishes
Ralf aka netsoundrad
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Aug 5, 2012
Messages
36
Reaction score
6
Re: Index-Page for more then one server UPDATE

I have made an update for the Multi-Server-Index-Page

U can see the update here on the

The new version are uploaded.

If anybody need it and use it, please let the copy inside.

best wishes
Ralf aka netsoundrad
These are great additions. Is there anyway you could split the DB information off into a config file? There is a huge security issue if the DB information is in a file readable by the public especially it being right in the index. I usually set a my config files to 640 for this very reason.
 
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
Re: Index-Page for more then one server Update 2

Okay....

here are the updated index.php

Here u see the

have fun....

best wishes
Ralf aka netsoundrad

You have any wish for this page?
Tell me :)

In the version on my testserver i have add a facebook like-button :)
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
Re: Index-Page for more then one server Update 2

Is there anyway to do it like I requested in my previous post?

best wishes
Ralf aka netsoundrad



Edit - Nevermind I see what you did now :)

you can make a config.php for that and put all data in it... after that u must include the config......

but the version i have online actually holds three server :)

but im not an coder... i more an grafican
 
Newbie Spellweaver
Joined
Aug 5, 2012
Messages
36
Reaction score
6
Re: Index-Page for more then one server Update 2

you can make a config.php for that and put all data in it... after that u must include the config......

but the version i have online actually holds three server :)

but im not an coder... i more an grafican
No it's ok now. I saw that your pulling the data from the other config.php's. That is what I wanted anyway. I already keep each game's config.php protected so your script pulling data from them is fine :)

My reason for wanting that is you NEVER want your database information in a file readable by the public(world). I was hacked once a long time ago because of that. Any file that you have database connection information in you want to set permissions to (640).
 
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
Re: Index-Page for more then one server Update 2

My reason for wanting that is you NEVER want your database information in a file readable by the public(world). I was hacked once a long time ago because of that. Any file that you have database connection information in you want to set permissions to (640).

thx for this information....
i've done it....

best wishes
Ralf aka netsoundrad
 
Newbie Spellweaver
Joined
Aug 5, 2012
Messages
36
Reaction score
6
I am not sure whats wrong with it. I am using your latest version and I have 1, 2, and 3 each pointed to different configs however all 3 servers are showing the stats from server 1.
 
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
Re: Index-Page for more then one server UPDATE-2

So...

Some Ideas later .....

here are now a more secur update for the MultiServerPage....

All serversettings now in a seperate config.
Change two pics :)
Added in index.php a titletag for the server-bar, so that u can give some informations about the runnung version.

The page that use the new index, u can find !

The complete page u can find here.....
In the next update i will put it in, that u can say how many player should be on one server.
I think it so, that if the number arrived, the register-button will fixed, so that it could be pressed.....

so....

like it or hate it.....

oh... some : you can change the mailto to your own adress, but please let the (c) in the file....

best wishes
Ralf aka netsoundrad
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Aug 5, 2012
Messages
36
Reaction score
6
Re: Index-Page for more then one server UPDATE-2

So...

Some Ideas later .....

here are now a more secur update for the MultiServerPage....

All serversettings now in a seperate config.
Change two pics :)
Added in index.php a titletag for the server-bar, so that u can give some informations about the runnung version.

The page that use the new index, u can find !

The complete page u can find here.....
In the next update i will put it in, that u can say how many player should be on one server.
I think it so, that if the number arrived, the register-button will fixed, so that it could be pressed.....

so....

like it or hate it.....

oh... some : you can change the mailto to your own adress, but please let the (c) in the file....

best wishes
Ralf aka netsoundrad
He is right this is the best version yet. I am currently using this one.

For security you will want to change the perms for serv_conf.php to 640 (you can try 600 however some hosts may throw an error but 640 is good enough)
 
Newbie Spellweaver
Joined
Mar 28, 2012
Messages
80
Reaction score
44
Re: Index-Page for more then one server UPDATE 3

So....
All my ideas i've set up in that update.

Changelog.....
- Add additional informations to config-file
- Add add serverinformations to config-file
- Add regopen to config-file

Now all can setup in the config-file.
U will see it, when u open it.

To do:
If u will use the regopen-function, u should be rename the file anmelden.php to whatever.
This name u must take in the $regurl :)
Or u forbidden the directacces by an htaccess to the anmelden.php

Set the serv_conf.php to 640 or when your server goes to 600!!
Its very importend to do that.

Take a look at the
I have regopen use on server2 and server3.

Like it or hate it :) but dont say : Thats my work :)

best wishes
Ralf aka netsoundrad
 

Attachments

You must be registered for see attachments list
Status
Not open for further replies.
Back
Top