TomGrobbe / vMenu

vMenu is a custom server sided trainer/menu, built using a custom version of NativeUI. It has full permissions support, so the server owner can decide who's allowed to do what.
https://docs.vespura.com/vmenu
Other
350 stars 373 forks source link

couldn't load vMenu #63

Closed Sampleeeee closed 6 years ago

Sampleeeee commented 6 years ago

I've done exactly what it says in the installation on the wiki, heres my server.cfg

`exec permissions.cfg

other info

start mapmanager start chat start spawnmanager start sessionmanager start fivem start hardcap start rconlog start scoreboard start playernames start hwaycar start weapons start playermodels start vMenu start lux_vehcontrol start basic`

TomGrobbe commented 6 years ago

Did you install vMenu inside /resources/vMenu/vMenu/ or something like that? All files need to be in /resources/vMenu , not in any sub folders

Sampleeeee commented 6 years ago

image

TomGrobbe commented 6 years ago

You downloaded the source files, not the release. Download the release zip file here: https://github.com/TomGrobbe/vMenu/releases/tag/v1.0.6

Sampleeeee commented 6 years ago

Okay, thanks, ill try that

Sampleeeee commented 6 years ago

Now I'm getting this error when I start my server, is this normal

Failed to instantiate instance of script vMenuServer.EventManager: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 0100002d
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at CitizenFX.Core.InternalManager.CreateAssemblyInternal (System.Byte[] assemblyData, System.Byte[] symbolData) [0x00053] in <b3642c6ba1504116b31d83a71003b504>:0
error in mono_error_set_type_load_name: Could not resolve type with token 0100002d

Failed to instantiate instance of script vMenuServer.UpdateChecker: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 0100002d
  at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at vMenuServer.UpdateChecker.CheckUpdates () [0x00026] in <231a7c8e23a440b3a1d332aa2122988d>:0
  at vMenuServer.UpdateChecker..ctor () [0x00008] in <231a7c8e23a440b3a1d332aa2122988d>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at CitizenFX.Core.InternalManager.CreateAssemblyInternal (System.Byte[] assemblyData, System.Byte[] symbolData) [0x00053] in <b3642c6ba1504116b31d83a71003b504>:0
TomGrobbe commented 6 years ago

Are you using the latest fx server artifacts? Because it doesn't look like it?

Sampleeeee commented 6 years ago

I installed the server like 3 days ago

TomGrobbe commented 6 years ago

yes but someone else with the same issue said they were using the latest version because they "installed" the server this week. But instead they were using the oldest version available. Please make sure you're running this build: https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/507-1006eacd1951849fd9c9e25a3b813132389d794b/

Sampleeeee commented 6 years ago

Ohh, my bad, you go to the bottom not top, thanks a lot!