Project Zomboid

Project Zomboid

Driving Cars Mod - MP & 3D Models
Big Boogey Dec 18, 2016 @ 1:47pm
Errors When Right Clicking
Just a WILD guess but I'm gonna guess it's from that ability to drive from the interact menu, it doesn't happen near a car so that further supports the idea.
Is there any way to disable that feature for now?
Last edited by Big Boogey; Dec 18, 2016 @ 1:48pm
< >
Showing 1-11 of 11 comments
nolanritchie  [developer] Dec 18, 2016 @ 3:03pm 
doesnt happen for me so you kind of need to copy the error and paste here or screen shot it or something. I'll have nothing to go on otherwise.
nolanritchie  [developer] Dec 18, 2016 @ 3:22pm 
i think i found the cause of this, it will be updated soon
Big Boogey Dec 18, 2016 @ 3:31pm 
Alright?
Big Boogey Dec 18, 2016 @ 3:45pm 
Before you do that, I reinstalled the mod without having the SP version installed and that seemed to fix it.
Last edited by Big Boogey; Dec 18, 2016 @ 3:46pm
StryfeKhaos Dec 18, 2016 @ 4:47pm 
I noticed on load i was getting exceptions in DriveCarsServer.lua. Doesn't seem to like the 'size' function. Changing the loop to 1, 3 fixed that exception, but i am still having issues. Items pulled out of cars causes a client exception, and 'disappear'. I didn't know if this is related to the issue you are fixing, but maybe the info will help.
nolanritchie  [developer] Dec 18, 2016 @ 5:22pm 
Originally posted by StryfeKhaos:
I noticed on load i was getting exceptions in DriveCarsServer.lua. Doesn't seem to like the 'size' function. Changing the loop to 1, 3 fixed that exception, but i am still having issues. Items pulled out of cars causes a client exception, and 'disappear'. I didn't know if this is related to the issue you are fixing, but maybe the info will help.

where do you see these errors? mine will not report any errors on lua files in the server directory and its driving me absolutly nuts
nolanritchie  [developer] Dec 18, 2016 @ 5:51pm 
these things should be ok now but of course feel free to report if they persist
StryfeKhaos Dec 18, 2016 @ 5:52pm 
I caught it in the command line window that starts when the dedi server batch file runs. I grab the scroll bar off and on until the mod startup is executed, and I can see the exception there. Not ideal, and there is probably a way to redirect the batch file to log all of the output to a text file, but it works. Best I can tell is that the size function defined in DriveCars.lua is not visible in DriverCarsServer.lua. I don't know enough about how the PZ mods work -- it appears at least the CarList variable is visible to the DriveCarsServer.lua file. But the two places the size(CarsList) is called throw exceptions. The right click function throws an exception every time its called as well in the base PZ ISObjectClickHandler.lua.
Big Boogey Dec 18, 2016 @ 8:56pm 
Alright then
StryfeKhaos Dec 20, 2016 @ 8:12am 
There are some exceptions client side in CheckForPlayer during right-clicks. Looks like osquare is nil after calls to square:getN|S|E|W depending on where the player is standing when you right-click.
nolanritchie  [developer] Dec 20, 2016 @ 9:51am 
i see, updating now thanks
< >
Showing 1-11 of 11 comments
Per page: 1530 50