Maps not saving to matchsettings file.

Moderators: Xymph, NADEO

Post Reply
chaoticatmosphere
Posts: 10
Joined: 25 Jan 2013, 06:41

Maps not saving to matchsettings file.

Post by chaoticatmosphere »

Hi all, I have search the forum for this topic and haven't found anything.

I setup my server (TM2 Stadium) and all is working well with the basic Nadeo white maps. However, I want to add dirt maps and when I do so from MX using the admin command "/admin add <ID>" it adds the map to my server, however it doesn't write it into my matchsettings file. I'm sure I have some config wrong somewhere and I have searched Google and these forums and hvaen't found anything to help with my issue. Any help would be appreciated.
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: Maps not saving to matchsettings file.

Post by w1lla »

What about chmod values are they 777?

Do you run windows or Linux servers?
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
Xymph
Posts: 1399
Joined: 15 Jun 2010, 20:35
Contact:

Re: Maps not saving to matchsettings file.

Post by Xymph »

chaoticatmosphere wrote:Hi all, I have search the forum for this topic and haven't found anything.
That could be because you seem to be on the wrong forum site. You don't mention it, but you appear to be talking about XAseco2 functionality, which is discussed here, and you shouldn't even have to post there either since its configuration is documented quite extensively 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
chaoticatmosphere
Posts: 10
Joined: 25 Jan 2013, 06:41

Re: Maps not saving to matchsettings file.

Post by chaoticatmosphere »

chmod? ummmmmm, NoOb here lol. :lol:

I'm on windows.
chaoticatmosphere
Posts: 10
Joined: 25 Jan 2013, 06:41

Re: Maps not saving to matchsettings file.

Post by chaoticatmosphere »

Xymph wrote:
chaoticatmosphere wrote:Hi all, I have search the forum for this topic and haven't found anything.
That could be because you seem to be on the wrong forum site. You don't mention it, but you appear to be talking about XAseco2 functionality, which is discussed here, and you shouldn't even have to post there either since its configuration is documented quite extensively here.
No Xypmh, it's not just an Xaseco issue, it's an issue that is not writing to my matchsettings file and I have extensively read everything in the links you provided and have not found a solution. In TM United I ran servers without a problem but there are minor changes to Maniaplanet server and I'm looking for help.
chaoticatmosphere
Posts: 10
Joined: 25 Jan 2013, 06:41

Re: Maps not saving to matchsettings file.

Post by chaoticatmosphere »

I have checked the Config.xml file in Xaseco2 folder and the <default_maplist> is set to my matchsettings file but yet it still will not edit my matchsettings file when I add a track from MX using the /admin add <ID> command in chat.
hackie
Posts: 1168
Joined: 19 Jul 2012, 22:43

Re: Maps not saving to matchsettings file.

Post by hackie »

Maybe this :

rasp.setting.php line 64

Code: Select all

//Set to filename to enable autosaving matchsettings upon every map switch
$autosave_matchsettings = '';  // e.g. 'autosave.txt'
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11
chaoticatmosphere
Posts: 10
Joined: 25 Jan 2013, 06:41

Re: Maps not saving to matchsettings file.

Post by chaoticatmosphere »

Done. Still doesn't work :(

Code: Select all

//Set to filename to enable autosaving matchsettings upon every map switch
$autosave_matchsettings = 'TMStadiumA.txt';  // e.g. 'autosave.txt'
chaoticatmosphere
Posts: 10
Joined: 25 Jan 2013, 06:41

Re: Maps not saving to matchsettings file.

Post by chaoticatmosphere »

I figured it out. I had to import the "xaseco2.sql" into my xaseco2_db in PHPmyadmin.

On the old TMU those files were already there in the "localdb folder" but that folder does not exist in Xaseco2. So it's not clear anywhere that you have to import "xaseco2.sql" into the PHP database.

I'm sorry if I wasted anyone's time.
User avatar
Xymph
Posts: 1399
Joined: 15 Jun 2010, 20:35
Contact:

Re: Maps not saving to matchsettings file.

Post by Xymph »

chaoticatmosphere wrote:I figured it out. I had to import the "xaseco2.sql" into my xaseco2_db in PHPmyadmin.
I don't understand how running some create-table statements in MySQL makes your matchsettings autosave work, as that isn't dependent on the database. Did you verify before the import that some table(s) was/were missing, and if so, which one(s)?

Are you aware that the autosave happens not immediately at /admin add but at the end of the track before the next one is loaded? Maybe you expected the file to be rewritten sooner than it actually happens?
chaoticatmosphere wrote: On the old TMU those files were already there in the "localdb folder" but that folder does not exist in Xaseco2. So it's not clear anywhere that you have to import "xaseco2.sql" into the PHP database.
When setting up X2 for the first time, you should have followed the quick start guide (also included in the .zip) where exactly that is described in step 4. But it also mentions that any table which doesn't exist yet is created automatically, hence the import shouldn't have made any difference to your problem.
chaoticatmosphere wrote:
Xymph wrote:That could be because you seem to be on the wrong forum site. You don't mention it, but you appear to be talking about XAseco2 functionality, which is discussed here, and you shouldn't even have to post there either since its configuration is documented quite extensively here.
No Xymph, it's not just an Xaseco2 issue, it's an issue that is not writing to my matchsettings file and I have extensively read everything in the links you provided and have not found a solution. In TM United I ran servers without a problem but there are minor changes to Maniaplanet server and I'm looking for help.
I understand, but it's still an issue related to server controller functionality, not the dedicated server by itself, that's why this topic belonged not in the subforum where you posted it before it was moved here, but in the X/X2 forum.
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
Post Reply

Return to “General Tools”

Who is online

Users browsing this forum: No registered users and 0 guests