usbTM2server 0.25

Moderators: Xymph, NADEO

User avatar
lille79
Posts: 12
Joined: 15 Jun 2010, 15:54

usbTM2server 0.25

Post by lille79 » 16 Apr 2013, 16:58

Hi! It's been a long time since I've done much with TM, but I have once more tried to make a little (big) pack with everything set up for you to be able to run a server.

I have played TM Nations, TM Forever and 99% of the time in Forever it's been the Stadium environment. This release should work in Stadium, Canyon, but I haven't got a clue about controllers for Shootmania, so no support for Shootmania from me. The webserver and server is fully capable I'd think for Shootmania, but you need to configure your own controller if you want that to work.

Back to the things that I know something about, the usbTM2server!

I've made a version I've called usbTM2server 0.25. It's a "beta" release, so the documentation isn't guaranteed to be 100% correct, and errors may occur, but most things should work. All feedback is most welcome, and please give a shout if anything is missing, errors and so on.

Here's what's included:

Contents:
- ManiaPlanet BetaServer_2013-04-12
- MoWeS Portable II webserver (with php 5.3.5)
- Xaseco2 v1.02 Thanks to Xymph
- Records-Eyepiece 1.0.9.8 for Xaseco 2, Thanks to undef.de
- Fufi-menu v2.04 for Xaseco2 Thanks to maniactwister and Xymph (and Fufi from the beginning)
- AdminServ 2.0.3 for TmForever and Maniaplanet, Thanks to Kev717

Any stuff I might have overlooked, please tell me, and I'll try to fix it in a later release :)

http://www.supersheep.no/lille79/tm2ser ... _v0.25.zip
/lille79
Old man of the Norwegian Trackmania team Super Sheep Racing
To visit my homepage/blog, and download the usbTMFserver, this is the place to go.

User avatar
TheM
Posts: 1438
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: usbTM2server 0.25

Post by TheM » 16 Apr 2013, 17:52

Welcome back! Nice to see usbTM2server coming online :)
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: usbTM2server 0.25

Post by Kegulf » 16 Apr 2013, 20:24

YEEEEEEEEY :D:D:D:D I was litteraly just about to go and ask GrandPa for help, then I see this FINALLY up :D Thanks Lille :)
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: usbTM2server 0.25

Post by Kegulf » 16 Apr 2013, 22:17

Ok, so two things I'm having trouble with, 1. the "add" function is not working, I get the message in the chat: "/add is not currently enabled on this server. It is set to True in Adminops.xml in /Xaseco2, and I cant really find any other places to edit it in :lol: , onto the next problem. 2. When I try to setup a Shootmania server, really any sort, I get this:

Code: Select all

[2013/04/16 22:30:50] Initializing...
[2013/04/16 22:30:50] Configuration file : tm2_config1.txt
[2013/04/16 22:30:50] Loading system configuration...
[2013/04/16 22:30:50] ...system configuration loaded
[2013/04/16 22:30:50] Loading cache...
[2013/04/16 22:30:50] ...OK
[2013/04/16 22:30:50] Listening for xml-rpc commands on port 5052.
[2013/04/16 22:30:50] Loading dedicated server configuration...
[2013/04/16 22:30:50] ...Dedicated server configuration loaded
[2013/04/16 22:30:50] Connecting to master server...
[2013/04/16 22:30:51] ...OK
[2013/04/16 22:30:52] Identifying on master server...
[2013/04/16 22:30:53] ...OK
[2013/04/16 22:30:53] Please wait, loading...
[2013/04/16 22:30:53] URL: maniaplanet://#join=wnlobstacle@TMStadium
[2013/04/16 22:30:53] Match settings file : MatchSettings\SMStormTimeAttack.txt
[2013/04/16 22:30:53] Loading match settings...
[2013/04/16 22:30:53] ...ERROR: Could not load script.
...Could not load the match settings
[2013/04/16 22:30:53] Server not started: no Maps available. Check your matchsettings!
[2013/04/16 22:30:53] Server not running, exiting.
I did try to run the server that I made before this usb was released, that worked, but when I try to run the "same" .bat file, just in you server setup Lille, It fails xD It's kindof wierd :p
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

User avatar
Xymph
Posts: 1293
Joined: 15 Jun 2010, 20:35
Contact:

Re: usbTM2server 0.25

Post by Xymph » 16 Apr 2013, 22:38

Kegulf wrote:1. the "add" function is not working, I get the message in the chat: "/add is not currently enabled on this server. It is set to True in Adminops.xml in /Xaseco2, and I cant really find any other places to edit it in
You haven't read includes/rasp.settings.php yet, then. Or the Configuration section of the XAseco official site.
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

User avatar
lille79
Posts: 12
Joined: 15 Jun 2010, 15:54

Re: usbTM2server 0.25

Post by lille79 » 16 Apr 2013, 22:59

As stated in the first post, I've set this up for running Stadium or Canyon since I know a bit what I'm doing with those games. If you look in the \TM2\server\UserData\Maps\MatchSettings\ you will see that I've put the "default" matchsettings in a \default\-folder

That means if you want to start other match-settings than the ones I've set up, you must change the startup-bat-file referring to a Shootmania-matchsettings-file. All start-up scripts should be explained in the advanced_setup_and_tips.txt, so read that. I've never used Shootmania, so I can't help much either way.

I've written it down, so I'll create a bat-file so one can start a shootmania-server in an easy way in a later release.

As for the /add-function, that is in the \TM2\control\xaseco2_server1\rasp.settings.php
I'll set it to default enabled in the next release, as I know most want to use that function from earlier experience.
/lille79
Old man of the Norwegian Trackmania team Super Sheep Racing
To visit my homepage/blog, and download the usbTMFserver, this is the place to go.

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: usbTM2server 0.25

