Jump to content

Crockpots and More food


Recommended Posts

Today the flootgates open! Woo!

 

We want to release this character by today and we need help, how can I make it so when my character cooks food in the crock pot it instantly finishes?

 

And secondly, how can I make it so when he grabs the food out of the crock pot he receives two not one.

 

Sorry if this is blunt, but all will be appreciated if this is possible. Thanks!

Link to comment
Share on other sites

local cooking = GLOBAL.require "cooking"local old_cook = cooking.CalculateRecipeAddPrefabPostInit("cookpot", function(inst)	-- reduced cooking time to 1 (multiplying by inverse) depending on people nearby (radius 5)	local old_start = inst.components.stewer.StartCooking	inst.components.stewer.StartCooking = function(self)		cooking.CalculateRecipe = function(cooker, names)			local ret1, ret2 = old_cook(cooker, names)			if self and self.inst then				for k, v in pairs(GLOBAL.AllPlayers) do					if v:GetDistanceSqToInst(self.inst) < 26 then						if v.prefab == "wilson" then							ret2 = 1 / GLOBAL.TUNING.BASE_COOK_TIME							break						end					end				end			end			return ret1, ret2		end		return old_start(self)	end	-- using the same harvest logic and repeat the item giving step once	local old_harvest = inst.components.stewer.Harvest	inst.components.stewer.Harvest = function(self, harvester)		if harvester and harvester.prefab == "wilson" then			if self.done and self.product and harvester.components.inventory then				local loot = GLOBAL.SpawnPrefab(self.product)				if loot ~= nil then					if self.spoiltime ~= nil and loot.components.perishable ~= nil then						local spoilpercent = self:GetTimeToSpoil() / self.spoiltime						loot.components.perishable:SetPercent(self.product_spoilage * spoilpercent)						loot.components.perishable:StartPerishing()					end					harvester.components.inventory:GiveItem(loot, nil, self.inst:GetPosition())				end			end		end		return old_harvest(self, harvester)	endend)

@rons0n, there you go.

 

Modmain.

Switch prefab ("wilson") to your character or change it for a HasTag with a custom tag.

 

You could have just copy pasted the stewer code and replaced only certain parts, like the cooktime and the harvest part, but I decided to make it interesting and looked how to override it, I think it's more compatible in the future this way.

Edited by DarkXero
Link to comment
Share on other sites

@DarkXero Wow, that was kinda faster than I expected. As expected of DarkXero.

 

Can't test it yet though as we're currently finishing up the art of this character. If we hit any snags we'll post back here as soon as possible.

 

Thanks again for saving my rump! You're a life saver in these fourms

Link to comment
Share on other sites

@DarkXero,Sorry but can I ask for one last request? Right now I'm trying to make this character into a 'ladies man' so I need him to gain sanity when hes around women. (Like when Wilson is surrounded by pigs)

 

I (kinda)understand that I have to use(Changing follower to gender):

local function CalcSanityAura(inst, observer)    if inst.components.follower and inst.components.follower.leader == observer then        return TUNING.SANITYAURA_SMALL    end    return 0end inst:AddComponent("sanityaura") inst.components.sanityaura.aurafn = CalcSanityAura

But I have no idea how I would do this with genders or in the modmain

Edited by rons0n
Link to comment
Share on other sites

@rons0n:

local function isWoman(name)	for k, v in ipairs(GLOBAL.CHARACTER_GENDERS.FEMALE) do		if v == name then			return true		end	end	return falseendAddPlayerPostInit(function(inst)	if isWoman(inst.prefab) then		if not inst.components.sanityaura then			inst:AddComponent("sanityaura")		end		local old = inst.components.sanityaura.aurafn		inst.components.sanityaura.aurafn = function(inst, observer)			local ret = 0			if old ~= nil then				ret = old(inst, observer)			end			if observer.prefab == "wilson" then				return GLOBAL.TUNING.SANITYAURA_SMALL + ret			end			return ret		end	endend)
Link to comment
Share on other sites

@DarkXero, Looks like whenever I spawn in a crockpot by console my custom character crashes. Host is fine, Client isn't.

 

Crash log:

