Jump to content

Recommended Posts

Posted

I had tattoos, I restarted the server and as soon as I left the door, pressing F the server crashes completely.
 

 

Error;

Quote

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at void WiredPlayers.globals.Globals.CheckPlayerEventKeyEvent(Client player) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 1122
   --- End of inner exception stack trace ---
   at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
   at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)

 

Posted

@Xabi

 

Hello xabi, I have a problem when I create a shop and I made / purchase by buying the item after it crashed the server

 

 

==================[18/11/2018 18:37:02]==================
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at void ThrowHelper.ThrowArgumentOutOfRange_IndexException()
=========================================================

==================[18/11/2018 18:37:02]==================
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at T System.Collections.Generic.List<T>.get_Item(int index)
   at TSource System.Linq.Enumerable.ElementAt<TSource>(IEnumerable<TSource> source, int index)
   at void WiredPlayers.business.Business.PurchaseTattooEvent(Client player, int tattooZone, int tattooIndex) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 483
   --- End of inner exception stack trace ---
   at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
   at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
=========================================================

Posted
21 minutes ago, Atesh said:

Any help with this xabi ?

d187deb76d2573e06c5aa638a594e989.png

Answered on the FAQ, fill the two tables related to the drivingschool.

42 minutes ago, OVER said:

How can I change chat font and space between lines?

There are resources where chat style is changed, check them.

Posted (edited)
2 hours ago, Jordan409 said:

@Xabi

 

Hello xabi, I have a problem when I create a shop and I made / purchase by buying the item after it crashed the server

 

 

==================[18/11/2018 18:37:02]==================
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at void ThrowHelper.ThrowArgumentOutOfRange_IndexException()
=========================================================

==================[18/11/2018 18:37:02]==================
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at T System.Collections.Generic.List<T>.get_Item(int index)
   at TSource System.Linq.Enumerable.ElementAt<TSource>(IEnumerable<TSource> source, int index)
   at void WiredPlayers.business.Business.PurchaseTattooEvent(Client player, int tattooZone, int tattooIndex) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 483
   --- End of inner exception stack trace ---
   at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
   at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
=========================================================

Tell me the steps to reproduce this, it worked well for me.

On 11/18/2018 at 7:26 PM, TheStronght said:

I had tattoos, I restarted the server and as soon as I left the door, pressing F the server crashes completely.
 

 

Error;

 

If you check that line, it checks the business where the player disconnected, which seems that doesn't exist anymore (maybe deleted?)

Edited by Xabi
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...