D12-Dev / OpenWorld

A Free Multiplayer Mod For Rimworld
Other
96 stars 17 forks source link

Some Mods Won't Load #19

Closed brucethemoose closed 2 years ago

brucethemoose commented 2 years ago

For reasons I have yet to determine, the server won't load certain mods. Here's a simple xml-only example of a mod that won't load: https://steamcommunity.com/sharedfiles/filedetails/?id=2556901321

Here's my modsconfig.xml:

<ModsConfigData>
    <version>1.3.3287 rev1159</version>
    <activeMods>
        <li>brrainz.harmony</li>
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
        <li>unlimitedhugs.hugslib</li>
        <li>lollipop.openworld</li>
        <li>windwardsnow.miniturret</li>
    </activeMods>
    <knownExpansions>
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
    </knownExpansions>
</ModsConfigData>

And I hard linked the "Whitelisted Mods" folder to the Rimworld client's mod folder, so I am certain the files in the server/client are identical. They have to be, as they are physically the same files. But for reference, this also happens in pretty much any other combination I can think of, hard link or none, regular mod folder or whitelisted mod folder:

[4/1/2022 2:46:39 PM] │ Server Startup:
[4/1/2022 2:46:39 PM] │ Using Culture Info: [en-US]
[4/1/2022 2:46:39 PM] │ Base Directory At: [C:\Games\rimopenworld\]
[4/1/2022 2:46:39 PM] │ Using Royalty
[4/1/2022 2:46:39 PM] │ Using Ideology
[4/1/2022 2:46:39 PM] │ Loaded Settings File
[4/1/2022 2:46:39 PM] │ No Mods Folder Found, Generating
[4/1/2022 2:46:39 PM] │ Loaded [403] Whitelisted Mods
[4/1/2022 2:46:39 PM] │ No Saved Players Found, Ignoring
[4/1/2022 2:46:39 PM] │ No Bans File Found, Ignoring
[4/1/2022 2:46:39 PM] │ No Whitelisted Players Found, Ignoring
[4/1/2022 2:46:39 PM] │ Loaded World File
[4/1/2022 2:46:39 PM] │ Server Started
[4/1/2022 2:46:39 PM] │ Type 'Help' To See Available Commands
[4/1/2022 2:46:39 PM] │ Network Line Started

[4/1/2022 2:47:11 PM] │ New Client [brucethemoose] [192.168.1.224] Has Connected For The First Time
[4/1/2022 2:47:23 PM] │ Player [brucethemoose] Has Disconnected
[4/1/2022 2:48:09 PM] │ Server doesn't allow player's mod or mod files mismatch! [Stuffed & Buffed Mini-Turret]
[4/1/2022 2:48:09 PM] │ Player [brucethemoose] Has Disconnected

Here's the mod in the Open World server folder, just as proof that it is there: Capture

I attached a local copy of the mod: 2556901321.zip

brucethemoose commented 2 years ago

Another mod that doesn't work: https://steamcommunity.com/sharedfiles/filedetails/?id=2770341115

Zip of the mod: 2770341115.zip

[4/1/2022 3:55:13 PM] │ Server Startup:
[4/1/2022 3:55:13 PM] │ Using Culture Info: [en-US]
[4/1/2022 3:55:13 PM] │ Base Directory At: [C:\Games\rimopenworld\]
[4/1/2022 3:55:13 PM] │ Using Royalty
[4/1/2022 3:55:13 PM] │ Using Ideology
[4/1/2022 3:55:13 PM] │ Loaded Settings File
[4/1/2022 3:55:13 PM] │ Loaded [18] Mods
[4/1/2022 3:55:13 PM] │ Loaded [404] Whitelisted Mods
[4/1/2022 3:55:13 PM] │ Loaded [1] Player Files
[4/1/2022 3:55:13 PM] │ No Bans File Found, Ignoring
[4/1/2022 3:55:13 PM] │ No Whitelisted Players Found, Ignoring
[4/1/2022 3:55:13 PM] │ Loaded World File
[4/1/2022 3:55:13 PM] │ Server Started
[4/1/2022 3:55:13 PM] │ Type 'Help' To See Available Commands
[4/1/2022 3:55:13 PM] │ Network Line Started

[4/1/2022 3:55:27 PM] │ Server doesn't allow player's mod or mod files mismatch! [Simple Algae - 'VPE More Plants' Addon]
[4/1/2022 3:55:27 PM] │ Player [brucethemoose] Has Disconnected

Modsconfig.xml:

<?xml version="1.0" encoding="utf-8"?>
<ModsConfigData>
    <version>1.3.3287 rev1159</version>
    <activeMods>
        <li>brrainz.harmony</li>
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
        <li>unlimitedhugs.hugslib</li>
        <li>oskarpotocki.vanillafactionsexpanded.core</li>
        <li>vanillaexpanded.vplantse</li>
        <li>vanillaexpanded.vplantsemore</li>
        <li>algaecrop.vepmpaddon</li>
        <li>lollipop.openworld</li>
    </activeMods>
    <knownExpansions>
        <li>ludeon.rimworld</li>
        <li>ludeon.rimworld.royalty</li>
        <li>ludeon.rimworld.ideology</li>
    </knownExpansions>
</ModsConfigData>

Another sanity check: Capture

ghost commented 2 years ago

Hello there! Allow me to guide you on this problem!

First off, this isn't a mod incompatibility or anything like that, it's actually much more simple. Some mods use special characters in their about files that Rimworld can read, but other apps, like the server, can't. If you open an about file of a mod, Simple Algae - 'VPE More Plants' Addon, as an example, you can see that there is a weird character in the name! Just change it to the correct letter and everything is good to go!

It's not the file that is broken, or that the server is not loading the mod correctly. Just a special character in the name that can be easily fixed, the server just thinks the mod has another name rather than the actual one

brucethemoose commented 2 years ago

I guessed it might be something like that but wasn't sure, thanks.

But this should perhaps be added as a warning somewhere.

ghost commented 2 years ago

Got it! Closing this since problem is solved