TheAnsuz / Lethal-Company-Configurable-Company-API

An API for Lethal Company that allows other modders to create in-game options (configurations) that persist between sessions, synch between players and are save-file dependant so you can customize your every game differently.
4 stars 1 forks source link

[BUG] Map spawnable #33

Closed kiloix closed 3 months ago

kiloix commented 5 months ago

Describe the bug

When I open the menu and modify the number of turrets (entire number), there has not effect in the facility.

How to reproduce the issue

Mods and profile

Profile code: 76561198966762690

Extra information

TheAnsuz commented 5 months ago

Hello @kiloix

How are you saving the configuration after making que changes?

Also that profile code seems to not be working, can you check if it is correctly written?

Thanks in advance!

kiloix commented 5 months ago

Saving configuration

I save configuration by selecting button "save configuration" this is due by the bolding words.

Hello

Profil code

Of course, my (new) profil code is : 1006496962

TheAnsuz commented 5 months ago

Hello @kiloix

Are you sure that's the profile code? Seems to not be working, profile codes have the following format: 056fabf6-1551-a8f0-51cc-013852b6a604

Also, could you create a preset from the save file so your configs get exported with the profile?

Thanks in advance!

kiloix commented 5 months ago

Profile code

Oh ! Sorry, i put the code here : 018f7a5f-5a05-8273-9bda-0287537ec49f

Presseting file

Here, the location of mod's file : liiilo -Tools: Browse profile folder (thunderstore, r3mmodman), Load preset, save preset (lethalcompanyvariable). -Launching:

Let's get statrted !

When i click here, theree is no effect. liilo2

In my opinion, I think that the folder is save: liilo3

There is not adding folder in the files when i did that..

I saw a video explaining the download of a saving file editor. Maybe i supposed to do that.

Link

https://www.youtube.com/watch?v=7YBxDNyjrXo

TheAnsuz commented 5 months ago

Hello @kiloix

Presets are saved inside BepInEx/config/ConfigurableCompany/<preset>.ccfg

Clicking load preset when the default one is selected will just revert your values to default.
You might want to create a new one with your settings and then save/load that one. Save preset will save your current settings to the selected preset file name.
Load preset will overwrite your current settings with the stored ones.

Configurations for each save file are not saved within the save-file, they are saved inside .../AppData/LocalLow/ZeekerssRBLX/Lethal Company/Configurable Company/<profile-name>/<file>.ccfg

I also saw that you have LC_API which if I remember correctly is deprecated and might cause issues with your game and other mods. I'd suggest to search for an updated mod that covers the features that you are using from that mod.

Let me know if this helps you!

kiloix commented 5 months ago

Thanks to giving these informations, only, I meet a the same problem, let me explain: I saw in my folder that only my first name of document's mod appeared. Plus, I don't see Localow or preset.ccfg in my PC. I'm not experimented (or unless) in programation. I've to suggest this topic in question category. 🤣

*Photography**

This image shows the "way" to acces in my mod list from the death memory of my computer. You see that only one folder appears whereas two (or three) folders. image

Thanks in advance !

TheAnsuz commented 5 months ago

Hi @kiloix

Under the shown folder you should be able to locate some of the needed folders as inside that folder you can locate another folder called BepInEx, if you navigate though these folders BepInEx > config > ConfigurableCompany and you should be able to see the presets.

To locate the locallow folder you should search outside this folder as it is located in other section of your computer, the whole path should look like this: C:\Users\Usuario\AppData\LocalLow\ZeekerssRBLX

Also I want to add that I wasn't able to reproduce the issue with the turrets, again, I would love to join you in a game to check what LCV is doing and if turrets are not spawning.

If you want to accelerate the process to solve the issue feel free to contact me on discord to help you in real time the_ansuz.

kiloix commented 5 months ago

implementing error

I search the code for lethalcompanyvariable by pressing windows + R but it doesn't work. image

Traducing : windows can't find BepinEx, (😳 Big issue because this software permits to launch the terminal of lethalcompany's mods) check out if your words are correct then retry. image

I copy the auther way.

image

Same effect.

image

Can you help me in my game (vanilla or by modded gaming) ? I'll add you in discord app.

TheAnsuz commented 3 months ago

This issue was handlded using discord.

Resolved in being an issue with compatibility with other mods, should be fixed with the latest update!

If the issue still persist feel free to reopen the issue with information about it.

Thanks in advance!