Commit graph

4528 commits

Author SHA1 Message Date
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
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
allcontributors[bot]
63522354b2
docs: update README.md [skip ci] 2020-05-21 01:28:25 +00:00
Lucas Nicodemus
f25ed62599
Make setup system less confusing to new players 2020-05-20 15:36:27 -07:00
Lucas Nicodemus
5132a83e96
Merge pull request #1811 from AxeelAnder/sqliteconf
Make sqlite db path configurable
2020-05-20 10:22:53 -07:00
Axeel
773092b7bf
Merge branch 'general-devel' into sqliteconf 2020-05-20 22:46:15 +08:00
Axeel
53d211bd8e
Merge pull request #1812 from AxeelAnder/spawn
Fix player spawn stuff
2020-05-20 22:44:02 +08:00
鱼鱼
7dcd27c4dd more informative changelog 2020-05-20 22:27:54 +08:00
鱼鱼
68019602d2 uncommented something accidentally commented out 2020-05-20 21:37:30 +08:00
鱼鱼
6372bafa47 update changelog 2020-05-20 21:34:44 +08:00
鱼鱼
946d54b69e fix player spawn stuff 2020-05-20 21:27:49 +08:00
鱼鱼
27b4a10619 Update changelog 2020-05-20 19:52:17 +08:00
鱼鱼
1eaa1eb901 Make sqlite db path configurable 2020-05-20 19:44:48 +08:00
Chris
208afe9a7e Merge branch 'general-devel' of https://github.com/Pryaxis/TShock into general-devel 2020-05-20 18:00:51 +09:30
Chris
7ad46abced Removed -worldpath because you should now just use -world with the full file path 2020-05-20 18:00:28 +09:30
Lucas Nicodemus
c307b95c6d
Merge pull request #1807 from Pryaxis/all-contributors/add-Retrograde-i486
docs: add Retrograde-i486 as a contributor
2020-05-20 00:36:25 -07:00
allcontributors[bot]
d45d8ceebe
docs: update .all-contributorsrc [skip ci] 2020-05-20 07:35:52 +00:00
allcontributors[bot]
8db2ce7619
docs: update README_cn.md [skip ci] 2020-05-20 07:35:51 +00:00
allcontributors[bot]
20d1072f98
docs: update README.md [skip ci] 2020-05-20 07:35:50 +00:00
Lucas Nicodemus
dea5e0f8f8
Remove reference to obsolete forums in setup
Thanks to @Retrograde-i486 for pointing this out! Fixes #1793.
2020-05-20 00:25:13 -07:00
Lucas Nicodemus
7314a34986
Properly don't log if not logging enabled 2020-05-20 00:00:09 -07:00
Lucas Nicodemus
8d96e2114a
Update changelog again 2020-05-19 23:52:18 -07:00
Lucas Nicodemus
3b748f1156
Potentially fix player desync issue
It was discovered that LastNetPosition is being checked to see if it's
zero in Bouncer. Then, Bouncer rejects the update. The default is zero
and potentially this can be zero in other ways. The original code in
master (checked at 9f4892f in GetDataHandlers) had an additional write
on LastNetPosition to update it, but this write was not moved over to
Bouncer. Thus, there is a high probability that players are "desync'd"
after LastNetPosition gets stuck at zero and never updates.
2020-05-19 23:50:02 -07:00
Chris
1ae88c9339
Merge pull request #1801 from Pryaxis/h/betterlogs
Improve logging of anticheat/antihack checks
2020-05-20 15:40:39 +09:30
Lucas Nicodemus
e6df3edeec
Merge branch 'general-devel' into h/betterlogs 2020-05-19 23:02:46 -07:00
Chris
6eb5afe958
Merge pull request #1802 from Pryaxis/h/vs2
Remove Terraria player resync from HandlePlayerUpdate and also the confuse command
2020-05-20 15:30:06 +09:30
Chris
8cc32a4a14
Merge branch 'general-devel' into h/vs2 2020-05-20 15:24:54 +09:30
Lucas Nicodemus
194caa51d1
Merge pull request #1804 from Pryaxis/all-contributors/add-Ristellise
docs: add Ristellise as a contributor
2020-05-19 22:40:14 -07:00
allcontributors[bot]
bf0bca6b04
docs: update .all-contributorsrc [skip ci] 2020-05-20 05:39:20 +00:00