T.R.U.C.K. Server Manager [16.Aug.2009]

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

Moderators: Pit Crew, TM-Patrol

User avatar
KLF
sunday driver
sunday driver
Posts: 73
Joined: 06 May 2008 10:51
Owned TM-games: TMNF
Location: Brazil
Contact:

T.R.U.C.K. Server Manager [16.Aug.2009]

Post by KLF » 06 May 2008 11:50

T.R.U.C.K last version: 16/Aug/2009

Hi, to help all of you who want to install a record system on your server, without the trouble of installing and configuring a lot of other things, i wrote this little program. :pil

You only have to unzip and run, no extra programs required, not even .net :roll:

Features:
# Dedimania support
# Waiting queue
# Small, only about 300KB (zip file)
# Download tracks from TM-X
# Keep track of the best 2000 players per track
# Automatic track management
# Several adminstration commands
# Automatic server adjustment for the current users in server
# No extra programs required
# No instalation, just unpack and run
# Work with servers created in the game or with the dedicated
# Very low cpu consumptiom
# Rotative messages
# Minimize to tray and hide dedicated windows


Screenshots:
Image
Image

You can see it in action in this server.

What is new (2009 Aug 16)
# Fixed ban button on players window
# Fixed command /unban \ and "unban all" of the menu
# Hide player ip information of players window, only show to admins
# Normal players can add tmx tracks (configurable)
# When downloading a tmx track, they are added to server tracks (match settings)
# Autosave options to automaticly save match settings and server options
# Chat messages removed: track records
# Chat messages removed: improve time
# Chat messages removed: track top1
# Chat messages removed: your best time
# Your PB and your current track record position, is fixed on screen at the right
# Removed command: /rec
# Command /pb, only updates the manialink on the right (no chat messages)
# When doing a top 10 track record it will show on chat (was top20 before)
# Added a manialink when player join (can be personalized)
# Added a manialink when track begins (can be personalized)
# Added a manialink when track ends (can be personalized)
# Added a manialink when player makes a top1 (can be personalized)
# Added a manialink when player improves their PB (can be personalized)
# New command /test for admins, to display the custom manialinks
# You can disable the records showing in chat
# In case of the recordes showing at the end, it will also display the track name
# When alone on the server, the player can jukebox any track
# You can disable the Next track information (jukebox and truck)
# You can disable the player join/left chat messages (always show when an admin joins)
# Fixed the packmask problem that occur on some servers (preventing them to use dedimania)
# In laps mode, Dedimania register the best lap as time attack
# Donnation button was moved to the left
# In case of the server has less than 12 tracks, Truck will not choose the next track
# Best checkpoints time moved up
# You can prevent players with old clients (older than 2.11.19) to join
# You can prevent players with old clients (older than 2.11.19) to make records
# Players with old clients (older than 2.11.19) will receive a message to update


What is new (2009 Aug 04)
# Now you can prohibit the players to choose recent played tracks
# Jukebox fixed when using game internal server
# When setting a player to admin or not, that user will receive or loose the admin buttons.
# Fixed some dedimania issues
# Fixed some connections issues


It´s still under development, so use it at your own risk. :thumbsup:

You can download it at http://www.klf.com.br/gametools.php
It's for windows only.

In my site you can also find a mini tutorial/faq on how to use it, and a quick way on how to configure the dedicated. ;)

Enjoy!
Last edited by KLF on 16 Aug 2009 16:46, edited 31 times in total.
KLF Trackmania tools:
:arrow:T.R.U.C.K. => Easy trackmania server controler for windows
:arrow:TM-Colors => Find the color codes for Trackmania

User avatar
Basti504
cyclist
cyclist
Posts: 47
Joined: 29 Aug 2006 17:09
Owned TM-games: TMN,TMU, TMF
Location: Netherlands
Contact:

Re: TMNF Server administration - T.R.U.C.K.

Post by Basti504 » 06 May 2008 17:21

Very nice work :)

How did you manage to map the F5 key to an button/event?
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

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

Re: TMNF Server administration - T.R.U.C.K.

