Page 1 of 1
Can't create lan anymore
Posted: 03 Feb 2019, 14:51
by BusardCendre
hi all,
I've just installed windows 10 on my computer,
so I've made a brand new install of Maniaplanet too.
Here's the problem :
if I choose : local game -> local network
each time I click on the create button, I have this error message before being able to choose a gamemode.
This problem appears in each Trackmania titles made by Nadeo but not with custom title (tried with multi envi title from Dommy).
I haven't tested with shootmania
Here is a screenshot :

Re: Can't create lan anymore
Posted: 03 Feb 2019, 16:02
by TMarc
The local server is indeed very weird at the moment.
You have to select the rigth script and the right maps inside a title, otherwise it won't work, and give errors.
E.g. I wanted to create a basic server with Canyon_A tracks, and when I chose laps script, i got two script errors.
And when I choose Hotseat, I was not able to abort the server until I had entered two player names and really started playing (only then ESC key was working).
Also the track selection itself should be improved. It happened many times I was stuck in a track selection although I did not want to be there.
All this menu and handling definitely needs rework.
If you want to have a LAN server, better use the dedicated server.
Re: Can't create lan anymore
Posted: 03 Feb 2019, 16:15
by BusardCendre
Thanks for your answer TMarc.
TMarc wrote: ↑03 Feb 2019, 16:02
You have to select the rigth script and the right maps inside a title, otherwise it won't work, and give errors.
The error comes before choosing a script ...
TMarc wrote: ↑03 Feb 2019, 16:02
If you want to have a LAN server, better use the dedicated server.
In fact, I didn't want to play on lan, I wanted to try to write a gamemode with the script editor,
but as the error comes at the lan server creation ...
Is there another way to go to the ingame script editor ?
Re: Can't create lan anymore
Posted: 03 Feb 2019, 17:00
by TMarc
You can press CTRL+G 2 times anywhere in the game, and there you go

Re: Can't create lan anymore
Posted: 04 Feb 2019, 01:59
by BusardCendre
TMarc wrote: ↑03 Feb 2019, 17:00
You can press CTRL+G 2 times anywhere in the game, and there you go
If I'm anywhere in the game, I won't be able to do tests while writing,
that's why I'm supposed to launch a local server to use the script editor

Re: Can't create lan anymore
Posted: 04 Feb 2019, 08:59
by TMarc
I meant anywhere in Maniaplanet.
This should also work while running the local LAN server, if you get it running.
Or you use an external editor, like notepad++ or Visual Code?
There is a topic about editor support for Maniascripting sonewhere.
Re: Can't create lan anymore
Posted: 04 Feb 2019, 10:40
by Miss
I don't think Ctrl+G is the editor though, is it? It's merely the debugger?
Re: Can't create lan anymore
Posted: 04 Feb 2019, 15:06
by BusardCendre
Right Miss
I think I should use Scroll lock key to access the script editor.
There's a little thing I don't understand :
In the screenshot I've given, the problem seems to come from TrackBrowserAPI.script.txt
witch is called by MainMenuLagoon.Script.txt
Why a Lagoon file is used when I want to launch a local server on Canyon ?
Re: Can't create lan anymore
Posted: 04 Feb 2019, 15:10
by Miss
All menu scripts in all packs are called MainMenuLagoon, because (I'm assuming) during Lagoon development that menu was made, and later the decision was made to bring that same menu to all the other games, without renaming the file for whatever reason.