Zack
2b4faf4d9b
Update TShockAPI/DB/ResearchDatastore.cs
...
@hakusaro raised a solid point in Discord.
Co-authored-by: Lucas Nicodemus <shank@shanked.me>
2020-05-25 03:11:41 -04:00
Olink
df22a33132
Add some try/catch blocks around the sql commands.
2020-05-25 03:07:54 -04:00
Olink
56b695b80b
Add initial support for Journey mode in SSC.
2020-05-25 02:24:03 -04:00
Lucas Nicodemus
1eeb77d61f
Update codename
2020-05-24 17:32:12 -07:00
Patrikkk
9a8c2fee0d
Merge branch 'journeymode_permissions' of https://github.com/Pryaxis/TShock into journeymode_permissions
2020-05-25 02:13:28 +02:00
Patrikkk
a1621329a3
Add enums for magic numbers.
2020-05-25 02:12:59 +02:00
Patrikkk
1f8ae96229
Merge branch 'general-devel' into journeymode_permissions
2020-05-25 01:47:33 +02:00
Patrikkk
6fa288e5db
Read PowerModule netmodule data and check for permissions
...
Removed leftover from previous commit. Fixed a typeo.
2020-05-25 01:36:26 +02:00
Patrikkk
d253903de0
Add journey permissions to Permissions.cs
2020-05-25 01:17:11 +02:00
Olink
d04f57d864
Fixes #1867
2020-05-24 17:09:25 -04:00
Lucas Nicodemus
ad82afd800
Merge branch 'general-devel' of github.com:Pryaxis/TShock into general-devel
2020-05-24 14:06:17 -07:00
Lucas Nicodemus
472b81e9f4
Increase default thresholds in config file
...
Based on user testing of the new explosives from Olink, these really
need to be higher to support the new lava/wet/dry/honey
bombs/explosives.
2020-05-24 14:05:54 -07:00
Lucas Nicodemus
35c103e011
Fix bouncer debug message being incorrect
2020-05-24 14:04:11 -07:00
Patrikkk
cb570ec2e0
Wrap permissions in #regions.
2020-05-24 22:59:02 +02:00
Olink
39028484f0
Fixes #1890 . Added support for two new invasions.
2020-05-24 16:36:13 -04:00
Lucas Nicodemus
f1b35e47cc
Update config description for bomb range
2020-05-24 13:23:18 -07:00
Olink
16d1cdd360
Track projectile updates being sent by the server, instead of received by the server.
2020-05-24 16:00:20 -04:00
鱼鱼
e39af6f917
fix npc home removal. rename something related.
2020-05-24 16:47:54 +08:00
Olink
3105a977a4
Add fluid rockets.
2020-05-24 04:37:15 -04:00
Olink
8edca72919
Add config option for the bomb radius.
2020-05-24 04:33:03 -04:00
Olink
b73088306d
Move the projectile refresh to Bouncer.
...
Bouncer now has an OnSecondUpdate().
Move projectile created tracking to GetDataHandler from Bouncer.
2020-05-24 04:27:12 -04:00
Zack
9209ac0b73
Apply suggestions from code review
...
Co-authored-by: Lucas Nicodemus <shank@shanked.me>
2020-05-24 04:19:00 -04:00
Olink
3b0c5f7775
Make bouncer compile. Reduce range checks.
2020-05-24 03:54:27 -04:00
Olink
965361c406
Add a projectile tracker, so that we can allow fluid bombs.
2020-05-24 03:48:08 -04:00
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
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
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
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
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
f25ed62599
Make setup system less confusing to new players
2020-05-20 15:36:27 -07:00
Axeel
773092b7bf
Merge branch 'general-devel' into sqliteconf
2020-05-20 22:46:15 +08:00