Open Confuseme opened 9 years ago
Adjusted the offset and scale with commit 446f80e. The numbers were taken from the attached stats. You can help by filling the stats if you want better map coordinates. This is an LibreOffice hybrid pdf file so you can open it with LibreOffice calc if you want to edit the original file.
Closing this issue since the result is good and since the exact map offset is difficult to tell without trying.
We should try and re-adjust the coordinates to these findings.
From http://dreamemulator.wikia.com/wiki/Thread:5283#61 2016-07-13 Linking System Device wrote: @Confuseme I don't know if you're still interested, but I've found some good approximations of the maximum and minimum coordinates rendered in the map of MusceTrainer. Y = -390.093 is about the minimum y displayed on the map. Y = 311.627 is about the maximum y displayed on the map. X = 334.655 is about the maximum x displayed on the map. X = -336.534 is about the minimum x displayed on the map.
The edges of the map don't quite match up with the edges of the in-game world. The part of the map where your location is tracked, is slightly smaller than the image itself.
To solve this, the actual positions on the game map must be matched against the xy coordinates. The C# method to patch is RedrawMapCrosshair(int map, int x, int y).