1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
Commit Graph

849 Commits

Author SHA1 Message Date
Matthew Heguy
23121cd31d Fix desync
apoc: set data in token rather than relying on passed data to be valid
hydra: move data into Global to allow changes during runtime
2019-02-14 19:02:39 -05:00
Matthew Heguy
9b7520e712 Update doc in rank_system for LocalisedString 2019-02-14 14:45:24 -05:00
Matthew Heguy
f478b6578b Expand doc 2019-02-14 12:45:35 -05:00
plague006
39db9fe397 Toggle nth_tick hook 2019-02-14 12:45:34 -05:00
plague006
0f62037355 Switch to new rank system 2019-02-14 12:45:34 -05:00
plague006
927b89d768 Name to index 2019-02-14 12:45:34 -05:00
plague006
22e91d4d3f Push market buffs from global into Global
other misc. tweaks
2019-02-14 12:45:34 -05:00
plague006
e7cd23e3ff Add destroy command 2019-02-14 12:45:34 -05:00
plague006
a18585860c Autoformat 2019-02-14 12:44:59 -05:00
plague006
5183f720b5 Track markets and add market removeall command option 2019-02-14 12:44:59 -05:00
Matthew
16c119096f
Merge pull request #745 from plague006/apocalypse
Add apocalypse
2019-02-14 12:20:10 -05:00
Matthew Heguy
9b1ac03599 Add safety net to game-ending command 2019-02-14 12:16:05 -05:00
Matthew
d47c950b57
Merge pull request #754 from plague006/position
Have Retailer take Position as dictionary or array
2019-02-14 11:56:36 -05:00
Matthew Heguy
ed71415108 Fix dependency 2019-02-14 11:52:23 -05:00
Matthew Heguy
28ab0beff6 Remove admin_only flag 2019-02-14 11:45:11 -05:00
Matthew Heguy
72da0267b9 Add autosave to apocalypse 2019-02-14 11:44:06 -05:00
plague006
fad3df8c13 Use rank system 2019-02-14 11:44:06 -05:00
plague006
8b10cd44b5 Integrate apocalypse as an admin command 2019-02-14 11:44:06 -05:00
plague006
ae03b94fc8 Remove nuke removal, change implementation of spawning biters 2019-02-14 11:44:05 -05:00
Matthew Heguy
fbc57ef0e7 Add apocalypse 2019-02-14 11:44:05 -05:00
Matthew
d48946f357
Merge pull request #713 from plague006/rank_system
Overhaul rank system, command, donator, add probation rank
2019-02-14 11:43:04 -05:00
Matthew Heguy
397a84b150 Fix lint warnings 2019-02-14 03:03:51 -05:00
Matthew Heguy
eceb44afe6 Check for nil in syn_ranks_callback 2019-02-13 15:01:38 -05:00
Matthew Heguy
0ded088bc7 Have Retailer take Position as dictionary or array. 2019-02-13 14:27:45 -05:00
Matthew Heguy
98ea714560 Restore functionality of whois 2019-02-13 14:12:40 -05:00
grilledham
3d0fc5acf5 updates to player list to show rank and donator 2019-02-13 12:38:24 +00:00
grilledham
856183f4a0 change how rank colors are returned 2019-02-13 12:37:45 +00:00
Matthew Heguy
17cc882b04 Change digits to strings to prevent future errors 2019-02-13 01:10:26 -05:00
Matthew Heguy
52a0622995 Use locale for new rank system 2019-02-12 20:23:20 -05:00
Matthew Heguy
d6a44388e5 Expose get_rank, localize functions that are called frequently 2019-02-12 20:22:13 -05:00
Matthew Heguy
d0de5951c6 Switch info to use locale for donator rank. Make donator a supplement to rank rather than rank itself. 2019-02-12 20:22:13 -05:00
Matthew Heguy
5cc9b77df7 Prevent making a player below guest rank a regular 2019-02-12 20:22:13 -05:00
Matthew Heguy
158c162930 That is *really* the wrong place to print that message 2019-02-12 20:22:13 -05:00
Matthew Heguy
09152104a2 Fix whois sending LuaPlayer instead of name 2019-02-12 20:22:13 -05:00
Matthew Heguy
fe3a67e682 Add more functions for increasing/decreasing ranks, remove all prints 2019-02-12 20:22:13 -05:00
Matthew Heguy
b91977dd28 On server start, clear table before writing it when syncing 2019-02-12 20:22:13 -05:00
Matthew Heguy
d94c4316e7 Improve doc 2019-02-12 20:22:13 -05:00
muppet9010
6281a8c49d Add everyone is regular option 2019-02-12 20:22:13 -05:00
plague006
da678fb04a Clean up /whois command 2019-02-12 20:22:13 -05:00
plague006
4368e10ecd Fix player_create ref to usergroups and consolidate conditions. Autoformat. 2019-02-12 20:22:13 -05:00
plague006
a5fd1bce2e Fix outpost_builder, fix redmew_qol.
Add functions to donator and rank system to get full player tables.
2019-02-12 20:22:13 -05:00
plague006
4c2a2eafa0 Change admin_only to use rank 2019-02-12 20:22:13 -05:00
plague006
c9404d8222 tag_group: deafult - > default, remove ipairs 2019-02-12 20:22:13 -05:00
plague006
041f46843d Minor cleanup of player_color 2019-02-12 20:22:13 -05:00
plague006
c535c11aa8 Add space between time and UTC 2019-02-12 20:22:12 -05:00
plague006
2be5f6c80b Fix data type in doc 2019-02-12 20:22:12 -05:00
plague006
e9dd55f1af Add admin check to get_player_rank 2019-02-12 20:22:12 -05:00
plague006
eb67fa1831 Rename functions to be homogeneous 2019-02-12 20:22:12 -05:00
plague006
cfc0d585d9 Add get_donators function 2019-02-12 20:22:12 -05:00
plague006
98d47ce623 Add timezone to redmew_version 2019-02-12 20:22:12 -05:00
plague006
28d269fa86 Change to index -> luaplayer dictionary for guests 2019-02-12 20:22:12 -05:00
plague006
f8ccba8c32 Drop table entries for invalid or non-existent players. 2019-02-12 20:22:12 -05:00
plague006
c5c728ba8f Change checks from 1 hr to 15 mins 2019-02-12 20:22:12 -05:00
plague006
e0b59e5fe6 Many fixes and tweaks 2019-02-12 20:22:12 -05:00
plague006
e0e536a83a Implement grilled maths 2019-02-12 20:22:12 -05:00
Matthew Heguy
3d476259a1 Fix online -> connected 2019-02-12 20:22:12 -05:00
Matthew Heguy
119e97734f Make autopromotion more robust 2019-02-12 20:22:12 -05:00
Matthew Heguy
7710c3cdfa add table to lookup name-rank relations
add local function to get player rank
add increase and decrease player rank functions
ad debug-only data migration function
2019-02-12 20:22:12 -05:00
Matthew Heguy
63bb4e6a83 improve table doc
add instructions for changing ranks in ranks
add missing config entry
refine regular and probation commands
2019-02-12 20:22:12 -05:00
Matthew Heguy
28daf88f21 Overhaul rank system, command, donator, add probation rank 2019-02-12 20:22:12 -05:00
Matthew Heguy
4c0c7ed41c Fix lifecycle mistakes 2019-02-10 22:44:54 -05:00
plague006
20b985e63b Fix merge 2019-02-10 15:37:13 -05:00
plague006
bcaef1a570 Manually enable loaders in 1000x, improve doc redmew_qol 2019-02-10 15:34:40 -05:00
Matthew
552f8aab2e Merge branch 'develop' into 1000x 2019-02-10 15:34:38 -05:00
plague006
ca770a50fd Fix double-prefix with corpse_utils 2019-02-09 15:45:55 -05:00
grilledham
32c35baa6b mark inf chests as inactive 2019-02-09 18:02:43 +00:00
grilledham
9a1cdfd512 gui_data 2019-02-09 17:57:55 +00:00
Matthew
1a459287b5
Merge pull request #715 from plague006/jail
Change how we treat players in jail
2019-02-08 17:12:43 -05:00
plague006
02c19de519 Add 1000x
Add infinite storage chest cost to config
2019-02-07 21:27:24 -05:00
grilledham
0d43501857 added _G.dump and dump commands 2019-02-06 21:20:08 +00:00
plague006
e574a2dc36 Use lifecycle 2019-02-04 18:02:15 -05:00
plague006
7aec77239c Apply lifecycle to "if game " 2019-02-04 16:08:02 -05:00
plague006
d6e8b145af Fix doc in info, expand doc task, fix MP check in player_create 2019-02-04 14:40:27 -05:00
plague006
d3bb27aa94 Change green to light_green 2019-02-04 13:17:46 -05:00
plague006
cff96df77a Expand debug warning 2019-02-04 13:11:07 -05:00
plague006
d2a4a499dc Remove changing force/segregating chats 2019-02-04 12:37:10 -05:00
Matthew Heguy
0cfc16be84 Change how we treat players in jail 2019-02-04 12:33:02 -05:00
Matthew
5449642d4d
Merge pull request #738 from plague006/cleanup/global
Clean up global
2019-02-04 12:27:44 -05:00
grilledham
be84bd1349
Merge pull request #732 from linaori/pling-for-toast
Pling for toast
2019-02-04 16:48:23 +00:00
grilledham
7d7485e5b4 grilled's suggestions 2019-02-04 16:37:23 +00:00
plague006
160600dfd2 Add check for 0 price and 0 player limit 2019-02-04 03:00:05 -05:00
Lynn
c2b3fcc4f7 Review feedback 2019-02-03 11:28:00 +01:00
Lynn
398927844e Player can use /setting-all to show all their values 2019-02-03 11:27:21 +01:00
Lynn
3ebd1f5f7b Allow players to change their notification volume 2019-02-03 11:27:20 +01:00
Lynn
9892d1a569 Added a notification sound for toast messages 2019-02-03 11:26:22 +01:00
plague006
42f3553bc0 Contain within global.namespace 2019-02-03 02:05:06 -05:00
plague006
27e49408a4 Push global to Global 2019-02-03 02:04:42 -05:00
plague006
3a50d0d9cf format afk time 2019-02-02 18:19:59 -05:00
plague006
dfd0a4a10b return after failing -_- 2019-02-02 18:14:48 -05:00
plague006
d3fac3112d Nothing to see here 2019-02-02 18:13:13 -05:00
plague006
2275c1a233 Organize deps 2019-02-02 18:10:40 -05:00
plague006
988a59080c Fix for donator coming in as boolean 2019-02-02 18:10:08 -05:00
Matthew Heguy
4ef5b716f4 Fixes 2019-02-02 18:10:08 -05:00
Matthew Heguy
aefba962ce Use existing get_rank function 2019-02-02 18:09:47 -05:00
Matthew Heguy
5e9cbdd32d Add /whois command
Rename stat get functions to match others
2019-02-02 18:09:47 -05:00
Matthew
a8dda1eaac
Merge pull request #678 from plague006/revive_ghosts
Add revive ghosts
2019-02-02 17:46:46 -05:00
Matthew
53f13c0259
Merge pull request #671 from plague006/walkabout
Fix walkabout
2019-02-02 17:33:00 -05:00
Matthew
f549808650
Merge pull request #734 from grilledham/debugger/player
Allow debugger to dump game.player
2019-02-02 14:20:14 -05:00
grilledham
c2c7d8f3f6 allow dumping nil 2019-02-02 17:42:51 +00:00
grilledham
ab15c1149f local rawset 2019-02-02 17:28:01 +00:00
grilledham
0398a9ae88 allow debugger to dump game.player 2019-02-02 17:26:41 +00:00
Matthew
e3cf03663e
Merge pull request #731 from grilledham/fix-debugger
Fix debugger
2019-02-02 10:55:10 -05:00
grilledham
1b7420190f fix debugger crash 2019-02-02 14:34:36 +00:00
Lynn
ab72e629cb Fixes a crash when updating coin label after GUI is closed 2019-02-02 13:10:30 +01:00
plague006
0464ef1351 Fix print referring to wrong command 2019-02-01 23:41:07 -05:00
plague006
8f6f02b47c Move files to appropriate locations, tweak doc in control 2019-02-01 20:12:45 -05:00
Matthew
d2084049b2
Merge pull request #687 from SimonFlapse/Popup-Extended
Extra features for popup gui
2019-02-01 18:34:54 -05:00
SimonFlapse
20c00ab843 Addon to prevent popup spam 2019-02-01 22:11:02 +01:00
Matthew Heguy
1ce121d4c7 Ignore non-ghosts 2019-01-30 19:38:43 -05:00
Matthew Heguy
1aed64f717 Fix lint 2019-01-30 19:21:46 -05:00
Matthew Heguy
1d8e315900 Add revive ghosts 2019-01-30 19:17:21 -05:00
Matthew Heguy
cd501c4ff7 Resolve circular dep 2019-01-30 18:54:33 -05:00
Matthew Heguy
acfe478207 Use removable events to decrease load 2019-01-30 18:54:33 -05:00
Matthew Heguy
52932308d7 Create public method to check if player is on walkabout
Respect config option inside walkabout
2019-01-30 18:54:33 -05:00
Matthew Heguy
f93a544914 Move into Global 2019-01-30 18:54:13 -05:00
plague006
ebca4daa55 Fix walkabout not returning player from walkabout if they rejoin before timer expired, update refs to global.walking 2019-01-30 18:54:13 -05:00
Matthew
765a91cc56
Merge pull request #696 from plague006/improve_versioning
Improve versioning
2019-01-30 18:43:13 -05:00
plague006
9a61c854e7 Refine the build script, change the specifics of how version.lua works 2019-01-30 18:42:56 -05:00
plague006
e260af2a3b Rename command from color-redmew to redmew-color 2019-01-30 18:42:30 -05:00
Matthew
2911794b7e
Merge pull request #706 from plague006/blueprint_helper_refactor
refactor blueprint_helper to not call Token directly and to correct lint warnings
2019-01-30 18:26:14 -05:00
Matthew
334d9d13a7
Merge pull request #682 from plague006/info_push_changelog
Add ability to modify changelog in-game
2019-01-30 18:25:52 -05:00
Matthew Heguy
4738f3e043 Fix missing dep 2019-01-30 18:20:11 -05:00
Matthew
214257b007
Merge pull request #716 from grilledham/debug_token
Debugger
2019-01-30 18:19:13 -05:00
Matthew Heguy
b936a37296 Remove identifier 2019-01-30 18:17:55 -05:00
SimonFlapse
dabb86541d Brainfarted, forgot to change a variable 2019-01-31 00:15:09 +01:00
SimonFlapse
5ac2f66e2a fixing lint warnings 2019-01-31 00:05:53 +01:00
grilledham
2df4aeee45 debugger 2019-01-30 22:32:43 +00:00
plague006
cb6578dd7b refactor blueprint_helper to not call Token directly and to correct lint warnings
(cherry picked from commit 1beef8ba6a)
2019-01-28 17:52:10 -05:00
Lynn
52d4ec0b84 Do not show a fish at > 0.901 evo 2019-01-28 21:27:05 +01:00
Lynn
53fad1a75b Added a GUI element + toasts to notify of biter evolution 2019-01-28 21:21:33 +01:00
plague006
3d24f023c0 Remove deprecated tp commands
Refine messaging for deprecated commands
2019-01-27 16:44:45 -05:00
Matthew
129b6b031b
Merge pull request #677 from plague006/action_warnings
Action warnings
2019-01-27 15:24:36 -05:00
Matthew
b9be14ccf5
Merge pull request #690 from plague006/name_change_notice
Tell players how to change name in SP
2019-01-27 15:24:18 -05:00
Matthew
dbae27b37b
Merge pull request #694 from grilledham/alternative_toast
Alternative toast implmentation
2019-01-27 12:44:05 -05:00
grilledham
cce5defeff
Merge branch 'develop' into crashsite_0.5 2019-01-27 17:29:19 +00:00
grilledham
cc25ebe36e removed redundant code 2019-01-27 16:32:58 +00:00
grilledham
4a51c22f8a Added Public.close_toast_name 2019-01-27 16:02:58 +00:00
grilledham
b615408894 update documentation 2019-01-27 15:43:09 +00:00
grilledham
627463f251 alternative_toast 2019-01-27 15:34:40 +00:00
Matthew
112341bcf2
Merge pull request #693 from plague006/nightly_releases
Have travis issue nightly releases
2019-01-27 10:33:39 -05:00
plague006
5ab96fddf8 Have travis issue nightly releases
Add version command
2019-01-27 02:10:46 -05:00
plague006
17e79663ec Fixes from testing, drop on_leave hook 2019-01-26 10:05:16 -05:00
Lynn
ed5b376ddc Fixed a bug where gui data might not be a table 2019-01-26 15:43:01 +01:00
Lynn
8bf932e5a7 Added template support and force/all player support 2019-01-26 15:08:24 +01:00
Matthew
81979aee7b Performance update for active toasts 2019-01-26 14:47:16 +01:00
Lynn
5fd0d82834 Make GLobal forward compatible with #688 2019-01-26 10:43:39 +01:00
plague006
03d277453c Tell players how to change name in SP 2019-01-25 18:50:01 -05:00
Lynn
a16744787e Added a toast feature 2019-01-25 21:16:39 +01:00
SimonFlapse
ae94823df9 Allowing sprite paths instead of icon_id
Added a pass-through for sprite paths while keeping the 14 "quick" access icons.
2019-01-25 19:31:21 +01:00
plague006
69592e85c3 Don't upload unless something has changed 2019-01-25 11:48:54 -05:00
plague006
d1fbdac4bc Prevent triggered on open and close 2019-01-25 11:38:58 -05:00
plague006
4ab5fd3371 Localize global calls, make sure we don't upload the default message 2019-01-25 11:32:49 -05:00
plague006
c6fa42a82a Autoformat 2019-01-25 11:24:13 -05:00
plague006
54e33c114e Split tokenized function apart 2019-01-25 11:23:06 -05:00
Simon
341dec702a
Merge branch 'develop' into Popup-Extended 2019-01-25 17:19:10 +01:00
SimonFlapse
d7aafbf285 Porting to fix merge conflict 2019-01-25 17:18:02 +01:00
SimonFlapse
c40412d871 Extra features for popup gui
Added 13 new icons to the popup gui
Added the ability to change title

