Can't join server on FxDK

I’ve just created a project, but when I try to join the server, I get this in client console:

citizen-scripting-core
Creating script environments for hardcap
citizen-scripting-core
Creating script environments for mapmanager
citizen-scripting-core
Still executing script initialization routines...
citizen-scripting-core
Creating script environments for playernames
citizen-scripting-core
Creating script environments for spawnmanager
citizen-scripting-core
Still executing script initialization routines...
onesync
Dropping duplicate player for netID 1 (slotID 128).   <------------ I think this is the problem
voip-mumble
Returning device Altoparlanti (Realtek High Definition Audio) for GUID {93880485-A02D-4B4A-A93E-7D809CCE0220}
script:monitor:nui
NUI: page loaded, events set. (@monitor/scripts/warn.html:188)

And this in server console:

Started resource sessionmanager
Creating script environments for monitor
Started resource monitor
Creating script environments for sdk-game
Started resource sdk-game
Creating script environments for baseevents
Started resource baseevents
Started resource basic-gamemode
Creating script environments for yarn
Started resource yarn
Creating script environments for webpack
Started resource webpack
Running build tasks on resource chat - it'll restart once completed.
^3Couldn't start resource chat.^7
Started resource fivem-map-skater
Creating script environments for hardcap
Started resource hardcap
Creating script environments for mapmanager
Started resource mapmanager
Creating script environments for playernames
Started resource playernames
Started resource spawnmanager
script:hardcap
Connecting: sig.action
citizen-server-impl
sync thread hitch warning: timer interval of 121 milliseconds
citizen-server-impl
server thread hitch warning: timer interval of 165 milliseconds
citizen-server-impl
sync thread hitch warning: timer interval of 104 milliseconds

The screen is black in “Awaiting scripts”.

3 Likes

Did you ever find out what the problem was? Im having that exact problem right now?!

The issue is a client site problem where the onClientMapStart is not called even though the map is fully loaded and mapmanager is started. i fixed it by manually spawning the player once everything is loaded.

So what exactly did you do to fix it. I’m new to all this so I dont really understand much?

Can you explain how you accomplished this please?

You can to do all the player spawn events. Basically you take the natives for creating your ped and placing your ped where is needs to be. It’s a bit of code if you’re creating a custom ped but literally if you look at the natives everything you need for spawning a ped is there