Post by Xymph » 06 May 2008 18:25

Basti504 wrote:How did you manage to map the F5 key to an button/event?
There's no source code in his zip, but it must be the actionkey attribute of the new ManiaLink quad tag. F6 and F7 are also supported, see here.
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

jouko100
speedy pilot
speedy pilot
Posts: 375
Joined: 10 Mar 2007 09:33
Location: finland

Re: TMNF Server administration - T.R.U.C.K.

Post by jouko100 » 07 May 2008 07:35

Nice work.
wishlist: /add tmx,
/save tracklist,
/load tracklist

User avatar
daemon
sunday driver
sunday driver
Posts: 68
Joined: 09 Mar 2006 17:28
Location: México

Re: TMNF Server administration - T.R.U.C.K.

Post by daemon » 07 May 2008 22:15

Hi this looks very good, can it be customized? for example the menu caption, the chat messages, etc. :thumbsup:
Image
It's the decisions you make, when you have no time to make them, that define who you are.

User avatar
KLF
sunday driver
sunday driver
Posts: 73
Joined: 06 May 2008 10:51
Owned TM-games: TMNF
Location: Brazil
Contact:

Re: TMNF Server administration - T.R.U.C.K.

Post by KLF » 08 May 2008 15:28

Sorry for not answering before, but i was working on T.R.U.C.K. :pil
# Some minor fixes
# Speed improvement
# Added all admin commands in help

The new updated version is ready for download from my site: http://www.klf.com.br

Since the development of the software is very intense at the moment, you can spect a new updated version every 2 days. :D
I am really thinking in make an automatic "check for updates" option. :scene:
Basti504 wrote:Very nice work :)
How did you manage to map the F5 key to an button/event?
With actionkey="1".
You can also map keys F6 and F7 with actionkey="2" and actionkey="3".
jouko100 wrote:Nice work.
wishlist: /add tmx,
/save tracklist,
/load tracklist
Download tracks from tm-x its planned, but since the site is down you will have to wait. :(
There is already a /load and /save commands, they read/write a file called TRUCK_Match.txt. You can also add or remove tracks from inside the game.
daemon wrote:Hi this looks very good, can it be customized? for example the menu caption, the chat messages, etc. :thumbsup:
About the messages, you can't, but its planned for future versions, but its not my priority at the momment.
But the visual of the displays have some possibilities of customization with some aditional files:

# display.xml = defines the main display
# displaybotao.xml = defines the buttons of the main display
# botaoajuda.xml = defines the F5 Help shortcut display

The default for display.xml is:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<manialink><type>default</type>
<color>000</color><frame posn="0 10 0">
<quad sizen="100 60" halign="center" valign="center" style="Bgs1InRace" substyle="BgList"/>
<frame posn="0 29 1">
<quad posn="0 0" sizen="98 52" halign="center" style="Bgs1InRace" substyle="BgCardFolder"/>
<label posn="0 -4" sizen="98 52" halign="center" textsize="4" text="%m"/>
</frame><frame posn="-25 -25 2" halign="center">
<frame posn="0 0 0">%b</frame>
<frame posn="30 0 0">%b</frame>
</frame></frame></manialink>
The default for botaoajuda.xml is:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<manialink id="F5">
<frame posn="0 48 0">
<label halign="center" valign="top" style="CardButtonSmall" action="5" actionkey="1" text="%m"/>
</frame></manialink>
The default for displaybotao.xml is:

Code: Select all

<label style="CardButtonSmall" action="%n" text="%m"/>
After change/create any of these files, you can load them from the menu -> Tools -> Reload display.xml

Enjoy!
KLF Trackmania tools:
:arrow:T.R.U.C.K. => Easy trackmania server controler for windows
:arrow:TM-Colors => Find the color codes for Trackmania

binary1
pedestrian
pedestrian
Posts: 8
Joined: 10 May 2008 18:02
Owned TM-games: tmu tmn

Re: TMNF Server administration - T.R.U.C.K.

Post by binary1 » 10 May 2008 18:13

Hi! So far, I very much like your TRUCK record system.
Im having a problem with the maps though. I am unable to get the maps to properly play in random, it has something to do with TRUCK attached.

Example: Run the server without TRUCK (map config file is correctly working in random mode, each track is definitely randomized)

Now open TRUCK and connect to your server. As soon as you goto the next track now, it will start playing the tracks without being random (you can also see it is not random with /list i notice them alphabetized)
also... I notice that it will try to keep going back and replaying certain tracks when TRUCK is running. Havent worked out why it is doing this. example: A track called 'nova' or 'greentech road' I am seeing the server play those 2 tracks very often , even though I have about 300 maps in my list?
I tried deleting those 2 maps , but then it seems to pick another few maps to want to play often also lol. ?

Think we could have a mode to try shuffle the tracks from in the game even?

Any ideas?
Thanks! TRUCK is excellent otherwise :)

