Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error logs #13

Open
dzagu opened this issue Aug 31, 2024 · 2 comments
Open

Error logs #13

dzagu opened this issue Aug 31, 2024 · 2 comments

Comments

@dzagu
Copy link

dzagu commented Aug 31, 2024

Hi, can you fix this?
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at BombsiteRestrict.BombsiteRestrict.GameRules() in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\BombsiteRestrict\BombsiteRestrict.cs:line 204 at BombsiteRestrict.BombsiteRestrict.OnRoundStart(EventRoundStart event, GameEventInfo info) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\BombsiteRestrict\BombsiteRestrict.cs:line 136 at InvokeStub_GameEventHandler1.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100
2024-08-30 09:44:43.445 -04:00 [EROR] (cssharp:Core) Error invoking callback

@dzagu
Copy link
Author

dzagu commented Aug 31, 2024

After changing version to 1.0.9 06:15:35 [EROR] (cssharp:Core) Error invoking callback
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at BombsiteRestrict.BombsiteRestrict.GameRules() in c:\Users\dzagu\Downloads\CS2_BombsitesRestrict-main\CS2_BombsitesRestrict-main\BombsiteRestrict.cs:line 203 at BombsiteRestrict.BombsiteRestrict.OnRoundStart(EventRoundStart event, GameEventInfo info) in c:\Users\dzagu\Downloads\CS2_BombsitesRestrict-main\CS2_BombsitesRestrict-main\BombsiteRestrict.cs:line 135 at InvokeStub_GameEventHandler1.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@dzagu and others