Sign in to follow this  
Fidooop

Modded Skins (API)

Recommended Posts

Chris1448    13392
19 hours ago, Closhee said:

Is there a video tutorial on how to do this because I don’t want to mess up the coding and the code I’m supposed to be adding is already in the lua file so I’m not really sure what I’m supposed to be doing 

Welcome to the forums, firstly.

This API is currently broken and in the process of being rewritten to be functional again. I would wait for it to be updated in the upcoming weeks before you try messing around with it. An updated text tutorial should be out with it. No videos, sorry.

Share this post


Link to post
Share on other sites
Uranae    0

How do I do any of this? What does it mean to run the 'AddModCharacter' function? Can someone please explain everything to me or link me to a tutorial on how to actually add these functions?

Share this post


Link to post
Share on other sites
YAW Y33T    2
On 6/5/2018 at 11:51 PM, TricksterJohn said:

okay ignore the previous post i found out myself.

except this one error i keep getting:

  Hide contents

[00:01:14]: MOD ERROR: johnegbert (John): Mod: johnegbert (John)    
[00:01:18]: [string "../mods/workshop-1394008475/scripts/screens..."]:2: variable 'GLOBAL' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        ../mods/workshop-1394008475/scripts/screens/lobbyscreen.lua(2,1) in main chunk
        =[C] in function 'require'
        ../mods/workshop-835602689/modmain.lua(77,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(710,1) in function 'RunInEnvironment'
        scripts/mods.lua(513,1) in function 'InitializeModMain'
        scripts/mods.lua(487,1) in function 'LoadMods'
        scripts/main.lua(293,1) in function 'ModSafeStartup'
        scripts/main.lua(355,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(26,1) in function 'SavePersistentString'
        scripts/modindex.lua(80,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(67,1) in function 'BeginStartupSequence'
        scripts/main.lua(354,1) in function 'callback'
        scripts/modindex.lua(545,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(519,1) in function 'Load'
        scripts/main.lua(353,1) in main chunk
[00:01:18]: [string "scripts/mainfunctions.lua"]:1077: variable 'global_error_widget' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        scripts/mainfunctions.lua(1077,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(26,1) in function 'SavePersistentString'
        scripts/modindex.lua(80,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(67,1) in function 'BeginStartupSequence'
        scripts/main.lua(354,1) in function 'callback'
        scripts/modindex.lua(545,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(519,1) in function 'Load'
        scripts/main.lua(353,1) in main chunk
[00:01:18]: DoLuaFile Error: (null)
[00:01:18]: LuaError but no error string
[00:01:18]: Error loading main.lua
[00:01:18]: Failed mSimulation->Reset()
[00:01:18]: Error during game restart!
[00:01:19]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:01:19]: Collecting garbage...
[00:01:19]: lua_gc took 0.02 seconds
[00:01:19]: ~ShardLuaProxy()
[00:01:19]: ~ItemServerLuaProxy()
[00:01:19]: ~InventoryLuaProxy()
[00:01:19]: ~NetworkLuaProxy()
[00:01:19]: ~SimLuaProxy()
[00:01:19]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:01:19]: lua_close took 0.01 seconds
[00:01:20]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:01:20]: [Steam] Auth ticket cancelled
[00:01:20]:  Manager - ORPHANED UNKNOWN RESOURCES:
[00:01:20]: shaders/ui_yuv.ksh - 1
[00:01:20]: CurlRequestManager::ClientThread::Main() complete
[00:01:20]: HttpClient2 discarded 0 callbacks.
[00:01:20]: Shutting down
 

i have NO idea what this means and would like if someone helped me on what this could mean.

the global declare mod that the mod is asking for is either the modded skin mod or the patch

EDIT: upon examination, it's the patch

Just asking, what is "the patch"?

Also, I know this is a necropost, just don't bother me with useless replies about the necro.

Share this post


Link to post
Share on other sites
The Noon Fish    2187
On 8/6/2019 at 3:11 PM, YAW Y33T said:

what is "the patch"

"the patch" is probably referring to the fork fix/the forge fix, which broke after due to the widgets n whatnot where moved about that the API depended on.

Share this post


Link to post
Share on other sites
YAW Y33T    2
14 hours ago, The Noon Fish said:

"the patch" is probably referring to the fork fix/the forge fix, which broke after due to the widgets n whatnot where moved about that the API depended on.

So the mod is broken after The Forge?

Share this post


Link to post
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
Sign in to follow this