AMPTemplates icon indicating copy to clipboard operation
AMPTemplates copied to clipboard

Assetto Corsa Settings Import not working

Open VegaFlash opened this issue 9 months ago • 15 comments

Attempting to use the import feature on assetto corsa and am getting a message that says 0 entries were successfully imported.

Attempted importing the cfg file through explorer and through the AMP web portal.

Here is a cfg file that I've been using with the credentials and server name removed.

server_cfg.txt

VegaFlash avatar Apr 29 '24 04:04 VegaFlash

Hopefully the file is called server_cfg.ini on your server, not server_cfg.txt

Greelan avatar Apr 29 '24 04:04 Greelan

Hopefully the file is called server_cfg.ini on your server, not server_cfg.txt

It is I had to change the name so that github would take it.

VegaFlash avatar Apr 29 '24 04:04 VegaFlash

Just for giggles I tried importing your config on a new server on Windows (cut and pasted the content). Imported 23 entries, but had to refresh the browser for them to show (and refreshing the browser is annoying since it pops you back to the main instances screen and you have to manage the instance again)

Logs:

[04:55:19] [Generic:admin Info]   : Importing config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format).
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_NAME to Redacted
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_CARS to kl_gr_86_2021_rhd_hks;ebonayn_pushin_p_tuned;cky_porsche992_gt3rs_2023;subaru_wrx_sti_pushin_p_tunedv2;cky_honda_typer2023;400z_prvvy_x_tgn;ks_nissan_skyline_r34;porsche_919_hybrid_evo_2018;srp_honda_s2000_legendary
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_CONFIG_TRACK to nordschleife
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_TRACK to csp/0/../ks_nordschleife
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_SUN_ANGLE to 17
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_PASSWORD to Redacted
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_ADMIN_PASSWORD to Redacted
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_RACE_OVER_TIME to 60
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_KICK_QUORUM to 70
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_VOTING_QUORUM to 70
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:19] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_VOTE_DURATION to 15
[04:55:19] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_BLACKLIST_MODE to 0
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_FUEL_RATE to 0
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_DAMAGE_MULTIPLIER to 0
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_TYRE_WEAR_RATE to 0
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_ALLOWED_TYRES_OUT to 0
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_AUTOCLUTCH_ALLOWED to 1
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_TYRE_BLANKETS_ALLOWED to 1
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_FORCE_VIRTUAL_MIRROR to 0
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.SERVER_REGISTER_TO_LOBBY to 0
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.$MaxUsers to 28
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.DYNAMIC_TRACK_SESSION_START to 98
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.
[04:55:20] [API:admin Activity]   : Changing setting Meta.GenericModule.DYNAMIC_TRACK_LAP_GAIN to 22
[04:55:20] [Generic:admin Info]   : Merging config file ./assetto-corsa/302550/cfg/server_cfg.ini (INI format) using Unicode (UTF-8) encoding.

Greelan avatar Apr 29 '24 04:04 Greelan

It's also not importing the entry list either, I tried deleting the stock entry list and putting my own in it's place through the AMP Ui and once I do it crashes anyone's game that tries to connect.

VegaFlash avatar Apr 29 '24 08:04 VegaFlash

It's also not importing the entry list either, I tried deleting the stock entry list and putting my own in it's place through the AMP Ui and once I do it crashes anyone's game that tries to connect.

I didn't add the import functionality to the entry list xD. AMP doesn't manage that file.

Greelan avatar Apr 29 '24 08:04 Greelan

What version of AMP are you on? Including AMP Instance Manager (type ampinstmgr version in command prompt)

Greelan avatar Apr 29 '24 08:04 Greelan

I am running v2.5.0.6 built 17/04/2024 22:10

VegaFlash avatar Apr 29 '24 08:04 VegaFlash

It's also not importing the entry list either, I tried deleting the stock entry list and putting my own in it's place through the AMP Ui and once I do it crashes anyone's game that tries to connect.

I didn't add the import functionality to the entry list xD. AMP doesn't manage that file.

It might need to because it does manage the cars you can use.

VegaFlash avatar Apr 29 '24 08:04 VegaFlash

I'm aware that it does, however there is no good way to do it in AMP other than have a big text box where you just paste in text. And that method wouldn't allow import anyway.

Greelan avatar Apr 29 '24 08:04 Greelan

It's just really weird that any real modifications to the entry list cause crashes.

VegaFlash avatar Apr 29 '24 08:04 VegaFlash

When you say "AMP UI", I assume you mean the File Manager? Because there is no UI setting for the entry list

Greelan avatar Apr 29 '24 08:04 Greelan

I do mean file manager (sorry tired as crap). lol I did a test run on my local machine and found an error in my entry list. After using a different entry list the crashing seems to have gone away, so crisis averted. lol Sorry if I came across a bit harsh.

VegaFlash avatar Apr 29 '24 09:04 VegaFlash

Any updates on this?

It is still saying 0 lines updated and the settings shows nothing.

I don't know if this has anything to do with it, but I am in a controller configuration.

VegaFlash avatar May 06 '24 04:05 VegaFlash

Possibly. Have you updated your templates on both controller and target, and then updated the instance?

Greelan avatar May 06 '24 04:05 Greelan

The corsa AMP target is a fresh install so it should be good.

How do I update the templates on the main controller?

NVM I found it, already up to date.

VegaFlash avatar May 06 '24 04:05 VegaFlash