Panquesito7
ea41ff5654
Update init.lua
2019-07-28 18:03:32 -05:00
Panquesito7
07128f83c8
Add "enable_immediate_teleport"
2019-07-27 19:41:04 -05:00
Panquesito7
f09fde8995
Tell both players (sender...
...
...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.
2019-07-26 18:51:52 -05:00
Panquesito7
8555e135a6
Remove duplicated code
2019-07-25 23:51:04 -05:00
Panquesito7
fb0ec6ca24
Add "find_free_position_near"...
...
...function to "tpp_teleport_player" function.
2019-07-25 21:19:18 -05:00
Panquesito7
28b84a69d2
Update init.lua
2019-07-25 19:50:28 -05:00
Panquesito7
fa423ed2f7
Update init.lua
2019-07-25 19:38:31 -05:00
Panquesito7
2a2ba65182
Tidied & tweaked code
2019-07-25 17:50:03 -05:00
Panquesito7
9b4112ab44
Update init.lua
2019-07-25 17:06:13 -05:00
Panquesito7
6e8e997fab
Tidied code
2019-07-25 16:59:37 -05:00
Panquesito7
45943d662a
Update init.lua
2019-07-25 16:07:39 -05:00
Panquesito7
bcd67b8038
Update init.lua
2019-07-25 15:59:21 -05:00
Panquesito7
2ebd3983e4
Oops!
...
This commit fixes a crash.
2019-07-25 15:57:54 -05:00
Panquesito7
6f407e1629
Tweaked code
2019-07-25 15:46:52 -05:00
Panquesito7
2551dd6f9a
Update init.lua
2019-07-25 14:57:22 -05:00
Panquesito7
4108156118
Update init.lua
2019-07-25 14:53:20 -05:00
Panquesito7
4e050feaa7
Tidied code
2019-07-25 14:16:48 -05:00
Panquesito7
6054324e72
Tweaked code
2019-07-25 13:39:40 -05:00
coil
d7ef3bf706
Minimize unnecessary closures
...
A closure is previously created and allocated every time tpr_send
or tphr_send is called. Instead, we define the function once
and reuse it.
2019-07-25 02:20:50 -04:00
coil
5d56e134d2
Fix request timeout
2019-07-24 22:22:43 -04:00
Panquesito7
255b19f545
Add "return" to "tpp" command
...
Forgot to add a missing function!
2019-07-21 00:32:39 -05:00
Panquesito7
809b301898
Complete another task from TODO list
...
- 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.
2019-07-19 17:06:06 -05:00
Panquesito7
8aef6b783e
Move functions...
...
...to "config.lua" and register privileges in "config.lua".
This makes it easier for people to know where they can personalize TPR to their like.
2019-07-19 15:53:49 -05:00
Panquesito7
579f75769c
Update init.lua
2019-07-18 20:56:06 -05:00
Panquesito7
9fcc62c1fc
Fix typo
2019-07-18 20:43:38 -05:00
Panquesito7
3e8fcf3fc4
Update init.lua
2019-07-17 19:03:00 -05:00
Panquesito7
033f3fbf53
Merge branch 'license_changes' into 'master'
...
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.
2019-07-17 18:04:52 -05:00
Panquesito7
536a30ff87
Translate log
2019-07-16 14:48:29 -05:00
Panquesito7
0dd475f1dc
Translate params
2019-07-16 14:26:28 -05:00
Panquesito7
736512ee3c
Add intllib support
...
Tested with MT/MTG 5.0.1 and works fine.
If there is any typo/bug/error, please tell me, so, I can fix it.
2019-07-15 13:52:31 -05:00
Panquesito7
4986742a24
Update init.lua
2019-07-15 11:47:34 -05:00
Panquesito7
0247e31203
Update init.lua
2019-07-15 11:46:14 -05:00
Panquesito7
abcdb44584
Fixed big typo
2019-07-14 20:04:30 -05:00
Panquesito7
11384e2797
Some fixes
2019-07-12 19:30:51 -05:00
Panquesito7
905afd49d2
Tweaked code
2019-07-11 20:59:46 -05:00
Panquesito7
ad57543608
Update init.lua
2019-07-11 20:50:48 -05:00
Panquesito7
8e43351cc4
Fix some bugs
...
This commit fixes some bugs which could create a crash. 😋
2019-07-11 20:43:42 -05:00
Panquesito7
beed2ea017
Update init.lua
2019-07-10 17:17:57 -05:00
Panquesito7
ff7d99bc3f
Oops 😋
2019-07-08 20:30:16 -05:00
Panquesito7
c921f786d7
Small changes
...
Completed 2 tasks from the TODO list.
See the "README.md" changes commit.
2019-07-08 20:23:57 -05:00
BillyS
b3edd61085
Fixed teleporting outside of map
2019-03-24 15:38:32 +00:00
ChaosWormz
cf663c9e75
tpj and tpe require a priv
2017-01-24 10:22:31 +02:00
ChaosWormz
d5abac3df9
remove buggy particles
2017-01-24 10:12:42 +02:00
Robbie Ferguson
54c62edc47
Require interact for approve/deny
...
Could be used to circumvent prison or a bad player could annoy n00bs by teleporting them out of spawn, etc. So restrict until they have interact.
2016-05-20 15:54:15 -04:00
Robbie Ferguson
7d7deaddfc
Remove find_air until we can get it stable.
2016-05-19 23:11:28 -04:00
Robbie Ferguson
eae1735780
Update init.lua
2016-05-19 23:06:43 -04:00
Robbie Ferguson
c385f54ced
Update init.lua
2016-05-19 22:58:08 -04:00
Robbie Ferguson
287ad8fd84
Update init.lua
2016-05-19 22:49:28 -04:00
Robbie Ferguson
6c311647e5
Update init.lua
2016-05-19 22:40:53 -04:00
Robbie Ferguson
45d0e334a7
Update init.lua
2016-05-19 22:36:57 -04:00