[Bug] NetworkGetEntityOwner returns 65535 instead of -1 when server owns entity
#241
Closed
ihyajb
started this conversation in
[BUG] FiveM for GTAV Enhanced
Replies: 3 comments 1 reply
|
Thanks, we are looking into this. |
1 reply
|
The fix for this has been implemented, please try again. |
0 replies
|
Confirmed Fixed, thanks |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Before in Legacy FiveM when an entity hasnt been assigned ownership yet
NetworkGetEntityOwneralways returned-1now in enhanced the value is returned as65535. Due to this existing checks in frameworks like qbox who spawn vehicles server-sided now break as they always wait until the owner of a vehicle is not-1. Example from qbox below:Issue type
Server
Repro rate
Always
Server build version
FXServer-early-access b96 win32
OS
No response
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
None
OS version / distribution
No response
CPU
No response
RAM
No response
Using txAdmin?
None
Hosting provider
None
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
In any server file:
Expected Behavior
When the server hasnt yet given ownership to a client,
NetworkGetEntityOwnershould return-1Actual Behavior
NetworkGetEntityOwnercurrently returns65535Evidence
Additional Context
No response
All reactions