Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assetto Corsa Settings Import not working #745

Open
VegaFlash opened this issue Apr 29, 2024 · 15 comments
Open

Assetto Corsa Settings Import not working #745

VegaFlash opened this issue Apr 29, 2024 · 15 comments

Comments

@VegaFlash
Copy link

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

@Greelan
Copy link
Collaborator

Greelan commented Apr 29, 2024

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

@VegaFlash
Copy link
Author

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.

@Greelan
Copy link
Collaborator

Greelan commented Apr 29, 2024

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.

@VegaFlash
Copy link
Author

VegaFlash commented Apr 29, 2024

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.

@Greelan
Copy link
Collaborator

Greelan commented Apr 29, 2024

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
Copy link
Collaborator

Greelan commented Apr 29, 2024

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

@VegaFlash
Copy link
Author

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

@VegaFlash
Copy link
Author

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.

@Greelan
Copy link
Collaborator

Greelan commented Apr 29, 2024

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.

@VegaFlash
Copy link
Author

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

@Greelan
Copy link
Collaborator

Greelan commented Apr 29, 2024

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

@VegaFlash
Copy link
Author

VegaFlash commented Apr 29, 2024

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
Copy link
Author

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.

@Greelan
Copy link
Collaborator

Greelan commented May 6, 2024

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

@VegaFlash
Copy link
Author

VegaFlash commented May 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants