Multiple problems with own Server

Firstly I wanted to say that English isn’t my main language so sorry if I misspell something or something like that and if I posted this in the wrong category I’m sorry.
This is my first time setting up a FiveM Server and it should be an RP Server for some friends and myself to just have some fun, but I am stumbling across problems and problems which I can’t seem to fix because I’m just dumb and probably doing something wrong…
Short Information to the Server: I am hosting the Server on my own PC on Windows 10 2004, the database is setup with XAMPP and I am using phpmyadmin to do something in the database, I have installed esx v1 Final and some esx addons.

So, my first problem is which I would call a desync problem? Sometimes when I restart the Server and a friend and I connect we are invisible for each other and to fix this temporarily we both need to rejoin and even then it doesn’t always work, also sometimes a Michael spawns at the Spawn. It even goes so far that when my friend connects to the Server my car in which I was driving just despawns for me and another friend, but he still can see my car and drive with it. Or when I buy a car at the vehicle Shop, my car just despawns for me instantly and two of three players can’t see it.
I tried to clear the cache of the server, I tried to reinstall the server, I tried disabling OneSync and enabling it again, I tried to reinstall my database but nothing of this worked.


My second problem are the spawns I am constantly spawning at the Job Center which I don’t want it to happen, I have set the spawns in “fivem-map-hipster” and “fivem-map-skater” to this:

spawnpoint ‘a_m_y_skater_01’ { x = 190, y = -859, z = 32 }
spawnpoint ‘a_m_y_skater_02’ { x = 190, y = -859, z = 32 }

--

but still nothing I am still spawning at the Job Center. Once again I tried clearing the cache, reinstalling the database, reinstalling these maps, but nothing.


My third problem is a problem with esx_realparking my console is sending following messages constantly:


here I tried to change this to true in the config:
Config.UsingOldESX = false
which didn’t worked. I tried resetting my database, didn’t work. I tried to modify the server/main.lua on line 55 with
MySQL.Async.execute(‘UPDATE owned_vehicles SET stored=‘2’ WHERE plate = @plate AND owner = @identifier’, {
and on line 106 and 154 with
MySQL.Async.execute(‘UPDATE owned_vehicles SET stored=‘0’ WHERE plate = @plate AND owner = @identifier’, {
but it also didn’t work.


Here is my server.cfg if u need it:

#- Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

#--------------------------------------------------------
# DB connection string
set mysql_connection_string "server=127.0.0.1;database=es_extended;userid=fivem;password=*******"
set es_enableCustomData 1
#--------------------------------------------------------
exec resources\[sonstiges]\vMenu\config\permissions.cfg
#--------------------------------------------------------

#- These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure ■■■■■■■
ensure scoreboard

#- ESX
start mysql-async
start async
start cron
start skinchanger
start es_extended
start esx_status
start esx_menu_default
start esx_menu_list
start esx_menu_dialog
start esx_society
start esx_addonaccount
start esx_basicneeds
start esx_addoninventory
start esx_ambulancejob
start esx_billing
start esx_vehicleshop
start esx_skin
start esx_datastore
start esx_advancedgarage
start esx_policejob
start esx_weaponshop
start esx_licenseshop
start esx_dmvschool
start esx_property
start esx_advancedweaponshop
start esx_drugs
start esx_mechanicjob
start esx_license
start esx_drp_garage
start pNoftiy
start esx_realparking

#- Sonstiges
start LegacyFuel
start trew_hud_ui
start no-npc
start no-geld
start fivem-lsm
start minimap-disable
start pingkick
start afkkick
start ELS
start NoDriveBy
start vSync
start health-regen
start dpemotes
start qalle_coords
start vMenu

#- Maps
start bob74_ipl
start PillBoxHospitalInterior
#--------------------------------------------------------
#- Permissions
add_ace group.admin command allow # allow all commands
add_ace group.admin easyadmin allow
add_principal identifier.steam:110000115ce8785 group.admin
add_principal identifier.steam:11000010ade3fb6 group.admin
add_principal identifier.steam:11000010e39e832 group.admin
#add_ace resource.uptime command.sets allow
#--------------------------------------------------------

#- This allows players to use scripthook-based plugins such as the legacy Lambda Menu.
#- Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.
sv_scriptHookAllowed 0

#- Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD"
#rcon_password ""

#- A comma-separated list of tags for your server.
#- For example:
#- - sets tags "drifting, cars, racing"
sets tags "roleplay, training"

#- A valid locale identifier for your server's primary language.
#- For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR"
sets locale "de-DE" 
#- please DO replace root-AQ on the line ABOVE with a real language! :)

#- Set an optional server info and connecting banner image url.
#- Size doesn't matter, any banner sized image will be fine.
#sets banner_detail "https://url.to/image.png"
#sets banner_connecting "https://url.to/image.png"

#- Set your server's hostname
sv_hostname "cryo.dating | Training"

#- Nested configs!
#exec server_internal.cfg

#- Loading a server icon (96x96 PNG file)
#load_server_icon myLogo.png

#- convars which can be used in scripts
set temp_convar "hey world!"

#- Uncomment this line if you do not want your server to be listed in the server browser.
#- Do not edit it if you *do* want your server listed.
#sv_master1 ""

#- Hide player endpoints in external log output.
sv_endpointprivacy true

#- enable OneSync with default configuration (required for server-side state awareness)
onesync_enabled true

#- Server player slot limit (must be between 1 and 32, unless using OneSync)
sv_maxclients 16

#- Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
#- -> replace "" with the key
set steam_webApiKey "*******"

#- License key for your server (https://keymaster.fivem.net)
sv_licenseKey "******"`

I would be very thankful and happy if someone could help me… c:
If u need more Information i will give it to you asap!

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