This commit improves "/tpy" command:
When a player receives more than 1 teleport request and types /tpy, a message will be sent to the receiver telling him the list of the requests sent to him. He must use the player name as a param, so, he will teleport to the specified player (e.g.: /tpy foo).
THIS IS AN UNTESTED FUNCTION. IT MAY RESULT IN A CRASH OR MAY CAUSE ANOTHER BUGS. CHECK IT AT YOUR OWN RISK.
This commit warns the player when they denied a request.
It also tells players what "/tpn" does, the usage.
Tested with MT/MTG 5.0.1 and works fine (no errors/bugs found).
If there's any bug/error/typo, please tell me, so, I can fix it.
...and receiver) that the request sent timed out.
Tested with MT/MTG 5.0.1 and works fine.
The functions "clear_tpr_list" and "clear_tphr_list" are not used due to a crash while sending the message to both players.
Sorry for any inconveniences. I'll (soon?) probably create a fix for this.
If anyone has a fix for this, it would be greatly appreciated. You may comment on my PR.
- Add a [different] sound effect at the source coords when a TP takes place (so other players hear it when to teleport away):
This was finished in this commit (tested with MT/MTG 5.0.1 and works fine).
If there's any error/bug/typo, please tell me, so, I can fix it.
I've changed the license to complete another task from the TODO list (and to make it compatible with MT/MTG and many other games/mods) .
Please decide if it was correct to change the license.
If you do not like this change, please tell me, so, I can revert these changes.