Jump to content

crafting mod character skin crashes after update


Recommended Posts

skins machine broke and i don't know how to fix it

it was working fine before the update

ingame, Niko is able to craft a skin item in the dress tab to replace their current model, but now it crashes

this is what the crash log said:

client_log.txt

[00:05:57]: [string "../mods/workshop-1268728346/scripts/prefabs..."]:12: variable 'SetSkinMode' is not declared
LUA ERROR stack traceback:
    =[C]:-1 in (global) error (C) <-1--1>
    scripts/strict.lua:23 in () ? (Lua) <21-26>
    ../mods/workshop-1268728346/scripts/prefabs/niko_pupils.lua:12 in (method) OnBuiltFn (Lua) <10-14>
    scripts/entityscript.lua:1335 in (method) OnBuilt (Lua) <1327-1337>
    scripts/components/builder.lua:485 in () ? (Lua) <388-509>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/bufferedaction.lua:24 in (method) Do (Lua) <20-34>
    scripts/entityscript.lua:1311 in (method) PerformBufferedAction (Lua) <1303-1321>
    scripts/stategraphs/SGwilson.lua:4146 in (field) ontimeout (Lua) <4139-4147>
    scripts/stategraph.lua:550 in (method) UpdateState (Lua) <536-580>
    scripts/stategraph.lua:607 in (method) Update (Lua) <599-627>
    scripts/stategraph.lua:125 in (method) Update (Lua) <109-148>
    scripts/update.lua:218 in () ? (Lua) <149-228>

if someone could help me i would be grateful, this affects the mods i created with skins

i can provide additional info if necessary

this was the file that crashed:

niko_pupils.lua

this is the rest of the mod if you need it

niko.rar

 

 

 

 

 

 

 

notes.txt

Edited by Danielance
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...