Fivem wont load into ANY drift server

To receive support, please fill out the following template, and remove this top text.

GTA V version?
Latest
Up to date?
Yes
Legit or Pirate copy?
Legit
Steam/CD/Social Club?
Steam
Windows version?
10
Did you try to delete caches.xml and try again?
yes, also tried reinstall
Error screenshot (if any)
No sorry
System specifications
Amd A8 7650k 16GB ram (it can run drift)
What did you do to get this issue?
Tried to connect to a drift server
What server did you get this issue on?
All the drift servers (velocity and hashiriya) it loads into rp thoough
CitizenFX.log file
CitizenFX.log (330.0 KB)

.dmp files/report IDs
48697d5b-7bc7-43d9-a92a-0574391185f7.dmp (395.6 KB)

If an issue with starting:
GTA V folder screenshot
GTA V directory is vanilla
GTA V/update/x64/dlcpacks screenshot
Vanilla
Filepath to FiveM folder
C:\Users\kaidm\AppData\Local\FiveM
FiveM client folder screenshot
Vanilla
Did you try to disable/uninstall your Anti-virus?
No Anti virus
Also add what you already tried so far.

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the FiveM community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

this could be part of the issue

[ 429687] GlobalError: Assertion failure: status.ok() (c:\gl\builds\edf06b9b\0\cfx\fivem\code\components\citizen-resources-client\src\kvscriptfunctions.cpp:25)
[ 429703] InvokeNative: execution failed: Error executing native 0x00000000dd379006 at address 0x7ffe6f9ab904.
[ 429718] Failed to instantiate instance of script vMenuClient.MainMenu: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.ArgumentException: Value does not fall within the expected range.

[ 429796] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object,System.Exception&)

[ 429859] at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object parameters) [0x00002] in :0

[ 429921] — End of inner exception stack trace —

[ 430000] at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object parameters) [0x00014] in :0

[ 430062] at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in :0

[ 430140] at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in :0

[ 430203] at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in :0

[ 430265] at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in :0

[ 430343] at System.Activator.CreateInstance (System.Type type) [0x00000] in :0

[ 430406] at CitizenFX.Core.InternalManager.CreateAssemblyInternal (System.Byte assemblyData, System.Byte symbolData) [0x00069] in C:\gl\builds\edf06b9b\0\cfx\fivem\code\client\clrcore\InternalManager.cs:86

Do all these servers have vmenu?

someone else who tried to help suggested its vmenu from what i can tell i think harishiya and velocity use v menu which could explain why it only loads into rp and not drift

Leaving my notes on the problem, can’t find the exact solution so if someone could follow it up that would be great.
The error traces to the native 0x00000000dd379006 which is START_FIND_KVP used in vMenu (line 72). When calling it, citizenFX fails to run constructor DatabaseHolder() (line 24), because the method leveldb::DB::Open return a non OK status (line 1500). This is probably a case of levelDB failing to create a filesystem, but I have no idea how KVPs work so if someone with actual knowledge about that topic could follow it up it would be nice.

most likely corrupted client storage (kvs folder). also there’s a lot of errors regarding some corrupted cache as well?
seems like a lot is corrupted on your side…

Delete %appdata%\citizenfx\kvs and FiveM.app\cache\priv\db.

It’s unusual how people have this data corrupt, I expected LevelDB to handle database recovery in a proper way :confused:

Yeah it’s strange, the only way I’ve ever corrupted my own kvs is when i wrote my own script to edit the database outside of FiveM, that didn’t go well :wink: other than that i’ve never had it corrupted no matter what i did, and i’ve experimented a lot with it…

BTW, if I wanted to grab some values written by client script by an external application would kvs work for that? Is it possible to read those cached values from another program without problem?

I’m asking, cause I have not used kvs before and wanted to know if they could be used for that purpose.

That’s what I tried to do, and ended up corrupting everything. So yeah i wouldn’t recommend it unless you make some backups first :wink:

it’s implemented with leveldb like @fermium said, though it’s of course not recommended to try and edit the values at all through something external. You most likely have to write your own application/script for it.

So the corruption problems happened even during initialisation/reading? Because I do not need to write to the database, I would be more interested in just reading the stuff that script wrote - I wanted to experiment with external UI overlay stuff so I would only need to read values.

Nevermind, I found this line in levelDB’s readme:

  • Only a single process (possibly multi-threaded) can access a particular database at a time.

So I guess that’s a no :frowning:

Yeah not while FiveM is open but you can probably still read it when FiveM is closed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.