Jump to content

Recommended Posts

Hi,

I want to use the "More Actions" mod: http://steamcommunity.com/sharedfiles/filedetails/?id=447092740

It seems to work. But at the client_log are several messages:

Spoiler

[00:05:32]: running main.lua
    
[00:05:32]: loaded modindex    
[00:05:32]: ModIndex: Beginning normal load sequence.
    
[00:05:32]: LOADING LUA SUCCESS
[00:05:32]: PlayerDeaths loaded morgue    4995    
[00:05:32]: PlayerHistory could not load player_history    
[00:05:32]: bloom_enabled    false    
[00:05:32]: loaded saveindex    
[00:05:32]: OnFilesLoaded()    
[00:05:32]: OnUpdatePurchaseStateComplete    
[00:05:32]:     Unload BE    
[00:05:32]:     Unload BE done    
[00:05:32]: Could not unload undefined prefab 0xb0a79a1 (twiggy_nut)
[00:05:32]: Could not unload undefined prefab 0xdaf8d5d (disease_fx_small)
[00:05:32]: Could not unload undefined prefab 0xfb37cd5 (disease_fx)
[00:05:32]: Could not unload undefined prefab 0x29ad5029 (spoiled_food)
[00:05:32]: Could not unload undefined prefab 0xdaf8d5d (disease_fx_small)
[00:05:32]: Could not unload undefined prefab 0x359da624 (log)
[00:05:32]: Could not unload undefined prefab 0x29ad5029 (spoiled_food)
[00:05:32]: Could not unload undefined prefab 0x29d8efdb (red_leaves_chop)
[00:05:32]: Could not unload undefined prefab 0x39590c78 (orange_leaves_chop)
[00:05:32]: Could not unload undefined prefab 0x2d1c40c (deciduous_root)
[00:05:32]: Could not unload undefined prefab 0x41ba89b5 (nightmarefuel)
[00:05:32]: Could not unload undefined prefab 0x29ad5029 (spoiled_food)
[00:05:32]: Could not unload undefined prefab 0x235a9a90 (birchnutdrake)
[00:05:32]: Could not unload undefined prefab 0x184178b (meat)
[00:05:32]: Could not unload undefined prefab 0x359da624 (log)
[00:05:32]: Could not unload undefined prefab 0x2a9524cd (blue_cap)
[00:05:32]: Could not unload undefined prefab 0x706870b6 (green_cap)
[00:05:32]: Could not unload undefined prefab 0x1c1e3dc4 (red_cap)
[00:05:32]: Could not unload undefined prefab 0x3036fc96 (ash)
[00:05:32]: Could not unload undefined prefab 0x1a35332f (spore_medium)
[00:05:32]: Could not unload undefined prefab 0x8119781a (cookedmandrake)
[00:05:32]: Could not unload undefined prefab 0x8c6be253 (mandrake)
[00:05:32]: Could not unload undefined prefab 0x8c6be253 (mandrake)
[00:05:32]: Could not unload undefined prefab 0xa694a25e (mandrake_planted)
[00:05:32]: Could not unload undefined prefab 0x359da624 (log)
[00:05:32]: Could not unload undefined prefab 0x112002ba (twiggy_nut_sapling)
[00:05:32]: Could not unload undefined prefab 0x184178b (meat)
[00:05:32]: Could not unload undefined prefab 0x359da624 (log)
[00:05:32]: Could not unload undefined prefab 0x1078732c (character_fire)
[00:05:32]: Could not unload undefined prefab 0x184178b (meat)
[00:05:32]: Could not unload undefined prefab 0x359da624 (log)
[00:05:32]: Could not unload undefined prefab 0x1078732c (character_fire)
[00:05:32]: Could not unload undefined prefab 0x78d69cdc (rock_petrified_tree_short)
[00:05:32]: Could not unload undefined prefab 0x4f122f8c (rock_petrified_tree_med)
[00:05:32]: Could not unload undefined prefab 0x9ce1eaee (rocks)
[00:05:32]: Could not unload undefined prefab 0x7e6d93ac (nitre)
[00:05:32]: Could not unload undefined prefab 0x50155047 (rock_petrified_tree_old)
[00:05:32]: Could not unload undefined prefab 0xaec874c8 (disease_puff)
[00:05:32]: Could not unload undefined prefab 0xdaf8d5d (disease_fx_small)
[00:05:32]: Could not unload undefined prefab 0xfb37cd5 (disease_fx)
[00:05:32]: Could not unload undefined prefab 0x1c124037 (disease_fx_tall)
[00:05:32]: Could not unload undefined prefab 0x359da624 (log)
[00:05:32]: Could not unload undefined prefab 0x2a9524cd (blue_cap)
[00:05:32]: Could not unload undefined prefab 0x706870b6 (green_cap)
[00:05:32]: Could not unload undefined prefab 0x1c1e3dc4 (red_cap)
[00:05:32]: Could not unload undefined prefab 0x3036fc96 (ash)
[00:05:32]: Could not unload undefined prefab 0xed18eed (spore_small)
[00:05:32]: Could not unload undefined prefab 0x8539b55b (mushtree_small_burntfx)
[00:05:32]: Could not unload undefined prefab 0x994e32df (mushtree_small_bloom_burntfx)
[00:05:32]: Could not unload undefined prefab 0x359da624 (log)
[00:05:32]: Could not unload undefined prefab 0x2a9524cd (blue_cap)
[00:05:32]: Could not unload undefined prefab 0x706870b6 (green_cap)
[00:05:32]: Could not unload undefined prefab 0x1c1e3dc4 (red_cap)
[00:05:32]: Could not unload undefined prefab 0x3036fc96 (ash)
[00:05:32]: Could not unload undefined prefab 0x5286daa7 (spore_tall)
[00:05:32]: Could not unload undefined prefab 0x9db421e9 (mushtree_tall_burntfx)
[00:05:32]: Could not unload undefined prefab 0x4336ea6d (mushtree_tall_bloom_burntfx)
[00:05:32]:     Load FE    
[00:05:33]:     Load FE: done    
[00:05:33]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/client_save/blocklist.txt (Failure)

