Dedicated server for TMF, version 2009-05-25

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

xbx
Developer
Developer
Posts: 452
Joined: 12 Aug 2005 14:42
Contact:

Dedicated server for TMF, version 2009-05-25

Post by xbx » 03 Jun 2009 10:57

hi all!

Here's a minor release to fix the problems reported on 2009-05-25.
It has been tested for some times now, so I hope it's good!

Dedicated server for TMF, version 2009-05-25
You can download it from
http://files2.trackmaniaforever.com/Tra ... -05-25.zip
or
http://files2.trackmaniaforever.com/Tra ... -05-25.tgz

Changes:
  • Fix the crash in SaveBestGhostsReplay()
  • actually download the blacklist from <blacklist_url>
  • ForceSpectator() no longer changes the server max players setting
  • new function SpectatorReleasePlayerSlot() for use with autoqueue like plugins: just changing a player to spectator doesn't free his player slot; this function allows to do it.
  • And added a new flag "HasPlayerSlot" to the PlayerInfo struct to expose this status.
  • Add a warning when the xml-rpc admin password is not changed and foreign connections are allowed

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by nouseforname » 03 Jun 2009 12:16

now we really need fufi, the queue is not working correct anymore now.
if join as player you will be spec with no chance to change, if change as spec you are player. dont know what happens if server is full. :)
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

Pesky
smooth traffic navigator
smooth traffic navigator
Posts: 262
Joined: 19 Mar 2008 16:25
Owned TM-games: TMN, TMUF
Manialink(s): rrmania
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by Pesky » 03 Jun 2009 13:36

maybe Xymph can jump in again for the autoqueue Plugin ;)
´
Just a hope :)

I´m sure you must be pretty busy with XAseco but the autoqueue is almost as important as Aseco itself on some Server :)

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by Xymph » 03 Jun 2009 14:15

Pesky wrote:maybe Xymph can jump in again for the autoqueue Plugin ;)
Not sure what 'again' means, as I never touched that plugin before, let alone studied how it works.
Pesky wrote:I´m sure you must be pretty busy with XAseco but the autoqueue is almost as important as Aseco itself on some Server :)
Yeah, v1.09 shouldn't be long anymore. But I heard someone else is taking a stab at updating the AQ plugin, so let's wait and see what comes of that.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

xbx
Developer
Developer
Posts: 452
Joined: 12 Aug 2005 14:42
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by xbx » 03 Jun 2009 14:59

nouseforname wrote:now we really need fufi, the queue is not working correct anymore now.
if join as player you will be spec with no chance to change, if change as spec you are player. dont know what happens if server is full. :)
But no, I don't think it's broken. It's just the idle kick feature which doesn't work.
or am I wrong?

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by Xymph » 03 Jun 2009 15:13

xbx wrote:Here's a minor release to fix the problems reported on 2009-05-25.
Note, this release has the same 2.11.21 version as the previous 2009-05-04 build, so tool authors need to check the build date in order to distinguish the server versions.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by nouseforname » 03 Jun 2009 15:17

xbx wrote: But no, I don't think it's broken. It's just the idle kick feature which doesn't work.
or am I wrong?
sry xbx, i think the dediserver is working well. just fufis autoqueue plugin uses the forcespec if a player joins. and after that the player won't be released again.
think the autoqueue needs some modification.
can't give you more details about that cause i don't know more.

but..... due to the 100k rule..... imho..... the queue feature should be implemented into the server itself. :)
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

Pesky
smooth traffic navigator
smooth traffic navigator
Posts: 262
Joined: 19 Mar 2008 16:25
Owned TM-games: TMN, TMUF
Manialink(s): rrmania
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by Pesky » 03 Jun 2009 15:51

Xymph wrote:Not sure what 'again' means, as I never touched that plugin before, let alone studied how it works.
Sorry. I meant the FuFi-Menu, which you adjusted to the needs of XAseco 1.06 and 1.08. Of course i dont know how much research and work is needed to adjust the Autoqueue

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: Dedicated server for TMF, version 2009-05-25

Post by schmidi » 03 Jun 2009 16:27

Xymph wrote: But I heard someone else is taking a stab at updating the AQ plugin, so let's wait and see what comes of that.
just finished 8)

not heavy tested yet, but you may want to give it a try (especially with full servers)
autoqueue v0.70

xbx
Developer
Developer
Posts: 452
Joined: 12 Aug 2005 14:42
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by xbx » 03 Jun 2009 16:40

nouseforname wrote:just fufis autoqueue plugin uses the forcespec if a player joins. and after that the player won't be released again.
ah.. I thought the people were connecting in spectator mode (because the server was full and no longer accepting players), and only then were switched to player when a slot became available.

If it is just accepting players and switching them to spectators, then I'd say it never actually worked (when the server is full)?

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by nouseforname » 03 Jun 2009 17:04