User avatar
KLF
sunday driver
sunday driver
Posts: 73
Joined: 06 May 2008 10:51
Owned TM-games: TMNF
Location: Brazil
Contact:

Re: TMNF Server administration - T.R.U.C.K.

Post by KLF » 10 May 2008 23:15

binary1 wrote:Hi! So far, I very much like your TRUCK record system.
...
Thanks! TRUCK is excellent otherwise :)
Thanks, that's make me happy! ; :3

If you only look at the TRUCK program window, you surelly will notice the high frequency of the first tracks on your server. But if you are inside the game, you will not notice that, because the unique way TRUCK choose the tracks, called "Track Guru".

The program is designed to choose the track based on the following avaliation:
# The player has finished the track at least once
# How long the player don't play in that track
# The rank of the player on the track
# What's the player opinion about the track (++ or --)

Based on this avaliation for every player current on server, and all tracks available, it will choose the best track that best match all these requirements.

If your server have many difficult tracks, that the players are not able to finish, you can disable the Track Guru feature in the Tools menu. I hope that works, because i never turn it off. :D

So, ++ and -- make a lot of diference in the server behaviour, its not intended for admin selection of tracks, but for automatic track selection. ;)
KLF Trackmania tools:
:arrow:T.R.U.C.K. => Easy trackmania server controler for windows
:arrow:TM-Colors => Find the color codes for Trackmania

binary1
pedestrian
pedestrian
Posts: 8
Joined: 10 May 2008 18:02
Owned TM-games: tmu tmn

Re: TMNF Server administration - T.R.U.C.K.

Post by binary1 » 10 May 2008 23:52

Wow, that is amazing. I did not realize that is how it was being determined lol.

Very original !!
Now I completely understand.

Thanks so much!

User avatar
KLF
sunday driver
sunday driver
Posts: 73
Joined: 06 May 2008 10:51
Owned TM-games: TMNF
Location: Brazil
Contact:

Re: T.R.U.C.K. [update 16/05/08] (no MySQL or PHP)

Post by KLF » 17 May 2008 00:08

Version 0.34 is out!

# Small speed improvement
# Display the time diference to the best time at each checkpoint

http://www.klf.com.br
KLF Trackmania tools:
:arrow:T.R.U.C.K. => Easy trackmania server controler for windows
:arrow:TM-Colors => Find the color codes for Trackmania

User avatar
TrabTowN
Pit Crew
Pit Crew
Posts: 789
Joined: 03 Nov 2005 14:30
Owned TM-games: TMS,tmn,TMU
Location: Ireland/orginal SACHSE^^
Contact:

Re: T.R.U.C.K. [update 16/05/08] (no MySQL or PHP)

Post by TrabTowN » 17 May 2008 00:29

firstly, nice idea.... small and compact....

however, when i connect to a remote server i am able to send a chat message, i get it on the server and in-game the top help button is there... but nothing else is shown, no chat and no players...

and would it be possible to give a option to not send any manialink etc, so other php tools are not effected... it would be a nice tool to keep track of wars or league matches etc. without any hassle from any pc.. (but this might be already another tool)...

TRAB
100²% addicted
Image
Image

