Skip to content
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

TaskGoToCoordAnyMeans RPC is not synced to client #3122

Open
DatGuy1 opened this issue Feb 2, 2025 · 0 comments
Open

TaskGoToCoordAnyMeans RPC is not synced to client #3122

DatGuy1 opened this issue Feb 2, 2025 · 0 comments
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action

Comments

@DatGuy1
Copy link
Contributor

DatGuy1 commented Feb 2, 2025

What happened?

The client is not aware of the task, while the server believes it is. See comments in repro

Expected result

Ped starts moving

Reproduction steps

Serverside:

-- Assuming we already defined our targetPed, it exists, and NetworkGetEntityOwner != -1
ClearPedTasksImmediately(targetPed)
-- Pacific Bank
SetEntityCoords(targetPed, 250.0, 222.0, 106.0)

-- These all work:
-- TaskCombatPed(targetPed, playerPed, 0, 16)
-- TaskGoToEntity(targetPed, playerPed, 5000, 1.0, 2.0)
-- TaskGoStraightToCoord(targetPed, 233.8, 213.4, 109.2, 1.0, -1)

-- This doesn't:
TaskGoToCoordAnyMeans(targetPed, 233.8, 213.4, 109.2, 1.0)
Wait(50)
print(GetPedScriptTaskCommand(targetPed)) -- TASK_GO_STRAIGHT_TO_COORD task hash, 0x7D8F4411
print(GetPedScriptTaskStage(targetPed)) -- 1, presumably PERFORMING_TASK

Clientside:

GetScriptTaskStatus(targetPed, "SCRIPT_TASK_GO_TO_COORD_ANY_MEANS") -- 7, TASK_FINISHED_OR_NOT_FOUND
GetIsTaskActive(targetPed, 224) -- false

Importancy

Slight inconvenience

Area(s)

Natives, OneSync, FiveM

Specific version(s)

FXServer 12629 Linux

Additional information

No response

@DatGuy1 DatGuy1 added bug triage Needs a preliminary assessment to determine the urgency and required action labels Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

1 participant