Duck Game
Gatling Guns
 Este tema se ha marcado como fijo, por lo que probablemente sea importante
Zloty_Diament (Golden_Diamond)  [desarrollador] 14 FEB 2021 a las 8:41
Bug Sharing
Forum for sharing your problems
< >
Mostrando 1-7 de 7 comentarios
Zloty_Diament (Golden_Diamond)  [desarrollador] 15 FEB 2021 a las 11:15 
`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?
Última edición por Zloty_Diament (Golden_Diamond); 15 FEB 2021 a las 11:15
Zloty_Diament (Golden_Diamond)  [desarrollador] 16 FEB 2021 a las 5:19 
Publicado originalmente por 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 a las 12:21 
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)  [desarrollador] 21 FEB 2021 a las 16:34 
Publicado originalmente por vnews:
"Shaders\DarkShader". File not found.
Try re-subscribing then, because I just checked and the "DarkShader" issue was fixed
Última edición por Zloty_Diament (Golden_Diamond); 21 FEB 2021 a las 16:35
FaecTerr 23 FEB 2021 a las 2:02 
Can you upload "DarkShader" on cloud and post the link, cause it still cause crash?
Zloty_Diament (Golden_Diamond)  [desarrollador] 23 FEB 2021 a las 14:43 
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
Última edición por Zloty_Diament (Golden_Diamond); 23 FEB 2021 a las 14:45
FaecTerr 24 FEB 2021 a las 3:37 
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
< >
Mostrando 1-7 de 7 comentarios
Por página: 1530 50