Jump to content

Weapon Coding


Recommended Posts

If I were to copy the code for the spear over, how do I make it so it can become a ranged weapon?  (I know how to redo the textures for it). Is it possible to change its durability/damage from the spear code? And how could I create a crafting recipe for the equippable?

Link to comment
Share on other sites

I don't know if it works the same for Together, but in DS solo you can manually change the range of the weapon. Simply put that code

inst.components.weapon:SetRange(0.6)

in the prefab of your weapon. 1 is the classic range, so if you want a greater range, increase it until you find what you want.

 

 

Durability can be changes using this:

    inst:AddComponent("finiteuses")    inst.components.finiteuses:SetMaxUses(175)    inst.components.finiteuses:SetUses(175)        inst.components.finiteuses:SetOnFinished( onfinished )

where 175 is the number of uses, of course. Once again, I don't know if it works like that for DST, but you can always give it a try.

 

 

Creating craft recipes is different in DST and I don't know how to do this, but you can read guides on the forum.

Link to comment
Share on other sites

If I were to copy the code for the spear over, how do I make it so it can become a ranged weapon?

 

I would suggest using an Ice staff as a base if you wish to make a ranged weapon.  As the ice staff has a projectile you can work off of if you intend on making the ranged weapon shoot out a projectile.

 

Using a spear as a base will let you create a melee weapon with a long melee attack range, which would be fine if you had no intention of using a projectile.

 

But you could always add a projectile on later if you know what to put.  It really depends on what your looking for.

 

 

 

And how could I create a crafting recipe for the equippable?

Put this in your mod main

 

Edit: My code is outdated, refer to kzisor




			
				


	Edited  by Zackreaver
	
	

			
		
Link to comment
Share on other sites

@Zackreaver

 

AddRecipeTab was added months ago for custom recipe tabs in DST. It takes the same arguments as the table you provided without the need for the str, it also returns the tab as a workable variable which can be used by recipe to shortcut your code. I recommend changing the example to the API as it's less code.

 

Also using AddRecipe no longer requires you to manually set the sortkey, this again was fixed months ago.

local custom_recipe_tab = AddRecipeTab("My New Tab", -- description3, -- sortkey"images/recipe_tab_image.xml", -- icon atlas"recipe_tab_image.tex", -- icon imagenil -- owner tag)AddRecipe("item prefab", -- Item which we are creating.{ GLOBAL.Ingredient("item prefab", 2) }, -- Ingredients for the recipe.custom_recipe_tab, -- Tab the recipe is located in.TECH.NONE, -- The crafting machine needed to learn the recipe.nil, -- Placer to show when placing structures.nil, -- Minimum spacing to allow between this structure and others when placing it.nil, -- Nounlock? I really don't know.nil, -- Number of items to give player when crafting this recipe.nil, -- Builder tag to make it character specific."images/item_image.xml", -- Image atlas file. "item_image.tex" -- Image texture file.)
Edited by Kzisor
Link to comment
Share on other sites

I added this code in the modmain.lua

 

 

-- The magical shovel gets added here

STRINGS.NAMES.MAGICSHOVEL = "Magical Shovel"

STRINGS.CHARACTERS.GENERIC.DESCRIBE.MAGICSHOVEL = ("Quite magical.")

 

local customweapon_recipe = AddRecipe("magicshovel", {Ingredient("thulecite_pieces", 25), Ingredient("twigs", 80)}, RECIPETABS.WAR, {SCIENCE = 0, MAGIC = 0, ANCIENT = 0})

    customweapon_recipe.atlas = GLOBAL.resolvefilepath("images/inventoryimages/magicshovel.xml")

    STRINGS.RECIPE_DESC.CUSTOMWEAPON = "A magical shovel."   

     

local recipes = 

{

    customweapon_recipe,

}

 

local sortkey = 729472 --Pick a random number for this, it lets clients craft the item

for k,v in pairs(recipes) do

    sortkey = sortkey - 1

    v.sortkey = sortkey

end

Link to comment
Share on other sites

@TacoChingChong, yeah that isn't the proper usage of the API. Zackreaver is using a method that is now obsolete. Use the code that I provided and you will see a significant difference; remember double hyphens (--) start comments. 

AddRecipe("magicshovel",{ GLOBAL.Ingredient("thulecite_piece", 25), GLOBAL.Ingredient("twigs", 80) },GLOBAL.RECIPETABS.WAR,GLOBAL.TECH.NONE,nil,nil,nil,nil,nil,"images/inventoryimages/magicshovel.xml","magicshovel.tex")

This is the only code you need now to make recipes work on clients. Everything else is handled by Klei's code.

Edited by Kzisor
Link to comment
Share on other sites

Will it break something?

 

You will change the axe recipe for all players.

If that's your intention, it's fine. You can also edit AllRecipes["axe"].

 

If you give the axe recipe a builder tag, remember that your AddRecipe will overwrite the existing recipe.

So you would lock all other characters without the tag out of the axe.

Link to comment
Share on other sites

@TacoChingChong, yeah that isn't the proper usage of the API. Zackreaver is using a method that is now obsolete. Use the code that I provided and you will see a significant difference; remember double hyphens (--) start comments. 

AddRecipe("magicshovel",{ GLOBAL.Ingredient("thulecite_piece", 25), GLOBAL.Ingredient("twigs", 80) },GLOBAL.RECIPETABS.WAR,GLOBAL.TECH.NONE,nil,nil,nil,nil,nil,"images/inventoryimages/magicshovel.xml","magicshovel.tex")

This is the only code you need now to make recipes work on clients. Everything else is handled by Klei's code.

 

When I do this it still crashes, but to me, it looks like the error is very simple to fix. It says unexpected symbol in modmain.lua near ')'

 

 

Here's all the code in modmain.lua up until line 52 which I believe is where the problem lies (it said something like :52: in the screenshot down below): 

 

PrefabFiles = {
"shovel", "magicshovel",
}
 
Assets = {
    Asset( "IMAGE", "images/saveslot_portraits/shovel.tex" ),
    Asset( "ATLAS", "images/saveslot_portraits/shovel.xml" ),
 
Asset( "IMAGE", "images/inventoryimages/magicshovel.tex" ),
    Asset( "ATLAS", "images/inventoryimages/magicshovel.xml" ),
 
    Asset( "IMAGE", "images/selectscreen_portraits/shovel.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/shovel.xml" ),
 
    Asset( "IMAGE", "images/selectscreen_portraits/shovel_silho.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/shovel_silho.xml" ),
 
    Asset( "IMAGE", "bigportraits/shovel.tex" ),
    Asset( "ATLAS", "bigportraits/shovel.xml" ),
 
Asset( "IMAGE", "images/map_icons/shovel.tex" ),
Asset( "ATLAS", "images/map_icons/shovel.xml" ),
 
Asset( "IMAGE", "images/avatars/avatar_shovel.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_shovel.xml" ),
 
Asset( "IMAGE", "images/avatars/avatar_ghost_shovel.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_ghost_shovel.xml" ),
 
}
 
local require = GLOBAL.require
local STRINGS = GLOBAL.STRINGS
 
-- The character select screen lines
STRINGS.CHARACTER_TITLES.shovel = "Shovel"
STRINGS.CHARACTER_NAMES.shovel = "Esc"
STRINGS.CHARACTER_DESCRIPTIONS.shovel = "*Has a magical shovel\n*Gains sanity when digs\n*Rusts(Takes damage from rain.)"
STRINGS.CHARACTER_QUOTES.shovel = "\"Do you except me as your lord and savior?\""
 
 
 
-- The magical shovel gets added here
STRINGS.NAMES.MAGICSHOVEL = "Magical Shovel"
STRINGS.CHARACTERS.GENERIC.DESCRIBE.MAGICSHOVEL = ("Quite magical.")
 
local custom_recipe_tab = AddReciptTab("Shovel's Tab", -- description
3, -- sortkey
"images/recipe_tab_image.xml", -- icon atlas
"recipe_tab_image.tex", -- icon image
nil, -- owner tag
)
 
 
 
 
Here is a screenshot as well:

post-670687-0-57262500-1436898979_thumb.

Edited by TacoChingChong
Link to comment
Share on other sites

@TacoChingChong, copy and paste the AddRecipe code that I posted right above this last post. The code you copy/pasted was for the custom recipe tab.

local custom_recipe_tab = AddReciptTab("Shovel's Tab", -- description3, -- sortkey"images/recipe_tab_image.xml", -- icon atlas"recipe_tab_image.tex", -- icon imagenil -- owner tag) 

This is the recipe tab fixed.

 

Link to comment
Share on other sites

@TacoChingChong, copy and paste the AddRecipe code that I posted right above this last post. The code you copy/pasted was for the custom recipe tab.

local custom_recipe_tab = AddReciptTab("Shovel's Tab", -- description3, -- sortkey"images/recipe_tab_image.xml", -- icon atlas"recipe_tab_image.tex", -- icon imagenil -- owner tag) 

This is the recipe tab fixed.

This is what I did (before it crashed):

 

local custom_recipe_tab = AddReciptTab("Shovel's Tab", -- description
3, -- sortkey
"images/recipe_tab_image.xml", -- icon atlas
"recipe_tab_image.tex", -- icon image
nil -- owner tag
 
AddRecipe("magicshovel", -- Item which we are creating.
{ GLOBAL.Ingredient("shovel", 50) }, -- Ingredients for the recipe.
custom_recipe_tab, -- Tab the recipe is located in.
TECH.NONE, -- The crafting machine needed to learn the recipe.
nil, -- Placer to show when placing structures.
nil, -- Minimum spacing to allow between this structure and others when placing it.
nil, -- Nounlock? I really don't know.
nil, -- Number of items to give player when crafting this recipe.
nil, -- Builder tag to make it character specific.
"images/item_image.xml", -- Image atlas file. 
"item_image.tex" -- Image texture file.
)
Link to comment
Share on other sites

@TacoChingChong, I need the crash data from the log.txt file to actually see what error it's giving you. Please look in your Documents/Klei/DontStarveTogether folder for the log.txt and post the error. 

There.

[00:00:00]: Starting Up
[00:00:00]: Version: 142718
[00:00:00]: Current time: Tue Jul 14 17:09:52 2015
 
[00:00:00]: Don't Starve Together: 142718 WIN32_STEAM
NNN Build Date: 2015-07-10_11-55-42
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: 
[00:00:00]: Initializin Minidump handler
[00:00:00]: ....Done
[00:00:00]: Initializing Steam
[00:00:00]: Steam AppBuildID: 690955
[00:00:00]: Steam BetaName(Branch): []
[00:00:00]: ....Done
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (7396)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:04]: ProfileIndex:15.38
[00:00:04]: Network tick rate: U=15(2), D=0
[00:00:04]: THREAD - started 'GAClient' (8180)
[00:00:04]: HttpClient::ClientThread::Main()
[00:00:04]: THREAD - started 'GAClient' (8028)
[00:00:04]: HttpClient::ClientThread::Main()
[00:00:04]: Network tick rate: U=15(2), D=0
[00:00:04]: Authorized application C:\Users\Dan123\Desktop\SuperLamp\SuperLamp\Desktop\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe is enabled in the firewall.
[00:00:04]: WindowsFirewall - Application already authorized
[00:00:04]: loaded ping_cache
[00:00:04]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Success)
[00:00:04]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)
[00:00:04]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)
[00:00:04]: Offline user name: OU_76561198122636620
[00:00:04]: SteamID: 76561198122636620
[00:00:04]: cGame::InitializeOnMainThread
[00:00:04]: WindowManager::Initialize
[00:00:04]: CreateWindow: Requesting 1280,720 - 5/6/5 - -1/-1/-1 - 0
[00:00:04]: THREAD - started 'GAClient' (3624)
[00:00:04]: HttpClient::ClientThread::Main()
[00:00:05]: THREAD - started 'GAClient' (3792)
[00:00:05]: HttpClient::ClientThread::Main()
[00:00:05]: CreateEGLContext: 16 configs found
[00:00:05]:      0: 8/8/8 -  0/ 0/ 0 - 0
[00:00:05]:      1: 8/8/8 -  0/16/ 0 - 0
[00:00:05]:      2: 8/8/8 -  0/24/ 0 - 0
[00:00:05]:      3: 8/8/8 -  0/24/ 8 - 0
[00:00:05]:      4: 5/5/5 -  0/ 0/ 0 - 0
[00:00:05]:      5: 5/5/5 -  1/ 0/ 0 - 0
[00:00:05]:      6: 5/5/5 -  0/16/ 0 - 0
[00:00:05]:      7: 5/5/5 -  1/16/ 0 - 0
[00:00:05]:      8: 5/5/5 -  0/24/ 0 - 0
[00:00:05]:      9: 5/5/5 -  1/24/ 0 - 0
[00:00:05]:     10: 5/5/5 -  0/24/ 8 - 0
[00:00:05]:     11: 5/5/5 -  1/24/ 8 - 0
[00:00:05]:     12: 8/8/8 -  8/ 0/ 0 - 0
[00:00:05]:     13: 8/8/8 -  8/16/ 0 - 0
[00:00:05]:     14: 8/8/8 -  8/24/ 0 - 0
[00:00:05]:     15: 8/8/8 -  8/24/ 8 - 0
[00:00:05]: WindowManager::SetFullscreen(0, 1280, 720, 60)
[00:00:06]: GLInfo
[00:00:06]: ~~~~~~
[00:00:06]: GL_VENDOR: Google Inc.
[00:00:06]: GL_RENDERER: ANGLE (Intel® HD Graphics Family)
[00:00:06]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)
[00:00:06]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)
[00:00:06]: OpenGL extensions (21, 21):
[00:00:06]: GL_ANGLE_depth_texture
[00:00:06]: GL_ANGLE_framebuffer_blit
[00:00:06]: GL_ANGLE_framebuffer_multisample
[00:00:06]: GL_ANGLE_instanced_arrays
[00:00:06]: GL_ANGLE_pack_reverse_row_order
[00:00:06]: GL_ANGLE_texture_compression_dxt3
[00:00:06]: GL_ANGLE_texture_compression_dxt5
[00:00:06]: GL_ANGLE_texture_usage
[00:00:06]: GL_ANGLE_translated_shader_source
[00:00:06]: GL_EXT_read_format_bgra
[00:00:06]: GL_EXT_robustness
[00:00:06]: GL_EXT_texture_compression_dxt1
[00:00:06]: GL_EXT_texture_format_BGRA8888
[00:00:06]: GL_EXT_texture_storage
[00:00:06]: GL_OES_get_program_binary
[00:00:06]: GL_OES_packed_depth_stencil
[00:00:06]: GL_OES_rgb8_rgba8
[00:00:06]: GL_OES_standard_derivatives
[00:00:06]: GL_OES_texture_float_linear
[00:00:06]: GL_OES_texture_half_float_linear
[00:00:06]: GL_OES_texture_npot
[00:00:06]: GL_MAX_TEXTURE_SIZE = 4096
[00:00:06]: GL_MAX_TEXTURE_IMAGE_UNITS = 16
[00:00:06]: GL_MAX_RENDERBUFFER_SIZE = 4096
[00:00:06]: GL_MAX_VIEWPORT_DIMS = 4096, 4096
[00:00:06]: GL_MAX_VARYING_VECTORS = 10
[00:00:06]: GL_MAX_VERTEX_ATTRIBS = 16
[00:00:06]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254
[00:00:06]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4
[00:00:06]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221
[00:00:06]: 4 compressed texture formats
[00:00:06]: texture format 0x83f0
[00:00:06]: texture format 0x83f1
[00:00:06]: texture format 0x83f2
[00:00:06]: texture format 0x83f3
[00:00:06]: THREAD - started 'WindowsInputManager' (4912)
[00:00:06]: Renderer initialize: Okay
[00:00:08]: AnimManager initialize: Okay
[00:00:08]: Buffers initialize: Okay
[00:00:09]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:09]: GameSpecific initialize: Okay
[00:00:09]: cGame::StartPlaying
[00:00:09]: LOADING LUA
[00:00:09]: DoLuaFile scripts/main.lua
[00:00:09]: DoLuaFile loading buffer scripts/main.lua
[00:00:09]: scripts/main.lua(169,1) running main.lua
 