I already changed the main modfile that way, that nothing in it is loaded. It only checks if an option from modinfo I added is active or not.(So I can deactivate the main modfile in modsettings)

So it looks like:

Spoiler

if GetModConfigData("active") == 1 then

    -- ... whole content

    -- ...

end

 

But the errors are still in the logfile. So I removed the whole "scripts" folder from the mod (although I don't think this could be the reason for the errors). At first try the error was gone. But because of the ****ty mod implementation of this game, it is not very clear, because after starting a new game without any mods active, the error was again in the client_log:

38 minutes ago, Serpens said:

starting 2 times a new world AND game restart is needed...

in addition the "could not load" error did not appear when the mod was loaded, but after creating two times a new world without any mods active (but without restarting the game) the error happend... Why?! there is no mod loaded =(

So at the momemt I'm not really able to find out, what exactly this error causes, because of the game mod loading mechanics -.-

So is anyone here that know this kind of bug and is able to tell me why it happens and if it affects the game?

 

 

Edited by Serpens
5 hours ago, Serpens said:

So is anyone here that know this kind of bug and is able to tell me why it happens and if it affects the game?

[00:05:32]: Could not unload undefined prefab 0x184178b (meat)

You mean these? This isn't caused by mods. Nothing you can do about it. It doesn't affect the game.

No clue why it happens though. Can't see what "log" and "mandrake" have in common.

1 hour ago, DarkXero said:

[00:05:32]: Could not unload undefined prefab 0x184178b (meat)

You mean these? This isn't caused by mods. Nothing you can do about it. It doesn't affect the game.

No clue why it happens though. Can't see what "log" and "mandrake" have in common.

Maybe it's caused by prefab dependencies?
I mean, for example, orange_leaves_chop prefab is defined in prefabs/fx.lua and used as dependency for deciduoustree prefab (defined in prefabs/deciduoustrees.lua). So when they are getting unloaded, the first prefab unloads orange_leaves_chop just fine, but the second prefab tries to unload already unloaded prefab and issues a message.

1 hour ago, Muche said:

Maybe it's caused by prefab dependencies?

Maybe.

But then how come you only have 3 "meat" in there, while you have like 14 prefabs that have "meat" in dependencies?

I don't know what dependencies are used for, either. If I make a mod creature that drops the "mod_meat" prefab, then it only matters that I insert in PREFABFILES a filename of the file that defines the prefab. Including it on the dependencies table does nothing. If I don't include it in PREFABFILES but I put it in deps, then SpawnPrefab("mod_meat") returns a nil value.

 

It's definitely the dependencies.

I wrote

local _ctor = Prefab._ctor
Prefab._ctor = function(self, ...)
	_ctor(self, ...)
	local k = 0
	for i, v in ipairs(self.deps) do
		if v == "meat" then
			k = i
			break
		end
	end
	if k > 0 then
		table.remove(self.deps, k)
	end
end

and meat disappeared from the log.

Edited by DarkXero

okay, good to know that is not caused by a mod :)

Does this bug has notable impacts on the game? So should I implement the code from DarkXero into one of my used mods for every prefab?

 

edit: ah you alredy wrote that it does not affect the game. Great :)

Edited by Serpens

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
×
  • Create New...