Duck Game

Duck Game

Gatling Guns
 This topic has been pinned, so it's probably important
Zloty_Diament (Golden_Diamond)  [developer] 14 Feb, 2021 @ 8:41am
Bug Sharing
Forum for sharing your problems
< >
Showing 1-7 of 7 comments
Zloty_Diament (Golden_Diamond)  [developer] 15 Feb, 2021 @ 11:15am 
`Content\Shaders\DarkShader.xnb` File not found
The "Dark Levels" mod section copies a file from mod directory to game's folder. But it works for me, with mod subscribed as Workshop mod. Maybe you lack file permissions on your end?
Last edited by Zloty_Diament (Golden_Diamond); 15 Feb, 2021 @ 11:15am
Zloty_Diament (Golden_Diamond)  [developer] 16 Feb, 2021 @ 5:19am 
Originally posted by Zloty_Diament:
`Content\Shaders\DarkShader.xnb` File not found
I think I fixed that. It wasn't crashing for me because Duck Game wasn't deleting that shader off its directory on exit like I though it would.
vnews 19 Feb, 2021 @ 12:21pm 
the mod causes the game to crash on startup. here's the crash report:

Crash Source: mscorlib
Mod "Gatling" crashed. Mod disabled. Try running game again.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "Shaders\DarkShader". File not found. ---> System.IO.FileNotFoundException: Error loading "Content\Shaders\DarkShader.xnb". File not found.
at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name)
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
--- End of inner exception stack trace ---
at DuckGame.SynchronizedContentManager.Load[T](String assetName) in MonoTime\Content\SynchronizedContentManager.cs:line 45
at DuckGame.Content.Load[T](String name) in MonoTime\Content\Content.cs:line 1499
at DuckGame.GatlingGuns.DarkLevels..ctor(Single x, Single y)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at DuckGame.Editor.<>c__DisplayClass394_2.<InitializeConstructorLists>b__3() in MonoTime\LevelEditor\Editor.cs:line 6202
at DuckGame.Editor.CreateObject(Type t) in MonoTime\LevelEditor\Editor.cs:line 6048
at DuckGame.Editor.GetOrCreateTypeInstance(Type t) in MonoTime\LevelEditor\Editor.cs:line 6029
at DuckGame.EditorGroup.AddType(Type t, String group) in MonoTime\LevelEditor\EditorGroup.cs:line 62
at DuckGame.EditorGroup.AddType(Type t, String group) in MonoTime\LevelEditor\EditorGroup.cs:line 102
at DuckGame.EditorGroup.AddType(Type t, String group) in MonoTime\LevelEditor\EditorGroup.cs:line 102
at DuckGame.EditorGroup.Initialize(Type filter, HashSet`1 types) in MonoTime\LevelEditor\EditorGroup.cs:line 143
at DuckGame.EditorGroup..ctor(Type filter, HashSet`1 types) in MonoTime\LevelEditor\EditorGroup.cs:line 38
at DuckGame.Editor.InitializePlaceableGroup() in MonoTime\LevelEditor\Editor.cs:line 6223
at DuckGame.LoadingAction.Invoke() in MonoTime\MonoMain.cs:line 60
at DuckGame.MonoMain.RunUpdate(GameTime gameTime) in MonoTime\MonoMain.cs:line 1774
at DuckGame.MonoMain.Update(GameTime gameTime) in MonoTime\MonoMain.cs:line 1612
Last 8 Lines of Console Output:
C:/Users/Victor/Documents/DuckGame/76561198109770565/
Initializing Input...
Initializing DInput...
SetDefaultMapping() Found existing map for (KEYBOARD P1)...
SetDefaultMapping() Found existing map for (KEYBOARD P2)...
SetDefaultMapping() Found existing map for (XBOX GAMEPAD)...
SetDefaultMapping() Found existing map for (GENERIC GAMEPAD)...
Found default settings for (Wireless Controller)...

Date: 02/19/2021 20:13:29
Version: 1.1.7717.16371
Platform: Windows 10 (Steam Build 6250805)(SFX)
Online: 0
Mods: M5W9OdDtxEIC0GMBlocKce+i3eWm1QP2KlhJY7nijkg=
Time Played: 00:00:07 (216)
Special Code: creating DuckGame.GatlingGuns.DarkLevels, Gatling Guns_compiled, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Resolution: (A)1920x1080 (G)1280x720 (Windowed)(RF 111)
Level: null
Command Line:
Zloty_Diament (Golden_Diamond)  [developer] 21 Feb, 2021 @ 4:34pm 
Originally posted by vnews:
"Shaders\DarkShader". File not found.
Try re-subscribing then, because I just checked and the "DarkShader" issue was fixed
Last edited by Zloty_Diament (Golden_Diamond); 21 Feb, 2021 @ 4:35pm
FaecTerr 23 Feb, 2021 @ 2:02am 
Can you upload "DarkShader" on cloud and post the link, cause it still cause crash?
Zloty_Diament (Golden_Diamond)  [developer] 23 Feb, 2021 @ 2:43pm 
It's in the mod's folder, in Workshop Download's directory.
You're a modder, do you have an idea why it crashes for half people, and works for the other half?
Erik has an idea it's a regional thing, issue related to Windows' language
Last edited by Zloty_Diament (Golden_Diamond); 23 Feb, 2021 @ 2:45pm
FaecTerr 24 Feb, 2021 @ 3:37am 
I don't really have any idea, I just removed it from \Effects and created new folder Shaders (that helped), maybe this folder name is reserved or smth
< >
Showing 1-7 of 7 comments
Per page: 1530 50