Commit Graph

7 Commits

Author SHA1 Message Date
Sattva 2a60d7833b FlightTimers - add more
From and by original author of Leatrix.
2023-09-24 13:53:14 +03:00
Sattva 913d71ea39 FlightPaths - DB, cleanup
NodeOnClick - "Mimic" the PLAYER_CONTROL_GAINED event, by using repeating timer, while player is on flight (taxi) .
The repeating loop helps us to hide flight bar when player is out of taxi.
This loops is majorly needed for a player to be able to send reports to the author, for if current flight path is not in database, or flight time is not right.
ReportMissingTimer - there is little problem. I made it to not check for the "hops" to print the debug. So for example, if flight is from Dalaran to Dun Niffelem, it may go different ways. Through k3 and through zuldrak. But my print will always say Dalaran, Dun Niffelem. So it could be confusing. But at least i hope all the routeString are fine.
DB - Updated DB from WOTLK Classic
2023-06-14 03:44:42 +03:00
Sattva 1eb7d161d3 FlightPoints - first messy version
For now i only figured and partilly fixed tooltip on the destination node.
However data seems to be different from the WoTLK Classic. And would need to be completely rewritten.
Also i have problem with debug string as it is currently unable to get hops FPs in between start and end nodes correctly...

And it seems that my routestring is bad too. As it is for some reason adds un-needed zeroes between nodes
For example: FP from Orgrimmar to Valormok, no hop in between them, Orgrimmar added twice and a lot of un-necessary zeroes in between.
["0.63:0.56:0.00:0.00:0.63:0.64"] =  -- Orgrimmar, Orgrimmar, Valormok
2023-06-13 16:09:49 +03:00
Sattva 97aa40f308 testing gitbash 2 2023-05-20 19:37:46 +03:00
Sattva 0f80b26bfe Merge branch 'main' of https://github.com/Sattva-108/Leatrix_Plus-attempt 2023-05-20 19:10:50 +03:00
Sattva cd8866e2a2 fix minimap button 2023-05-20 18:30:38 +03:00
Sattva 7c5d9862a7 source files from Classic Wotlk 2023-05-20 16:28:04 +03:00