Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

server crashes when running the mod #9

Closed
HansWasser opened this issue Jun 4, 2020 · 4 comments
Closed

server crashes when running the mod #9

HansWasser opened this issue Jun 4, 2020 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@HansWasser
Copy link
Collaborator

I just tried out if the mod would also work on a server, as with the upcomming feature of live modpack updating it'd be a pain for any server admin if the clients update themselves without the server doing so too. Turns out it doesn't work...
Here's the log file
latest.log

@Janrupf Janrupf added bug Something isn't working good first issue Good for newcomers labels Jun 4, 2020
@TigerWalts
Copy link

TigerWalts commented Jun 5, 2020

I don't know which mod the tkkl.url.json is supposed to be downloading but it may not be server compatible and this is causing the crash when ModDirector tries to load it.

Had the same problem with the Awakening - Sky of Diamonds pack as it tries to load Optifine.

It would be beneficial for ModDirector to support a side option, with values BOTH, CLIENT, SERVER. e.g.

{
    "url": "http://optifine.net/adloadx?f=OptiFine_1.12.2_HD_U_F5.jar",
    "follows": ["Download OptiFine_1.12.2_HD_U_F5.jar"],
    "fileName": "Optifine_1.12.2_HD_U_F5.jar",
    "options": {
        "launchwrapperTweakerForceNext": true,
        "side": "CLIENT"
    }
}

This way the same configs can be placed on server and client.

@HansWasser
Copy link
Collaborator Author

The mod that's supposed to be downloaded is server compatible. To be fair it is not compatible with the minecraft version the server is running but the server crashes before anything is downloaded. If the server crashed due to an incompatibility with the mod it would have to be downloaded in the first place.

@Janrupf
Copy link
Owner

Janrupf commented Jun 5, 2020

I don't know which mod the tkkl.url.json is supposed to be downloading but it may not be server compatible and this is causing the crash when ModDirector tries to load it.

Had the same problem with the Awakening - Sky of Diamonds pack as it tries to load Optifine.

It would be beneficial for ModDirector to support a side option, with values BOTH, CLIENT, SERVER. e.g.

{
    "url": "http://optifine.net/adloadx?f=OptiFine_1.12.2_HD_U_F5.jar",
    "follows": ["Download OptiFine_1.12.2_HD_U_F5.jar"],
    "fileName": "Optifine_1.12.2_HD_U_F5.jar",
    "options": {
        "launchwrapperTweakerForceNext": true,
        "side": "CLIENT"
    }
}

This way the same configs can be placed on server and client.

I like the idea with the "side" config

@Janrupf
Copy link
Owner

Janrupf commented Jun 14, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants