TheStarport / FLHook

A Server Improvement for Freelancer.
GNU General Public License v3.0
30 stars 15 forks source link

Use new BestPathInfo struct and also add a function to send waypoints to a player #386

Closed Schmackbolzen closed 9 months ago

Schmackbolzen commented 10 months ago

The SendBestPath function basically emulates the player clicking on "Set Best Path" on the navmap. I traced down what happens on the client side and basically the client calls IServerImpl::RequestBestPath over network with the BestPathInfo struct and the struct size as parameters.