Fearless Forums
VCMOD - script error color.lua - Printable Version

+- Fearless Forums (https://fearlessrp.net)
+-- Forum: CityRP Server (https://fearlessrp.net/forumdisplay.php?fid=6)
+--- Forum: Bugs (https://fearlessrp.net/forumdisplay.php?fid=128)
+---- Forum: Fixed/Closed (https://fearlessrp.net/forumdisplay.php?fid=129)
+---- Thread: VCMOD - script error color.lua (/showthread.php?tid=86745)



VCMOD - script error color.lua - Pollux - 05-12-2018

Title of Bug: VCMOD - Error color.lua

Description: Script error when a VCMOD car seems to activate its turn signal, also occurs with ELS being activated. I've asked the server and they were all getting the same script error. I do have the VCMOD content pack installed too. It seems like color wasn't set a valid value, no idea if this is a VCmod problem or just how it was configured.

Evidence:

Code:
[ERROR] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)
 1. min - [C]:-1
  2. Color - lua/includes/util/color.lua:16
   3. Render_Interior_Light - vcmod/client/hud_pdtr_els.lua:2
    4. Rndr - vcmod/client/hud_pdtr_els.lua:2
     5. HandleELSLights - vcmod/client/hud_pdtr_els.lua:2
      6. v - vcmod/client/hud_pdtr.lua:2
       7. unknown - lua/includes/modules/hook.lua:84



RE: VCMOD - script error color.lua - Luna - 05-12-2018

I also get this error.


RE: VCMOD - script error color.lua - Pollux - 05-21-2018

I think i've found why this happens. After downloading the VCmod content and installing HL2 EP 1 and EP2, I no longer get the error while other people still report they do.

VCmod Content: https://steamcommunity.com/sharedfiles/filedetails/?id=632470227

Is the VCmod content autodownloading from the server?


Started occurring again :c


RE: VCMOD - script error color.lua - Chumps - 05-27-2018

Any fix found yet? i've tried the method you used Pollux, it doesn't seem to work atleast for me.

[Image: SFs1qIM.gif]


RE: VCMOD - script error color.lua - Awestruck - 06-12-2018

So I've spoken to Soul this morning who has told me that he will rebuy VCMod and send me the updated files.

Awaiting an ETA.


RE: VCMOD - script error color.lua - Awestruck - 06-15-2018

I will buy VCMod Main & ELS myself in the morning so we can get these errors fixed asap. SoulRipper has been incredibly busy lately and is not able to do this himself.


RE: VCMOD - script error color.lua - Deleted User - 06-16-2018

(06-15-2018, 11:59 PM)Awestruck Wrote: I will buy VCMod Main & ELS myself in the morning so we can get these errors fixed asap. SoulRipper has been incredibly busy lately and is not able to do this himself.

[Image: tenor.gif?itemid=6021225]
Godspeed, my son.



RE: VCMOD - script error color.lua - Pollux - 06-16-2018

I have disabled the error from showing up in console, the error still exists but it just shouldn't spam console anymore (as it won't be showing up in console at all now). I've disabled one error but no clue if there's more.


RE: VCMOD - script error color.lua - Luna - 10-25-2018

Pretty sure this has been fixed.

Closed.