[00:00:00]: Starting Up[00:00:00]: Version: 138494[00:00:00]: Current time: Wed Jun 03 18:50:03 2015[00:00:00]: Don't Starve Together: 138494 WIN32_STEAMNNN Build Date: 2015-06-03_16-29-15[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: 646767[00:00:00]: Steam BetaName(Branch): [rog_together_beta][00:00:00]: ....Done[00:00:00]: Fixing DPI[00:00:00]: ...Done[00:00:00]: THREAD - started 'GAClient' (10028)[00:00:00]: HttpClient::ClientThread::Main()[00:00:01]: ProfileIndex:12.06[00:00:01]: THREAD - started 'GAClient' (6608)[00:00:01]: HttpClient::ClientThread::Main()[00:00:01]: Network tick rate: U=15(2), D=0[00:00:01]: THREAD - started 'GAClient' (4536)[00:00:01]: HttpClient::ClientThread::Main()[00:00:01]: Network tick rate: U=15(2), D=0[00:00:01]: Authorized application C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Beta\bin\dontstarve_steam.exe is enabled in the firewall.[00:00:01]: WindowsFirewall - Application already authorized[00:00:01]: loaded ping_cache[00:00:01]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Failure)[00:00:01]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)[00:00:01]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)[00:00:01]: Offline user name: OU_76561198162990845[00:00:01]: SteamID: 76561198162990845[00:00:01]: cGame::InitializeOnMainThread[00:00:01]: WindowManager::Initialize[00:00:01]: CreateWindow: Requesting 1406,760 - 5/6/5 - -1/-1/-1 - 0[00:00:01]: THREAD - started 'GAClient' (3876)[00:00:01]: HttpClient::ClientThread::Main()[00:00:02]: CreateEGLContext: 16 configs found[00:00:02]: RestoreWindowPosition[00:00:02]:    Saved Client Pos (15 x 43)[00:00:02]:    Adjusted Window Pos (7 x 12)[00:00:02]: EnsureWindowOnScreen[00:00:02]:    All good.[00:00:02]: THREAD - started 'WindowsInputManager' (4076)[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(167,1) running main.lua	[00:00:05]: loaded modindex	[00:00:05]: ModIndex: Beginning normal load sequence.	[00:00:05]: ModIndex:GetModsToLoad inserting moddir, 	Sanji-ROG	[00:00:05]: ModIndex:GetModsToLoad inserting moddir, 	workshop-376333686	[00:00:05]: ModIndex:GetModsToLoad inserting moddir, 	workshop-380079744	[00:00:05]: ModIndex:GetModsToLoad inserting moddir, 	workshop-399799824	[00:00:05]: ModIndex:GetModsToLoad inserting moddir, 	workshop-399803164	[00:00:05]: ModIndex:GetModsToLoad inserting moddir, 	workshop-431003525	[00:00:05]: ModIndex:GetModsToLoad inserting moddir, 	workshop-450498063	[00:00:05]: Could not load mod_config_data/modconfiguration_Sanji-ROG	[00:00:05]: Loading mod: Sanji-ROG (Sanji) Version:1.1.1	[00:00:05]: loaded mod_config_data/modconfiguration_workshop-376333686	[00:00:05]: Loading mod: workshop-376333686 (Always On Status) Version:1.1.4	[00:00:05]: Could not load mod_config_data/modconfiguration_workshop-380079744	[00:00:05]: Loading mod: workshop-380079744 (Luffy) Version:1.1.19	[00:00:05]: Could not load mod_config_data/modconfiguration_workshop-399799824	[00:00:05]: Loading mod: workshop-399799824 (Tamamo) Version:1.2.4	[00:00:05]: Could not load mod_config_data/modconfiguration_workshop-399803164	[00:00:05]: Loading mod: workshop-399803164 (Tohsaka Rin) Version:1.2.4	[00:00:05]: Could not load mod_config_data/modconfiguration_workshop-431003525	[00:00:05]: Loading mod: workshop-431003525 (Saber Lion!) Version:1.1.9	[00:00:05]: Could not load mod_config_data/modconfiguration_workshop-450498063	[00:00:05]: Loading mod: workshop-450498063 (Illyasviel Von Einzbern) Version:1.1.7	[00:00:05]: Mod: workshop-376333686 (Always On Status)	Loading modworldgenmain.lua	[00:00:05]: Mod: workshop-376333686 (Always On Status)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:05]: Mod: workshop-376333686 (Always On Status)	Loading modmain.lua	[00:00:05]: Mod: workshop-399803164 (Tohsaka Rin)	Loading modworldgenmain.lua	[00:00:05]: Mod: workshop-399803164 (Tohsaka Rin)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:05]: Mod: workshop-399803164 (Tohsaka Rin)	Loading modmain.lua	[00:00:05]: modimport: ../mods/workshop-399803164/libs/env.lua	[00:00:05]: Warning: Mod Character rin already exists in the CHARACTER_GENDERS table. It was either added previously, or added twice. You only need to call AddModCharacter now.	[00:00:05]: Mod: Sanji-ROG (Sanji)	Loading modworldgenmain.lua	[00:00:05]: Mod: Sanji-ROG (Sanji)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:05]: Mod: Sanji-ROG (Sanji)	Loading modmain.lua	[00:00:06]: Mod: workshop-431003525 (Saber Lion!)	Loading modworldgenmain.lua	[00:00:06]: Mod: workshop-431003525 (Saber Lion!)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:06]: Mod: workshop-431003525 (Saber Lion!)	Loading modmain.lua	[00:00:06]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	Loading modworldgenmain.lua	[00:00:06]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:06]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	Loading modmain.lua	[00:00:06]: modimport: ../mods/workshop-450498063/libs/env.lua	[00:00:06]: Mod: workshop-380079744 (Luffy)	Loading modworldgenmain.lua	[00:00:06]: Mod: workshop-380079744 (Luffy)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:06]: Mod: workshop-380079744 (Luffy)	Loading modmain.lua	[00:00:06]: modimport: ../mods/workshop-380079744/libs/use.lua	[00:00:06]: Warning: Mod Character luffy already exists in the CHARACTER_GENDERS table. It was either added previously, or added twice. You only need to call AddModCharacter now.	[00:00:06]: Mod: workshop-399799824 (Tamamo)	Loading modworldgenmain.lua	[00:00:06]: Mod: workshop-399799824 (Tamamo)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:06]: Mod: workshop-399799824 (Tamamo)	Loading modmain.lua	[00:00:06]: modimport: ../mods/workshop-399799824/libs/use.lua	[00:00:08]: LOADING LUA SUCCESS[00:00:08]: PlayerDeaths loaded morgue	5718	[00:00:08]: loaded profile	[00:00:08]: bloom_enabled	false	[00:00:08]: loaded saveindex	[00:00:08]: OnFilesLoaded()	[00:00:08]: OnUpdatePurchaseStateComplete	[00:00:11]: Mod: workshop-376333686 (Always On Status)	Registering prefabs	[00:00:11]: Mod: workshop-376333686 (Always On Status)	  Registering default mod prefab	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	Registering prefabs	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/rin	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    rin	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formredgem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    formredgem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formbluegem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    formbluegem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formorangegem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    formorangegem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formyellowgem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    formyellowgem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formgreengem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    formgreengem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formpurplegem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    formpurplegem	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formthulecite	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    formthulecite	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/gandr	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    gandr	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/rinprojectile	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    rinprojectile	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	    eye_charge_hit	[00:00:11]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering default mod prefab	[00:00:11]: Mod: Sanji-ROG (Sanji)	Registering prefabs	[00:00:11]: Mod: Sanji-ROG (Sanji)	  Registering prefab file: prefabs/sanji	[00:00:11]: Mod: Sanji-ROG (Sanji)	    sanji	[00:00:11]: Mod: Sanji-ROG (Sanji)	  Registering prefab file: prefabs/sanjihat	[00:00:11]: Mod: Sanji-ROG (Sanji)	    sanjihat	[00:00:11]: Mod: Sanji-ROG (Sanji)	  Registering default mod prefab	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	Registering prefabs	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	  Registering prefab file: prefabs/saberlion	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	    saberlion	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	  Registering prefab file: prefabs/sabermeat	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	    sabermeat	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	  Registering prefab file: prefabs/summonclone	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	    summonclone	[00:00:12]: Mod: workshop-431003525 (Saber Lion!)	  Registering default mod prefab	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	Registering prefabs	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illya	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illya	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/summonbeserker	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    summonbeserker	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illyahat	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illyahat	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/beserkersword	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    beserkersword	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illyabird	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illyabird	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/grail	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    grail	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illya_projectile	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    ice_projectile	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illya_projectile	[00:00:12]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering default mod prefab	[00:00:12]: Mod: workshop-380079744 (Luffy)	Registering prefabs	[00:00:12]: Mod: workshop-380079744 (Luffy)	  Registering prefab file: prefabs/luffy	[00:00:12]: Mod: workshop-380079744 (Luffy)	    luffy	[00:00:12]: Mod: workshop-380079744 (Luffy)	  Registering prefab file: prefabs/luffyhat	[00:00:12]: Mod: workshop-380079744 (Luffy)	    luffyhat	[00:00:12]: Mod: workshop-380079744 (Luffy)	  Registering default mod prefab	[00:00:12]: Mod: workshop-399799824 (Tamamo)	Registering prefabs	[00:00:12]: Mod: workshop-399799824 (Tamamo)	  Registering prefab file: prefabs/tamamo	[00:00:12]: Mod: workshop-399799824 (Tamamo)	    tamamo	[00:00:12]: Mod: workshop-399799824 (Tamamo)	  Registering default mod prefab	[00:00:13]: 	Load FE	[00:00:14]: 	Load FE: done	[00:00:14]: platform_motd	table: 0C06B948	[00:00:14]: SimLuaProxy::QueryServer()[00:00:14]: SimLuaProxy::QueryServer()[00:00:14]: SimLuaProxy::QueryServer()[00:00:14]: ModIndex: Load sequence finished successfully.	[00:00:14]: Reset() returning[00:00:15]: platform_motd	table: 129341F8	[00:00:17]: GetCachedUGCCount 0[00:00:17]: EnumerateUserSubscribedFiles(0)[00:00:17]: OnEnumerateUserSubscribedFilesResult [00:00:17]:    EResult 1, results 22/22[00:00:17]: Enum complete. Found 22 mods.[00:00:17]: DeleteUnsubscribedFiles [../mods,false][00:00:17]: FindDirectoriesMatching [../mods/workshop-*][00:00:17]: GetPublishedFileDetails(0)[00:00:17]: Getting mod details...[00:00:17]: OnPublishedFileDetailsResult [00:00:17]:    EResult 1, 376244443[00:00:17]:    245850, 322330, [Saber], 541898206731907061, 537386354374819793, 76561198046032840, 1421460413, 1429653324, 0, 0, [all_clients_require_mod,character,version:1.2.1], 71, [mod_publish_data_file.zip], 2464102, 365965, [], 0[00:00:17]: GetPublishedFileDetails(1)[00:00:17]: Getting mod details...[00:00:17]: OnPublishedFileDetailsResult [00:00:17]:    EResult 1, 380079744[00:00:17]:    245850, 322330, [Luffy], 716416477463946505, 544142474641324588, 76561198162990845, 1422044652, 1433171815, 0, 0, [all_clients_require_mod,character,version:1.1.19], 71, [mod_publish_data_file.zip], 3367102, 407736, [], 0[00:00:17]: GetPublishedFileDetails(2)[00:00:17]: Getting mod details...[00:00:17]: OnPublishedFileDetailsResult [00:00:17]:    EResult 1, 384048428[00:00:17]:    245850, 322330, [(Dark)Sakura Matou], 546404240018272862, 536262266594180395, 76561198046032840, 1422651769, 1431984913, 0, 0, [all_clients_require_mod,character,version:1.2.7], 71, [mod_publish_data_file.zip], 5228280, 922359, [], 0[00:00:17]: GetPublishedFileDetails(3)[00:00:17]: Getting mod details...[00:00:18]: OnPublishedFileDetailsResult [00:00:18]:    EResult 1, 381295942[00:00:18]:    245850, 322330, [Ryougi Shiki], 541898206731905121, 535135465716871699, 76561198046032840, 1422204282, 1429653277, 0, 0, [all_clients_require_mod,character,version:1.2.0], 71, [mod_publish_data_file.zip], 2348481, 351321, [], 0[00:00:18]: GetPublishedFileDetails(4)[00:00:18]: Getting mod details...[00:00:18]: OnPublishedFileDetailsResult [00:00:18]:    EResult 1, 388109833[00:00:18]:    245850, 322330, [Fire Fist Ace], 716416477449397920, 706273152532648366, 76561198162990845, 1423266436, 1432848326, 0, 0, [all_clients_require_mod,character,version:1.1.11], 71, [mod_publish_data_file.zip], 2600922, 391762, [], 0[00:00:18]: GetPublishedFileDetails(5)[00:00:18]: Getting mod details...[00:00:18]: OnPublishedFileDetailsResult [00:00:18]:    EResult 1, 399799824[00:00:18]:    245850, 322330, [Tamamo(Queen of Kitsunes!)], 543025270468628561, 540767773591869699, 76561198046032840, 1425062232, 1430608071, 0, 0, [all_clients_require_mod,character,version:1.2.4], 71, [mod_publish_data_file.zip], 2934323, 415668, [], 0[00:00:18]: GetPublishedFileDetails(6)[00:00:18]: Getting mod details...[00:00:18]: OnPublishedFileDetailsResult [00:00:18]:    EResult 1, 399803164[00:00:18]:    245850, 322330, [Tohsaka Rin(ROG Edition)], 541898206731911206, 540767773591870626, 76561198046032840, 1425062577, 1429653419, 0, 0, [all_clients_require_mod,character,version:1.2.4], 71, [mod_publish_data_file.zip], 2950003, 372709, [], 0[00:00:18]: GetPublishedFileDetails(7)[00:00:18]: Getting mod details...[00:00:18]: OnPublishedFileDetailsResult [00:00:18]:    EResult 1, 405332759[00:00:18]:    245850, 322330, [Tamamo], 541895566604895697, 540768738856686641, 76561198046032840, 1425916089, 1426888054, 2, 0, [character,version:1.2.1,all_clients_require_mod], 71, [mod_publish_data_file.zip], 2946124, 415668, [], 0[00:00:18]: GetPublishedFileDetails(8)[00:00:18]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 405334531[00:00:19]:    245850, 322330, [Ryougi Shiki-Test], 541898206724927604, 540768738856696509, 76561198046032840, 1425916315, 1429491882, 2, 0, [character,version:1.1.9,all_clients_require_mod], 71, [mod_publish_data_file.zip], 5991653, 438044, [], 0[00:00:19]: GetPublishedFileDetails(9)[00:00:19]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 409184357[00:00:19]:    245850, 322330, [Zoro], 716416477449399049, 713031902150543579, 76561198162990845, 1426546633, 1432848350, 0, 0, [all_clients_require_mod,character,version:1.1.10], 71, [mod_publish_data_file.zip], 3766322, 453816, [], 0[00:00:19]: GetPublishedFileDetails(10)[00:00:19]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 376333686[00:00:19]:    245850, 322330, [Always On Status], 539646115789546462, 539643766794230713, 76561198025931302, 1421476256, 1429016414, 0, 0, [client_only_mod,interface,reign of giants compatible,tweak,utility,version:1.1.4], 71, [mod_publish_data_file.zip], 156068, 118758, [], 0[00:00:19]: GetPublishedFileDetails(11)[00:00:19]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 420284239[00:00:19]:    245850, 322330, [Phantas-Moon! (Arcueid Brunestud)], 541898206731902713, 541897915600764287, 76561198046032840, 1428263854, 1429653223, 0, 0, [all_clients_require_mod,character,version:1.1.7], 71, [mod_publish_data_file.zip], 2954636, 404165, [], 0[00:00:19]: GetPublishedFileDetails(12)[00:00:19]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 351325790[00:00:19]:    245850, 322330, [Geometric Placement], 541902544715729528, 536256758271941213, 76561198025931302, 1417764121, 1433301471, 0, 0, [client_only_mod,interface,tweak,utility,version:1.4.4,featured], 71, [mod_publish_data_file.zip], 1109755, 1079468, [], 0[00:00:19]: GetPublishedFileDetails(13)[00:00:19]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 431003525[00:00:19]:    245850, 322330, [Saber Lion! (King of Savannah!)], 544153712520364823, 541898737665341102, 76561198046032840, 1429861283, 1432703740, 0, 0, [all_clients_require_mod,character,version:1.1.9], 71, [mod_publish_data_file.zip], 2113043, 485566, [], 0[00:00:19]: GetPublishedFileDetails(14)[00:00:19]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 432209664[00:00:19]:    245850, 322330, [Playable Mobs], 545279141425787877, 546405512334982481, 76561198100496342, 1430011523, 1432254971, 0, 0, [all_clients_require_mod,character,creature,reign of giants compatible,version:1.4.0], 71, [mod_publish_data_file.zip], 4575261, 18138, [], 0[00:00:19]: GetPublishedFileDetails(15)[00:00:19]: Getting mod details...[00:00:19]: OnPublishedFileDetailsResult [00:00:19]:    EResult 1, 434383046[00:00:19]:    245850, 322330, [Dawn], 38624183361162868, 38622112198818472, 76561198130430187, 1430342220, 1432505571, 0, 0, [all_clients_require_mod,environment,reign of giants compatible,scenario,tweak,utility,version:0.3.0], 71, [mod_publish_data_file.zip], 169175, 35315, [], 0[00:00:19]: GetPublishedFileDetails(16)[00:00:19]: Getting mod details...[00:00:20]: OnPublishedFileDetailsResult [00:00:20]:    EResult 1, 436807154[00:00:20]:    245850, 322330, [Paimon], 535143971124740485, 535143971124741003, 76561198151598813, 1430675268, 1430675268, 0, 0, [character,item,creature,art,version:1.1.6,all_clients_require_mod], 71, [mod_publish_data_file.zip], 5722103, 411549, [], 0[00:00:20]: GetPublishedFileDetails(17)[00:00:20]: Getting mod details...[00:00:20]: OnPublishedFileDetailsResult [00:00:20]:    EResult 1, 391470860[00:00:20]:    245850, 322330, [Eira], 535143971108532907, 534011101576093456, 76561198151598813, 1423782113, 1430305913, 0, 0, [character,item,art,version:3,all_clients_require_mod], 71, [mod_publish_data_file.zip], 5621426, 507446, [], 0[00:00:20]: GetPublishedFileDetails(18)[00:00:20]: Getting mod details...[00:00:20]: OnPublishedFileDetailsResult [00:00:20]:    EResult 1, 440975827[00:00:20]:    245850, 322330, [Yoyo], 45378430136151927, 45378430136152508, 76561198061035695, 1431319749, 1431319749, 1, 0, [version:1.3,all_clients_require_mod], 71, [mod_publish_data_file.zip], 13470789, 500929, [], 0[00:00:20]: GetPublishedFileDetails(19)[00:00:20]: Getting mod details...[00:00:20]: OnPublishedFileDetailsResult [00:00:20]:    EResult 1, 437521942[00:00:20]:    245850, 322330, [PARTY DANCE], 543026188951533068, 543025804533180348, 76561198046032840, 1430773384, 1431185675, 0, 0, [all_clients_require_mod,other,tweak,version:0.0.2], 71, [mod_publish_data_file.zip], 22220, 336834, [], 0[00:00:20]: GetPublishedFileDetails(20)[00:00:20]: Getting mod details...[00:00:20]: OnPublishedFileDetailsResult [00:00:20]:    EResult 1, 447305762[00:00:20]:    245850, 322330, [All Hallows Eve - Testing Version], 38624733537316728, 38624183353392540, 76561198130430187, 1432335670, 1433009072, 1, 0, [version:0.0.4,all_clients_require_mod], 71, [mod_publish_data_file.zip], 3182381, 9008, [], 0[00:00:20]: GetPublishedFileDetails(21)[00:00:20]: Getting mod details...[00:00:21]: OnPublishedFileDetailsResult [00:00:21]:    EResult 1, 450498063[00:00:21]:    245850, 322330, [Illyasviel Von Einzbern(Illya)], 544153791712719832, 544153791700988867, 76561198046032840, 1432767842, 1433029973, 0, 0, [all_clients_require_mod,character,version:1.1.7], 71, [mod_publish_data_file.zip], 3746353, 376400, [], 0[00:00:21]: Mod listing complete.[00:00:21]: SteamWorkshop::CompleteCallback (success, Refreshing mods complete. Nothing new to download.) set[00:00:21]: SimLuaProxy::OnUpdateWorkshopModsComplete(ok., Refreshing mods complete. Nothing new to download.)[00:00:21]: Reloading Mod Info Prefabs	[00:00:21]: WARNING: icon paths for mod workshop-437521942 (PARTY DANCE) are not valid. Got icon_atlas="preview.xml" and icon="preview.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:21]: WARNING: icon paths for mod workshop-432209664 (Playable Mobs) 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:21]: WARNING: icon paths for mod Custom Emotes (Emotes Tutorial) are not valid. Got icon_atlas="preview.xml" and icon="preview.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:21]: Loading Mod Info Prefabs	[00:00:21]: Unloading Mod Info Prefabs	[00:00:21]: QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}[00:00:21]: ### OnStatsQueried ###	[00:00:21]: {"modlinks":{"ws-Wormhole Marks [DST]":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=362175979","ws-Large Chest":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=396026892","ws-More DST Characters":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=343762271","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-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-Extended Indicators WIP":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=358749986","ws-Woodie for DST":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=384633033","ws-Craftable Gears For DST":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=353697884","ws-Smarter Crock Pot":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=365119238","ws-Gesture Wheel":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=352373173","ws-Global Positions":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=378160973","ws-Russian Language Pack":"http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/?id=354836336","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-Minimap HUD","ws-Extra Equip Slots","ws-Always On Status","ws-Health Info","ws-Display Food Values","ws-Wormhole Marks [DST]","ws-Smarter Crock Pot","ws-More DST Characters","ws-Global Positions","ws-DST Storm Cellar","ws-Increased Stack size","ws-DST Where's My Beefalo?","ws-Russian Language Pack","ws-Large Chest","ws-Gesture Wheel","ws-Woodie for DST","ws-Craftable Gears For DST","ws-Extended Indicators WIP","ws-Wall Gates [DST]"]}	[00:00:21]: [00:00:21]: true	[00:00:21]: 200	[00:00:30]: Unloading Mod Info Prefabs	[00:00:30]: unloading prefabs for mod MOD_workshop-376333686	[00:00:30]: unloading prefabs for mod MOD_workshop-399803164	[00:00:30]: unloading prefabs for mod MOD_Sanji-ROG	[00:00:30]: unloading prefabs for mod MOD_workshop-431003525	[00:00:30]: unloading prefabs for mod MOD_workshop-450498063	[00:00:30]: unloading prefabs for mod MOD_workshop-380079744	[00:00:30]: unloading prefabs for mod MOD_workshop-399799824	[00:00:30]: Collecting garbage...[00:00:30]: lua_gc took 0.03 seconds[00:00:30]: ~NetworkLuaProxy()[00:00:30]: ~SimLuaProxy()[00:00:30]: lua_close took 0.06 seconds[00:00:30]: cGame::StartPlaying[00:00:30]: LOADING LUA[00:00:30]: DoLuaFile scripts/main.lua[00:00:30]: DoLuaFile loading buffer scripts/main.lua[00:00:30]: scripts/main.lua(167,1) running main.lua	[00:00:30]: loaded modindex	[00:00:30]: ModIndex: Beginning normal load sequence.	[00:00:30]: ModIndex:GetModsToLoad inserting moddir, 	Sanji-ROG	[00:00:30]: ModIndex:GetModsToLoad inserting moddir, 	workshop-376333686	[00:00:30]: Could not load mod_config_data/modconfiguration_Sanji-ROG	[00:00:30]: Loading mod: Sanji-ROG (Sanji) Version:1.1.1	[00:00:30]: loaded mod_config_data/modconfiguration_workshop-376333686	[00:00:30]: Loading mod: workshop-376333686 (Always On Status) Version:1.1.4	[00:00:30]: Mod: workshop-376333686 (Always On Status)	Loading modworldgenmain.lua	[00:00:30]: Mod: workshop-376333686 (Always On Status)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:30]: Mod: workshop-376333686 (Always On Status)	Loading modmain.lua	[00:00:30]: Mod: Sanji-ROG (Sanji)	Loading modworldgenmain.lua	[00:00:30]: Mod: Sanji-ROG (Sanji)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:30]: Mod: Sanji-ROG (Sanji)	Loading modmain.lua	[00:00:30]: LOADING LUA SUCCESS[00:00:31]: PlayerDeaths loaded morgue	5718	[00:00:31]: loaded profile	[00:00:31]: bloom_enabled	false	[00:00:31]: loaded saveindex	[00:00:31]: OnFilesLoaded()	[00:00:31]: OnUpdatePurchaseStateComplete	[00:00:31]: 	Unload BE	[00:00:31]: 	Unload BE done	[00:00:32]: Mod: workshop-376333686 (Always On Status)	Registering prefabs	[00:00:32]: Mod: workshop-376333686 (Always On Status)	  Registering default mod prefab	[00:00:32]: Mod: Sanji-ROG (Sanji)	Registering prefabs	[00:00:32]: Mod: Sanji-ROG (Sanji)	  Registering prefab file: prefabs/sanji	[00:00:32]: Mod: Sanji-ROG (Sanji)	    sanji	[00:00:32]: Mod: Sanji-ROG (Sanji)	  Registering prefab file: prefabs/sanjihat	[00:00:32]: Mod: Sanji-ROG (Sanji)	    sanjihat	[00:00:32]: Mod: Sanji-ROG (Sanji)	  Registering default mod prefab	[00:00:33]: 	Load FE	[00:00:34]: 	Load FE: done	[00:00:34]: platform_motd	table: 151A8DE0	[00:00:34]: SimLuaProxy::QueryServer()[00:00:34]: SimLuaProxy::QueryServer()[00:00:34]: SimLuaProxy::QueryServer()[00:00:34]: ModIndex: Load sequence finished successfully.	[00:00:34]: Reset() returning[00:00:34]: platform_motd	table: 1568C1D8	[00:00:36]: [200] Account Communication Success (6)[00:00:36]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_Gl4sTPnP[00:00:36]: QueryServerComplete no callback[00:00:38]: Downloaded server listings - full: 2631 filtered: 1477[00:00:47]: Attempting to join: Testing 2-man test at 138.229.157.194:10999[00:00:48]: [200] Account Communication Success (13)[00:00:48]: Joining Steam Room : 109775242089754140[00:00:48]: void cSteamPunchthrough::MessageResult( RakNet::Console_JoinRoom * message )[00:00:48]: MemberJoinedRoom: Member named Arcade and ID 76561198046032840 joined room with ID 109775242089754140[00:00:48]: Connecting using Steam Punchthrough address[00:00:48]: Steam tell us to connect to 86.31.54.103:1 [00:00:48]: Connection attempts done. Result: 0[00:00:52]: Connection request accepted to 86.31.54.103|1 with GUID 360288317528347888[00:00:52]: Network external address discovered: 243.20.0.223|1[00:00:52]: SendClientHandShakePacket: rw^eyJVc2VySUQiOiJLVV9HbDRzVFBuUCIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^7uGMfJ+KSTLVDaVbD3IIiXV9R715ctfv to 360288317528347888[00:00:52]: DeserializeHandShakeServerListing[00:00:52]: Network tick rate: U=10(3), D=0[00:00:52]: Version: 138494[00:00:52]: Begin Session: 07700050EDD0C0F4[00:00:53]: Done Downloading Client Object Data[00:00:53]: DownloadMods and temp disable	[00:00:53]: Does workshop-399803164 v:1.2.4 exist? true	[00:00:53]: Does Sanji-ROG v:1.1.1 exist? true	[00:00:53]: Does workshop-431003525 v:1.1.9 exist? true	[00:00:53]: Does workshop-450498063 v:1.1.7 exist? true	[00:00:53]: Does workshop-380079744 v:1.1.19 exist? true	[00:00:53]: Does workshop-399799824 v:1.2.4 exist? true	[00:00:53]: We now have the required mods, enable them for server	[00:00:53]: Temp Enabling workshop-399803164	[00:00:53]: Temp Enabling Sanji-ROG	[00:00:53]: Temp Enabling workshop-431003525	[00:00:53]: Temp Enabling workshop-450498063	[00:00:53]: Temp Enabling workshop-380079744	[00:00:53]: Temp Enabling workshop-399799824	[00:00:53]: ModIndex:SetTempModConfigData	[00:00:53]: Setting temp mod config for mod 	Sanji-ROG	[00:00:53]: Setting temp mod config for mod 	workshop-450498063	[00:00:53]: Setting temp mod config for mod 	workshop-431003525	[00:00:53]: Setting temp mod config for mod 	workshop-399799824	[00:00:53]: Setting temp mod config for mod 	workshop-399803164	[00:00:53]: Setting temp mod config for mod 	workshop-380079744	[00:00:53]: Mods are setup for server, save the mod index and proceed.	[00:00:53]: [00:00:53]: Downloading [0] From: server_temp[00:00:53]: 0 (44%) 1/1 server_temp\server_save 114000b / 253327b[00:00:54]: 0 (89%) 1/1 server_temp\server_save 228000b / 253327b[00:00:54]: 0 (100%) 1/1 server_temp\server_save 253327b / 253327b[00:00:54]: Download complete[0] Files: 1 Size: 253327[00:00:54]: unloading prefabs for mod MOD_workshop-376333686	[00:00:54]: unloading prefabs for mod MOD_Sanji-ROG	[00:00:54]: Collecting garbage...[00:00:54]: lua_gc took 0.02 seconds[00:00:54]: ~NetworkLuaProxy()[00:00:54]: ~SimLuaProxy()[00:00:54]: lua_close took 0.05 seconds[00:00:54]: cGame::StartPlaying[00:00:54]: LOADING LUA[00:00:54]: DoLuaFile scripts/main.lua[00:00:54]: DoLuaFile loading buffer scripts/main.lua[00:00:54]: scripts/main.lua(167,1) running main.lua	[00:00:54]: loaded modindex	[00:00:54]: ModIndex: Beginning normal load sequence.	[00:00:54]: ModIndex:GetModsToLoad inserting moddir, 	Sanji-ROG	[00:00:54]: ModIndex:GetModsToLoad inserting moddir, 	workshop-376333686	[00:00:54]: ModIndex:GetModsToLoad inserting moddir, 	workshop-380079744	[00:00:54]: ModIndex:GetModsToLoad inserting moddir, 	workshop-399799824	[00:00:54]: ModIndex:GetModsToLoad inserting moddir, 	workshop-399803164	[00:00:54]: ModIndex:GetModsToLoad inserting moddir, 	workshop-431003525	[00:00:54]: ModIndex:GetModsToLoad inserting moddir, 	workshop-450498063	[00:00:54]: Could not load mod_config_data/modconfiguration_Sanji-ROG	[00:00:54]: Loading mod: Sanji-ROG (Sanji) Version:1.1.1	[00:00:54]: loaded mod_config_data/modconfiguration_workshop-376333686	[00:00:54]: Loading mod: workshop-376333686 (Always On Status) Version:1.1.4	[00:00:54]: Could not load mod_config_data/modconfiguration_workshop-380079744	[00:00:54]: Loading mod: workshop-380079744 (Luffy) Version:1.1.19	[00:00:54]: Could not load mod_config_data/modconfiguration_workshop-399799824	[00:00:54]: Loading mod: workshop-399799824 (Tamamo) Version:1.2.4	[00:00:54]: Could not load mod_config_data/modconfiguration_workshop-399803164	[00:00:54]: Loading mod: workshop-399803164 (Tohsaka Rin) Version:1.2.4	[00:00:54]: Could not load mod_config_data/modconfiguration_workshop-431003525	[00:00:54]: Loading mod: workshop-431003525 (Saber Lion!) Version:1.1.9	[00:00:54]: Could not load mod_config_data/modconfiguration_workshop-450498063	[00:00:54]: Loading mod: workshop-450498063 (Illyasviel Von Einzbern) Version:1.1.7	[00:00:54]: Mod: workshop-376333686 (Always On Status)	Loading modworldgenmain.lua	[00:00:54]: Mod: workshop-376333686 (Always On Status)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:54]: Mod: workshop-376333686 (Always On Status)	Loading modmain.lua	[00:00:54]: Mod: workshop-399803164 (Tohsaka Rin)	Loading modworldgenmain.lua	[00:00:54]: Mod: workshop-399803164 (Tohsaka Rin)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:54]: Mod: workshop-399803164 (Tohsaka Rin)	Loading modmain.lua	[00:00:54]: modimport: ../mods/workshop-399803164/libs/env.lua	[00:00:54]: Warning: Mod Character rin already exists in the CHARACTER_GENDERS table. It was either added previously, or added twice. You only need to call AddModCharacter now.	[00:00:54]: Mod: Sanji-ROG (Sanji)	Loading modworldgenmain.lua	[00:00:54]: Mod: Sanji-ROG (Sanji)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:54]: Mod: Sanji-ROG (Sanji)	Loading modmain.lua	[00:00:54]: Mod: workshop-431003525 (Saber Lion!)	Loading modworldgenmain.lua	[00:00:54]: Mod: workshop-431003525 (Saber Lion!)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:54]: Mod: workshop-431003525 (Saber Lion!)	Loading modmain.lua	[00:00:54]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	Loading modworldgenmain.lua	[00:00:54]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:54]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	Loading modmain.lua	[00:00:54]: modimport: ../mods/workshop-450498063/libs/env.lua	[00:00:54]: Mod: workshop-380079744 (Luffy)	Loading modworldgenmain.lua	[00:00:54]: Mod: workshop-380079744 (Luffy)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:54]: Mod: workshop-380079744 (Luffy)	Loading modmain.lua	[00:00:54]: modimport: ../mods/workshop-380079744/libs/use.lua	[00:00:54]: Warning: Mod Character luffy already exists in the CHARACTER_GENDERS table. It was either added previously, or added twice. You only need to call AddModCharacter now.	[00:00:54]: Mod: workshop-399799824 (Tamamo)	Loading modworldgenmain.lua	[00:00:54]: Mod: workshop-399799824 (Tamamo)	  Mod had no modworldgenmain.lua. Skipping.	[00:00:54]: Mod: workshop-399799824 (Tamamo)	Loading modmain.lua	[00:00:54]: modimport: ../mods/workshop-399799824/libs/use.lua	[00:00:54]: LOADING LUA SUCCESS[00:00:54]: PlayerDeaths loaded morgue	5718	[00:00:54]: loaded profile	[00:00:54]: bloom_enabled	false	[00:00:54]: loaded saveindex	[00:00:54]: OnFilesLoaded()	[00:00:54]: OnUpdatePurchaseStateComplete	[00:00:55]: 	Unload FE	[00:00:55]: 	Unload FE done	[00:00:57]: Mod: workshop-376333686 (Always On Status)	Registering prefabs	[00:00:57]: Mod: workshop-376333686 (Always On Status)	  Registering default mod prefab	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	Registering prefabs	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/rin	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    rin	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formredgem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    formredgem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formbluegem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    formbluegem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formorangegem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    formorangegem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formyellowgem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    formyellowgem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formgreengem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    formgreengem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formpurplegem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    formpurplegem	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/formthulecite	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    formthulecite	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/gandr	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    gandr	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering prefab file: prefabs/rinprojectile	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    rinprojectile	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	    eye_charge_hit	[00:00:57]: Mod: workshop-399803164 (Tohsaka Rin)	  Registering default mod prefab	[00:00:57]: Mod: Sanji-ROG (Sanji)	Registering prefabs	[00:00:57]: Mod: Sanji-ROG (Sanji)	  Registering prefab file: prefabs/sanji	[00:00:57]: Mod: Sanji-ROG (Sanji)	    sanji	[00:00:57]: Mod: Sanji-ROG (Sanji)	  Registering prefab file: prefabs/sanjihat	[00:00:57]: Mod: Sanji-ROG (Sanji)	    sanjihat	[00:00:57]: Mod: Sanji-ROG (Sanji)	  Registering default mod prefab	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	Registering prefabs	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	  Registering prefab file: prefabs/saberlion	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	    saberlion	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	  Registering prefab file: prefabs/sabermeat	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	    sabermeat	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	  Registering prefab file: prefabs/summonclone	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	    summonclone	[00:00:58]: Mod: workshop-431003525 (Saber Lion!)	  Registering default mod prefab	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	Registering prefabs	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illya	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illya	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/summonbeserker	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    summonbeserker	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illyahat	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illyahat	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/beserkersword	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    beserkersword	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illyabird	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illyabird	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/grail	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    grail	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering prefab file: prefabs/illya_projectile	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    ice_projectile	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	    illya_projectile	[00:00:58]: Mod: workshop-450498063 (Illyasviel Von Einzbern)	  Registering default mod prefab	[00:00:58]: Mod: workshop-380079744 (Luffy)	Registering prefabs	[00:00:58]: Mod: workshop-380079744 (Luffy)	  Registering prefab file: prefabs/luffy	[00:00:58]: Mod: workshop-380079744 (Luffy)	    luffy	[00:00:58]: Mod: workshop-380079744 (Luffy)	  Registering prefab file: prefabs/luffyhat	[00:00:58]: Mod: workshop-380079744 (Luffy)	    luffyhat	[00:00:58]: Mod: workshop-380079744 (Luffy)	  Registering default mod prefab	[00:00:58]: Mod: workshop-399799824 (Tamamo)	Registering prefabs	[00:00:58]: Mod: workshop-399799824 (Tamamo)	  Registering prefab file: prefabs/tamamo	[00:00:58]: Mod: workshop-399799824 (Tamamo)	    tamamo	[00:00:58]: Mod: workshop-399799824 (Tamamo)	  Registering default mod prefab	[00:00:59]: 	LOAD BE	[00:01:01]: Could not preload undefined prefab 0x4058bc0 (molehat)[00:01:02]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)[00:01:02]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)[00:01:04]: 	LOAD BE: done	[00:01:04]: Deserialize world session from client_temp/server_save	[00:01:04]: Save file is at version 1	[00:01:04]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-399803164/images/map_icons/rin.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/Sanji-ROG/images/map_icons/sanji.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-431003525/images/inventoryimages/summonclone.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-431003525/images/map_icons/saberlion.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-450498063/images/inventoryimages/summonbeserker.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-450498063/images/inventoryimages/grail.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-450498063/images/map_icons/illya.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-380079744/images/map_icons/luffy.xml )[00:01:04]: MiniMapComponent::AddAtlas( ../mods/workshop-399799824/images/map_icons/tamamo.xml )[00:01:05]: Loading Nav Grid	[00:01:05]: OVERRIDE: setting	season_start	to	autumn	[00:01:05]: Reconstructing topology	[00:01:05]: 	...Sorting points	[00:01:05]: 	...Sorting edges	[00:01:05]: 	...Connecting nodes	[00:01:05]: 	...Validating connections	[00:01:05]: 	...Housekeeping	[00:01:05]: 	...Done!	[00:01:05]: ModIndex: Load sequence finished successfully.	[00:01:05]: Reset() returning[00:01:05]: QueryServerComplete no callback[00:01:08]: Attempting to send resume request[00:01:08]: ReceiveResumeNotification[00:01:08]: Deleting user session from session/07700050EDD0C0F4/KU_Gl4sTPnP_/0000000001[00:01:14]: Movement prediction enabled	[00:01:14]: Could not find anim build temperature[00:01:14]: Could not find anim bank [temperature][00:01:14]: Could not find anim build temperature[00:01:14]: Could not find anim bank [temperature][00:01:14]: Loading minimap from session/07700050EDD0C0F4/KU_Gl4sTPnP_/minimap[00:01:14]: Clearing minimap[00:01:28]: error calling PrefabPostInit: cookpot in mod Sanji-ROG (Sanji): [string "../mods/Sanji-ROG/modmain.lua"]:37: attempt to index field 'stewer' (a nil value)LUA ERROR stack traceback:        ../mods/Sanji-ROG/modmain.lua(37,1)        =(tail call) ?        =[C] in function 'xpcall'        scripts/mods.lua(144,1) in function 'mod'        scripts/mainfunctions.lua(155,1)	[00:01:28]: Disabling Sanji-ROG (Sanji) because it had an error.	[00:01:28]: [string "../mods/Sanji-ROG/modmain.lua"]:37: attempt to index field 'stewer' (a nil value)LUA ERROR stack traceback:        ../mods/Sanji-ROG/modmain.lua(37,1)        =(tail call) ?        =[C] in function 'xpcall'        scripts/mods.lua(144,1) in function 'mod'        scripts/mainfunctions.lua(155,1)[00:01:28]: SCRIPT ERROR! Showing error screen	[00:01:29]: QueryServerComplete no callback[00:01:29]: QueryServerComplete no callback[00:01:29]: error calling PrefabPostInit: cookpot in mod Sanji-ROG (Sanji): [string "../mods/Sanji-ROG/modmain.lua"]:37: attempt to index field 'stewer' (a nil value)LUA ERROR stack traceback:        ../mods/Sanji-ROG/modmain.lua(37,1)        =(tail call) ?        =[C] in function 'xpcall'        scripts/mods.lua(144,1) in function 'mod'        scripts/mainfunctions.lua(155,1)	[00:01:29]: Disabling Sanji-ROG (Sanji) because it had an error.	[00:01:30]: RakNet detected a missing replica (23245)[00:01:30]: RakNet detected a missing replica (52225)[00:01:30]: RakNet detected a missing replica (85765)[00:01:30]: RakNet detected a missing replica (59171)[00:01:30]: RakNet detected a missing replica (14305)[00:01:30]: RakNet detected a missing replica (39299)[00:01:30]: RakNet detected a missing replica (135792)[00:01:30]: RakNet detected a missing replica (142439)[00:01:30]: RakNet detected a missing replica (78768)[00:01:30]: RakNet detected a missing replica (136447)[00:01:30]: RakNet detected a missing replica (213283)[00:01:30]: RakNet detected a missing replica (231401)[00:01:30]: RakNet detected a missing replica (239830)[00:01:30]: RakNet detected a missing replica (134621)[00:01:30]: RakNet detected a missing replica (151660)[00:01:30]: RakNet detected a missing replica (32338)[00:01:30]: RakNet detected a missing replica (109545)[00:01:30]: RakNet detected a missing replica (195559)[00:01:30]: RakNet detected a missing replica (236526)[00:01:30]: RakNet detected a missing replica (249428)[00:01:30]: RakNet detected a missing replica (97596)[00:01:30]: RakNet detected a missing replica (57349)[00:01:30]: RakNet detected a missing replica (228614)[00:01:30]: RakNet detected a missing replica (59245)[00:01:30]: RakNet detected a missing replica (137778)[00:01:30]: RakNet detected a missing replica (125489)[00:01:30]: RakNet detected a missing replica (230191)[00:01:30]: RakNet detected a missing replica (181826)[00:01:30]: RakNet detected a missing replica (6030)[00:01:30]: RakNet detected a missing replica (241876)[00:01:30]: RakNet detected a missing replica (166000)
Link to comment
Share on other sites

