Author Topic: Redirect to another server  (Read 1970 times)

0 Members and 1 Guest are viewing this topic.

Offline Jaska

  • Major(1)
  • Posts: 21
  • Little girls with guns, awww....
    • FinBits
Redirect to another server
« on: November 06, 2006, 01:23:27 pm »
Hi

I was just wondering, is it possible  to make the server to redirect the player to another server if the server is full?   ::)

...making script for ESA...?

Offline bja888

  • Flagrunner
  • ****
  • Posts: 745
  • Working
    • Bja888.com
Re: Redirect to another server
« Reply #1 on: November 06, 2006, 04:36:55 pm »
Hi

I was just wondering, is it possible  to make the server to redirect the player to another server if the server is full?   ::)

...making script for ESA...?

Its possible but your going to need to know a lot more about servers and programming. You still up for it?

Offline Jaska

  • Major(1)
  • Posts: 21
  • Little girls with guns, awww....
    • FinBits
Re: Redirect to another server
« Reply #2 on: November 06, 2006, 05:55:50 pm »
I have no knowledge in programming and only know some basis about servers, so I might as well as drop the idea :D

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Redirect to another server
« Reply #3 on: November 06, 2006, 09:31:24 pm »
it is an interesting idea, perhaps someone with the correct knowledge could look into it if it is possible?

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Redirect to another server
« Reply #4 on: November 06, 2006, 09:36:37 pm »
With Soldat itself, no you cannot do it.

Im probably way-off, but it could be possible with a dynamic DNS >_>

Offline bja888

  • Flagrunner
  • ****
  • Posts: 745
  • Working
    • Bja888.com
Re: Redirect to another server
« Reply #5 on: November 07, 2006, 04:01:17 am »
With Soldat itself, no you cannot do it.

Im probably way-off, but it could be possible with a dynamic DNS >_>

I was thinking about a program that would access the server via admin login and forward port if its full.

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Redirect to another server
« Reply #6 on: November 07, 2006, 04:51:47 pm »
It's pretty weird:

1. connect as admin
2. read for players from gamestat.txt on event "IP:Port Joining game" true
3. if gamestat.players == maxplayers then redirect the player (how? no idea, maybe using DNS like EnEsCe suggested)

Offline HEX

  • Major
  • *
  • Posts: 77
  • =tNt=
    • SoldatX Brazilian Community
Re: Redirect to another server
« Reply #7 on: November 08, 2006, 07:26:12 am »
Maybe some players just want to join in a specific server, not join in one server and suddenly appears in another.
And *bad* people will use it to have some fun... I mean, you join in one server then you are redirected to another, then redirected again and redirected again......



Offline Jaska

  • Major(1)
  • Posts: 21
  • Little girls with guns, awww....
    • FinBits
Re: Redirect to another server
« Reply #8 on: November 08, 2006, 11:51:06 am »
True, true...

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Redirect to another server
« Reply #9 on: October 01, 2007, 08:03:39 am »
So by now this is possible. Enesces TW servers have it, and im wondering how? apparently there are a lot of people who would use this. (see also this)
is it done with scripting?


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Redirect to another server
« Reply #11 on: October 01, 2007, 11:07:34 am »
With Soldat itself, no you cannot do it.

Im probably way-off, but it could be possible with a dynamic DNS >_>

I was thinking about a program that would access the server via admin login and forward port if its full.

I know that this feature has been added to the server, but I just wanted to say that this wouldn't work because even after people join the game, they still use port 23073.  If it was TCP, you could just redirect new connections, but UDP is stateless and therefore anything below the application layer appears exactly the same (eg you would have to look at the application data to know what the packet is doing)