[00:00:09]: loaded modindex
[00:00:09]: ModIndex: Beginning normal load sequence.
 
[00:00:13]: LOADING LUA SUCCESS
[00:00:13]: PlayerDeaths loaded morgue 2054
[00:00:13]: loaded profile
[00:00:13]: bloom_enabled false
[00:00:13]: loaded saveindex
[00:00:13]: OnFilesLoaded()
[00:00:13]: OnUpdatePurchaseStateComplete
[00:00:19]: Load FE
[00:00:20]: Load FE: done
[00:00:20]: platform_motd table: 142A5460
[00:00:20]: SimLuaProxy::QueryServer()
[00:00:20]: SimLuaProxy::QueryServer()
[00:00:20]: SimLuaProxy::QueryServer()
[00:00:20]: ModIndex: Load sequence finished successfully.
[00:00:20]: Reset() returning
[00:00:22]: platform_motd table: 0DC63F20
[00:00:23]: GetCachedUGCCount 0
[00:00:23]: EnumerateUserSubscribedFiles(0)
[00:00:23]: OnEnumerateUserSubscribedFilesResult 
[00:00:23]:    EResult 1, results 38/38
[00:00:23]: Enum complete. Found 38 mods.
[00:00:23]: DeleteUnsubscribedFiles [../mods,false]
[00:00:23]: FindDirectoriesMatching [../mods/workshop-*]
[00:00:23]: GetPublishedFileDetails(0)
[00:00:23]: Getting mod details...
[00:00:23]: OnPublishedFileDetailsResult 
[00:00:23]:    EResult 1, 384396097
[00:00:23]:    245850, 322330, [DST Spider Cage], 34112262289645658, 34110365651278066, 76561197989646930, 1422704392, 1424639320, 0, 0, [item,pet,creature,environment,scenario,other,version:1.2], 208, [mod_publish_data_file.zip], 217121, 265406, [], 0
[00:00:23]: GetPublishedFileDetails(1)
[00:00:23]: Getting mod details...
[00:00:24]: OnPublishedFileDetailsResult 
[00:00:24]:    EResult 1, 416991215
[00:00:24]:    245850, 322330, [Dusk and Night Music DST], 534018071213497704, 532889006059405819, 76561198067527994, 1427773807, 1430575652, 0, 0, [other,reign of giants compatible,version:1.1.2,client_only_mod], 208, [mod_publish_data_file.zip], 5893419, 334499, [], 0
[00:00:24]: GetPublishedFileDetails(2)
[00:00:24]: Getting mod details...
[00:00:24]: OnPublishedFileDetailsResult 
[00:00:24]:    EResult 1, 369588618
[00:00:24]:    245850, 322330, [Renewable World], 546393011951522045, 550895166374650297, 76561198004492661, 1420418721, 1421220960, 0, 0, [environment,tweak,version:1.12], 208, [mod_publish_data_file.zip], 16997, 53443, [], 0
[00:00:24]: GetPublishedFileDetails(3)
[00:00:24]: Getting mod details...
[00:00:25]: OnPublishedFileDetailsResult 
[00:00:25]:    EResult 1, 459327570
[00:00:25]:    245850, 322330, [The Heavy 2.0 Fix], 6187165659027887363, 693899764588696889, 76561198079607287, 1434047605, 1434282958, 0, 0, [all_clients_require_mod,character,reign of giants compatible,version:1.8], 208, [mod_publish_data_file.zip], 1096782, 14155, [], 0
[00:00:25]: GetPublishedFileDetails(4)
[00:00:25]: Getting mod details...
[00:00:25]: OnPublishedFileDetailsResult 
[00:00:25]:    EResult 1, 421506496
[00:00:25]:    245850, 322330, [Mr. Mundy the Sniper (Reign of Giants Together)], 532894792281113615, 530638296075064967, 76561198041663348, 1428458781, 1432787183, 0, 0, [character,all_clients_require_mod,version:3.10], 208, [mod_publish_data_file.zip], 1611485, 201415, [], 0
[00:00:25]: GetPublishedFileDetails(5)
[00:00:25]: Getting mod details...
[00:00:26]: OnPublishedFileDetailsResult 
[00:00:26]:    EResult 1, 391086703
[00:00:26]:    245850, 322330, [The Regenerating Mutant, Heather -- DST], 29609754485978148, 29609754485978646, 76561198061334972, 1423715419, 1425423169, 0, 0, [character,art,version:1.2.2], 208, [mod_publish_data_file.zip], 1568380, 495917, [], 0
[00:00:26]: GetPublishedFileDetails(6)
[00:00:26]: Getting mod details...
[00:00:26]: OnPublishedFileDetailsResult 
[00:00:26]:    EResult 1, 396240787
[00:00:26]:    245850, 322330, [Ash Fertilizer], 520511262605333110, 537389518013685674, 76561197988230937, 1424504765, 1434405447, 0, 0, [all_clients_require_mod,item,tweak,version:1.021], 208, [mod_publish_data_file.zip], 104703, 79303, [], 0
[00:00:26]: GetPublishedFileDetails(7)
[00:00:26]: Getting mod details...
[00:00:27]: OnPublishedFileDetailsResult 
[00:00:27]:    EResult 1, 346968521
[00:00:27]:    245850, 322330, [DST In Wilson's House], 34112262289562810, 30726776937451101, 76561197989646930, 1416988513, 1424637463, 0, 0, [item,environment,scenario,version:1.5], 208, [mod_publish_data_file.zip], 373216, 391892, [], 0
[00:00:27]: GetPublishedFileDetails(8)
[00:00:27]: Getting mod details...
[00:00:27]: OnPublishedFileDetailsResult 
[00:00:27]:    EResult 1, 376333686
[00:00:27]:    245850, 322330, [Always On Status], 457463221695082246, 539643766794230713, 76561198025931302, 1421476256, 1436492701, 0, 0, [client_only_mod,interface,reign of giants compatible,tweak,utility,version:1.1.6], 208, [mod_publish_data_file.zip], 37718, 118758, [], 0
[00:00:27]: GetPublishedFileDetails(9)
[00:00:27]: Getting mod details...
[00:00:27]: OnPublishedFileDetailsResult 
[00:00:27]:    EResult 1, 347360448
[00:00:27]:    245850, 322330, [DST Where's My Beefalo?], 32983741954743163, 30726776963402451, 76561197989646930, 1417070769, 1421830613, 0, 0, [creature,environment,utility,tweak,reign of giants compatible,version:1.4], 208, [mod_publish_data_file.zip], 79032, 275659, [], 0
[00:00:27]: GetPublishedFileDetails(10)
[00:00:27]: Getting mod details...
[00:00:28]: OnPublishedFileDetailsResult 
[00:00:28]:    EResult 1, 375859599
[00:00:28]:    245850, 322330, [Health Info], 27365724733762861, 27354417260209471, 76561198025486794, 1421415526, 1433042259, 0, 0, [character,creature,interface,utility,other,version:1.4.5,all_clients_require_mod], 208, [mod_publish_data_file.zip], 96755, 68108, [], 0
[00:00:28]: GetPublishedFileDetails(11)
[00:00:28]: Getting mod details...
[00:00:29]: OnPublishedFileDetailsResult 
[00:00:29]:    EResult 1, 375850593
[00:00:29]:    245850, 322330, [Extra Equip Slots], 27363113115470673, 27354791258718394, 76561198025486794, 1421414248, 1430312817, 0, 0, [item,interface,utility,tweak,all_clients_require_mod,version:1.6.0], 208, [mod_publish_data_file.zip], 115403, 53413, [], 0
[00:00:29]: GetPublishedFileDetails(12)
[00:00:29]: Getting mod details...
[00:00:29]: OnPublishedFileDetailsResult 
[00:00:29]:    EResult 1, 345692228
[00:00:29]:    245850, 322330, [Minimap HUD], 39735969223903808, 558737771725946190, 76561197960431333, 1416731898, 1418960751, 0, 0, [interface,version:1.0.4b], 208, [mod_publish_data_file.zip], 12064, 41782, [], 0
[00:00:29]: GetPublishedFileDetails(13)
[00:00:29]: Getting mod details...
[00:00:29]: OnPublishedFileDetailsResult 
[00:00:29]:    EResult 1, 354415247
[00:00:29]:    245850, 322330, [Throwable Spears], 534010466778341529, 538508994011816243, 76561198025931302, 1418295646, 1423096448, 0, 0, [item,reign of giants compatible,version:1.7], 208, [mod_publish_data_file.zip], 32707, 15823, [], 0
[00:00:29]: GetPublishedFileDetails(14)
[00:00:29]: Getting mod details...
[00:00:30]: OnPublishedFileDetailsResult 
[00:00:30]:    EResult 1, 382177939
[00:00:30]:    245850, 322330, [DST Storm Cellar], 34121686742514309, 32984290994027638, 76561197989646930, 1422345955, 1433585269, 0, 0, [item,environment,scenario,version:1.8,all_clients_require_mod], 208, [mod_publish_data_file.zip], 287385, 239026, [], 0
[00:00:30]: GetPublishedFileDetails(15)
[00:00:30]: Getting mod details...
[00:00:30]: OnPublishedFileDetailsResult 
[00:00:30]:    EResult 1, 352373173
[00:00:30]:    245850, 322330, [Gesture Wheel], 521637598943609061, 536256758327327300, 76561198025931302, 1417912324, 1434831749, 0, 0, [client_only_mod,interface,tweak,utility,version:1.3.3,featured], 208, [mod_publish_data_file.zip], 17671, 122302, [], 0
[00:00:30]: GetPublishedFileDetails(16)
[00:00:30]: Getting mod details...
[00:00:31]: OnPublishedFileDetailsResult 
[00:00:31]:    EResult 1, 356420397
[00:00:31]:    245850, 322330, [No More Respawn Penalty], 45369364715740478, 41987135210699169, 76561197995674894, 1418605304, 1422589626, 0, 0, [tweak,other,version:1.2], 208, [mod_publish_data_file.zip], 24694, 6907, [], 0
[00:00:31]: GetPublishedFileDetails(17)
[00:00:31]: Getting mod details...
[00:00:31]: OnPublishedFileDetailsResult 
[00:00:31]:    EResult 1, 418604101
[00:00:31]:    245850, 322330, [steampunk DST], 713037074890090886, 711907722924371090, 76561198062720007, 1428042756, 1431282586, 0, 0, [item,pet,creature,art,tweak,reign of giants compatible,version:1.03,all_clients_require_mod], 208, [mod_publish_data_file.zip], 1280638, 136232, [], 0
[00:00:31]: GetPublishedFileDetails(18)
[00:00:31]: Getting mod details...
[00:00:32]: OnPublishedFileDetailsResult 
[00:00:32]:    EResult 1, 365119238
[00:00:32]:    245850, 322330, [smarter Crock Pot], 521637162497863345, 3281172720287038854, 76561198025317013, 1419881314, 1434095594, 0, 0, [client_only_mod,interface,reign of giants compatible,tweak,utility,version:3.21], 208, [mod_publish_data_file.zip], 62453, 30514, [], 0
[00:00:32]: GetPublishedFileDetails(19)
[00:00:32]: Getting mod details...
[00:00:32]: OnPublishedFileDetailsResult 
[00:00:32]:    EResult 1, 463919131
[00:00:32]:    245850, 322330, [Wilton, The Skeleton], 26241976470964585, 26241630645087944, 76561198084132616, 1434651524, 1434828010, 0, 0, [all_clients_require_mod,art,character,environment,item,reign of giants compatible,version:0.0.3], 208, [mod_publish_data_file.zip], 1936170, 532658, [], 0
[00:00:32]: GetPublishedFileDetails(20)
[00:00:32]: Getting mod details...
[00:00:33]: OnPublishedFileDetailsResult 
[00:00:33]:    EResult 1, 463740026
[00:00:33]:    245850, 322330, [Personal Chesters], 514882136064604232, 514882136064604375, 76561198067527994, 1434632315, 1434632315, 0, 0, [pet,version:1.0,all_clients_require_mod], 208, [mod_publish_data_file.zip], 17165, 601960, [], 0
[00:00:33]: GetPublishedFileDetails(21)
[00:00:33]: Getting mod details...
[00:00:33]: OnPublishedFileDetailsResult 
[00:00:33]:    EResult 1, 462498863
[00:00:33]:    245850, 322330, [Claymore], 43130180929502528, 43129702107894944, 76561198050798273, 1434467450, 1434532802, 0, 0, [all_clients_require_mod,item,version:1.03], 208, [mod_publish_data_file.zip], 96998, 104068, [], 0
[00:00:33]: GetPublishedFileDetails(22)
[00:00:33]: Getting mod details...
[00:00:34]: OnPublishedFileDetailsResult 
[00:00:34]:    EResult 1, 353697884
[00:00:34]:    245850, 322330, [Craftable Gears For DST], 36358269626394604, 34105399950921654, 76561198048222787, 1418142577, 1419270395, 0, 0, [item,version:2.0.7], 208, [mod_publish_data_file.zip], 63232, 60496, [], 0
[00:00:34]: GetPublishedFileDetails(23)
[00:00:34]: Getting mod details...
[00:00:34]: OnPublishedFileDetailsResult 
[00:00:34]:    EResult 1, 458940297
[00:00:34]:    245850, 322330, [Food Values - Item Tooltips (Server and Client)], 521637598942657276, 521637598935719916, 76561198029173411, 1433980137, 1434811608, 0, 0, [all_clients_require_mod,interface,version:2.5], 208, [mod_publish_data_file.zip], 242008, 81992, [], 0
[00:00:34]: GetPublishedFileDetails(24)
[00:00:34]: Getting mod details...
[00:00:34]: OnPublishedFileDetailsResult 
[00:00:34]:    EResult 1, 378160973
[00:00:34]:    245850, 322330, [Global Positions], 450706552922321637, 535134943326895647, 76561198025931302, 1421708386, 1435123304, 0, 0, [all_clients_require_mod,interface,utility,version:1.3.3], 208, [mod_publish_data_file.zip], 95240, 112042, [], 0
[00:00:34]: GetPublishedFileDetails(25)
[00:00:34]: Getting mod details...
[00:00:35]: OnPublishedFileDetailsResult 
[00:00:35]:    EResult 1, 447092740
[00:00:35]:    245850, 322330, [More Actions], 514882652664411535, 534020142361082147, 76561198066992329, 1432314729, 1435055624, 0, 0, [all_clients_require_mod,character,creature,environment,version:1.2.7], 208, [mod_publish_data_file.zip], 116526, 315366, [], 0
[00:00:35]: GetPublishedFileDetails(26)
[00:00:35]: Getting mod details...
[00:00:35]: OnPublishedFileDetailsResult 
[00:00:35]:    EResult 1, 461627386
[00:00:35]:    245850, 322330, [Madoka Kaname], 523889851073677729, 523888962323864729, 76561198046032840, 1434339185, 1435001562, 0, 0, [all_clients_require_mod,character,version:1.1.9], 208, [mod_publish_data_file.zip], 2110021, 455849, [], 0
[00:00:35]: GetPublishedFileDetails(27)
[00:00:35]: Getting mod details...
[00:00:35]: OnPublishedFileDetailsResult 
[00:00:35]:    EResult 1, 468856987
[00:00:35]:    245850, 322330, [Meet the Pyro], 448455622241544113, 448454842779968356, 76561197986594796, 1435237656, 1435945952, 0, 0, [all_clients_require_mod,character,reign of giants compatible,version:1.2.1.1], 208, [mod_publish_data_file.zip], 3862292, 340782, [], 0
[00:00:35]: GetPublishedFileDetails(28)
[00:00:35]: Getting mod details...
[00:00:36]: OnPublishedFileDetailsResult 
[00:00:36]:    EResult 1, 469801526
[00:00:36]:    245850, 322330, [Ancient Items pack: DST [WIP]], 686020049466110160, 686020049466110319, 76561198032773564, 1435349163, 1435577091, 0, 0, [all_clients_require_mod,environment,interface,item,version:0.1d], 208, [mod_publish_data_file.zip], 289592, 43304, [], 0
[00:00:36]: GetPublishedFileDetails(29)
[00:00:36]: Getting mod details...
[00:00:36]: OnPublishedFileDetailsResult 
[00:00:36]:    EResult 1, 356435289
[00:00:36]:    245850, 322330, [DST Fish Farm], 34118850567305877, 32979935965882322, 76561197989646930, 1418608048, 1430638772, 0, 0, [item,environment,scenario,version:1.5,all_clients_require_mod], 208, [mod_publish_data_file.zip], 501874, 307308, [], 0
[00:00:36]: GetPublishedFileDetails(30)
[00:00:36]: Getting mod details...
[00:00:37]: OnPublishedFileDetailsResult 
[00:00:37]:    EResult 1, 373991022
[00:00:37]:    245850, 322330, [Global Player Icons], 543019017990774213, 539637611886990194, 76561197970349754, 1421061012, 1424608926, 0, 0, [interface,utility,tweak,version:1.14], 208, [mod_publish_data_file.zip], 393726, 390830, [], 0
[00:00:37]: GetPublishedFileDetails(31)
[00:00:37]: Getting mod details...
[00:00:37]: OnPublishedFileDetailsResult 
[00:00:37]:    EResult 1, 359460158
[00:00:37]:    245850, 322330, [Jane Doe the Soldier (Together)], 532894792281108137, 47620283063627208, 76561198041663348, 1419136273, 1432787057, 0, 0, [character,version:3.6,all_clients_require_mod], 208, [mod_publish_data_file.zip], 1489940, 194076, [], 0
[00:00:37]: GetPublishedFileDetails(32)
[00:00:37]: Getting mod details...
[00:00:38]: OnPublishedFileDetailsResult 
[00:00:38]:    EResult 1, 379628839
[00:00:38]:    245850, 322330, [The Medic], 522763483075623751, 522762879943732161, 76561198129896255, 1421968299, 1434609851, 0, 0, [all_clients_require_mod,art,character,reign of giants compatible,version:1.0.2], 208, [mod_publish_data_file.zip], 1375514, 1028104, [], 0
[00:00:38]: GetPublishedFileDetails(33)
[00:00:38]: Getting mod details...
[00:00:38]: OnPublishedFileDetailsResult 
[00:00:38]:    EResult 1, 479169756
[00:00:38]:    245850, 322330, [Wynn, the Environmentalist], 451833722164432943, 451833722164433893, 76561198010671281, 1436569235, 1436569235, 0, 0, [character,art,version:1.0,all_clients_require_mod], 208, [mod_publish_data_file.zip], 15035757, 233397, [], 0
[00:00:38]: GetPublishedFileDetails(34)
[00:00:38]: Getting mod details...
[00:00:38]: OnPublishedFileDetailsResult 
[00:00:38]:    EResult 1, 478650733
[00:00:38]:    245850, 322330, [Midna], 450708155973199000, 450707956923195154, 76561198079242232, 1436496918, 1436818436, 0, 0, [all_clients_require_mod,character,version:1.3], 208, [mod_publish_data_file.zip], 2991787, 304342, [], 0
[00:00:38]: GetPublishedFileDetails(35)
[00:00:38]: Getting mod details...
[00:00:39]: OnPublishedFileDetailsResult 
[00:00:39]:    EResult 1, 357246491
[00:00:39]:    245850, 322330, [Craftable Krampus Sack], 549769266432348380, 549769266432349694, 76561198097499314, 1418769502, 1420329900, 0, 0, [item,reign of giants compatible,version:8.0], 208, [mod_publish_data_file.zip], 254193, 253570, [], 0
[00:00:39]: GetPublishedFileDetails(36)
[00:00:39]: Getting mod details...
[00:00:39]: OnPublishedFileDetailsResult 
[00:00:39]:    EResult 1, 474747576
[00:00:39]:    245850, 322330, [Ratchet DST], 443952665464012377, 437196388584761039, 76561198043674682, 1435971638, 1436723356, 0, 0, [all_clients_require_mod,art,character,environment,version:1.2.4,worldgen], 208, [mod_publish_data_file.zip], 3876253, 472330, [], 0
[00:00:39]: GetPublishedFileDetails(37)
[00:00:39]: Getting mod details...
[00:00:40]: OnPublishedFileDetailsResult 
[00:00:40]:    EResult 1, 480828003
[00:00:40]:    245850, 322330, [Fiddlesticks, The Harbinger of Doom], 442827028243464363, 442827028243465343, 76561198023885721, 1436799687, 1436799687, 0, 0, [character,version:1,all_clients_require_mod], 208, [mod_publish_data_file.zip], 1466816, 83917, [], 0
[00:00:40]: Mod listing complete.
[00:00:40]: SteamWorkshop::CompleteCallback (success, Refreshing mods complete. Nothing new to download.) set
[00:00:40]: SimLuaProxy::OnUpdateWorkshopModsComplete(ok., Refreshing mods complete. Nothing new to download.)
[00:00:40]: Reloading Mod Info Prefabs
[00:00:40]: WARNING: icon paths for mod workshop-478650733 (Midna) are not valid. Got icon_atlas="modicon.xml" and icon="modicon.tex".
Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua.
[00:00:40]: Loading Mod Info Prefabs
[00:00:40]: Unloading Mod Info Prefabs
[00:00:40]: QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}
[00:00:40]: ../mods/workshop-375859599/preview.tex is 200x200 but compressed textures must have power of 2 dimensions.
[00:00:41]: ### OnStatsQueried ###
[00:00:41]: {"modlinks":{"ws-Global Positions":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=378160973","ws-Smarter Crock Pot":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=365119238","ws-Increased Stack size":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=374550642","ws-DST Where's My Beefalo?":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=347360448","ws-DST Storm Cellar":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=382177939","ws-Global Player Icons":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=373991022","ws-Health Info":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=375859599","ws-Personal Chesters":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=463740026","ws-Always On Status":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=376333686","ws-Minimap HUD":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=345692228","ws-Wall Gates [DST]":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=357875628","ws-Display Food Values":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=347079953","ws-Deluxe Campfires 2.11":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=444235588","ws-More Actions":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=447092740","ws-Fast Travel":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=458587300","ws-Large Chest":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=396026892","ws-Gesture Wheel":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=352373173","ws-Food Values - Item Tooltips (Server and Client)":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=458940297","ws-Wormhole Marks [DST]":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=362175979","ws-Extra Equip Slots":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=375850593"},"modfeature":{"ws-Global Player Icons":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=373991022"},"modnames":["ws-Global Player Icons","ws-Extra Equip Slots","ws-Always On Status","ws-Minimap HUD","ws-Health Info","ws-Display Food Values","ws-Smarter Crock Pot","ws-Global Positions","ws-Wormhole Marks [DST]","ws-DST Storm Cellar","ws-Increased Stack size","ws-Food Values - Item Tooltips (Server and Client)","ws-DST Where's My Beefalo?","ws-Large Chest","ws-Wall Gates [DST]","ws-Gesture Wheel","ws-Personal Chesters","ws-Deluxe Campfires 2.11","ws-Fast Travel","ws-More Actions"]}
 
[00:00:41]: 
[00:00:41]: true
[00:00:41]: 200
[00:00:48]: Unloading Mod Info Prefabs
[00:00:48]: Collecting garbage...
[00:00:48]: lua_gc took 0.03 seconds
[00:00:48]: ~NetworkLuaProxy()
[00:00:48]: ~SimLuaProxy()
[00:00:48]: lua_close took 0.03 seconds
[00:00:48]: ReleaseAll
[00:00:48]: ReleaseAll Finished
[00:00:48]: cGame::StartPlaying
[00:00:48]: LOADING LUA
[00:00:48]: DoLuaFile scripts/main.lua
[00:00:48]: DoLuaFile loading buffer scripts/main.lua
[00:00:48]: scripts/main.lua(169,1) running main.lua
 
[00:00:48]: loaded modindex
[00:00:48]: ModIndex: Beginning normal load sequence.
 
[00:00:49]: ModIndex:GetModsToLoad inserting moddir, Shovel
[00:00:49]: Could not load mod_config_data/modconfiguration_Shovel
[00:00:49]: Loading mod: Shovel Version:1.0.0
[00:00:49]: Mod: Shovel Loading modworldgenmain.lua
[00:00:49]: Mod: Shovel  Mod had no modworldgenmain.lua. Skipping.
[00:00:49]: Mod: Shovel Loading modmain.lua
[00:00:49]: Mod: Shovel  Error loading mod!
[string "../mods/Shovel/modmain.lua"]:47: attempt to call global 'AddReciptTab' (a nil value)
LUA ERROR stack traceback:
        ../mods/Shovel/modmain.lua(47,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(560,1) in function 'RunInEnvironment'
        scripts/mods.lua(382,1) in function 'InitializeModMain'
        scripts/mods.lua(363,1) in function 'LoadMods'
        scripts/main.lua(248,1) in function 'ModSafeStartup'
        scripts/main.lua(296,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(25,1) in function 'SavePersistentString'
        scripts/modindex.lua(78,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(65,1) in function 'BeginStartupSequence'
        scripts/main.lua(295,1) in function 'callback'
        scripts/modindex.lua(474,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(451,1) in function 'Load'
        scripts/main.lua(294,1) in main chunk
 
[00:00:49]: [string "../mods/Shovel/modmain.lua"]:47: attempt to call global 'AddReciptTab' (a nil value)
LUA ERROR stack traceback:
        ../mods/Shovel/modmain.lua(47,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(560,1) in function 'RunInEnvironment'
        scripts/mods.lua(382,1) in function 'InitializeModMain'
        scripts/mods.lua(363,1) in function 'LoadMods'
        scripts/main.lua(248,1) in function 'ModSafeStartup'
        scripts/main.lua(296,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(25,1) in function 'SavePersistentString'
        scripts/modindex.lua(78,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(65,1) in function 'BeginStartupSequence'
        scripts/main.lua(295,1) in function 'callback'
        scripts/modindex.lua(474,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(451,1) in function 'Load'
        scripts/main.lua(294,1) in main chunk
[00:00:49]: Error error! We tried displaying an error but TheFrontEnd isn't ready yet...
[00:00:49]: LOADING LUA SUCCESS
[00:00:49]: PlayerDeaths loaded morgue 2054
[00:00:49]: loaded profile
[00:00:49]: bloom_enabled false
[00:00:49]: loaded saveindex
[00:00:49]: OnFilesLoaded()
[00:00:49]: OnUpdatePurchaseStateComplete
[00:00:49]: Unload BE
[00:00:49]: Unload BE done
[00:00:53]: Mod: Shovel Registering prefabs
[00:00:53]: Mod: Shovel  Registering prefab file: prefabs/shovel
[00:00:53]: Mod: Shovel    shovel
[00:00:53]: Mod: Shovel  Registering prefab file: prefabs/magicshovel
[00:00:53]: error calling LoadPrefabFile in mod Shovel: 
[string "scripts/util.lua"]:396: Could not find an asset matching anim/magicshovel.zip in any of the search paths.
LUA ERROR stack traceback:
        =[C] in function 'assert'
        scripts/util.lua(396,1) in function 'resolvefilepath'
        scripts/mainfunctions.lua(73,1) in function 'RegisterPrefabs'
        scripts/mainfunctions.lua(100,1)
        =(tail call) ?
        =[C] in function 'xpcall'
        scripts/mods.lua(144,1)
        scripts/mods.lua(469,1) in function 'RegisterPrefabs'
        scripts/gamelogic.lua(167,1) in function 'LoadAssets'
        scripts/gamelogic.lua(906,1) in function 'DoResetAction'
        scripts/gamelogic.lua(924,1) in function 'complete_callback'
...
        =[C] in function 'GetPersistentString'
        scripts/saveindex.lua(68,1) in function 'Load'
        scripts/gamelogic.lua(955,1) in function 'callback'
        scripts/playerprofile.lua(564,1) in function 'Set'
        scripts/playerprofile.lua(447,1)
        =[C] in function 'GetPersistentString'
        scripts/playerprofile.lua(445,1) in function 'Load'
        scripts/gamelogic.lua(954,1) in main chunk
        =[C] in function 'require'
        scripts/mainfunctions.lua(691,1)
[00:00:53]: Disabling Shovel because it had an error.
[00:00:53]: Disabling Shovel because it had an error.
[00:00:53]: SCRIPT ERROR! Showing error screen
[00:00:53]: Mod: Shovel  Registering default mod prefab
[00:00:53]: ModIndex: Load sequence finished successfully.
[00:00:53]: Reset() returning
[00:01:01]: Collecting garbage...
[00:01:01]: lua_gc took 0.02 seconds
[00:01:01]: ~NetworkLuaProxy()
[00:01:01]: ~SimLuaProxy()
[00:01:01]: lua_close took 0.05 seconds
[00:01:01]: ReleaseAll
[00:01:01]: ReleaseAll Finished
[00:01:01]: cGame::StartPlaying
[00:01:01]: LOADING LUA
[00:01:01]: DoLuaFile scripts/main.lua
[00:01:01]: DoLuaFile loading buffer scripts/main.lua
[00:01:01]: DoLuaFile Error running lua file scripts/main.lua:
(null)
[00:01:01]: Error loading main.lua
[00:01:01]: Failed mSimulation->Reset()
[00:01:01]: Error during game restart!
[00:01:03]: Collecting garbage...
[00:01:03]: lua_gc took 0.00 seconds
[00:01:03]: ~NetworkLuaProxy()
[00:01:03]: ~SimLuaProxy()
[00:01:03]: lua_close took 0.00 seconds
[00:01:03]: HttpClient::ClientThread::Main() complete
[00:01:03]: HttpClient::ClientThread::Main() complete
[00:01:03]: HttpClient::ClientThread::Main() complete
[00:01:03]: HttpClient::ClientThread::Main() complete
[00:01:04]: HttpClient::ClientThread::Main() complete
[00:01:04]: Shutting down
Link to comment
Share on other sites

@TacoChingChong, Okay
 
First lets change AddReciptTab to AddRecipeTab, this mistake was in my original code, meh.
 
You can see the error here:

[string "../mods/Shovel/modmain.lua"]:47: attempt to call global 'AddReciptTab' (a nil value)

 
Next you need to make sure magicshovel.zip actually exists in your anim folder of your mod.
 
You can see the error here:
[string "scripts/util.lua"]:396: Could not find an asset matching anim/magicshovel.zip in any of the search paths.

 
Link to comment
Share on other sites

@TacoChingChong, Okay

 

First lets change AddReciptTab to AddRecipeTab, this mistake was in my original code, meh.

 

You can see the error here:

[string "../mods/Shovel/modmain.lua"]:47: attempt to call global 'AddReciptTab' (a nil value)

 

Next you need to make sure magicshovel.zip actually exists in your anim folder of your mod.

 

You can see the error here:

[string "scripts/util.lua"]:396: Could not find an asset matching anim/magicshovel.zip in any of the search paths.

 

Ok so I changed the AddReciptTab, and created the zip file in the anim folder, and it still crashes. Here's the log again:

 

00:00:00]: Starting Up
[00:00:00]: Version: 142718
[00:00:00]: Current time: Tue Jul 14 17:23:53 2015
 
[00:00:00]: Don't Starve Together: 142718 WIN32_STEAM
NNN Build Date: 2015-07-10_11-55-42
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: 
[00:00:00]: Initializin Minidump handler
[00:00:00]: ....Done
[00:00:00]: Initializing Steam
[00:00:00]: Steam AppBuildID: 690955
[00:00:00]: Steam BetaName(Branch): []
[00:00:00]: ....Done
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (7628)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:02]: ProfileIndex:8.03
[00:00:02]: Network tick rate: U=15(2), D=0
[00:00:02]: THREAD - started 'GAClient' (7592)
[00:00:02]: HttpClient::ClientThread::Main()
[00:00:02]: THREAD - started 'GAClient' (7948)
[00:00:02]: HttpClient::ClientThread::Main()
[00:00:02]: Network tick rate: U=15(2), D=0
[00:00:02]: Authorized application C:\Users\Dan123\Desktop\SuperLamp\SuperLamp\Desktop\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe is enabled in the firewall.
[00:00:02]: WindowsFirewall - Application already authorized
[00:00:02]: loaded ping_cache
[00:00:02]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Success)
[00:00:02]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)
[00:00:02]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)
[00:00:02]: Offline user name: OU_76561198122636620
[00:00:02]: SteamID: 76561198122636620
[00:00:02]: THREAD - started 'GAClient' (6100)
[00:00:02]: cGame::InitializeOnMainThread
[00:00:02]: HttpClient::ClientThread::Main()
[00:00:02]: WindowManager::Initialize
[00:00:02]: THREAD - started 'GAClient' (5272)
[00:00:02]: CreateWindow: Requesting 1280,720 - 5/6/5 - -1/-1/-1 - 0
[00:00:02]: HttpClient::ClientThread::Main()
[00:00:02]: CreateEGLContext: 16 configs found
[00:00:02]:      0: 8/8/8 -  0/ 0/ 0 - 0
[00:00:02]:      1: 8/8/8 -  0/16/ 0 - 0
[00:00:02]:      2: 8/8/8 -  0/24/ 0 - 0
[00:00:02]:      3: 8/8/8 -  0/24/ 8 - 0
[00:00:02]:      4: 5/5/5 -  0/ 0/ 0 - 0
[00:00:02]:      5: 5/5/5 -  1/ 0/ 0 - 0
[00:00:02]:      6: 5/5/5 -  0/16/ 0 - 0
[00:00:02]:      7: 5/5/5 -  1/16/ 0 - 0
[00:00:02]:      8: 5/5/5 -  0/24/ 0 - 0
[00:00:02]:      9: 5/5/5 -  1/24/ 0 - 0
[00:00:02]:     10: 5/5/5 -  0/24/ 8 - 0
[00:00:02]:     11: 5/5/5 -  1/24/ 8 - 0
[00:00:02]:     12: 8/8/8 -  8/ 0/ 0 - 0
[00:00:02]:     13: 8/8/8 -  8/16/ 0 - 0
[00:00:02]:     14: 8/8/8 -  8/24/ 0 - 0
[00:00:02]:     15: 8/8/8 -  8/24/ 8 - 0
[00:00:02]: WindowManager::SetFullscreen(0, 1280, 720, 60)
[00:00:03]: GLInfo
[00:00:03]: ~~~~~~
[00:00:03]: GL_VENDOR: Google Inc.
[00:00:03]: GL_RENDERER: ANGLE (Intel® HD Graphics Family)
[00:00:03]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)
[00:00:03]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)
[00:00:03]: OpenGL extensions (21, 21):
[00:00:03]: GL_ANGLE_depth_texture
[00:00:03]: GL_ANGLE_framebuffer_blit
[00:00:03]: GL_ANGLE_framebuffer_multisample
[00:00:03]: GL_ANGLE_instanced_arrays
[00:00:03]: GL_ANGLE_pack_reverse_row_order
[00:00:03]: GL_ANGLE_texture_compression_dxt3
[00:00:03]: GL_ANGLE_texture_compression_dxt5
[00:00:03]: GL_ANGLE_texture_usage
[00:00:03]: GL_ANGLE_translated_shader_source
[00:00:03]: GL_EXT_read_format_bgra
[00:00:03]: GL_EXT_robustness
[00:00:03]: GL_EXT_texture_compression_dxt1
[00:00:03]: GL_EXT_texture_format_BGRA8888
[00:00:03]: GL_EXT_texture_storage
[00:00:03]: GL_OES_get_program_binary
[00:00:03]: GL_OES_packed_depth_stencil
[00:00:03]: GL_OES_rgb8_rgba8
[00:00:03]: GL_OES_standard_derivatives
[00:00:03]: GL_OES_texture_float_linear
[00:00:03]: GL_OES_texture_half_float_linear
[00:00:03]: GL_OES_texture_npot
[00:00:03]: GL_MAX_TEXTURE_SIZE = 4096
[00:00:03]: GL_MAX_TEXTURE_IMAGE_UNITS = 16
[00:00:03]: GL_MAX_RENDERBUFFER_SIZE = 4096
[00:00:03]: GL_MAX_VIEWPORT_DIMS = 4096, 4096
[00:00:03]: GL_MAX_VARYING_VECTORS = 10
[00:00:03]: GL_MAX_VERTEX_ATTRIBS = 16
[00:00:03]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254
[00:00:03]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4
[00:00:03]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221
[00:00:03]: 4 compressed texture formats
[00:00:03]: texture format 0x83f0
[00:00:03]: texture format 0x83f1
[00:00:03]: texture format 0x83f2
[00:00:03]: texture format 0x83f3
[00:00:03]: THREAD - started 'WindowsInputManager' (4868)
[00:00:03]: Renderer initialize: Okay
[00:00:04]: AnimManager initialize: Okay
[00:00:04]: Buffers initialize: Okay
[00:00:05]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:05]: GameSpecific initialize: Okay
[00:00:05]: cGame::StartPlaying
[00:00:05]: LOADING LUA
[00:00:05]: DoLuaFile scripts/main.lua
[00:00:05]: DoLuaFile loading buffer scripts/main.lua
[00:00:05]: scripts/main.lua(169,1) running main.lua
 
[00:00:05]: loaded modindex
[00:00:05]: ModIndex: Beginning normal load sequence.
 
[00:00:06]: LOADING LUA SUCCESS
[00:00:07]: PlayerDeaths loaded morgue 2054
[00:00:07]: loaded profile
[00:00:07]: bloom_enabled false
[00:00:07]: loaded saveindex
[00:00:07]: OnFilesLoaded()
[00:00:07]: OnUpdatePurchaseStateComplete
[00:00:08]: Load FE
[00:00:09]: Load FE: done
[00:00:09]: platform_motd table: 140A93B8
[00:00:09]: SimLuaProxy::QueryServer()
[00:00:09]: SimLuaProxy::QueryServer()
[00:00:09]: SimLuaProxy::QueryServer()
[00:00:09]: ModIndex: Load sequence finished successfully.
[00:00:09]: Reset() returning
[00:00:11]: platform_motd table: 0C758748
[00:00:12]: GetCachedUGCCount 0
[00:00:12]: EnumerateUserSubscribedFiles(0)
[00:00:12]: OnEnumerateUserSubscribedFilesResult 
[00:00:12]:    EResult 1, results 38/38
[00:00:12]: Enum complete. Found 38 mods.
[00:00:12]: DeleteUnsubscribedFiles [../mods,false]
[00:00:12]: FindDirectoriesMatching [../mods/workshop-*]
[00:00:12]: GetPublishedFileDetails(0)
[00:00:12]: Getting mod details...
[00:00:12]: OnPublishedFileDetailsResult 
[00:00:12]:    EResult 1, 384396097
[00:00:12]:    245850, 322330, [DST Spider Cage], 34112262289645658, 34110365651278066, 76561197989646930, 1422704392, 1424639320, 0, 0, [item,pet,creature,environment,scenario,other,version:1.2], 205, [mod_publish_data_file.zip], 217121, 265406, [], 0
[00:00:12]: GetPublishedFileDetails(1)
[00:00:12]: Getting mod details...
[00:00:13]: OnPublishedFileDetailsResult 
[00:00:13]:    EResult 1, 416991215
[00:00:13]:    245850, 322330, [Dusk and Night Music DST], 534018071213497704, 532889006059405819, 76561198067527994, 1427773807, 1430575652, 0, 0, [other,reign of giants compatible,version:1.1.2,client_only_mod], 205, [mod_publish_data_file.zip], 5893419, 334499, [], 0
[00:00:13]: GetPublishedFileDetails(2)
[00:00:13]: Getting mod details...
[00:00:13]: OnPublishedFileDetailsResult 
[00:00:13]:    EResult 1, 369588618
[00:00:13]:    245850, 322330, [Renewable World], 546393011951522045, 550895166374650297, 76561198004492661, 1420418721, 1421220960, 0, 0, [environment,tweak,version:1.12], 205, [mod_publish_data_file.zip], 16997, 53443, [], 0
[00:00:13]: GetPublishedFileDetails(3)
[00:00:13]: Getting mod details...
[00:00:14]: OnPublishedFileDetailsResult 
[00:00:14]:    EResult 1, 459327570
[00:00:14]:    245850, 322330, [The Heavy 2.0 Fix], 6187165659027887363, 693899764588696889, 76561198079607287, 1434047605, 1434282958, 0, 0, [all_clients_require_mod,character,reign of giants compatible,version:1.8], 205, [mod_publish_data_file.zip], 1096782, 14155, [], 0
[00:00:14]: GetPublishedFileDetails(4)
[00:00:14]: Getting mod details...
[00:00:14]: OnPublishedFileDetailsResult 
[00:00:14]:    EResult 1, 421506496
[00:00:14]:    245850, 322330, [Mr. Mundy the Sniper (Reign of Giants Together)], 532894792281113615, 530638296075064967, 76561198041663348, 1428458781, 1432787183, 0, 0, [character,all_clients_require_mod,version:3.10], 205, [mod_publish_data_file.zip], 1611485, 201415, [], 0
[00:00:14]: GetPublishedFileDetails(5)
[00:00:14]: Getting mod details...
[00:00:15]: OnPublishedFileDetailsResult 
[00:00:15]:    EResult 1, 391086703
[00:00:15]:    245850, 322330, [The Regenerating Mutant, Heather -- DST], 29609754485978148, 29609754485978646, 76561198061334972, 1423715419, 1425423169, 0, 0, [character,art,version:1.2.2], 205, [mod_publish_data_file.zip], 1568380, 495917, [], 0
[00:00:15]: GetPublishedFileDetails(6)
[00:00:15]: Getting mod details...
[00:00:15]: OnPublishedFileDetailsResult 
[00:00:15]:    EResult 1, 396240787
[00:00:15]:    245850, 322330, [Ash Fertilizer], 520511262605333110, 537389518013685674, 76561197988230937, 1424504765, 1434405447, 0, 0, [all_clients_require_mod,item,tweak,version:1.021], 205, [mod_publish_data_file.zip], 104703, 79303, [], 0
[00:00:15]: GetPublishedFileDetails(7)
[00:00:15]: Getting mod details...
[00:00:16]: OnPublishedFileDetailsResult 
[00:00:16]:    EResult 1, 346968521
[00:00:16]:    245850, 322330, [DST In Wilson's House], 34112262289562810, 30726776937451101, 76561197989646930, 1416988513, 1424637463, 0, 0, [item,environment,scenario,version:1.5], 205, [mod_publish_data_file.zip], 373216, 391892, [], 0
[00:00:16]: GetPublishedFileDetails(8)
[00:00:16]: Getting mod details...
[00:00:16]: OnPublishedFileDetailsResult 
[00:00:16]:    EResult 1, 376333686
[00:00:16]:    245850, 322330, [Always On Status], 457463221695082246, 539643766794230713, 76561198025931302, 1421476256, 1436492701, 0, 0, [client_only_mod,interface,reign of giants compatible,tweak,utility,version:1.1.6], 205, [mod_publish_data_file.zip], 37718, 118758, [], 0
[00:00:16]: GetPublishedFileDetails(9)
[00:00:16]: Getting mod details...
[00:00:17]: OnPublishedFileDetailsResult 
[00:00:17]:    EResult 1, 347360448
[00:00:17]:    245850, 322330, [DST Where's My Beefalo?], 32983741954743163, 30726776963402451, 76561197989646930, 1417070769, 1421830613, 0, 0, [creature,environment,utility,tweak,reign of giants compatible,version:1.4], 205, [mod_publish_data_file.zip], 79032, 275659, [], 0
[00:00:17]: GetPublishedFileDetails(10)
[00:00:17]: Getting mod details...
[00:00:17]: OnPublishedFileDetailsResult 
[00:00:17]:    EResult 1, 375859599
[00:00:17]:    245850, 322330, [Health Info], 27365724733762861, 27354417260209471, 76561198025486794, 1421415526, 1433042259, 0, 0, [character,creature,interface,utility,other,version:1.4.5,all_clients_require_mod], 205, [mod_publish_data_file.zip], 96755, 68108, [], 0
[00:00:17]: GetPublishedFileDetails(11)
[00:00:17]: Getting mod details...
[00:00:17]: OnPublishedFileDetailsResult 
[00:00:17]:    EResult 1, 375850593
[00:00:17]:    245850, 322330, [Extra Equip Slots], 27363113115470673, 27354791258718394, 76561198025486794, 1421414248, 1430312817, 0, 0, [item,interface,utility,tweak,all_clients_require_mod,version:1.6.0], 205, [mod_publish_data_file.zip], 115403, 53413, [], 0
[00:00:17]: GetPublishedFileDetails(12)
[00:00:17]: Getting mod details...
[00:00:18]: OnPublishedFileDetailsResult 
[00:00:18]:    EResult 1, 345692228
[00:00:18]:    245850, 322330, [Minimap HUD], 39735969223903808, 558737771725946190, 76561197960431333, 1416731898, 1418960751, 0, 0, [interface,version:1.0.4b], 205, [mod_publish_data_file.zip], 12064, 41782, [], 0
[00:00:18]: GetPublishedFileDetails(13)
[00:00:18]: Getting mod details...
[00:00:18]: OnPublishedFileDetailsResult 
[00:00:18]:    EResult 1, 354415247
[00:00:18]:    245850, 322330, [Throwable Spears], 534010466778341529, 538508994011816243, 76561198025931302, 1418295646, 1423096448, 0, 0, [item,reign of giants compatible,version:1.7], 205, [mod_publish_data_file.zip], 32707, 15823, [], 0
[00:00:18]: GetPublishedFileDetails(14)
[00:00:18]: Getting mod details...
[00:00:18]: OnPublishedFileDetailsResult 
[00:00:18]:    EResult 1, 382177939
[00:00:18]:    245850, 322330, [DST Storm Cellar], 34121686742514309, 32984290994027638, 76561197989646930, 1422345955, 1433585269, 0, 0, [item,environment,scenario,version:1.8,all_clients_require_mod], 205, [mod_publish_data_file.zip], 287385, 239026, [], 0
[00:00:18]: GetPublishedFileDetails(15)
[00:00:18]: Getting mod details...
[00:00:19]: OnPublishedFileDetailsResult 
[00:00:19]:    EResult 1, 352373173
[00:00:19]:    245850, 322330, [Gesture Wheel], 521637598943609061, 536256758327327300, 76561198025931302, 1417912324, 1434831749, 0, 0, [client_only_mod,interface,tweak,utility,version:1.3.3,featured], 205, [mod_publish_data_file.zip], 17671, 122302, [], 0
[00:00:19]: GetPublishedFileDetails(16)
[00:00:19]: Getting mod details...
[00:00:19]: OnPublishedFileDetailsResult 
[00:00:19]:    EResult 1, 356420397
[00:00:19]:    245850, 322330, [No More Respawn Penalty], 45369364715740478, 41987135210699169, 76561197995674894, 1418605304, 1422589626, 0, 0, [tweak,other,version:1.2], 205, [mod_publish_data_file.zip], 24694, 6907, [], 0
[00:00:19]: GetPublishedFileDetails(17)
[00:00:19]: Getting mod details...
[00:00:19]: OnPublishedFileDetailsResult 
[00:00:19]:    EResult 1, 418604101
[00:00:19]:    245850, 322330, [steampunk DST], 713037074890090886, 711907722924371090, 76561198062720007, 1428042756, 1431282586, 0, 0, [item,pet,creature,art,tweak,reign of giants compatible,version:1.03,all_clients_require_mod], 205, [mod_publish_data_file.zip], 1280638, 136232, [], 0
[00:00:19]: GetPublishedFileDetails(18)
[00:00:19]: Getting mod details...
[00:00:20]: OnPublishedFileDetailsResult 
[00:00:20]:    EResult 1, 365119238
[00:00:20]:    245850, 322330, [smarter Crock Pot], 521637162497863345, 3281172720287038854, 76561198025317013, 1419881314, 1434095594, 0, 0, [client_only_mod,interface,reign of giants compatible,tweak,utility,version:3.21], 205, [mod_publish_data_file.zip], 62453, 30514, [], 0
[00:00:20]: GetPublishedFileDetails(19)
[00:00:20]: Getting mod details...
[00:00:20]: OnPublishedFileDetailsResult 
[00:00:20]:    EResult 1, 463919131
[00:00:20]:    245850, 322330, [Wilton, The Skeleton], 26241976470964585, 26241630645087944, 76561198084132616, 1434651524, 1434828010, 0, 0, [all_clients_require_mod,art,character,environment,item,reign of giants compatible,version:0.0.3], 205, [mod_publish_data_file.zip], 1936170, 532658, [], 0
[00:00:20]: GetPublishedFileDetails(20)
[00:00:20]: Getting mod details...
[00:00:21]: OnPublishedFileDetailsResult 
[00:00:21]:    EResult 1, 463740026
[00:00:21]:    245850, 322330, [Personal Chesters], 514882136064604232, 514882136064604375, 76561198067527994, 1434632315, 1434632315, 0, 0, [pet,version:1.0,all_clients_require_mod], 205, [mod_publish_data_file.zip], 17165, 601960, [], 0
[00:00:21]: GetPublishedFileDetails(21)
[00:00:21]: Getting mod details...
[00:00:21]: OnPublishedFileDetailsResult 
[00:00:21]:    EResult 1, 462498863
[00:00:21]:    245850, 322330, [Claymore], 43130180929502528, 43129702107894944, 76561198050798273, 1434467450, 1434532802, 0, 0, [all_clients_require_mod,item,version:1.03], 205, [mod_publish_data_file.zip], 96998, 104068, [], 0
[00:00:21]: GetPublishedFileDetails(22)
[00:00:21]: Getting mod details...
[00:00:22]: OnPublishedFileDetailsResult 
[00:00:22]:    EResult 1, 353697884
[00:00:22]:    245850, 322330, [Craftable Gears For DST], 36358269626394604, 34105399950921654, 76561198048222787, 1418142577, 1419270395, 0, 0, [item,version:2.0.7], 205, [mod_publish_data_file.zip], 63232, 60496, [], 0
[00:00:22]: GetPublishedFileDetails(23)
[00:00:22]: Getting mod details...
[00:00:22]: OnPublishedFileDetailsResult 
[00:00:22]:    EResult 1, 458940297
[00:00:22]:    245850, 322330, [Food Values - Item Tooltips (Server and Client)], 521637598942657276, 521637598935719916, 76561198029173411, 1433980137, 1434811608, 0, 0, [all_clients_require_mod,interface,version:2.5], 205, [mod_publish_data_file.zip], 242008, 81992, [], 0
[00:00:22]: GetPublishedFileDetails(24)
[00:00:22]: Getting mod details...
[00:00:23]: OnPublishedFileDetailsResult 
[00:00:23]:    EResult 1, 378160973
[00:00:23]:    245850, 322330, [Global Positions], 450706552922321637, 535134943326895647, 76561198025931302, 1421708386, 1435123304, 0, 0, [all_clients_require_mod,interface,utility,version:1.3.3], 205, [mod_publish_data_file.zip], 95240, 112042, [], 0
[00:00:23]: GetPublishedFileDetails(25)
[00:00:23]: Getting mod details...
[00:00:23]: OnPublishedFileDetailsResult 
[00:00:23]:    EResult 1, 447092740
[00:00:23]:    245850, 322330, [More Actions], 514882652664411535, 534020142361082147, 76561198066992329, 1432314729, 1435055624, 0, 0, [all_clients_require_mod,character,creature,environment,version:1.2.7], 205, [mod_publish_data_file.zip], 116526, 315366, [], 0
[00:00:23]: GetPublishedFileDetails(26)
[00:00:23]: Getting mod details...
[00:00:24]: OnPublishedFileDetailsResult 
[00:00:24]:    EResult 1, 461627386
[00:00:24]:    245850, 322330, [Madoka Kaname], 523889851073677729, 523888962323864729, 76561198046032840, 1434339185, 1435001562, 0, 0, [all_clients_require_mod,character,version:1.1.9], 205, [mod_publish_data_file.zip], 2110021, 455849, [], 0
[00:00:24]: GetPublishedFileDetails(27)
[00:00:24]: Getting mod details...
[00:00:24]: OnPublishedFileDetailsResult 
[00:00:24]:    EResult 1, 468856987
[00:00:24]:    245850, 322330, [Meet the Pyro], 448455622241544113, 448454842779968356, 76561197986594796, 1435237656, 1435945952, 0, 0, [all_clients_require_mod,character,reign of giants compatible,version:1.2.1.1], 205, [mod_publish_data_file.zip], 3862292, 340782, [], 0
[00:00:24]: GetPublishedFileDetails(28)
[00:00:24]: Getting mod details...
[00:00:24]: OnPublishedFileDetailsResult 
[00:00:24]:    EResult 1, 469801526
[00:00:24]:    245850, 322330, [Ancient Items pack: DST [WIP]], 686020049466110160, 686020049466110319, 76561198032773564, 1435349163, 1435577091, 0, 0, [all_clients_require_mod,environment,interface,item,version:0.1d], 205, [mod_publish_data_file.zip], 289592, 43304, [], 0
[00:00:24]: GetPublishedFileDetails(29)
[00:00:24]: Getting mod details...
[00:00:24]: OnPublishedFileDetailsResult 
[00:00:24]:    EResult 1, 356435289
[00:00:24]:    245850, 322330, [DST Fish Farm], 34118850567305877, 32979935965882322, 76561197989646930, 1418608048, 1430638772, 0, 0, [item,environment,scenario,version:1.5,all_clients_require_mod], 205, [mod_publish_data_file.zip], 501874, 307308, [], 0
[00:00:24]: GetPublishedFileDetails(30)
[00:00:24]: Getting mod details...
[00:00:25]: OnPublishedFileDetailsResult 
[00:00:25]:    EResult 1, 373991022
[00:00:25]:    245850, 322330, [Global Player Icons], 543019017990774213, 539637611886990194, 76561197970349754, 1421061012, 1424608926, 0, 0, [interface,utility,tweak,version:1.14], 205, [mod_publish_data_file.zip], 393726, 390830, [], 0
[00:00:25]: GetPublishedFileDetails(31)
[00:00:25]: Getting mod details...
[00:00:25]: OnPublishedFileDetailsResult 
[00:00:25]:    EResult 1, 359460158
[00:00:25]:    245850, 322330, [Jane Doe the Soldier (Together)], 532894792281108137, 47620283063627208, 76561198041663348, 1419136273, 1432787057, 0, 0, [character,version:3.6,all_clients_require_mod], 205, [mod_publish_data_file.zip], 1489940, 194076, [], 0
[00:00:25]: GetPublishedFileDetails(32)
[00:00:25]: Getting mod details...
[00:00:25]: OnPublishedFileDetailsResult 
[00:00:25]:    EResult 1, 379628839
[00:00:25]:    245850, 322330, [The Medic], 522763483075623751, 522762879943732161, 76561198129896255, 1421968299, 1434609851, 0, 0, [all_clients_require_mod,art,character,reign of giants compatible,version:1.0.2], 205, [mod_publish_data_file.zip], 1375514, 1028104, [], 0
[00:00:25]: GetPublishedFileDetails(33)
[00:00:25]: Getting mod details...
[00:00:26]: OnPublishedFileDetailsResult 
[00:00:26]:    EResult 1, 479169756
[00:00:26]:    245850, 322330, [Wynn, the Environmentalist], 451833722164432943, 451833722164433893, 76561198010671281, 1436569235, 1436569235, 0, 0, [character,art,version:1.0,all_clients_require_mod], 205, [mod_publish_data_file.zip], 15035757, 233397, [], 0
[00:00:26]: GetPublishedFileDetails(34)
[00:00:26]: Getting mod details...
[00:00:26]: OnPublishedFileDetailsResult 
[00:00:26]:    EResult 1, 478650733
[00:00:26]:    245850, 322330, [Midna], 450708155973199000, 450707956923195154, 76561198079242232, 1436496918, 1436818436, 0, 0, [all_clients_require_mod,character,version:1.3], 205, [mod_publish_data_file.zip], 2991787, 304342, [], 0
[00:00:26]: GetPublishedFileDetails(35)
[00:00:26]: Getting mod details...
[00:00:26]: OnPublishedFileDetailsResult 
[00:00:26]:    EResult 1, 357246491
[00:00:26]:    245850, 322330, [Craftable Krampus Sack], 549769266432348380, 549769266432349694, 76561198097499314, 1418769502, 1420329900, 0, 0, [item,reign of giants compatible,version:8.0], 205, [mod_publish_data_file.zip], 254193, 253570, [], 0
[00:00:26]: GetPublishedFileDetails(36)
[00:00:26]: Getting mod details...
[00:00:27]: OnPublishedFileDetailsResult 
[00:00:27]:    EResult 1, 474747576
[00:00:27]:    245850, 322330, [Ratchet DST], 443952665464012377, 437196388584761039, 76561198043674682, 1435971638, 1436723356, 0, 0, [all_clients_require_mod,art,character,environment,version:1.2.4,worldgen], 205, [mod_publish_data_file.zip], 3876253, 472330, [], 0
[00:00:27]: GetPublishedFileDetails(37)
[00:00:27]: Getting mod details...
[00:00:27]: OnPublishedFileDetailsResult 
[00:00:27]:    EResult 1, 480828003
[00:00:27]:    245850, 322330, [Fiddlesticks, The Harbinger of Doom], 442827028243464363, 442827028243465343, 76561198023885721, 1436799687, 1436799687, 0, 0, [character,version:1,all_clients_require_mod], 205, [mod_publish_data_file.zip], 1466816, 83917, [], 0
[00:00:27]: Mod listing complete.
[00:00:27]: SteamWorkshop::CompleteCallback (success, Refreshing mods complete. Nothing new to download.) set
[00:00:27]: SimLuaProxy::OnUpdateWorkshopModsComplete(ok., Refreshing mods complete. Nothing new to download.)
[00:00:27]: Reloading Mod Info Prefabs
[00:00:27]: WARNING: icon paths for mod workshop-478650733 (Midna) are not valid. Got icon_atlas="modicon.xml" and icon="modicon.tex".
Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua.
[00:00:27]: Loading Mod Info Prefabs
[00:00:27]: Unloading Mod Info Prefabs
[00:00:27]: QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}
[00:00:27]: ../mods/workshop-375859599/preview.tex is 200x200 but compressed textures must have power of 2 dimensions.
[00:00:28]: ### OnStatsQueried ###
[00:00:28]: {"modlinks":{"ws-Global Positions":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=378160973","ws-Smarter Crock Pot":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=365119238","ws-Increased Stack size":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=374550642","ws-DST Where's My Beefalo?":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=347360448","ws-DST Storm Cellar":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=382177939","ws-Global Player Icons":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=373991022","ws-Health Info":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=375859599","ws-Personal Chesters":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=463740026","ws-Always On Status":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=376333686","ws-Minimap HUD":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=345692228","ws-Wall Gates [DST]":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=357875628","ws-Display Food Values":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=347079953","ws-Deluxe Campfires 2.11":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=444235588","ws-More Actions":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=447092740","ws-Fast Travel":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=458587300","ws-Large Chest":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=396026892","ws-Gesture Wheel":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=352373173","ws-Food Values - Item Tooltips (Server and Client)":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=458940297","ws-Wormhole Marks [DST]":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=362175979","ws-Extra Equip Slots":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=375850593"},"modfeature":{"ws-Global Player Icons":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=373991022"},"modnames":["ws-Global Player Icons","ws-Extra Equip Slots","ws-Always On Status","ws-Minimap HUD","ws-Health Info","ws-Display Food Values","ws-Smarter Crock Pot","ws-Global Positions","ws-Wormhole Marks [DST]","ws-DST Storm Cellar","ws-Increased Stack size","ws-Food Values - Item Tooltips (Server and Client)","ws-DST Where's My Beefalo?","ws-Large Chest","ws-Wall Gates [DST]","ws-Gesture Wheel","ws-Personal Chesters","ws-Deluxe Campfires 2.11","ws-Fast Travel","ws-More Actions"]}
 
[00:00:28]: 
[00:00:28]: true
[00:00:28]: 200
[00:00:34]: Unloading Mod Info Prefabs
[00:00:34]: Collecting garbage...
[00:00:34]: lua_gc took 0.02 seconds
[00:00:34]: ~NetworkLuaProxy()
[00:00:34]: ~SimLuaProxy()
[00:00:34]: lua_close took 0.02 seconds
[00:00:34]: ReleaseAll
[00:00:34]: ReleaseAll Finished
[00:00:34]: cGame::StartPlaying
[00:00:34]: LOADING LUA
[00:00:34]: DoLuaFile scripts/main.lua
[00:00:34]: DoLuaFile loading buffer scripts/main.lua
[00:00:35]: scripts/main.lua(169,1) running main.lua
 
[00:00:35]: loaded modindex
[00:00:35]: ModIndex: Beginning normal load sequence.
 
[00:00:35]: ModIndex:GetModsToLoad inserting moddir, Shovel
[00:00:35]: Could not load mod_config_data/modconfiguration_Shovel
[00:00:35]: Loading mod: Shovel Version:1.0.0
[00:00:35]: Mod: Shovel Loading modworldgenmain.lua
[00:00:35]: Mod: Shovel  Mod had no modworldgenmain.lua. Skipping.
[00:00:35]: Mod: Shovel Loading modmain.lua
[00:00:35]: Mod: Shovel  Error loading mod!
[string "scripts/util.lua"]:396: Could not find an asset matching images/item_image.xml in any of the search paths.
LUA ERROR stack traceback:
        =[C] in function 'assert'
        scripts/util.lua(396,1) in function 'resolvefilepath'
        scripts/recipe.lua(26,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Recipe'
        scripts/modutil.lua(376,1) in function 'AddRecipe'
        ../mods/Shovel/modmain.lua(54,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(560,1) in function 'RunInEnvironment'
        scripts/mods.lua(382,1) in function 'InitializeModMain'
        scripts/mods.lua(363,1) in function 'LoadMods'
        scripts/main.lua(248,1) in function 'ModSafeStartup'
        scripts/main.lua(296,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(25,1) in function 'SavePersistentString'
        scripts/modindex.lua(78,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(65,1) in function 'BeginStartupSequence'
        scripts/main.lua(295,1) in function 'callback'
        scripts/modindex.lua(474,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(451,1) in function 'Load'
        scripts/main.lua(294,1) in main chunk
 
[00:00:35]: [string "scripts/util.lua"]:396: Could not find an asset matching images/item_image.xml in any of the search paths.
LUA ERROR stack traceback:
        =[C] in function 'assert'
        scripts/util.lua(396,1) in function 'resolvefilepath'
        scripts/recipe.lua(26,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Recipe'
        scripts/modutil.lua(376,1) in function 'AddRecipe'
        ../mods/Shovel/modmain.lua(54,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(560,1) in function 'RunInEnvironment'
        scripts/mods.lua(382,1) in function 'InitializeModMain'
        scripts/mods.lua(363,1) in function 'LoadMods'
        scripts/main.lua(248,1) in function 'ModSafeStartup'
        scripts/main.lua(296,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(25,1) in function 'SavePersistentString'
        scripts/modindex.lua(78,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(65,1) in function 'BeginStartupSequence'
        scripts/main.lua(295,1) in function 'callback'
        scripts/modindex.lua(474,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(451,1) in function 'Load'
        scripts/main.lua(294,1) in main chunk
[00:00:35]: Error error! We tried displaying an error but TheFrontEnd isn't ready yet...
[00:00:35]: LOADING LUA SUCCESS
[00:00:35]: PlayerDeaths loaded morgue 2054
[00:00:35]: loaded profile
[00:00:35]: bloom_enabled false
[00:00:35]: loaded saveindex
[00:00:35]: OnFilesLoaded()
[00:00:35]: OnUpdatePurchaseStateComplete
[00:00:35]: Unload BE
[00:00:35]: Unload BE done
[00:00:37]: Mod: Shovel Registering prefabs
[00:00:37]: Mod: Shovel  Registering prefab file: prefabs/shovel
[00:00:37]: Mod: Shovel    shovel
[00:00:37]: Mod: Shovel  Registering prefab file: prefabs/magicshovel
[00:00:37]: error calling LoadPrefabFile in mod Shovel: 
[string "scripts/util.lua"]:396: Could not find an asset matching anim/swap_magicshovel.zip in any of the search paths.
LUA ERROR stack traceback:
        =[C] in function 'assert'
        scripts/util.lua(396,1) in function 'resolvefilepath'
        scripts/mainfunctions.lua(73,1) in function 'RegisterPrefabs'
        scripts/mainfunctions.lua(100,1)
        =(tail call) ?
        =[C] in function 'xpcall'
        scripts/mods.lua(144,1)
        scripts/mods.lua(469,1) in function 'RegisterPrefabs'
        scripts/gamelogic.lua(167,1) in function 'LoadAssets'
        scripts/gamelogic.lua(906,1) in function 'DoResetAction'
        scripts/gamelogic.lua(924,1) in function 'complete_callback'
...
        =[C] in function 'GetPersistentString'
        scripts/saveindex.lua(68,1) in function 'Load'
        scripts/gamelogic.lua(955,1) in function 'callback'
        scripts/playerprofile.lua(564,1) in function 'Set'
        scripts/playerprofile.lua(447,1)
        =[C] in function 'GetPersistentString'
        scripts/playerprofile.lua(445,1) in function 'Load'
        scripts/gamelogic.lua(954,1) in main chunk
        =[C] in function 'require'
        scripts/mainfunctions.lua(691,1)
[00:00:37]: Disabling Shovel because it had an error.
[00:00:37]: Disabling Shovel because it had an error.
[00:00:37]: SCRIPT ERROR! Showing error screen
[00:00:37]: Mod: Shovel  Registering default mod prefab
[00:00:37]: ModIndex: Load sequence finished successfully.
[00:00:37]: Reset() returning
[00:00:49]: Collecting garbage...
[00:00:49]: lua_gc took 0.03 seconds
[00:00:49]: ~NetworkLuaProxy()
[00:00:49]: ~SimLuaProxy()
[00:00:49]: lua_close took 0.05 seconds
[00:00:49]: ReleaseAll
[00:00:49]: ReleaseAll Finished
[00:00:49]: cGame::StartPlaying
[00:00:49]: LOADING LUA
[00:00:49]: DoLuaFile scripts/main.lua
[00:00:49]: DoLuaFile loading buffer scripts/main.lua
[00:00:49]: DoLuaFile Error running lua file scripts/main.lua:
(null)
[00:00:49]: Error loading main.lua
[00:00:49]: Failed mSimulation->Reset()
[00:00:49]: Error during game restart!
[00:00:50]: Collecting garbage...
[00:00:50]: lua_gc took 0.00 seconds
[00:00:50]: ~NetworkLuaProxy()
[00:00:50]: ~SimLuaProxy()
[00:00:50]: lua_close took 0.00 seconds
[00:00:51]: HttpClient::ClientThread::Main() complete
[00:00:51]: HttpClient::ClientThread::Main() complete
[00:00:51]: HttpClient::ClientThread::Main() complete
[00:00:51]: HttpClient::ClientThread::Main() complete
[00:00:51]: HttpClient::ClientThread::Main() complete
[00:00:51]: Shutting down
Link to comment
Share on other sites

@TacoChingChong,

 

You didn't create an image for the tab.

 

Error can be seen here:

[string "scripts/util.lua"]:396: Could not find an asset matching images/item_image.xml in any of the search paths.

Missing another asset in your anim folder.

 

Error can be seen here:

[string "scripts/util.lua"]:396: Could not find an asset matching anim/swap_magicshovel.zip in any of the search paths. 
Link to comment
Share on other sites

 

@TacoChingChong,

 

You didn't create an image for the tab.

 

Error can be seen here:

[string "scripts/util.lua"]:396: Could not find an asset matching images/item_image.xml in any of the search paths.

Missing another asset in your anim folder.

 

Error can be seen here:

[string "scripts/util.lua"]:396: Could not find an asset matching anim/swap_magicshovel.zip in any of the search paths. 

Am I correct in assuming that I add this to the modmain.lua:

 

Asset("IMAGE", "anim/swap_magicshovel.zip" ),
Asset("ATLAS", "anim/swap_magicshovel.zip" ),
 
 
And how do I create the item_image xml file?

 

Link to comment
Share on other sites

@TacoChingChong, you create a item_image.png file and then place it in the images folder and run the auto compiler and it automatically makes it. 

 

Since I don't know how big the resolution needs to be, or what that png file represents in-game, how do I find the normal shovel.xml? And when I find it how do I convert it back to png?

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...