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

[BUG] 'adding workshop mod' command is not adding intended mods #152

Closed
Myumyu10 opened this issue Jul 22, 2024 · 8 comments
Closed

[BUG] 'adding workshop mod' command is not adding intended mods #152

Myumyu10 opened this issue Jul 22, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Myumyu10
Copy link

Myumyu10 commented Jul 22, 2024

One of my server members added a workshop mod via commands, but instead of adding the intended mod, the server ended up adding a mod that the host had subscribed to but had deactivated in the mod setting(for single, not for server).

image
image

when you see the second photo i attached, there's no mods i added using commands but a new mod which isn't intended to add. according to a host, the mod added was subscribed but disactivated for server on his mod setting.

@Myumyu10 Myumyu10 added the bug Something isn't working label Jul 22, 2024
@Myumyu10 Myumyu10 changed the title [BUG] <Title here> [BUG] adding workshop mod is not adding intended mods Jul 22, 2024
@Myumyu10 Myumyu10 changed the title [BUG] adding workshop mod is not adding intended mods [BUG] 'adding workshop mod' command is not adding intended mods Jul 22, 2024
@egebilecen
Copy link
Owner

Hey, thank you for your bug report. Command to add/remove workshop mods was added by @DomicidalDesigns so I am not really knowledgeable what might be causing it unfortunately. 😔

@Craulback
Copy link

I had a weird issue this morning when I used the command, it seemed to replace my current server mod list entirely with the first mod list it found.
"Server2024" had it's list completely replaced with a list identical to an old server I had called "Charlie"

@Myumyu10
Copy link
Author

Myumyu10 commented Jul 23, 2024

Yeah it messed up our mp server too. 😭 plus, I got a new report from one of my server members that some of the mods added to our server is removed, too. I guess it is bcoz of the replacement with the old server's mod list of the host.

@egebilecen
Copy link
Owner

egebilecen commented Jul 23, 2024

!add_workshop_mod and !remove_workshop_mod commands read the first ".ini" file available. In case of the wrong ".ini" file getting read, it will override the existing mod list. Could you check if you have more than one ".ini" files in the %USERPROFILE%\Zomboid\Server directory? This bot is not intended to be used in multiple server environment so if you created multiple servers in the past, bot cannot determine which ".ini" file is the correct one. So you will need to delete old ".ini" files or rename them to not have the ".ini" extension.

@Craulback
Copy link

Craulback commented Jul 23, 2024

Ah ok, yeah I have like 6 in there, my bad I must have missed that in the readme. I can't delete them all so I suppose I'll try renaming my main server to be first in alphabetical order until I can think of a better solution.

@Myumyu10
Copy link
Author

Myumyu10 commented Jul 23, 2024

Yeah we also have multiple Ini files, actually.

Or can we just move those .ini files into new subfolders? Then the bot might not be able to read them...?

However these are just for temporary, I think this feature needs to update.

@egebilecen
Copy link
Owner

Ah ok, yeah I have like 6 in there, my bad I must have missed that in the readme. I can't delete them all so I suppose I'll try renaming my main server to be first in alphabetical order until I can think of a better solution.

It's not mentioned in readme actually. I should add that warning. Sorry for the trouble!

@egebilecen
Copy link
Owner

egebilecen commented Jul 23, 2024

Yeah we also have multiple Ini files, actually.

Or can we just move those .ini files into new subfolders? Then the bot might not be able to read them...?

You can move them to subfolders, yes. Edit: But second server won't work unless you set new server home path.

However these are just for temporary, I think this feature needs to update.

Well, you can set different server home path in server.bat. So you can assign one of your servers to folder FirstServer, and assign second one to folder SecondServer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants