plague006
af9fe138fb
Fix null ref (event.player_index nil if server)
2018-11-22 07:17:07 -05:00
plague006
857baf6c5e
Don't define global as a local
2018-11-21 17:56:52 -05:00
plague006
7f8eb83e55
Add check in case walkabout.lua isn't loaded.
2018-11-21 17:56:23 -05:00
Matthew Heguy
e6dda20e41
All tabs to spaces
2018-11-21 08:42:39 -05:00
Matthew Heguy
9b064af399
Change wording to be more clear
2018-11-21 07:53:00 -05:00
Matthew
57d24e68e1
Resources cleanup ( #412 )
...
* Export single quotes instead of double
* Autoformat (with quote-changing disabled)
2018-11-20 11:47:46 +01:00
Matthew
96ab772393
Autoformat ( #415 )
2018-11-20 11:46:32 +01:00
Matthew
c9369c3d14
Features cleanup ( #414 )
...
* Fix scoping, var names, unused functions, etc.
* Autoformat
2018-11-20 11:46:19 +01:00
Matthew Heguy
026b3b96c9
Remove add_command for walkabout in custom_commands
2018-11-19 15:39:03 -05:00
Lynn
e10371784f
Merge pull request #404 from plague006/market
...
Fish market: split messages out, cover cases of no character and disconnected player
2018-11-19 20:12:08 +01:00
Matthew
aff0452fd8
Merge pull request #398 from plague006/walkabout
...
Split walkabout from custom_commands
2018-11-19 13:35:58 -05:00
Matthew Heguy
8a9da5eaad
Use variable after checking it rather than before
2018-11-19 13:35:21 -05:00
plague006
d460dceed8
Fish market: split messages out, cover cases of no character and disconnected player
2018-11-19 12:08:26 -05:00
Matthew
5a60a55a64
Merge pull request #400 from plague006/fix/jail_shooting
...
Fix order of operations in jailing
2018-11-19 10:24:41 -05:00
grilledham
196db1914f
Utils.player_print -> Game.player_print
2018-11-18 23:49:58 +00:00
Simon
e25412d0d9
Merge pull request #387 from SimonFlapse/Chat-Mention-Fix2
...
Added @ to mention triggers also allowed the prefix as a postfix. Case insensitive mentions.
2018-11-18 22:42:32 +01:00
SimonFlapse
ae46cc447b
Made mentions case insensitive
2018-11-18 22:41:24 +01:00
plague006
ee717872a3
Fix formatting
2018-11-18 16:26:43 -05:00
plague006
12f1b607dc
Change jail order of operations
2018-11-18 16:26:13 -05:00
SimonFlapse
4ef7de7898
"Go to bed simon"
2018-11-18 21:49:43 +01:00
SimonFlapse
8e770f6052
Setting shooting state seems not to work.
...
Locks the player into shooting.
Moved the logic above the permission setting
2018-11-18 21:45:02 +01:00
SimonFlapse
662398069d
changed output
2018-11-18 21:29:05 +01:00
SimonFlapse
0e6ba3e2cb
Prevents walking when jailed
2018-11-18 21:24:35 +01:00
SimonFlapse
3876402e87
Second attempt to fix server crash
2018-11-18 21:23:19 +01:00
SimonFlapse
11038fcda2
Attempt to fix server crash on server jail/unjail
2018-11-18 21:13:45 +01:00
SimonFlapse
08b54e44af
Added jail to playerlist report for admins and toggle jail in showreports
2018-11-18 20:34:18 +01:00
plague006
f2fbd45374
Make local copy of walking_storage
2018-11-18 14:07:03 -05:00
plague006
3a83d4182a
Split walkabout from custom_commands
...
Fix walkabout edge cases
Closes #22
2018-11-18 14:03:33 -05:00
Valansch
7fa48bc583
Changed all windows style line endings to unix style line endings ( #393 )
2018-11-18 17:12:00 +01:00
Lynn
1c91520160
Added force_control.lua to track force levels ( #338 )
...
* Added force_control.lua to track force levels
* Allow force only registration for level ups
2018-11-18 17:05:45 +01:00
Simon
00c5f8c8ab
Fish Market update. Better description for boosts and train savior item ( #389 )
...
* Changed small-plane
* Updated boost description
* Clarified train savior item from market
* Fixed SHIFT click on train savior item
2018-11-18 16:23:51 +01:00
SimonFlapse
5c5c59c396
Added @ to mention triggers also allowed the prefix as a postfix
...
Avaliable triggers now:
admin moderator @SimonFlapse #SimonFlapse SimonFlapse@ SimonFlapse#
(@SimonFlapse might trigger discord)
2018-11-18 13:26:15 +01:00
Lynn
247b1df7f4
Merge pull request #377 from Valansch/dev_diggy_antigrief
...
fixed report desyncs
2018-11-18 13:22:18 +01:00
Valansch
11c297c31d
Update custom_commands.lua
2018-11-18 13:21:08 +01:00
Maik Wild
ab04ac5b4c
fixed dual use of same variable name 'target' in custom_commands.lua:jail
2018-11-18 13:19:41 +01:00
Valansch
4a27ab0545
Changed command logging ( #386 )
2018-11-18 13:10:11 +01:00
Matthew
5beaee7144
Comments to luadoc ( #355 )
...
Add logging to many commands, admin chat notices for a few commands
Overhaul print_admins
2018-11-18 12:59:52 +01:00
Valansch
77df65014b
fixed report desyncs
2018-11-18 12:56:03 +01:00
Lynn
bbd201d2d0
Merge pull request #375 from plague006/fix/player_create
...
Use player print not game print for on join messages
2018-11-17 16:57:29 +01:00
Matthew Heguy
a742c115ba
Make box for new features larger
2018-11-17 09:56:22 -05:00
Matthew Heguy
a76175ad97
Use player print not game print for on join messages
2018-11-17 09:46:14 -05:00
Valansch
0909cdfff8
merged #319
2018-11-17 15:15:49 +01:00
Valansch
028095f135
changed autojail #319
2018-11-17 14:47:59 +01:00
SimonFlapse
ed46ed2b5b
Changed how the player not found works for moderators and admins
2018-11-17 14:28:21 +01:00
SimonFlapse
c9b4e596cc
Removed prefix for admin and moderator
2018-11-17 14:22:51 +01:00
SimonFlapse
0541682b1a
Merge branch 'develop' of https://github.com/SimonFlapse/RedMew into Chat-Mention-Fix2
2018-11-17 13:47:33 +01:00
SimonFlapse
d89bac1510
Removed prefix for mentions
...
Add a prefix to avoid mention
2018-11-17 13:46:23 +01:00
Matthew
fe84d14aa8
Shift elements around, remove "other servers", add train savior info ( #356 )
2018-11-17 12:59:51 +01:00
Matthew
b24801a8ec
Extend tables library, split on_create and hodor messages from functions ( #357 )
...
* Add table.get_random and table.get_random_weighted
* Rewrite and randomize the messages from on_create
* Split hodor messages resource from function
* Return variable directly instead of adding an extra step
* Change to luadoc
2018-11-17 12:56:03 +01:00
SimonFlapse
dc1cdba17a
Allowing a single character after a mention
...
%S is the opposite of %s (space characters) and the plus sign combines all the characters. Names like der-dave.com should work.
Tested expression using: https://regexr.com/
2018-11-17 11:10:11 +01:00