Skip to content
  • Fight Night
  • Server Release
  • Testing Sessions
  • Server Rules (All Servers)
  • (In) Territory Laws
  • City Laws
  • Drained Server Rules
  • Devastated Server Rules
  • Little Creek Server Rules
  • In For A Penny Server Rules
Territory

Territory

Western RP with a Twist

  • Calendar of Events
  • FAQ’s
  • Tutorials
  • Contact Staff
  • Server List
  • Server Rules (All Servers)
  • Toggle search form
Tutorails for Redm, CFX, or Vorp

RedM/CFX/VORP Project – new vorp on ubuntu?

Posted on September 23, 2022November 28, 2022 By Crimson Creek Team No Comments on RedM/CFX/VORP Project – new vorp on ubuntu?

Base install returns this error:

[script:vorp_inventor] Cannot implicitly convert type 'Newtonsoft.Json.Linq.JArray' to 'Newtonsoft.Json.Linq.JObject'
[script:vorp_inventor] Cannot implicitly convert type 'Newtonsoft.Json.Linq.JArray' to 'Newtonsoft.Json.Linq.JObject'
[script:vorp_inventor] Cannot implicitly convert type 'Newtonsoft.Json.Linq.JArray' to 'Newtonsoft.Json.Linq.JObject'
[script:vorp_inventor] Cannot implicitly convert type 'Newtonsoft.Json.Linq.JArray' to 'Newtonsoft.Json.Linq.JObject'


When a client connects it returns. a Partial File error.

The server then crashes with this error.


[ citizen-server-impl] server thread hitch warning: timer interval of 554 milliseconds
[ citizen-server-impl] server thread hitch warning: timer interval of 245 milliseconds
[    script:vorp_core] Unhandled exception: System.InvalidCastException: Specified cast is not valid.
[    script:vorp_core]   at vorpcore_sv.Scripts.LoadUsers.LoadUser (CitizenFX.Core.Player source, System.Object setKickReason, System.Object deferrals) [0x00380] in <bbbe2016312444d8969d10af7ecdb70f>:0 
[    script:vorp_core]   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1 (System.Object state) [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
[    script:vorp_core]   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x00007] in <9391d7651e69459eae268d8a1dfa670f>:0 
[    script:vorp_core]   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <9391d7651e69459eae268d8a1dfa670f>:0 
[    script:vorp_core]   at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
[    script:vorp_core]   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <9391d7651e69459eae268d8a1dfa670f>:0 
[    script:vorp_core]   at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <9391d7651e69459eae268d8a1dfa670f>:0 
[    script:vorp_core]   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
Unhandled exception in Mono script environment: System.InvalidCastException: Specified cast is not valid.
  at vorpcore_sv.Scripts.LoadUsers.LoadUser (CitizenFX.Core.Player source, System.Object setKickReason, System.Object deferrals) [0x00380] in <bbbe2016312444d8969d10af7ecdb70f>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1 (System.Object state) [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x00007] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at vorpcore_sv.Scripts.LoadUsers.LoadUser (CitizenFX.Core.Player source, System.Object setKickReason, System.Object deferrals) [0x00380] in <bbbe2016312444d8969d10af7ecdb70f>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1 (System.Object state) [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x00007] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <9391d7651e69459eae268d8a1dfa670f>:0 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <9391d7651e69459eae268d8a1dfa670f>:0
> txaEvent "serverShuttingDown" "{"delay":5000,"author":"txAdmin","message":"Server restarting (crash detected)."}"

Fresh upload to make sure there’s no corrupted file, did not change anything.
Stupid sick today will come back to this in a few days.

Okay few days later…..

Trying a different version of Newtonsoft.Json.DLL did not work. (just swapping out different versions).


After several hours of testing different versions, and then testing different c# builds, it looks like the GitHub repository, “build” directory version is the one that works right now. This will change in the future as they publish new builds. Check the GitHub repository for each of your resources and try different versions until you find one that works with your platform. My server platform for this particular server is Ubuntu.
Note if you are familiar with C# and compiling code, you can grab the git hub repository (source code) and compile it yourself, and that will work as well. You will have to update your compiler or project to know where the Newtonsoft.Json.dll and other DLL files are for your build. (Building it yourself is faster.)

Crimson Creek Team

Crimson Creek Team, a group of volunteers working together to have a good time RPing and running our servers.

See author's posts

Hits: 6

Blog, Server Setup FAQs Tags:cfx, cowboy, cowgirl, Newtonsoft.Json, rdo, rdr3, red dead, redm, roleplay, rp, specific build, tutorial, Unhandled exception, video game, welcome, western

Post navigation

Previous Post: Devastated Media
Next Post: Heart Of The Heartlands

Related Posts

Footlockers Search with Stash Reward Blog
Tutorails for Redm, CFX, or Vorp How do I make a / chat command? Redm/CFX/LUA Blog
Tutorial: vorp_crafting has a campfire Blog
RedM Tutorial: Horse Trainer / Syn Stables Blog
Execution Chamber Blog
RedM Tutorial: Crafting Food and Water / Syn Crafting Blog

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


Newsletter



Holiday Events

There are no upcoming events.

Archive

  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022

Donations

Patreon

Kofi

There are no upcoming events at this time

February 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  
« Dec    

Copyright © 2023 Territory.

Powered by PressBook Masonry Dark

Loading...

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.