binary1
pedestrian
pedestrian
Posts: 8
Joined: 10 May 2008 18:02
Owned TM-games: tmu tmn

Re: T.R.U.C.K. [update 16/05/08] (no MySQL or PHP)

Post by binary1 » 18 May 2008 04:07

Thanks for the latest update, I like the top1 time information at each checkpoint!

Im wondering if you take requests for a new release? It seems that people on my server want to see more records at the end of each track. Currently it shows top4 when the race ends. Ive had a few comments from people that they wish it would show more. Any chance of making it show top10 ?

I know you could just do /recs but it seems that people like to see their names at the end of races haha.

---
Question) How can I quickly lock the channel with a password? If there is no way to do it with admin commands, how is another quick way, without editing my config file for the server and restarting it??

Question) Can you change the word 'pilot' to 'racer' ? haha
Pilot = Someone who flies an aeroplane hehe. It's quite funny.

Thanks again, I honestly think this is the best server software now. I tried using FAST , and thought it was SLOW haha.
Used ASECO - Too much messing around and crashing issues often.
TRUCK= easy and awsome!!

Good work!
Everyone , go download it. You will love it.

User avatar
KLF
sunday driver
sunday driver
Posts: 73
Joined: 06 May 2008 10:51
Owned TM-games: TMNF
Location: Brazil
Contact:

Re: T.R.U.C.K. [update 16/05/08] (no MySQL or PHP)

Post by KLF » 18 May 2008 08:01

New compilation! :3

What's new on this compilation (2008 May 18)
#Changed word pilot to racer. ;)

#Added configuration of how many records are displayed at the finish of the track (3 to 30)
Example:
/set var endrecords 10

#Added commands for setting the password for the server
Example:
/set pass password
/set specpass password

#The /tracks command now accepts a parameter to filter the tracknames
Example:
/tracks tech
binary1 wrote:Im wondering if you take requests for a new release?
Sure I can take requests, i just can't promise that they will become a reality :scene:
binary1 wrote: Can you change the word 'pilot' to 'racer' ? haha
Pilot = Someone who flies an aeroplane hehe. It's quite funny.
Done! :roflol:
binary1 wrote:TRUCK= easy and awsome!!

:pil
TrabTowN wrote:however, when i connect to a remote server i am able to send a chat message, i get it on the server and in-game the top help button is there... but nothing else is shown, no chat and no players...
If the F5 button is there and the commands are not working, then TRUCK got disconected from the server by some reason.
TrabTowN wrote:and would it be possible to give a option to not send any manialink etc, so other php tools are not effected...
To disable the manialinks, just mess the files that i described some posts ago.
To be honest, the idea is to keep truck very simple. Because most people dont have a clue what is sql or php.
TRUCK has no intention to be the ultimate tool, but the goal is to be a smart and easy way to manage a server, without consuming a lot of machine resources. :roll:
TrabTowN wrote:it would be a nice tool to keep track of wars or league matches etc.
A module to manage small championships is planned, but its not my priority.
KLF Trackmania tools:
:arrow:T.R.U.C.K. => Easy trackmania server controler for windows
:arrow:TM-Colors => Find the color codes for Trackmania

binary1
pedestrian
pedestrian
Posts: 8
Joined: 10 May 2008 18:02
Owned TM-games: tmu tmn

Re: T.R.U.C.K. [update 18/05/08] (no MySQL or PHP)

Post by binary1 » 18 May 2008 16:55

:o Excellent!!!
You are doing an amazing job.
Thankyou so much!

binary1
pedestrian
pedestrian
Posts: 8
Joined: 10 May 2008 18:02
Owned TM-games: tmu tmn

Re: T.R.U.C.K. [update 18/05/08] (no MySQL or PHP)

Post by binary1 » 18 May 2008 21:57

I like the way the end records look now, but there is a small bug. There is the letter "f" at the start of everyone's name.
such as:

1 fDrivecrazy 2 fBinary 3 feyes_only 4 fzeenix 5 fHarpzter

Thanks.

Post Reply