schmidi wrote: not heavy tested yet, but you may want to give it a try (especially with full servers)
autoqueue v0.70
my tests are good so far, didnt test it on full server yet. looks like soon i can have all server same versions again^^ hopefully with nor more bugs and closed servers :)

ah schmidi maybee u should post that in fufis thread ?! with more information.

good work
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

schmidi
smooth traffic navigator
smooth traffic navigator
Posts: 196
Joined: 15 Jul 2008 22:25
Owned TM-games: tmo, tms, tmuf

Re: Dedicated server for TMF, version 2009-05-25

Post by schmidi » 04 Jun 2009 09:38

SpectatorReleasePlayerSlot-call was to close to ForceSpectator-call.
fufi autoqueue v0.70a

jokey
cyclist
cyclist
Posts: 34
Joined: 15 Mar 2009 19:52
Owned TM-games: TMNF, TMUF, TM2
Location: Germany
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by jokey » 05 Jun 2009 15:02

This release introduced a new bug:

Code: Select all

[2009/06/05 16:54:58] Initializing...
[2009/06/05 16:54:58] Configuration file : dedicated_cfg.txt
[2009/06/05 16:54:58] Loading system configuration...
[2009/06/05 16:54:58] ...system configuration loaded
[2009/06/05 16:54:58] Loading cache...
[2009/06/05 16:54:58] ...OK
[2009/06/05 16:54:58] Listening for xml-rpc commands on port 5001.
[2009/06/05 16:54:58]
WARNING:
  * The xml-rpc connection is open to any ip,
  * but the Admin / SuperAdmin password hasn't been changed!
  * Anybody can remotely control the server.
Yet config file has:

Code: Select all

        <authorization_levels>
                <level>
                        <name>SuperAdminHere</name>
                        <password>bGPuFuWGsefe9K9iRUI</password>
                </level>
                <level>
                        <name>AdminHere</name>
                        <password>8bwrtrrt4VTf8gMYhe4fq</password>
                </level>
                <level>
                        <name>UserHere</name>
                        <password>PnTvi0bdb5tr7SHmtHhAL</password>
                </level>
        </authorization_levels>
It's right that

Code: Select all

<xmlrpc_allowremote>True</xmlrpc_allowremote>
is set to true as a machine firewall filters it properly to only allow two other hosts there.
Fails with recent build, works with 2009-05-04, also makes SuperAdmin unusable then.

If True is replaced with an IP it works fine, yet as one can only specify one ip there, I need this to work with "True"

EDIT: Also leaving "name" at default values doesn't change anything

Greetz
-Jokey

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: Dedicated server for TMF, version 2009-05-25

Post by w1lla » 05 Jun 2009 15:57

jokey wrote:This release introduced a new bug:

Code: Select all

[2009/06/05 16:54:58] Initializing...
[2009/06/05 16:54:58] Configuration file : dedicated_cfg.txt
[2009/06/05 16:54:58] Loading system configuration...
[2009/06/05 16:54:58] ...system configuration loaded
[2009/06/05 16:54:58] Loading cache...
[2009/06/05 16:54:58] ...OK
[2009/06/05 16:54:58] Listening for xml-rpc commands on port 5001.
[2009/06/05 16:54:58]
WARNING:
  * The xml-rpc connection is open to any ip,
  * but the Admin / SuperAdmin password hasn't been changed!
  * Anybody can remotely control the server.
Yet config file has:

Code: Select all

        <authorization_levels>
                <level>
                        <name>SuperAdminHere</name>
                        <password>bGPuFuWGsefe9K9iRUI</password>
                </level>
                <level>
                        <name>AdminHere</name>
                        <password>8bwrtrrt4VTf8gMYhe4fq</password>
                </level>
                <level>
                        <name>UserHere</name>
                        <password>PnTvi0bdb5tr7SHmtHhAL</password>
                </level>
        </authorization_levels>
It's right that

Code: Select all

<xmlrpc_allowremote>True</xmlrpc_allowremote>
is set to true as a machine firewall filters it properly to only allow two other hosts there.
Fails with recent build, works with 2009-05-04, also makes SuperAdmin unusable then.

If True is replaced with an IP it works fine, yet as one can only specify one ip there, I need this to work with "True"

EDIT: Also leaving "name" at default values doesn't change anything

Greetz
-Jokey
Add a warning when the xml-rpc admin password is not changed and foreign connections are allowed

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

jokey
cyclist
cyclist
Posts: 34
Joined: 15 Mar 2009 19:52
Owned TM-games: TMNF, TMUF, TM2
Location: Germany
Contact:

Re: Dedicated server for TMF, version 2009-05-25

Post by jokey » 05 Jun 2009 16:18

w1lla wrote:
Add a warning when the xml-rpc admin password is not changed and foreign connections are allowed
I changed them (see above), "bGPuFuWGsefe9K9iRUI" hardly is a default value ;)

Post Reply