Post by Kegulf » 16 Apr 2013, 23:14

lille79 wrote:As stated in the first post, I've set this up for running Stadium or Canyon since I know a bit what I'm doing with those games. If you look in the \TM2\server\UserData\Maps\MatchSettings\ you will see that I've put the "default" matchsettings in a \default\-folder

That means if you want to start other match-settings than the ones I've set up, you must change the startup-bat-file referring to a Shootmania-matchsettings-file. All start-up scripts should be explained in the advanced_setup_and_tips.txt, so read that. I've never used Shootmania, so I can't help much either way.
Ok, let's see, The only difference should be the bat file running the server.
I have ofcourse edited this,

Code: Select all

start "Server1" /d"%CD%\ManiaP\server" ManiaPlanetServer.exe /title=SMStorm /game_settings=MatchSettings/SMStormTimeAttack.txt /dedicated_cfg=tm2_config1.txt
(ManiaP = TM2, changed it to fit my likes better xP)

The mistake lays somewhere in this .bat file, or the files related to it. My guess is that the placement of the Game settings or the game mode Script, is incorrect.
lille79 wrote:I've written it down, so I'll create a bat-file so one can start a shootmania-server in an easy way in a later release.
Sounds good :)
lille79 wrote:As for the /add-function, that is in the \TM2\control\xaseco2_server1\rasp.settings.php
I'll set it to default enabled in the next release, as I know most want to use that function from earlier experience.
Found it, and thanks :)
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: usbTM2server 0.25

Post by Kegulf » 16 Apr 2013, 23:18

Eh lol :lol: Figured out what the "problem" was xD

MatchSettings/default/SMStormTimeAttack.txt :D
Ty for help :D
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

Re: usbTM2server 0.25

Post by Kegulf » 16 Apr 2013, 23:47

Update:

Went completely away from Xaseco2, and switched to MPAseco instead for the Shootmania Obastacle server.
I will figure out exactly what to do tomorow, Tm2 server running smoothly though :) It's not up right now, but everything works with the coding I have now :)
Thanks for all help, now for some sleep, after 4 intense hours of work xP


Don't mind this:
Sorry for being such a noob, but when I run Xaseco2.bat I get this in cmd:

Code: Select all

[04/17,00:38:59] Try to connect to MP dedicated server on 127.0.0.1:5052 timeout 180s
[04/17,00:38:59] Try to authenticate with login 'SuperAdmin' and password 'xxxxx'
[04/17,00:38:59] Connection established successfully !
[04/17,00:38:59] [LocalDB] Load config file [localdatabase.xml]
[04/17,00:38:59] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'tm2_xaseco2_server1'
[04/17,00:39:00] [LocalDB] MySQL Server Version is 5.1.35-community
[04/17,00:39:00] [LocalDB] Checking database structure...
[04/17,00:39:00] [LocalDB] ...Structure OK!
[04/17,00:39:00] [RASP] Loading config file [rasp.xml]
[04/17,00:39:00] [RASP] Checking database structure...
[04/17,00:39:00] [RASP] ...Structure OK!
[04/17,00:39:00] [RASP] Cleaning up unused data
[04/17,00:39:00] Load default admin panel [panels/AdminRightCorner.xml]
[04/17,00:39:00] Load default donate panel [panels/DonateBelowCPList.xml]
[04/17,00:39:00] Load default records panel [panels/RecordsRightCorner.xml]
[04/17,00:39:00] Load default vote panel [panels/VoteBottomCenter.xml]
[04/17,00:39:00] Load stats panel [panels/Stats2.xml]
[XASECO2 Fatal Error] [plugin.records_eyepiece.php] Unmet requirements! With your current configuration you need to activate "plugin.dedimania.php" in your "plugins.xml" to run this Plugin! on line 507 in file C:\Users\SMS\Desktop\Alt for Maniaplanet servere\usbTM2server_v0.25\ManiaP\control\xaseco2_server1\plugins\plugin.records_eyepiece.php
Everything loads fine, but dedimania screws me up for some reason, I have edited plugins.xml as described in the setup and tips doc, I have read through and tried to edit the records eypiece xml (after making a backup), but it did not really work. Any ideas?

Also there has been a few problems here and there, but they where rather easy to fix :)


Edit:

This little fellah on line 920 in records_eyepiece.xml was the problem :)

Code: Select all

		<dedimania_records>				<!-- Disabled in Gamemode 'Stunts' -->
			<enabled>true</enabled>
			<title>Dedimania Records</title>
			<pos_x>-63.5</pos_x>
			<pos_y>-9.25</pos_y>
			<entries>8</entries>
			<icon_style>BgRaceScore2</icon_style>
			<icon_substyle>LadderRank</icon_substyle>
		</dedimania_records>
Changed to false and everything worked :D
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

User avatar
lille79
Posts: 12
Joined: 15 Jun 2010, 15:54

Re: usbTM2server 0.25

Post by lille79 » 17 Apr 2013, 12:22

Good to hear that you got it working, Kegulf. Please tell me if some of the problems you figured out, is something I should fix, or mention it in the setup-and-tips-file :)

If someone would like to help, I'd consider adding more stuff for Shootmania, but then they would have to write setup-tips and a bit of documentation.

Later today, I'll release a very simple Shootmania-addon which can be downloaded with two startup-bat-files, dedicated config-files and matchsettings-files for Shootmania.

I've also created a usbTM2-update version, where people with running usbTMFservers can run TM2-servers on their existing webserver. I'll upload it later today :)
/lille79
Old man of the Norwegian Trackmania team Super Sheep Racing
To visit my homepage/blog, and download the usbTMFserver, this is the place to go.

Post Reply

Return to “General Tools”

Who is online

Users browsing this forum: No registered users and 0 guests