TMSPS : .Net based server control system

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

Moderators: Pit Crew, TM-Patrol

Scordo
cyclist
cyclist
Posts: 46
Joined: 01 Feb 2009 00:22
Owned TM-games: TMU

TMSPS : .Net based server control system

Post by Scordo » 01 May 2009 23:33

Hello Trackmania freaks,

I've written a .Net based server control system in C# called TMSPS. TMSPS is a shortcut for TrackMania Server Plugin System

The project is hosted on Codeplex:

http://tmsps.codeplex.com

You can see it in action here:

tmtp://#join=dwc_lol

I'm searching for developers helping me to extend the controller to hopefully publish a public release in the near future.

Requirements for Contributors:
- good .Net knowledge
- good knowledge in C#
- german or english language knowledge ;)
- Visual Studio 2008

Current features of TMSPS:
- All RPC Methods are implemented type safe
- All Callbacks are implemented as type safe events
- ChatBot Plugin
- IdleKick Plugin
- NameProtectionBot Plugin
- KickUnrankedPlayer Plugin
- TMX-Plugin (add tracks from TM-Exchange.com ingame and retrieve information of it)
- Clock Plugin
- Static UI Plugin
- Checkpoint Plugin
- Small Admin Player Plugin
- Spectator Plugin (command for getting a list of spectator & commmand for kicking all spectators)
- Dedimania Plugin (record List UI, Best Dedi UI)
- Live Rankings UI
- Local Records Plugin (SQL-Database + UI - PB, RecordList, Best local)
- Podium Screen widgets (HoursPlayed, MostTop3RaceResults, MostTop3Records, TopWinners, TopRankings)

TMSPS is currently running on the server above with mostly 70 Players with full userinterface with no problems.

There is a lot of work to do, mostly in the administrative area but a few widely spread plugins need to be reimplemented for .Net too. So please contact me if you want to help me.

Thank you for reading!
Scordo
Last edited by Scordo on 04 Jun 2009 22:16, edited 3 times in total.
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

Subjaz
pedestrian
pedestrian
Posts: 8
Joined: 02 Jun 2009 15:32
Owned TM-games: TMF

Re: TMSPS : .Net based server control system

Post by Subjaz » 02 Jun 2009 15:34

Hi,
I would like to help you but i dont know anything about C#
If it was in visual basic I could've helped you..
sorry.

matzi
happy cruiser
happy cruiser
Posts: 161
Joined: 20 Aug 2008 14:52
Owned TM-games: TMO TMN TMU TMF
Location: Austria
Contact:

Re: TMSPS : .Net based server control system

Post by matzi » 02 Jun 2009 16:39

Hi
I'd also like to help you but I can just Java and PHP, so sorry

But it's a great project :thumbsup:

Scordo
cyclist
cyclist
Posts: 46
Joined: 01 Feb 2009 00:22
Owned TM-games: TMU

Re: TMSPS : .Net based server control system

Post by Scordo » 02 Jun 2009 18:51

matzi wrote:Hi
I'd also like to help you but I can just Java and PHP, so sorry

But it's a great project :thumbsup:
Java is very close to C#, maybe you should have a look at C# :D
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

matzi
happy cruiser
happy cruiser
Posts: 161
Joined: 20 Aug 2008 14:52
Owned TM-games: TMO TMN TMU TMF
Location: Austria
Contact:

Re: TMSPS : .Net based server control system

Post by matzi » 02 Jun 2009 20:13

Scordo wrote: Java is very close to C#, maybe you should have a look at C# :D
I already thought if i should go to our school library and lent a C# book. Maybe I really learn C# that in the summer vacations^^

Scordo
cyclist
cyclist
Posts: 46
Joined: 01 Feb 2009 00:22
Owned TM-games: TMU

Re: TMSPS : .Net based server control system

Post by Scordo » 03 Jun 2009 15:29

Here is what you need to get started:

Visual Studio 2008 Express Edition:

http://download.microsoft.com/download/ ... ssetup.exe


Free ebooks
------------------

German: http://openbook.galileocomputing.de/csharp/
English: http://www.informit.com/library/library ... rp_24hours
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

matzi
happy cruiser
happy cruiser
Posts: 161
Joined: 20 Aug 2008 14:52
Owned TM-games: TMO TMN TMU TMF
Location: Austria
Contact:

