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

903 Commits

Author SHA1 Message Date
James Gillham
a46435ec00 Fix desync when changing global.config.biter_corpse_remover.max_queue_size 2021-01-20 17:10:21 +00:00
Jayefuu
476b07a2ab Fixed locale issues 2021-01-20 08:48:08 +00:00
Jayefuu
c88520cccb Update chat_triggers.lua 2021-01-19 13:37:00 +00:00
Jayefuu
5a585e38d9 Update chat_triggers.lua 2021-01-19 13:36:25 +00:00
James Gillham
98b39b93bf Updated corpse remover to remove worms. 2021-01-12 16:51:30 +00:00
Jayefuu
0a4355eb2c Updated corpse remover to only remove biter corpses 2021-01-12 08:33:44 +00:00
James Gillham
21ec6fb120 Change biter corpse remover.
The biter corpse remover was attempting to be clever about removing corpses and only remove them when they exceeded a certain threshold per chunk. For some reason it is no longer working and I can't figure out why.
So I replaced it with a simpler approach. Now we keep track of the corpses in a queue. When the queue size exceeds the threshold we remove and destroy the oldest corpse.
2021-01-10 15:45:28 +00:00
Jayefuu
565249ff1b Added player_built and player_crafted to the crash site awards ceremony 2021-01-08 12:34:51 +00:00
Jayefuu
0089075f9c
Merge pull request #1138 from Refactorio/player_stats_kill_tracking
Player data types updated and saved to server on restart
2021-01-03 08:53:04 +00:00
grilledham
0717eb2a3e
Merge pull request #1142 from grilledham/info_gui_updates
Fix info_gui layout issues.
2021-01-02 12:22:00 +00:00
grilledham
e093b92dc9
Merge pull request #1141 from grilledham/player_leave_reason
Add player leave reasons
2021-01-02 12:18:42 +00:00
grilledham
ad929499c6
Merge pull request #1140 from grilledham/loader_snap
When rotating loader connect to container.
2021-01-02 12:13:52 +00:00
James Gillham
741267873f Use PlayerStat names in player_list.lua 2021-01-02 12:12:10 +00:00
James Gillham
0e768ec608 Expose PlayerStats names publicly. 2021-01-02 12:00:21 +00:00
James Gillham
27e76d2ed0 Refactor get player index logic 2021-01-02 11:37:54 +00:00
Jayefuu
50bf98f8f2 Updated as per suggestions
- Added small fixes to commands.lua
- Added logic to player_stats.lua to count kills made with vehicles. Tested on S10 with a passenger.
2021-01-02 11:37:53 +00:00
James Gillham
b527d146f8 More player_list tweaks. 2021-01-02 11:37:16 +00:00
James Gillham
24bedfb925 grilledham's review changes:
- Rename biter_kill_counter->entity_died
- Refactor logic in entity_died function to reduce table lookups.
- Fix nil cause bug.
- Fix player_list kills header different size to cells.
2021-01-02 11:37:16 +00:00
Jayefuu
9b39e35d0d Player data types updated
- Saves more kill data to Scoreboard
- Displays total kills in score board
- Saves player data to crash site scenario data set
- Added scenario name to data set so that if we later want to add data for danger ores we can filter it out
2021-01-02 11:37:16 +00:00
grilledham
b18dad52cb
Merge pull request #1137 from grilledham/server_start_data
Add server start_data.
2021-01-01 18:22:45 +00:00
James Gillham
345029c10b Fix info_gui layout issues. 2021-01-01 18:04:14 +00:00
James Gillham
a2331b0a53 Don't hard code the filter slot count. 2021-01-01 16:26:21 +00:00
James Gillham
b6053fd3e3 Preserve loader filters when connecting 2021-01-01 15:49:07 +00:00
James Gillham
4634bcca00 When rotating loader connect to container. 2020-12-31 22:55:26 +00:00
James Gillham
7545a41e52 Add player leave reasons 2020-12-31 22:04:40 +00:00
James Gillham
c6739cd4d7 Fix loader gui layout issue in multiplayer
- Change the loader gui logic to be more conservative about when it deletes the loader frames. Now the layout issue should only happen when the player goes from having no loader recipes unlocked to any or vice versa Which in most cases will only happen once per game.
2020-12-31 20:17:43 +00:00
James Gillham
9564d51dcc Add server start_data. 2020-12-30 20:19:22 +00:00
James Gillham
d33392b1cf Remove /dc command, use /sc instead. 2020-12-28 22:44:42 +00:00
James Gillham
2f53b43165 Send report to discord. 2020-12-27 15:57:22 +00:00
Jayefuu
a6e64743ac Update redmew_settings.lua 2020-12-27 07:42:02 +00:00
James Gillham
281500aeb6 Don't draw loader frame when no loader recipe is unlocked. 2020-12-23 21:58:18 +00:00
James Gillham
0281a88350 Add named discord channels. 2020-12-23 13:08:20 +00:00
grilledham
42f82de031
Merge pull request #1119 from Refactorio/craft-loaders
Loader GUI buttons
2020-12-22 11:16:22 +00:00
James Gillham
4507ffbcdc redmew_qol laoder updates
- Use the player's force rather than the player force for determining whether the recipes are enabled.
- Call draw_loader_frame_for_player when player opens crafting gui instead of on_player_created.
- Check in the button events if the recipe is enabled.
- Draw the frames even if 'loader' recipe is not enabled to allow for the case that only 'fast-loader' or 'express-laoder' is enabled.
2020-12-21 11:29:54 +00:00
Jayefuu
a5bc9ac584 Update redmew_qol.lua 2020-12-21 09:06:58 +00:00
Jayefuu
73eb4f5ad1 Updated as per suggestions 2020-12-20 17:25:33 +00:00
Jayefuu
534fa6a790
Update landfill_remover.lua 2020-12-16 13:02:41 +00:00
Jayefuu
8e365dc89f
Update landfill_remover.lua
Just added a top comment to describe the feature so that players that find it don't need to work through the code to understand.
2020-12-16 12:51:26 +00:00
James Gillham
abddfe85b9 fix luacheck value assigned unused. 2020-12-14 20:26:14 +00:00
James Gillham
83befd776e Gui.destory when loader_crafter closes + update .luacheckrc 2020-12-14 20:25:22 +00:00
Jayefuu
ee2e77fbba Update redmew_qol.lua 2020-12-14 18:30:25 +00:00
Jayefuu
7b78dc036b Fixed failed lua checks 2020-12-14 18:28:03 +00:00
Jayefuu
be63ca9668 Features complete and tested. Needs review. 2020-12-14 18:22:17 +00:00
Jayefuu
c210c8a17e Update redmew_qol.lua 2020-12-14 10:06:33 +00:00
Jayefuu
e5e131ed07 Update redmew_qol.lua 2020-12-14 09:01:42 +00:00
James Gillham
ffa431f921 fix not converting number to string 2020-11-29 19:44:13 +00:00
James Gillham
47b2c9b4ee more clean_cursor -> clear_cursor 2020-11-25 17:37:54 +00:00
James Gillham
c72bba28e5 Remove blueprint helper 2020-11-24 17:47:02 +00:00
James Gillham
762d31d465 Gui fixes 2020-11-24 17:44:31 +00:00
James Gillham
171737e587 Remove removed items/entities. 2020-11-24 16:39:22 +00:00
James Gillham
0b95a25f1d Change train_saviour to use 'player-port' instead of 'small-plane'. 2020-11-24 16:39:22 +00:00
James Gillham
6155a7d2f3 Fix report showing outdated time.
When an admin rejoins, if they have the reports open, reopen it again to update the time on the reports.
2020-11-15 20:10:20 +00:00
James Gillham
ecb0ee7867 Fix unjail invulnerable characters
- If a player didn't have a character when they were jailed we would record their previous destructible state as `nil` which was treated as `false`. Now we treat `nil` as no previous character info and set the previous destructible state on repsawn/join.
- If a player was unjailed when offline or dead, we wouldn't restore the player character's destructible state, now we wait for them to rejoin/respawn to do that.
2020-11-15 16:38:57 +00:00
grilledham
7350e8721d
Merge pull request #1105 from grilledham/feature/corpse_location
Ping corpse location on player death
2020-11-15 11:24:48 +00:00
James Gillham
9698d2b109 When not killed by player add 'a' in death message. 2020-11-14 21:44:07 +00:00
James Gillham
671667adaf fix luacheck issues 2020-11-13 21:05:25 +00:00
James Gillham
eb7b43cf1c Add player settings for corpse pings + tests. 2020-11-13 20:06:43 +00:00
Jayefuu
5098ab875a Whitespace (╯°□°)╯︵ ┻━┻ 2020-11-13 19:59:46 +00:00
Jayefuu
10bff3c5bc Linebreaks mkay! 2020-11-13 19:56:22 +00:00
Jayefuu
465f9441ec fixed whitespace 2020-11-13 19:36:46 +00:00
Jayefuu
9a2fcd03d5 Fixed jail bug when player in spidertron
As per issue #1102.
- Checks if player is in spidertron
- Sets autopilot destination to position when jail used.
- Tried using similar to the train check but it didn't work for spidertron.
2020-11-13 19:36:20 +00:00
James Gillham
86cbfac9a7 Ping corpse location on player death 2020-11-10 21:11:24 +00:00
James Gillham
4a0b003567 formatting 2020-11-10 21:11:24 +00:00
James Gillham
50db0ba5c3 Fix luacheck errors 2020-10-04 21:23:14 +01:00
James Gillham
2d238750d3 Ensure Poll is never nil. 2020-10-04 21:19:05 +01:00
James Gillham
0293d92791 Consistent style for close buttons 2020-10-04 21:13:09 +01:00
James Gillham
aaa87601f9 change close buttons 2020-10-04 21:12:32 +01:00
James Gillham
980ca7672b More Landfill tests plus fix entity filter blacklist 2020-10-03 21:10:25 +01:00
James Gillham
031517fb85 More landfill remover tests 2020-10-03 14:37:56 +01:00
James Gillham
475b7dc8c6 More landfill_remover tests 2020-09-30 19:47:03 +01:00
James Gillham
00fbe5853e landfill_remover_tests refactor 2020-09-29 20:50:07 +01:00
James Gillham
7f659cbe58 test discovery 2020-09-28 21:03:31 +01:00
James Gillham
b4fa00ccdf context improvements 2020-09-28 20:40:47 +01:00
James Gillham
0aff9aabdd helper 2020-09-26 20:02:53 +01:00
James Gillham
df47b5aa02 module startup/teardown hooks 2020-09-25 20:33:46 +01:00
James Gillham
a1908b93d5 landfill_remover_tests 2020-09-21 19:29:02 +01:00
James Gillham
5cc6ab82b6 Change paint tool to use coloured concrete. 2020-09-13 12:40:09 +01:00
James Gillham
cb43dcc893 Add landfill remove feature.
Allows removing landfill using the deconstruction planner, must have landfill tile filter to work.
2020-09-09 20:24:49 +01:00
James Gillham
a2d6b35478 check valid_for_read 2020-09-02 15:04:03 +01:00
James Gillham
fb7a2f4136 Default market neutral force 2020-09-02 12:25:53 +01:00
Claude
5dd2156cfa
Update info.lua
Changed domain name because old giving SSL errors.
2020-07-17 11:39:23 +03:00
James Gillham
b2cd925d3a Update gui styles for 0.18.27 2020-05-26 17:35:14 +01:00
theorangeangle
8f9092cd64
Merge pull request #1001 from SimonFlapse/auto-server-description
Server description generator, rich text
2020-05-18 15:04:40 -05:00
grilledham
287c35452c
Merge pull request #1043 from BlueRock2/poll_fix
Fix poll
2020-03-24 17:00:54 +00:00
Bluerock
f6b3a83c08 Fix poll 2020-03-24 10:14:46 -04:00
grilledham
f20483540e
Merge pull request #1042 from BlueRock2/fix_tasklist
Fix redmew shared gui tasklist
2020-03-20 16:47:00 +00:00
Bluerock
79948a0e70 Fix tasklist 2020-03-20 09:30:00 -04:00
theorangeangle
092f30cded
Merge Space Race into Code Base :D
Space Race is still very much a [WIP] and should be treated as such. Many features need to be added, but it is being merged in its current state to allow for easier internal integration. The map is in a playable state, and includes a configuration file. 