@rons0n, have it like:

AddPrefabPostInit("cookpot", function(inst)	if inst.components.stewer == nil then		return	end	-- other codeend)

Basically, there needs to be a check inside AddPrefabPostInit so as to limit clients when they go and make their own PostInit. Checking for that nil and returning works, you can also check is the world is the master simulation or if it's the dedicated server.

 

I was running my crock pot code as server only (in modinfo), so the check wasn't needed, and I failed to realize that since you were putting it inside your character mod, clients would run the code too.

 

But now's ok.

Edited by DarkXero
Link to comment
Share on other sites

@DarkXero,@rons0n, You can do this way more easily by modifying the action function:

local COOK = GLOBAL.ACTIONS.COOKlocal old_cook_fn = COOK.fnCOOK.fn = function(act, ...)	local result = old_cook_fn(act)	local stewer = act.target.components.stewer	if result and stewer ~= nil and act.doer.prefab == "wilson" then		local fn = stewer.task.fn		stewer.task:Cancel()		fn(act.target, stewer)	endend
Link to comment
Share on other sites

@rezecib, instead of changing the time of the task, you run it outright.

Instead of tackling the process of StartCooking, you run over the task it produces.

 

Smart.

I was afraid that by doing something similar, I would generate a task that would crash the game or something.

Or not attach it properly or something.

 

@rons0n, this is better. More simple.

Edited by DarkXero
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...