Re: TMSPS : .Net based server control system

Post by matzi » 04 Jun 2009 17:53

thank you
do you know if this woks on Windows 7 (64 Bit)??

2-3 Weeks ago I had installed the C++ one and I always got linking errors :grmblz:

And thank you for the tutorials...

Scordo
cyclist
cyclist
Posts: 46
Joined: 01 Feb 2009 00:22
Owned TM-games: TMU

Re: TMSPS : .Net based server control system

Post by Scordo » 04 Jun 2009 22:04

matzi wrote:thank you
do you know if this woks on Windows 7 (64 Bit)??

2-3 Weeks ago I had installed the C++ one and I always got linking errors :grmblz:

And thank you for the tutorials...
Yes, it surely works on Windows 7! BTW. C# cant be compared with C++. You wont have linking errors with C#.

Bye,
Scordo
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

Subjaz
pedestrian
pedestrian
Posts: 8
Joined: 02 Jun 2009 15:32
Owned TM-games: TMF

Re: TMSPS : .Net based server control system

Post by Subjaz » 05 Jun 2009 12:16

I will also try to learn C#!
So, maybe...

matzi
happy cruiser
happy cruiser
Posts: 161
Joined: 20 Aug 2008 14:52
Owned TM-games: TMO TMN TMU TMF
Location: Austria
Contact:

Re: TMSPS : .Net based server control system

Post by matzi » 05 Jun 2009 16:00

@Scordo
Thank you
I will install it asap :D

sven_bo
pedestrian
pedestrian
Posts: 9
Joined: 03 Mar 2009 15:49
Owned TM-games: TMN, TMNF, TMU

Re: TMSPS : .Net based server control system

Post by sven_bo » 07 Jun 2009 07:27

Subjaz wrote:I will also try to learn C#!
So, maybe...
u're not the only one ;)

i would help to if i have learnt C# a bit...


btw, maybythis could help too:
http://msdn.microsoft.com/en-us/library/aa288436.aspx

Subjaz
pedestrian
pedestrian
Posts: 8
Joined: 02 Jun 2009 15:32
Owned TM-games: TMF

Re: TMSPS : .Net based server control system

Post by Subjaz » 07 Jun 2009 07:48

@Scordo
If i try to run the testclient it says the application configuration file is invalid, could not find app.config...
u know how to fix this problem?

edit: found it!

edit: What do I have to enter after: Address?

Found everything!
but in debuggin mode it says:
'IPHostEntry hostEntry = Dns.GetHostEntry(host);
'host' is unknown

Not fixed yet
Now the Console mode tmsps says: Daemon socket error occured!

sven_bo
pedestrian
pedestrian
Posts: 9
Joined: 03 Mar 2009 15:49
Owned TM-games: TMN, TMNF, TMU

Re: TMSPS : .Net based server control system

Post by sven_bo » 07 Jun 2009 08:39

Subjaz wrote:@Scordo
If i try to run the testclient it says the application configuration file is invalid, could not find app.config...
u know how to fix this problem?

edit: found it!

edit: What do I have to enter after: Address?

Found everything!
but in debuggin mode it says:
'IPHostEntry hostEntry = Dns.GetHostEntry(host);
'host' is unknown

Not fixed yet
Now the Console mode tmsps says: Daemon socket error occured!
holy crap

i just started to follow this tutorial:
http://www.csharphelp.com/archives2/archive402.html

...and even that's sometimes confusing for me xD

User avatar
TheM
Pit Crew
Pit Crew
Posts: 286
Joined: 25 Feb 2009 16:43
Owned TM-games: TMU(F), TMN(F), TM2
Location: Brabant, Netherlands
Contact:

Re: TMSPS : .Net based server control system

Post by TheM » 07 Jun 2009 08:42

Just want to try some things... but which file do I have to open when I click "Open project..." ?

sven_bo
pedestrian
pedestrian
Posts: 9
Joined: 03 Mar 2009 15:49
Owned TM-games: TMN, TMNF, TMU

Re: TMSPS : .Net based server control system

Post by sven_bo » 07 Jun 2009 09:04

i'm sorry guys

but i think C# is too difficult for me, so i'm not helping with this
project...

keep coding ;)

Post Reply