-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FxServer tries to start sessionmanager even when OneSync is enabled #2876
Comments
that is done in your server.cfg , is onesync supposed to force start it even when you dont have |
Not in this case. citizen-server-impl will try to start sessionmanager even if the server is using onesync infinity fivem/code/components/citizen-server-impl/src/GameServer.cpp Lines 1379 to 1386 in 76e67bd
|
Session-manager is force-started (even when it was deleted, so you'll receive warnings in the console) since the current RPC implementation relies on it. fivem/data/shared/citizen/scripting/lua/scheduler.lua Lines 564 to 792 in 76e67bd
|
I don't think that code is actually used by anything, RPC natives are all done in C++ |
This is 'leftover' code from when remote function references were a thing. Back then, you could trigger callbacks from net events natively. However, this implementation broke some time ago and was left behind IIRC. TriggerServerEvent('rpcEvent', function(value)
print(value)
end)
RegisterNetEvent('rpcEvent', function(cb)
cb('test')
end) So if there are no plans to make RPC calls generally available again, then this could be removed. |
What happened?
Self-explanatory.
Expected result
FXServer not forcing the start of sessionmanager.
Reproduction steps
Importancy
Slight inconvenience
Area(s)
FXServer
Specific version(s)
Any FXServer version
Additional information
No response
The text was updated successfully, but these errors were encountered: