Commit Graph

112 Commits

Author SHA1 Message Date
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
Robbie Ferguson
ba17fc804c Keep testing... not yet stable. 2016-05-19 22:30:04 -04:00
Robbie Ferguson
9e2de9c995 Update init.lua 2016-05-19 22:20:43 -04:00
Robbie Ferguson
16262b3b51 Test my own theory 2016-05-19 22:17:00 -04:00
Robbie Ferguson
33c81b3d72 Update init.lua 2016-05-19 20:43:36 -04:00
Robbie Ferguson
c9325322a8 Update init.lua 2016-05-19 20:25:02 -04:00
Robbie Ferguson
12f9444cf5 Fixes
Thanks, DonBatman.
2016-05-19 20:20:49 -04:00
Robbie Ferguson
7d157495fc Fix function declaration for find_air 2016-05-19 20:07:09 -04:00
Robbie Ferguson
716a42e4f6 First attempt at implementing find_air 2016-05-19 20:05:19 -04:00
Robbie Ferguson
8de3848a7a Begin working on find_air function
Thanks to sofar for the advice and DonBatman for the initial [untested] code.
2016-05-19 17:23:02 -04:00
Robbie Ferguson
58b8198de2 Minor fix 2016-05-18 18:59:28 -04:00
Robbie Ferguson
704bc994e1 Evade should be working perfectly now.
Only thing left to do is make it so it doesn't spawn you inside rocks! For now you can to /tpj y 20 to recover  ;)
2016-05-18 18:52:26 -04:00