A list of future ideas and features to implement can be found at #996 and it should be notes that this is still a "high priority" project.
2020-03-01 23:34:23 -06:00
Claude
4899b4bf7d
update4
update4
2020-02-05 01:57:12 +02:00
grilledham
68f6809685 Updates to on_capsule_used.
- ignore modded fish
- don't ban/kick if enemy entites
- list entities in reason when  kick/ban
2020-02-02 13:43:17 +00:00
grilledham
35d1495b35 updates 2020-01-01 15:04:33 +00:00
grilledham
e0dadb7de5 research_printer 2020-01-01 11:58:08 +00:00
Zahir Khan
35990dd22c Fix for crashsite cutscene edge cases 2019-12-19 21:00:50 -05:00
Zahir Khan
51b89e8989
Enhancements to enable multi-surface cutscenes
The setting of the skip_btn_flag to true will...
1. Enable one press to skip cutscene while in multiple.
2. Code paths updated to ensure the Player doesn't get locked out of the game while in a multi-surface cutscene.
3. Do different things depending on which cutscene was canceled in a multi-surface cutscene.
2019-12-03 21:36:58 -05:00
theorangeangle
c1359be75c
Merge pull request #988 from SimonFlapse/diggy_cutscene
[Diggy] Cutscene Fixes
2019-12-03 13:20:30 -06:00
SimonFlapse
52f0fe2e5c Merge remote-tracking branch 'upstream/develop' into space_race 2019-10-26 16:26:19 +02:00
Simon
9a2e5e554f
Hilbert Water Trap + Fixes for Hilbert Sand Trap (#998)
* Initial commit of hilbert water trap

* Refactoring in features/market.lua

* Fixed ribbon for both Hilberts

* Added remove decoratives function to the builder

* Refactoring the new builder functions

* Simplifying create_standard_market

* remove_map_gen_decoratives_by_filter renamed

* Fixed documentation links having _edit in them

* Formating documents
2019-10-20 16:23:34 +02:00
SimonFlapse
d812c71fe5 Merge remote-tracking branch 'upstream/develop' into diggy_cutscene 2019-10-18 23:41:21 +02:00
SimonFlapse
7ca4e61da9 New Description Generator GUI
Changes to the info gui to better communicate the max text width to support the server description in the server browser
2019-10-18 23:20:55 +02:00
SimonFlapse
268959331e Updated rich text generation gui 2019-10-18 14:49:33 +02:00