Commit graph

4555 commits

Author SHA1 Message Date
Lucas Nicodemus
ae87f242d7
Clarify log debug from SendTileSquare 2020-05-23 23:56:49 -07:00
Lucas Nicodemus
37e65b64dc
Add note about what Tombstones do and don't do 2020-05-23 23:47:50 -07:00
Lucas Nicodemus
38fb33feb8
Merge branch 'general-devel' of github.com:Pryaxis/TShock into general-devel 2020-05-23 23:34:57 -07:00
Lucas Nicodemus
cdb1953f36
Clean up world save to be less alarmist 2020-05-23 23:33:16 -07:00
Axeel
535c9a2a7e
Fix wind command (#1879)
* Fix wind command
2020-05-24 13:39:50 +08:00
Axeel
8d277edf04
Fix npcbuff bouncer (#1881)
* Fix npcbuff bouncer

* Update CHANGELOG.md

Co-authored-by: Lucas Nicodemus <shank@shanked.me>
2020-05-24 13:31:21 +08:00
Lucas Nicodemus
d6a6b1514b
Update changelog! 2020-05-23 17:33:03 -07:00
Lucas Nicodemus
922c738588
Merge branch 'general-devel' of github.com:Pryaxis/TShock into general-devel 2020-05-23 17:32:23 -07:00
Lucas Nicodemus
c5f69f3ea6
Update to OTAPI 2.0.0.36 / Terraria 1.4.0.4 2020-05-23 17:30:38 -07:00
Lucas Nicodemus
698647528d
Fix counting problem 2020-05-23 13:02:03 -07:00
Lucas Nicodemus
767faa4389
Update CHANGELOG.md 2020-05-23 13:01:16 -07:00
Lucas Nicodemus
bc71e357c8
Update changelog version 2020-05-23 13:00:40 -07:00
Lucas Nicodemus
1f1591b803
Update changelog 2020-05-23 00:41:09 -07:00
Lucas Nicodemus
eb8aad8a3b
Add extra debug logs to OnTileEdit Bouncer call 2020-05-23 00:39:39 -07:00
Lucas Nicodemus
d610ab929b
Support dirt bomb (fixes #1853, fixes #1865)
This commits adds rudamentary support for dirt bombs. There's probably
some edge cases in here but the entire handler really needs to be
rewritten. This is total spaghetti and completely unreadable and
unrecognizable.
2020-05-23 00:38:03 -07:00
Lucas Nicodemus
c5ec45bc02
Support using the scarab bomb (fixes #1808)
Also fixes #1781. Partially fixes #1865.
2020-05-22 23:53:34 -07:00
Lucas Nicodemus
7452d3c91d
Support using bottomless lava bucket
This is in response to discussion #1859. Due to the nature of this
already terrible handler, I refuse to add any other types of checks for
whether or not this item is banned and lava. If you want to ban lava,
ban a lava bucket. Don't ban an infinite lava bucket, because finite
lava is still infinite lava in this topsy turvy game where the client
rules the world.
2020-05-22 23:33:09 -07:00
Lucas Nicodemus
a457e8c9ee
Support lava absorbant sponge (fixes #1852) 2020-05-22 23:22:48 -07:00
Lucas Nicodemus
dbc4bd4747
Add verbose debug log for rangechecks 2020-05-22 22:16:41 -07:00
Lucas Nicodemus
b87f5d0a1b
Fix probable typo in sundail special perm
This check used & instead of && which is technically possible but
probably not the right thing to do here.
2020-05-22 21:11:37 -07:00
Lucas Nicodemus
41f35a27df
Merge branch 'general-devel' of github.com:Pryaxis/TShock into general-devel 2020-05-22 21:06:48 -07:00
Lucas Nicodemus
f227a2a1e4
Add verbose logging to rest of GetDataHandlers
Should help put the nail in the coffin of many 1.4 bugs
2020-05-22 21:06:16 -07:00
Chris
5d2945ab1f Change SendMessage & SendMessageFromPlayer to use FromLiteral not FromFormattable. Solves #1856 2020-05-23 13:05:22 +09:30
Lucas Nicodemus
03e41a521e
Add more logging to Bouncer to debug antihack
This adds more logging in Bouncer so as to detect more false positives.
2020-05-22 19:34:55 -07:00
Lucas Nicodemus
ed5d92b881
Merge pull request #1861 from Olink/fix-1834
Fix the Snake Charmer's Flute.
2020-05-22 19:13:26 -07:00
Chris
4dc1edaa34
Merge branch 'general-devel' into fix-1834 2020-05-23 10:00:17 +09:30
Lucas Nicodemus
7a5c2e4d26
Add verbose logging for many bouncer packets
This type of change is designed to make it easier to debug problems with
Bouncer's anticheat checks and antigrief checks by allowing server
operators to send better reports. In particular, the logs will help us
diagnose precisely which checks are tripping, and they can cross
correlate the item with the check to adjust the precise check.

More work is needed to add more checks in more places, but you can't
just do this naively and need to actually think when adding things.
2020-05-22 15:34:04 -07:00
Olink
7d83e06e83 Fix the snake flute item. 2020-05-22 18:02:03 -04:00
Lucas Nicodemus
0e81459455
Merge pull request #1857 from Olink/fix-1849
Fix 1849
2020-05-22 14:21:49 -07:00
Olink
836fd1d156
Fix for spawn issues when using SSC and beds
It looks like the only time the client informs the server of the spawn location is via the PlayerSpawn packet. In SSC, understandably, we don't trust any updates from the client if we can avoid it. In this scenario, we have code in PlayerSpawn to check for beds when they attempt to spawn, but no code to handle negative spawn locations. The client sends -1,-1 coordinates when the player has no spawn. We should trust this.
2020-05-22 14:21:15 -07:00
Chris
b9b83dd36f Resolve null reference on REST user group name. Solves #1850 2020-05-22 14:41:52 +09:30
Chris
83eb707761 Update SendMessage and SendMessageFromPlayer to use inbuilt Terraria chat messaging 2020-05-22 13:27:03 +09:30
Lucas Nicodemus
d58a26d884
Update CHANGELOG.md 2020-05-21 01:09:37 -07:00
Lucas Nicodemus
0a717bb7ec
Update submodule for OTAPI 2.0.0.35 2020-05-21 01:06:10 -07:00
Lucas Nicodemus
c7fa0ec8b6
Update TSAPI submod again for Terraria 1.4.0.3 2020-05-21 00:40:28 -07:00
Lucas Nicodemus
00d387082b
Update submodule (OTAPI 2.0.0.34)/Terraria 1.4.0.3 2020-05-21 00:35:11 -07:00
Lucas Nicodemus
243b6e8c2b
Remove urgent notice banner about 1.4.x.x
We have builds available now, so we don't need this banner.
2020-05-20 23:05:46 -07:00
Axeel
56a9e27365
Fix player respawn again (#1830)
* fix respawn time unit, add spawn bouncer, add respawn time config warning

Co-authored-by: Lucas Nicodemus <shank@shanked.me>
2020-05-21 13:37:31 +08:00
Lucas Nicodemus
341424248c
Add changelog for TShock 4.4.0 Pre-release 5 Pre-release 1 2020-05-20 21:44:23 -07:00
Lucas Nicodemus
80cc7ba93e
Merge pull request #1829 from Pryaxis/all-contributors/add-agentsparrow
docs: add agentsparrow as a contributor
2020-05-20 19:32:30 -07:00
allcontributors[bot]
05e56bb1dd
docs: update .all-contributorsrc [skip ci] 2020-05-21 02:32:18 +00:00
allcontributors[bot]
ec6150c246
docs: update README_cn.md [skip ci] 2020-05-21 02:32:17 +00:00
allcontributors[bot]
41ef9bff08
docs: update README.md [skip ci] 2020-05-21 02:32:16 +00:00
Lucas Nicodemus
e7faf97be7
Merge pull request #1828 from Pryaxis/all-contributors/add-mrshroomy
docs: add mrshroomy as a contributor
2020-05-20 19:31:31 -07:00
allcontributors[bot]
3f4118ab16
docs: update .all-contributorsrc [skip ci] 2020-05-21 02:31:16 +00:00
allcontributors[bot]
802a66f463
docs: update README_cn.md [skip ci] 2020-05-21 02:31:15 +00:00
allcontributors[bot]
51a8c7de54
docs: update README.md [skip ci] 2020-05-21 02:31:14 +00:00
Lucas Nicodemus
0bcdc294ed
Merge pull request #1824 from Pryaxis/all-contributors/add-ColinBohn
docs: add ColinBohn as a contributor
2020-05-20 18:29:03 -07:00
allcontributors[bot]
a95306b03b
docs: update .all-contributorsrc [skip ci] 2020-05-21 01:28:27 +00:00
allcontributors[bot]
395e6ae382
docs: update README_cn.md [skip ci] 2020-05-21 01:28:26 +00:00