Jump to content

Found a little bug


Recommended Posts

Don't know if I should post bugs in here.

 

Anyway, I wanted to accept a Drunk driver call near the main park (middle of the map) and I got the following error:

[ERROR - 9:51:14 PM] [PluginManager] Unhandled exception caught while processing plugin: Main. Plugin will no longer be executed.
[ERROR - 9:51:14 PM] [Plugin.Main] System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at h1.OnCalloutAccepted()
   at h0.e()
   at h0.Process()
   at av.Process()
   at ay.b()
[ERROR - 9:51:14 PM] [ExceptionHandler]  h1.OnCalloutAccepted() L_0000 
 h0.e() L_0129 
 h0.Process() L_041d 
 av.Process() L_03d0 
 ay.b() L_00a0 
Error hash: 594786CA9007421C69245305A0744486230FD1F1

Seems like you need to check if the array has the index before calling it.

 

So I hope this information can help you. And keep up the good work I love the mod!

 

Keep the peace,

weskey007

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...