Project Zomboid

Project Zomboid

Not enough ratings
Coxis Reload Sync
   
Award
Favorite
Favorited
Unfavorite
Mod: Mod
File Size
Posted
0.325 MB
Dec 3, 2017 @ 5:38am
1 Change Note ( view )

Subscribe to download
Coxis Reload Sync

Description
This mod is only interesting for multiplayer!

It basically gives the serveradmin the option to force the reload difficulty for all the clients connected to the server.
As a serveradmin you have to alter the reloadsettings.ini file with your preferred difficulty:

1 = Easy
2 = Medium
3 = Hard

The default setting is 3 = Hard. Don't change anything else in the reloadsettings.ini, only the value after "difficulty="!
When a client connects to the server the difficulty set at the server will be transmitted to the client. The client will no longer be able to change the difficulty within the settings.

This mod still needs testing! Please help me fix all the upcoming bugs.

Workshop ID: 1220176662
Mod ID: Cox_ReloadSync
< >
12 Comments
Nilanth Animosus Aug 8, 2019 @ 9:38am 
it should be the stable branch when I was using it then.
Dr_Cox1911  [author] Aug 8, 2019 @ 9:05am 
@Nilanth Animosus What version are you running? IWBUMS or stable?
Nilanth Animosus Jul 16, 2019 @ 12:11pm 
using this mod and its required mod alone (with nothing else enabled) - the options menu breaks with the following stack trace:

1563304135960 -----------------------------------------
1563304135960 function: toUI -- file: MainOptions.lua line # 1034
1563304135960 function: toUI -- file: MainOptions.lua line # 104
1563304135960 function: toUI -- file: MainOptions.lua line # 1422
1563304135960 function: onMenuItemMouseDownMainMenu -- file: MainScreen.lua line # 1360
java.lang.RuntimeException: Object tried to call nil in toUI
Nilanth Animosus Jul 16, 2019 @ 12:10pm 
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:83)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:975)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1922)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1747)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:77)
at zombie.ui.UIElement.onMouseDown(UIElement.java:791)
at zombie.ui.UIElement.onMouseDown(UIElement.java:758)
at zombie.ui.UIElement.onMouseDown(UIElement.java:758)
at zombie.ui.UIManager.update(UIManager.java:1075)
at zombie.GameWindow.logic(GameWindow.java:630)
at zombie.GameWindow.run(GameWindow.java:1315)
at zombie.GameWindow.maina(GameWindow.java:1091)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:184)
PurpleBlurpL Jun 13, 2018 @ 12:07am 
ah thanks, I found it :)
Dr_Cox1911  [author] May 31, 2018 @ 3:21pm 
@PurpleBlurpL: it in the workshop-folder of the mod, so it depends on your OS.
PurpleBlurpL May 23, 2018 @ 11:47pm 
Running the dedicated server, where is the reloadsettings.ini file supposed to go? It doesn't seem to auto-generate when running the server the first time. Thanks!
Dr_Cox1911  [author] Mar 7, 2018 @ 8:21am 
Glad that it works! Yep, the setting is only loaded upon server start, so remember that if you change the value you would need to restart the server to have the new setting active.
Kyrios Mar 6, 2018 @ 12:57pm 
spoke to soon I guess , simple server restart seems to have fixed it , anyway thanks for making this , been wanting exactly this for a very long time now
Kyrios Mar 6, 2018 @ 12:51pm 
not sure its working , the difficulty is set at 3 for hard but no one has the option to eject magazines or rack their weapons :/ hmm