[Release]DUFX - Mechanic and Car Script

[Update] 0.0.0.4
Added Dialog Language Support
Changed the order around of the fix and dialog options (Chip_W_Gaming idea)
Added some more comments to help explain a few things in the files.

Download:
dufx-0-0-1-4.zip (6.0 KB)

[Bug]
RealisticVehicleFailure(Here) for some reason changes the way the car reacts the the hood been opened soon as itā€™s triggered the car starts back up again and moves off, this does not happen when RealisticVehicleFailure is disabled, I will work on a fix for this

Thanks for the bug report Chip_W_Gaming

1 Like

Now itā€™s fixing instantly. Other than garage name and price, I made no changes.

Itā€™s not going through any dialog. Just says ā€œall Fixedā€ and done.

and yes, I cleared my cache after putting in the new version and restarted the server.

I just tried it with realistic vehicle failure disabled and still does it.

Mine was showing the dialogs fine but I am trying to make a dirty fix for that mod lol so give me a moment, also just make sure Delay is set to true, it is in my version but maybe for some.

OR also OK you will need to refresh then restart dufx as there is a new file you canā€™t just restart it as there is now dialog.lua

I stopped my server, cleared the cache, then restarted server because of the new file. I also shut down my game rather than just disconnect.

Found the problem.

In the package you uploaded, you didnā€™t have the ā€œDelay = trueā€ in the config. I added it and all is working.

I canā€™t see anything wrong with the dialogs they are all working for me but when using Realistic Vehicle Failure it for some reason seems to over ride the unable to drive and engine off for some reason I not understanding this part.

Also I just downloaded it again, and that option was there, maybe it didnā€™t over ride it when you copied it over for some reason.

No, itā€™s my stupidity and I know better. Ever have one of those moments when you screw something up and just canā€™t figure it out?

Rather than manually typing in my config changes, I copied and pasted. Iā€™m very sorry for any hair you may have pulled out trying to figure why Iā€™m a moron.

No itā€™s fine we all have them moments and understanding this one with the engine is a good one to pull my hair out over lol you have been really helpful so far so keep it up :slight_smile: I donā€™t know why this is braking my mod I hope heā€™s not over ridden the global name space for these functions.

[Update] 0.0.0.5
This version as a very hacky way around Realistic Vehicle Failure the car will now turn off itā€™s lights, radio and the hand brake will be fully on until the repair is done, the user is able to keep reving the engine but they wont go anywhere fast.

Download:
dufx-0-0-1-5.zip (6.1 KB)

1 Like

I have used the wrong version numbers on the releases here so I am going to keep going from 0.0.1.* so the next in game version will match this and should be 0.0.1.6 so donā€™t wonder where versions between 0.0.0.5 to 0.0.1.6 have gone, lol they was never there :slight_smile:

On my first pre alpha stages when my mod was just a really bad few lines of code I was unable to repair some cars so I installing a few stream packed replacements what didnā€™t work before and now trying them with the newly coded and updated version.

From my tests with all the same packs I had a problem with the first time around have past they all seem to be working.

After a few requests I am going to add a config option so if you want the car to be cleaned when itā€™s repaired via the tow truck garages you can enable this.

0.0.1.6 Will be out tomorrow with this update.

were dose the text save for the cords? i see it pop ingame but not save in a file

i would honestly like to use this to repair police cars can we get that option

Do you bother to check your folders? Or did you only look where the resource is?

Itā€™s in your root data folder. Refresh if you donā€™t see it.

thanks now just to make it work on police cars