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

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 » 10 Jun 2009 18:53

xD, 2 km/h

nice work btw,
i think we must have it on Core32!

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 » 10 Jun 2009 19:00

Subjaz wrote:I've updated TMSPS!
I don't know how to signup for the project on codeplex :(
Can someone tell me?
Here I've a screenshot of what I did:
Look at the right of the screen...

WTF..? It looks weird this way.
Think away the strange glow!
Wahhhhh can you please remove the large image? Its a bitmap file with a size of 8 MB!!!

What did you change? Cant you just cut the small part of the image and paste that as jpeg?

Btw. you can contact me on the project page and I can add you as developer.
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 » 11 Jun 2009 06:20

This is what ive done:
BTW I'm not finished yet, im also working on the other panels.
Image

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 » 11 Jun 2009 12:38

Subjaz wrote:This is what ive done:
BTW I'm not finished yet, im also working on the other panels.
Dont forgett, that there are a few more widgets you cant see currently, because you have not enabled LocalRecordsPlugin.

Image

Here are a few more you have not seen yet:

http://tmsps.inetgamer.de/FinishScreen.jpg
http://tmsps.inetgamer.de/PlayScreen.jpg
http://tmsps.inetgamer.de/Summary.jpg

Do you have Skype, MSN or ICQ?
That way we could discuss a bit better :)

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

>> Help me and contribute to: TMSPS <<

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 » 11 Jun 2009 15:23

The only thing it does here:

Code: Select all

Running in console mode.
Press Enter to stop the service...
[INFO]DAEMON Connected to server 192.168.2.5 at port 4022.
[INFO]DAEMON Authentication successfull
This is mine config:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<configSections>
		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
		<section name="ConfigSettings" type="TMSPS.Core.PluginSystem.ConfigSettingsConfigurationSection, TMSPS.Core"/>
	</configSections>

	<ConfigSettings 
		serverAddress="192.168.2.5" 
		serverXMLRPCPort="4022" 
		superAdminPassword="**" 
		serverNation="NED" 
		serverLogin="-sftest-" 
		serverLoginPassword="**" 
	/>

	<log4net>
		<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
			<file value="log.txt" />
			<appendToFile value="true" />
			<maximumFileSize value="1MB" />
			<rollingStyle value="Size" />
			<staticLogFileName value="true" />
			<layout type="log4net.Layout.PatternLayout">
				<header value="[Header]&#13;&#10;" />
				<footer value="[Footer]&#13;&#10;" />
				<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
			</layout>
		</appender>

		<root>
			<level value="DEBUG" />
			<appender-ref ref="RollingLogFileAppender" />
		</root>
	</log4net>
</configuration>
It should load plugins, shouldn't it?

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: TMSPS : .Net based server control system

Post by w1lla » 11 Jun 2009 16:00

did you check config of the plugins?

Code: Select all

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

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 » 11 Jun 2009 17:52

TheM wrote:The only thing it does here:

Code: Select all

Running in console mode.
Press Enter to stop the service...
[INFO]DAEMON Connected to server 192.168.2.5 at port 4022.
[INFO]DAEMON Authentication successfull
It should load plugins, shouldn't it?
Yes it should. Is "[INFO]DAEMON Authentication successfull" the last line shown in the console? Have a look at the logfile - Is there more?

Right after this Logmessage EnableCallbacks() is called and than the Plugins getting initialized. Maybe EnableCallbacks crashes.

Do you have the latest version of the trackmania Server running?
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

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 » 11 Jun 2009 19:51

Found the problem. The exception handling at this part is not that good, will fix it. The cause is very likely an invalid format of the file

Plugins/Settings.xml

I've checked in a better exception handling during this TMSPS Daemon startup stage. Get the last source code from the repository and you'll get an exception telling you what exactly is wrong.
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

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 » 12 Jun 2009 14:16

The problem was that the Plugins directory wasn't in the Release folder...

Found a mistake with stripping the colors. $l isn't stripped correctly/compleatly:
Image
"[Speedfreakz.eu]" shouldn't be there.

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 » 12 Jun 2009 16:19

I can't run it from Visual C# 2008 :x

It says Deamon.exe isn't in there :|

how to solve this??

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 » 12 Jun 2009 16:47

TheM wrote:The problem was that the Plugins directory wasn't in the Release folder...

Found a mistake with stripping the colors. $l isn't stripped correctly/compleatly:
Image
"[Speedfreakz.eu]" shouldn't be there.
I know, but I wont fix it, because there are too much cases. Even XAseco does not handle all cases correctly. Feel free to to write a better one :)

Normaly after compile a script is run which automatically copies to folder to the bin-folder. This currently only happens in debug-mode.
Last edited by Scordo on 12 Jun 2009 16:50, edited 1 time in total.
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

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 » 12 Jun 2009 16:48

sven_bo wrote:I can't run it from Visual C# 2008 :x

It says Deamon.exe isn't in there :|

how to solve this??
Sorry, can you explain in more detail whats not working?
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

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 » 17 Jun 2009 05:10

it has some message boxes, but the final problem is that it can't found Daemon.exe or something...

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 » 17 Jun 2009 08:20

sven_bo wrote:it has some message boxes, but the final problem is that it can't found Daemon.exe or something...
Once again, please:

- say what you've tried
- tell me the error-message-boxes or what exactly is your problem

Some Questions:

- have you opened the solution in visual studio 2008?
- did you follow the developer documentation located under /Trunk/DeveloperDocumentation.docx?
Debuggers don't remove bugs, they only show them in slow motion

>> Help me and contribute to: TMSPS <<

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 » 18 Jun 2009 16:24

ok, i slowly realise that i haven't done both things you typed behind your questions :P

i think that will help, ty ;)

Post Reply