Updated popup-update commands wording, title and icon.
2019-01-25 17:05:12 +01:00
Matthew
2f679e737e
Merge pull request #655 from linaori/lazy-bastard
Added a Lazy Bastard feature with player limit for market items
2019-01-25 09:05:17 -05:00
Matthew
47c6e5b333
Merge pull request #684 from plague006/expand_performance
Expand performance scaling to affect mining and crafting speeds
2019-01-25 08:33:15 -05:00
Lynn
8b8d17fbbf
Update features/performance.lua
Co-Authored-By: plague006 <plague006@users.noreply.github.com>
2019-01-25 08:22:20 -05:00
Lynn
43d0742412
Update features/performance.lua
Co-Authored-By: plague006 <plague006@users.noreply.github.com>
2019-01-25 08:22:14 -05:00
Lynn
e64ad7eca0
Update features/performance.lua
Co-Authored-By: plague006 <plague006@users.noreply.github.com>
2019-01-25 08:22:06 -05:00
Matthew Heguy
b1647641c8 Use on_data_set_changed instead of nth tick 2019-01-25 08:15:58 -05:00
grilledham
2dd235fcb2 Merge branch 'develop' of https://github.com/grilledham/RedMew into crashsite_0.5 2019-01-25 11:24:12 +00:00
grilledham
d5c1b14b6e fix bug: toggle score gui button 2019-01-25 11:23:42 +00:00
grilledham
9252c41add allow LocalisedStrings 2019-01-25 00:13:25 +00:00
Matthew Heguy
5fa97079fa Expand performance to affect mining and crafting speeds 2019-01-24 18:41:32 -05:00
Matthew
9e05721170
Merge pull request #660 from plague006/seeds
Add seeds command
2019-01-24 18:14:47 -05:00
Matthew
e74daef19a
Merge pull request #668 from plague006/advertise_colors
Print message when someone saves a color
2019-01-24 18:14:37 -05:00
Matthew
87691f0fbd
Merge pull request #670 from plague006/table_get_random_dictionary_entry
Remove get_random, add get_random_dictionary_entry
2019-01-24 18:14:27 -05:00
Matthew
397f8e47a9
Merge branch 'develop' into maps/grid_bot_islands 2019-01-24 18:05:39 -05:00
Matthew Heguy
7a3418262e Add ability to modify changelog in-game 2019-01-24 17:45:57 -05:00
grilledham
91c17432fd Merge branch 'develop' of https://github.com/grilledham/RedMew into crashsite_0.5 2019-01-24 13:40:21 +00:00
grilledham
4e8fa9d54a
Merge pull request #672 from grilledham/score_update
Score update
2019-01-24 13:39:40 +00:00
grilledham
fc32446215 refresh score on all launches 2019-01-24 13:38:17 +00:00
Matthew Heguy
d5be21a990 Chaaaaaaange places 2019-01-23 23:37:11 -05:00
Matthew Heguy
b9c985e386 Use action_warning 2019-01-23 19:55:15 -05:00
Matthew Heguy
54eb1b08ba Use event.rocket, check force, don't print every launch 2019-01-23 18:33:43 -05:00
Matthew Heguy
2ce35ada6a Add action warnings 2019-01-23 15:54:46 -05:00
grilledham
e6a547a386 updates 2019-01-23 19:15:28 +00:00
Matthew Heguy
2f203a435c Add seeds command 2019-01-23 10:54:01 -05:00
grilledham
54d30216d1 fixed looting corpse message 2019-01-22 16:06:36 +00:00
grilledham
f20e812919 removed global, changed styles, added total coins spent 2019-01-21 20:37:07 +00:00
grilledham
43197de20a added total coins spent 2019-01-21 20:36:32 +00:00
plague006
f4ec6aa196 Remove get_random, add get_random_dictionary_entry, and may we never speak of it again. 2019-01-21 14:28:21 -05:00
grilledham
ba27be7433 add messages on looting corpse 2019-01-21 15:54:14 +00:00
plague006
7e565beb21 Remove redundant function 2019-01-21 10:42:38 -05:00
plague006
746d8d8df9 Print message when someone saves a color 2019-01-21 10:39:15 -05:00
grilledham
06f7d59f09 added check for chance == 0 2019-01-20 22:58:46 +00:00
Jayefuu
f955688c46 Added grid_bot_islands map preset
Moved entity_drop_amount from market.lua to config.lua
Added chance to entity_drop_amount table to allow map makers to configure coin drop chances for biters, spitters, worms and nests.
2019-01-20 20:58:12 +00:00
grilledham
1981dd6c0f fix errors 2019-01-20 18:25:53 +00:00
grilledham
7b393ed65c changed button sprite 2019-01-20 17:18:01 +00:00
grilledham
eaab7b9b3c removed stats tracking for damage. 2019-01-20 16:59:07 +00:00
grilledham
b45b4b3dce score rewrite 2019-01-20 16:50:10 +00:00
Matthew
0927a839b8
Fix linting (#657)
Fix linting warnings
2019-01-19 11:34:29 -05:00
Lynn
3206728501 secure power source 2019-01-19 14:17:23 +01:00
Lynn
703a3fea53 Added a 7 minute powersource to ensure the bootstrapping works well 2019-01-19 14:17:23 +01:00
Lynn
1e67b974e4 Fixed market desync and more control over limits 2019-01-19 14:17:22 +01:00
Lynn
8e9f48eab4 Some general fixes related to todays bugs 2019-01-19 14:17:22 +01:00
Lynn
b2042f2e1f Added missing require 2019-01-19 14:17:21 +01:00
Lynn
ccda13c12c Added a Lazy Bastard feature with player limit for market items 2019-01-19 14:17:21 +01:00
grilledham
167cda342a Send own join and leave messages 2019-01-17 14:00:15 +00:00
Matthew
3f8be3151a
Add redmew_surface (#631)
* Add redmew_surface

* Change map_layout to have all maps use redmew_surface

* Maps: switch hardcoded nauvis refs to redmew_surface

* Features: switch hardcoded nauvis refs to redmew_surface

* Per discussion, removal of RSO

* Changes to files based on linting warnings/errors

* ent_functions: remove functions from global scope, ignore remaining linting warnings (~100 remaining)

* borg_planet: ignore linting warnings (88 remaining)

* mazes refactored

* Changed global.lua so events are run in the order they are registered
2019-01-16 13:44:55 -05:00
Matthew
91e18a7a96
Merge pull request #652 from grilledham/loaders
Loaders
2019-01-15 11:13:47 -05:00
grilledham
cdde0d6967 moved loaders to redmew_qol 2019-01-15 15:10:31 +00:00
Matthew
934adaa9f6
Merge pull request #653 from plague006/fix/qol
Check that entities are valid in redmew_qol
2019-01-15 09:52:13 -05:00
Matthew
5dd9ce9f90 Remove math and table as globals. (#647)
* Remove math and table as globals.
Create exceptions for table.lua and math.lua to modify respective globals and add returns for respective globals.

* Fix lint errors from table and math
2019-01-15 14:27:48 +01:00
Matthew Heguy
229e3e7f25 Check that entities are valid 2019-01-14 17:25:14 -05:00
grilledham
d7d7737b4b added loaders 2019-01-14 11:39:11 +00:00
Matthew
746d31dc14 Add quality of life features (#625)
* Add quality of life features: random train colors, restrict chests, backer_names, ghost_ttl

* Expand ghost_ttl

* Make val smile
2019-01-12 14:43:41 +01:00
Matthew
055ca8487f
Merge pull request #644 from grilledham/crashsite_0.4
Crashsite 0.4
2019-01-11 16:40:41 -05:00
Valansch
7fa83bae6c Add Tetris (#605)
Somehow nailed everything on the first try. What a pro.
2019-01-11 13:31:23 -05:00
Valansch
a8a777bcc5
Update market.lua 2019-01-10 16:28:34 +01:00
grilledham
e46a4983db Merge branch 'develop' of https://github.com/Valansch/RedMew into crashsite_0.4 2019-01-10 14:35:25 +00:00
Maik Wild
1eebea55e8 renamed fish_market.lua to market.lua and market_item to currency 2019-01-10 15:18:55 +01:00
Valansch
3ab26ea014
Fixed sticklers complaints 2019-01-10 14:53:03 +01:00
Valansch
73a3b7756b
Merge branch 'develop' into event-fixes 2019-01-10 14:38:55 +01:00
grilledham
f093fee5ab fixed bugs 2019-01-09 22:30:05 +00:00
Lynn
c84dec2aaa Fixed some market related hacks 2019-01-09 18:29:20 +01:00
Lynn
cb97ea54f3 Removed undefined variable 2019-01-09 18:29:19 +01:00
Lynn
57c4ae2519 Fish market with new GUI and stack limit 2019-01-09 18:29:18 +01:00
Matthew Heguy
018cab89b6 Fix linting, add comments 2019-01-08 15:58:12 -05:00
grilledham
5ee7a62464 fixed \n escaping + small optimizations (#635)
* fixed \n escaping + small optimizations
2019-01-07 13:30:59 +01:00
grilledham
84597ea1fe Merge branch 'develop' of https://github.com/Valansch/RedMew into event-fixes 2019-01-06 12:40:39 +00:00
Lynn
0ebe857532 Fixed volunteer references 2019-01-05 18:13:49 +01:00
Lynn
cb68f0c340 Fixed the infamous task desync and typos 2019-01-05 18:04:31 +01:00
Matthew
8ce3010da5
Merge pull request #628 from Jayefuu/patch-7
Added market remove instructions
2019-01-04 21:44:23 -05:00
plague006
4d929248b7 Use player from function rather than game.player 2019-01-04 16:31:34 -05:00
plague006
503a3843fb Clear space characters 2019-01-04 15:09:16 -05:00
plague006
bcd95662b6 Redirect all dependencies 2019-01-04 15:02:55 -05:00
Jayefuu
2df0e27fe6
Added market remove instructions
Users downloading the scenario were asking for instructions on how to remove the market (in #mapgen). Adding this reply will also help admins and others using the scenario to generate maps.
2019-01-04 19:59:37 +00:00
Matthew
cb9e1e9792 Have info pull changelog from server (#621)
* Have info pull changelog from server

* Use on_server_started and create a proper function to pass to event
2019-01-04 14:45:37 +01:00
Jayefuu
ec2687accd Score spelling correction (#627) 2019-01-04 12:56:25 +01:00
Matthew
dab49c6f6c Yet another camera fix (#626) 2019-01-04 12:56:12 +01:00
grilledham
8e56eba51a removed init function 2019-01-03 17:24:18 +00:00
Valansch
da8d60df5b
Update redmew_commands.lua 2019-01-03 18:16:50 +01:00
Valansch
2fd78cbc5c
Update redmew_commands.lua 2019-01-03 18:09:26 +01:00
Matthew
a84dcfdd91 Overhaul commands (#576)
* Split admin-only commands out of custom commands
Remove free item logging

* Overhaul commands remaining in custom_commands

* Overhaul commands in remaining files

* Change custom_commands to redmew_commands

* Remove follow.lua
2019-01-02 16:34:17 +01:00
Matthew
b43eef96e7 Fix not being able to switch targets without first closing camera (#574) 2019-01-02 14:42:31 +01:00
Matthew
c2234505f3 Implement server-side color saving (#566)
* Implement server-side color saving

* Add set_and_return to core utils
2019-01-02 14:42:18 +01:00
grilledham
14a81aedb4 Bug fixes (#620)
* fixed error on empty regular list

* fixed train kill count
2019-01-01 22:26:57 +01:00
Matthew Heguy
e37511e68d Change to comment block 2019-01-01 09:59:24 -05:00
Lynn
23af703bc8 Added some basic docs about the Retailer 2018-12-31 18:08:14 +01:00
Lynn
a62fed2b78
Merge branch 'develop' into market-gui-tweaks 2018-12-31 09:22:26 +01:00
Matthew
17c54eb136
Merge pull request #579 from iltar/retailer-in-crash-site
Uses the retailer in crash site for markets
2018-12-30 17:21:46 -05:00
Matthew
77846c1d66
Merge pull request #604 from plague006/use_color_presets
Change custom colors to presets
2018-12-30 17:20:15 -05:00
plague006
494648f35c Change custom colors to presets 2018-12-29 12:39:20 -05:00
Lynn
444b107190 Refresh player market GUI when something changes 2018-12-29 14:30:20 +01:00
Lynn
91b4b0f007 Added a distance check for the Retailer market GUI to close 2018-12-29 14:09:26 +01:00
Lynn
377ad8a25a
Merge pull request #603 from iltar/disabled-market-items
Ability to disable market items without removal
2018-12-29 14:07:38 +01:00
Matthew
486effcab7 Remove spaces in extant names and modify name function to remove spaces to prevent future mistakes (#581)
* Remove spaces in extant names and modify name function to remove spaces to prevent future mistakes

* Remove regulars hack and map_layout entry
2018-12-29 02:20:23 +01:00
Matthew
8f4c99cc43 Restore ability to set map_extra_info (#588) 2018-12-29 02:19:55 +01:00
plague006
62d7ebda30 Use preset colors 2018-12-28 18:17:44 -05:00
Lynn
14e814d47f Ability to disable market items without removal 2018-12-28 21:31:08 +01:00
Matthew
69e675ffeb Beach and paint typos (#601)
* correct a typo, re-scope a couple vars, remove unused require

* Add typo in paint
2018-12-28 17:21:09 +01:00
Lynn
3cebeb4233 Added a market event to do non-item related stuff (#577)
* Added a market event to do non-item related stuff

* Moved variable up

* v-align center on market text
2018-12-27 00:42:06 +01:00
Matthew Heguy
d381ee1a03 Update to new config structure 2018-12-23 11:36:34 -05:00
Lynn
7ec2380989 Retailer can generate a unique identifier 2018-12-23 13:33:54 +01:00
Lynn
511fe1a1f7 Uses the retailer in crash site for markets 2018-12-22 17:30:25 +01:00
Lynn
5cdb67979a Added some features to the market GUI (#564)
* Added some features to the market GUI

* Grouped inputs differently

* Use referenced table instead of copy
2018-12-22 00:39:18 +01:00
Matthew
bcf0c3e85d Fix issues with silly names (#559)
* Fix new LuaPlayer created on join.

* Change set_map_extra_info to add_map_extra_info

* Make silly_player and regulars compatible
2018-12-22 00:38:47 +01:00
Matthew
098853ec48 Give feedback to player (#568) 2018-12-22 00:37:28 +01:00
Valansch
a1c21b52db
Implemented deprecated commands (#549) 2018-12-19 17:38:28 +01:00
Matthew
eb892a372e Add player_reward, add coins as reward for looking at info (#546)
* Add player_reward, add coins as reward for looking at info

* Remove table entries for completed rewards
2018-12-19 14:56:02 +01:00
Matthew
074ea00c54 Add regulars to potential train station names (#561)
* Add regulars to potential train station names

* Decrease odds of in-game player and regular, increase odds of backer

* Clarify that _player_ is not the player that placed the entity

* Specify random's use, cover case of nil random_player
2018-12-19 14:43:30 +01:00
Matthew
014b53aa42 Expand config (#560) 2018-12-19 14:41:28 +01:00
Valansch
defd40db60
Update player_stats.lua 2018-12-17 18:04:46 +01:00
Matthew
00cf6eb40c
Merge pull request #553 from grilledham/top_buttons_visibility
allow player to toggle top buttons visibility
2018-12-17 10:55:33 -05:00
grilledham
03b6d9b288 extra checks in player_stats::entity_damaged 2018-12-16 11:13:15 +00:00
grilledham
f45d6d5111 allow player to toggle top buttons visibility 2018-12-16 01:28:00 +00:00
Matthew
edf50d24f7 Add camera (#493)
* Add camera

* Rewrite camera

* Use global register

* Add runtime killswitch.

* Change to every 120 ticks
2018-12-15 21:29:14 +01:00
Matthew
88e7c46d2f Expanded stat tracking (#484)
* Add new stat tracking

* Add player_total_playtime and server storing+getting

* Cover case of not running on server

* Add player built entities, fix playtime tracking

* Add some stat display

* Remove total playtime
2018-12-15 21:28:53 +01:00
Matthew
238f6b9d7b Rename task and queue (#535)
* Rename task and queue to q

* Threading to schedule

* processing_queue to q
2018-12-15 21:28:27 +01:00
Lynn
221cf9c67d Diggy fixes, performance improvements and balance tweaks 2018-12-13 21:14:27 +01:00
Lynn
2a8a047c64 Fixed coin mining and behavior in Diggy 2018-12-10 21:18:22 +01:00
Matthew
17f7e9dcfe
Merge pull request #533 from iltar/alien-spawner-using-prototype
Alien spawner using prototype
2018-12-10 15:14:09 -05:00
Matthew
b5de650716
Merge pull request #532 from iltar/hydra-mode-into-redmew
Made hail_hydra available to all redmew scenarios
2018-12-10 15:13:29 -05:00
Lynn
b59d8f5f5f Removed return 2018-12-10 19:28:51 +01:00
Lynn
fb9e1dba6e Made hail_hydra available to all redmew scenarios 2018-12-10 19:24:48 +01:00
Lynn
2f98d21006 Some minor fixes for venus 2018-12-09 20:55:39 +01:00
Lynn
0fbfe49b2f AlienEvolutionProgress to utils and uses prototype data 2018-12-09 19:18:16 +01:00
Matthew
fe73cab917
Merge pull request #530 from iltar/search-command
Added a command-search command
2018-12-09 08:36:33 -05:00
Lynn
b44e10b252 Added pagination 2018-12-09 14:12:59 +01:00
Lynn
55a3cf5f22 Using # instead of string.len 2018-12-09 12:44:20 +01:00
Lynn
35c916c9b4 Removed unused variables 2018-12-09 00:37:59 +01:00
Lynn
a9d40f74a9 Added a command-search command 2018-12-09 00:34:25 +01:00
Lynn
2b7d0d0890 Removed automatic research unlock from player_create 2018-12-08 22:36:17 +01:00
Lynn
7800fab345 Gave the player_create feature the same as diggy SetupPlayer 2018-12-08 21:52:40 +01:00
Lynn
6617370fbc Added the crash-site GUI features to the retailer 2018-12-07 22:58:44 +01:00
Lynn
5e00d9b721 Reduced to a single command 2018-12-06 18:17:51 +01:00
Lynn
e08ba30b1b Added particle limits and scales 2018-12-06 17:42:31 +01:00
Lynn
b46595ff10 Added a scale to change game performance and running speed accordingly (#505) 2018-12-06 12:27:08 +01:00
Lynn
bbfcdd4629 Added a basic RedMew configuration setup (#502)
* Added a basic RedMew configuration setup
2018-12-06 12:18:52 +01:00
Matthew
21ecab0a59
Merge pull request #496 from grilledham/quite-command
sc command
2018-12-05 22:27:18 -05:00
grilledham
63bc04ea14 Switch to command wrapper 2018-12-05 11:10:34 +00:00
Matthew
f96183e0c4
Merge pull request #498 from iltar/hydra-improvements
Improved Biter aggression and scales a bit higher
2018-12-05 03:05:42 -05:00
Matthew
6ba6a82d8c Add core cheats (#490)
* Add core cheats

* Optimize our cheating
2018-12-03 10:39:19 +01:00
plague006
54ff31d233 Add all-tech when cheats enabled 2018-12-02 12:04:44 -05:00
Lynn
39a5b13928 Minor fixes in the config 2018-12-01 22:06:24 +01:00
Lynn
83597c6f5a Improved Biter aggression and scales a bit higher 2018-12-01 21:39:24 +01:00
Lynn
5b29219f61
Merge pull request #488 from iltar/fix-remaining-require
Fixed a few left-over requires in Experience
2018-12-01 18:02:46 +01:00
grilledham
a0fee48bc8 sc command 2018-12-01 16:20:44 +00:00
grilledham
3883c9e770 merge query_online_players 2018-12-01 10:53:46 +00:00
grilledham
0a82e1b68e query_online_players 2018-12-01 10:49:14 +00:00
Lynn
a83acc4ea7 Fixed a few left-over requires in Experience 2018-11-30 19:57:31 +01:00
grilledham
cd71bb0faa updates 2018-11-30 15:57:07 +00:00
grilledham
b4fbeae62e added command for getting server time 2018-11-30 15:56:26 +00:00
grilledham
b1ff3f69a0 get and set server time 2018-11-30 00:18:43 +00:00
Lynn
fefb26c91a Added a crumbling effect from the ceiling when close to collapse 2018-11-29 20:03:08 +01:00
Matthew
700fdd16a1
Merge pull request #476 from grilledham/ban-sync
Ban sync
2018-11-28 17:06:58 -05:00
grilledham
01e25c3056 throw error on non string admin and reason 2018-11-28 22:04:38 +00:00
grilledham
c47a253799 fixed comment 2018-11-28 21:56:18 +00:00
grilledham
70307be441 changed comments slightly 2018-11-28 21:35:07 +00:00
Matthew
1afbeae0ca
Merge pull request #464 from plague006/utils
Overhaul utils and add minor functionality
2018-11-28 15:39:51 -05:00
grilledham
5bea1bc153 fixed bug 2018-11-28 17:59:32 +00:00
grilledham
97921a6349 added Server.ban_sync and Server.unban_sync 2018-11-28 17:56:31 +00:00
Lynn
5b0e2f0e9c
Merge pull request #473 from plague006/fix/kill
Fix /kill checks around walkabout
2018-11-28 13:14:22 +01:00
Lynn
67ce1c301f
Merge pull request #474 from plague006/fix/walkabout
Fix walkabout case of player with no character
2018-11-28 13:13:55 +01:00
Matthew Heguy
0553c2af7e Catch up on new requires 2018-11-28 07:03:10 -05:00
grilledham
04199312bd Merge branch 'develop' of https://github.com/Valansch/RedMew into develop 2018-11-28 11:20:54 +00:00
grilledham
12b8e92260 fix for nuke_control 2018-11-28 11:20:23 +00:00
grilledham
4031c528e3 fixes to nuke_control.lua 2018-11-28 11:15:44 +00:00
Matthew Heguy
20dc540d79 Fix case of player with no character 2018-11-27 18:23:40 -05:00
Matthew Heguy
be87e0fb12 Fix not catching server killing walkabout player 2018-11-27 17:36:05 -05:00
Matthew Heguy
a5f0cc77b9 Fix checks around walkabout 2018-11-27 17:25:07 -05:00
Matthew Heguy
1d4acc8e35 Fix train station names 2018-11-27 17:08:27 -05:00
Matthew Heguy
bdc5d2ae77 Revert change to utils.task refs 2018-11-27 17:08:27 -05:00
Matthew Heguy
3fa0091971 Change existing code to use new utility functions 2018-11-27 17:08:26 -05:00
Matthew Heguy
c7201e119b Rename utils and fix requires 2018-11-27 17:08:26 -05:00
SimonFlapse
d971075da0 admin mentions now require pre, or postfix 2018-11-27 20:12:50 +01:00
Matthew Heguy
40f20bd2d3 Use string.format 2018-11-27 13:39:08 -05:00
Matthew
06a1a1927a Merge branch 'develop' into chat_triggers 2018-11-27 13:39:05 -05:00
grilledham
6667ab3e11 updated docs 2018-11-27 16:54:41 +00:00
grilledham
5585c0357b fixed printing regulars and donators to all players 2018-11-27 16:51:15 +00:00
grilledham
3e56fe32b8 removed defines.events.on_server_started 2018-11-27 14:48:45 +00:00
grilledham
031c8b82d9 added nil check for regulars and donators fetched from web 2018-11-27 14:47:37 +00:00
Matthew Heguy
7cbf650e63 Add explicit luacheck ignore when defining on_server_started 2018-11-27 07:50:07 -05:00
James
f010eb0119 moved server and serverCommands module to features + added more documentation to server 2018-11-27 12:32:33 +00:00
Matthew
2bc69414e0
Merge branch 'develop' into server-module 2018-11-26 21:12:36 -05:00
Matthew
b142939c5f Overhaul config and global.scenario usage (#466) 2018-11-27 01:09:52 +01:00
grilledham
cb9b8e3ecc changed logic to remove regular's old name 2018-11-26 19:39:51 +00:00
Lynn
d80becdc9b I need Herr Stickler's approval 2018-11-26 18:11:32 +01:00
Lynn
8fe49e8930 Added a market retailer to manage the markets 2018-11-26 18:11:32 +01:00
grilledham
4e000efbb8 added missing server require 2018-11-26 16:55:12 +00:00
grilledham
420b584228 removed unused function donators 2018-11-26 16:50:38 +00:00
grilledham
7a4700052c Merge branch 'develop' of https://github.com/Valansch/RedMew into server-module 2018-11-26 16:10:08 +00:00
Matthew Heguy
17af2498f8 Have get_player return nil if no index/player 2018-11-26 10:50:06 -05:00
grilledham
218f53da83 fixed donator_messages 2018-11-26 12:40:38 +00:00
Matthew
6697f4cb99 Delete features/silly_player_names.lua -- fixes 508f75c4b9 (#462) 2018-11-26 13:11:38 +01:00
Matthew
b5477034b7 Move infinite storage (#463) 2018-11-26 13:11:26 +01:00
Matthew
1332ad5a8d Move spawn control (#456) 2018-11-26 13:10:37 +01:00
grilledham
018675c9c4 user_groups to sync regulars with server 2018-11-26 11:44:27 +00:00
Matthew Heguy
de87998299 Break chat_trigger functions apart 2018-11-26 01:52:43 -05:00
grilledham
297c99d204 Merge branch 'develop' of https://github.com/Valansch/RedMew into server-module 2018-11-25 19:18:58 +00:00
grilledham
3768a6a3ca merge develop 2018-11-25 11:54:06 +00:00
SimonFlapse
b240b278f6 Minor changes based on feedback 2018-11-25 12:53:05 +01:00
SimonFlapse
7b031a7c9d Tweaking Diggy controls
Fixed rockets not giving experience and converted it to 1% of total experience.

Decreased player died deduct to 0.2%

Increased xp from rocks by 1 every fifth level

Increased xp from bots by about 1 every tenth level.

Increased early science XP reward (doubled for red and green, 50% for black and blue)

Level 100 is not 19,990,000 XP (Down from 30 million)

Starting XP is 400.
2018-11-25 02:27:41 +01:00
Matthew
caca778ec5
Merge pull request #446 from Refactorio/bot_removal
Delete bot.lua
2018-11-24 10:49:02 -05:00
Valansch
cc17b0205e
Delete bot.lua 2018-11-24 14:25:49 +01:00
Lynn
1d876ed1ff Fixed merge and cleanups 2018-11-24 13:53:06 +01:00
Simon
22c21011ab Diggy - New leveling system (#402)
* Basic setup for Force Control

* Buffs transitioned to new level system

Implemented level up buffs (Also made a double value avaliable at certain levels)

Added experience for research, rocket launched, mined rocks

Removing experience on player death. 0.5% of total experience

Added total_experience to ForceControl.lua

Refactored util/game.lua

* Transfered market item unlocks

Made Market Items unlock through the force control system.

Removed stone from mined stone

* Initial conversion of market items to coins

* Started biter killing giving XP

* XP for killing enemies. GUI update

* Made ForceControl.remove_experience return the actual removed experience

* Got my head and mind back, also fixed progress bar saying long numbers

* Changed get_market()

* Brand new formula, CI review changes

* Update CHANGELOG.md
2018-11-24 10:45:43 +01:00
Jayefuu
1940b56ddf Added /find command to act the same as find_player (#417)
* Added /find command to act the same as find_player

* Remove find-player, fix case of /regular demote
2018-11-24 10:42:53 +01:00
Matthew
55aaf19b48 Add player renaming (#428)
* Add player renaming from auto-generated names

* Give admins IDs on name changes
2018-11-23 18:08:44 +01:00
Matthew
b9e360ce3a Shift command logging to free_item_logging, fix cases of server as actor (#427)
Shift command logging to free_item_logging, fix cases of server as actor
2018-11-23 18:07:44 +01:00
grilledham
163f04789d Merge branch 'develop' of https://github.com/grilledham/RedMew into server-module 2018-11-23 11:44:20 +00:00
Matthew
8db491634d Fix nil ref in train_station_names Closes #440 (#441) 2018-11-23 01:03:15 +01:00
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
grilledham
01a2d61f9d merge develop 2018-11-19 20:13:40 +00: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
grilledham
4f99e1353c merge develop 2018-11-19 16:07:15 +00: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
grilledham
9160612e9c updates 2018-11-17 18:56:05 +00: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
SimonFlapse
98d8a1ae6f Fixed chat mentions for MP 2018-11-16 21:32:38 +01:00
grilledham
ad4d1e20d3 merge develop 2018-11-16 16:34:37 +00:00
Matthew
5523cc50d8 Create player fix (#350)
* Finish removing admin promote

* Fix errors from merge
2018-11-15 23:58:21 +01:00
Valansch
abab0858e1
Merge pull request #346 from SimonFlapse/Chat-Mentions
Notification sound if mentioned by other players
2018-11-15 20:59:51 +01:00
Matthew
f3f0673ff0 Split create_player from control (#333)
* Split create_player from control

* Remove auto-promote
2018-11-15 20:53:28 +01:00
Simon
f525ba0b06 Made info.gui display on player_created (#340)
* Made info.gui display on player_created

Removed old welcome message and replaced it with a short reminder on how to change keybinding to enable chat.

* removed whitespace
2018-11-15 20:04:03 +01:00
Simon
6fe10e6e92 Moved report function to cmd_report in report.lua (#337)
* Moved report function to cmd_report in report.lua

* Tried to fix indentation of printed string

* Moved unjail_player out of custom_commands.lua

Also added colors to two messages from the jail/unjail functions. Feedback appreciated

* Added output line to seperate important messages
2018-11-15 19:12:19 +01:00
SimonFlapse
3e6b0c32c4 Unnested if statement 2018-11-15 16:54:16 +01:00
SimonFlapse
f17f4ea312 Added admin and moderator mentions 2018-11-15 16:46:04 +01:00
SimonFlapse
7a0a945da8 Changed trigger to #, preventing discord mentions 2018-11-15 16:26:40 +01:00
SimonFlapse
948ed4ab1f Minor text changes and _DEBUG options 2018-11-15 16:03:46 +01:00
SimonFlapse
560cf2575c Added logic for detecting a @mention in chat 2018-11-15 15:06:03 +01:00
Matthew
bb3100e28c Remove local ref for submit button (#331) 2018-11-14 16:41:15 +01:00
Matthew
9f247e156e Move map info to config (#321)
* Move map info to config

* Move map info to config
2018-11-13 00:30:30 +01:00
Valansch
f1d4bf739c
Update player_list.lua 2018-11-12 19:24:53 +01:00
Valansch
2cd0b397d5 implemented autojail on too many collapses 2018-11-12 17:59:25 +01:00
Maik Wild
d260addc2e merged PR #292 2018-11-11 22:18:46 +01:00
Maik Wild
f4a04b021e merged #293 2018-11-11 21:45:23 +01:00
Maik Wild
9ce662daf9 merged #295 2018-11-11 21:12:49 +01:00
Maik Wild
1794bed816 merged #296 2018-11-11 20:52:53 +01:00
plague006
9c9a9b22f6 Use trigger as table key 2018-11-11 12:12:38 -05:00
plague006
fed64c47c6 Put responses into table 2018-11-11 11:59:04 -05:00
plague006
ec9819e723 Newline to eof 2018-11-11 11:08:05 -05:00
plague006
bd6ac80b09 Log items spawned by crafting in cheat mode 2018-11-11 11:02:38 -05:00
plague006
27bc52680e Add newline to eof 2018-11-11 10:12:04 -05:00
plague006
818391707e Move features into features folder 2018-11-11 03:08:50 -05:00
plague006
cf95bcfc62 Split donator/on_join messages out of control 2018-11-10 23:58:57 -05:00
plague006
e64a0fa3e9 Remove player-specific code 2018-11-10 23:52:04 -05:00
plague006
48dcdc1a34 Move cheat tracking outside of control.lua 2018-11-10 23:49:36 -05:00
plague006
d45a486cde Split chat triggers from control 2018-11-10 23:00:33 -05:00