Project Zomboid

Project Zomboid

[B42/B41] The Motorious Zone Vehicle Pack
 Toto téma bylo přilepeno, takže je nejspíš důležité
fhqwhgads  [vývojář] 10. dub. 2022 v 17.35
Bug Reports
Please post any outstanding bugs here. This was a larger project than my others with some new vehicle types, so some things may have slipped through the cracks.

Regarding issues with multiplayer

There are a few different quirks to playing online with mods, and there are a few universal issues that can be worked out. Note that hosting from the menu has its own issues, one of which is a limitation that can't be prevented. Generally, if you want to use a lot of mods in MP, it's best to do it through a dedicated server instead, even a locally hosted one.

If you get "file doesn't exist on client/server": First, try running the game with as little mods enabled as possible, the only mods that must be enabled on launch are mods that directly replace vanilla files (usually texture, model, or sound replacers. These can even be installed manually to overwrite the files if that makes it easier). If it still happens, usually it means that the workshop didn't update your local version of the mod, usually deleting and redownloading the mod is enough, but also check AuthenticPeach's guide about these issues here[theindiestone.com] as it affects every mod on the Workshop as well.

If you're hosting from the menu and the server shuts down on load: this is not caused by any mod specifcally. This means you've passed a loading time threshold from hosting from the menu, and the server essentially times out. Mods that are heavy on lua functions in particular can increase loading times. Dedicated servers do not have this issue, so if you want to use a lot of mods, consider locally hosting a dedicated server.
Naposledy upravil fhqwhgads; 14. čvc. 2023 v 1.49
< >
Zobrazuje se 115 z 158 komentářů
Hello, yesterday I was playing normal on my server with 1 friend, and today when I start it it says this:
File doesn't exist on the client:

media/lua/server/vehicles/fhqmotoriousdis.lua
D:\Programs\Steam\steamapps\workshop\content\108600\2791656602\mods\fhqwhgads' Motorious Zone\media\lua\server\vehicles\fhqMotoriousdis.lua

Maybe I'm not the only one, I was really enjoying your mod. Greetings!
I'm getting the same issue.
Naposledy upravil John Walker; 13. dub. 2022 v 4.27
fhqwhgads  [vývojář] 13. dub. 2022 v 4.33 
I did update the mod earlier, so it could be the cause of this issue. Sometimes the workshop doesn't update properly, so try unsubbing and resubbing to the mod for the host/server and any clients if they still have the issue. I did also add some new sub-mods to the files, so ensure that that the proper mods are enabled (just fhqMotoriusZone for the mod as it functioned before)
Naposledy upravil fhqwhgads; 13. dub. 2022 v 4.35
Re-subbing worked. Thanks for the quick response.
Quick Headsup regarding the error

function: fhqMotorious_ISCarMechanicsOverlay.lua -- file: fhqMotorious_ISCarMechanicsOverlay.lua line # 140

ERROR: General , 1649550975621> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index of non-table at KahluaUtil.fail line:82.

As someone in the comments also pointed out this is caused by broken code in the Mod

"Vilespring's M113A1 Armored Personnel Carrier"

I already reported the error on the mods workshop page:

https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/1983277711/1747895465440191491/?ctp=4#c5737031847490022871

Vilespring would have to fix that on his side, because it can break more than just this mod here.
fhqwhgads  [vývojář] 15. dub. 2022 v 17.53 
Engine Of Darkness původně napsal:
Quick Headsup regarding the error
I did fix the error on my end, but it is odd that the M113 caused it out of all vehicles with custom overlays. It didn't cause any major adverse effects though, just messed with the "hotspots" on the mechanics overlay with some of my vehicles that had custom mechanics overlays. It would mess with others who implemented custom positions of shared parts in the way I had originally.
Naposledy upravil fhqwhgads; 15. dub. 2022 v 18.05
It's because that Mods lua file overwrites the GasTank Table with a Table that does not include the "vehicles" subtable at all anymore.

This then causes an issue when your (or other mods) want to add entries to that subtable (which does not exist anymore)

E.g. your mod does this (which is correct)

ISCarMechanicsOverlay.PartList["GasTank"].vehicles["fhqvwbus_"] = {x=182,y=496,x2=264,y2=549};

And lua complains

attempted index of non-table

The Index is "fhqvwbus_" and the "non-table" is "vehicles"

This happens because your code expects "GasTank" to contain a subtable called "vehicles" to which you want to add your definition. (which is fine as is, since GasTank is a vanilla definition that contains the "vehicles" subtable)

But since the "vehicle" table no longer exists due to the other mod, you get the aforementioned error when trying to assign your config to the vehicles table.

So it isn't an error on your side at all.
fhqwhgads  [vývojář] 15. dub. 2022 v 21.53 
@Engine of Darkness Ahh, I see. I had "fixed" it on my end by adding a line that would create the "vehicles" table for the gas tank part if it didn't exist, so that makes sense.
If motorius zone is active mod on server after creating character server disconnect and game crash
fhqwhgads  [vývojář] 6. kvě. 2022 v 18.09 
𝖕𝖎𝖊𝖈𝖍 původně napsal:
If motorius zone is active mod on server after creating character server disconnect and game crash

This seems to happen sometimes after a mod update, try restarting the server if it's dedicated. Otherwise, try unsubscribing/deleting the mod for the host/server and resubscribing to see if that helps. If it still is causing issues, post some info from the logs so I can check to see if it's a mod conflict.
this mod keeps saying im missing a file for it to work any one have any idear ?
fhqwhgads  [vývojář] 10. kvě. 2022 v 19.02 
steven14000 původně napsal:
this mod keeps saying im missing a file for it to work any one have any idear ?

If this is on MP, you or the host may have to unsubscribe and resubscribe to the mod.
@fhqwhgads yes i had to re validate my files due to anthother mod messing with urs thank you for ur reply best wish bud
It works like a charm in single player mode but on a multiplayer server, I get a file not found on server error. I reinstalled the mod several times but to no avail. Would appreciate some feedback.
fhqwhgads  [vývojář] 15. kvě. 2022 v 16.50 
Entegham-e-Seft původně napsal:
It works like a charm in single player mode but on a multiplayer server, I get a file not found on server error. I reinstalled the mod several times but to no avail. Would appreciate some feedback.

If unsubscribing/resubscribing doesn't work, you might have to manually delete the mod files from the host/server and redownload it. The issues with the workshop are part of the reason I'm thinking of updating the mod on a specific day of the week, or less often (and also why I released the LM002 as standalone first).
Naposledy upravil fhqwhgads; 15. kvě. 2022 v 17.37
< >
Zobrazuje se 115 z 158 komentářů
Na stránku: 1530 50