Lucas Nicodemus
f4cc14fb8e
Remove extra whitespace
2021-01-28 00:23:57 -08:00
Lucas Nicodemus
597e403d50
Disable debug logs by default
2021-01-28 00:23:57 -08:00
Chris
7bbc647b2f
Update config field check to correctly check TSettings fields
2020-12-23 01:48:23 +10:30
Chris
51f179f84a
Added URI-unescaping for inputs into REST requests
2020-12-23 01:46:42 +10:30
Chris
1b4dc5361c
Set REST response status to statuses defined by returned REST objects
...
Closes #2189
2020-12-23 00:26:18 +10:30
Chris
193f1ddc3e
More new() constraints
2020-12-03 17:51:33 +10:30
Chris
50c1b757be
Enforce new() constraint on ConfigFile<TSettings>
2020-12-03 17:50:44 +10:30
Chris
9423febd0a
Refactor for new configuration
2020-12-03 17:43:10 +10:30
Chris
a03647ce38
Genericise configurations
...
This is a breaking change. Enables easy creation of config files without copy/pasting the Read/Write code all the time
2020-12-03 17:42:46 +10:30
Chris
3776a71a20
Handle SyncExtraValue all the time
...
This may prevent platinum coin duping
2020-12-03 14:26:13 +10:30
Chris
ae8ab04e8a
Change BanManager.Bans to a readonly dictionary
...
Entries to this dictionary should be added through `InsertBan` rather than directly to the dictionary
2020-12-03 14:25:38 +10:30
Chris
3fe192cbfa
Re-enable Int64 override for IDataReader.Get
2020-11-29 18:23:35 +10:30
Chris
fe91cb0d41
Obsolete the Permissions.immunetoban field
2020-11-29 18:12:40 +10:30
Chris
24a4ab885c
Offload ban checking to BanManager
...
Remove ban immunity
2020-11-29 18:10:47 +10:30
Chris
c334e00042
Revert syncextravalue change
2020-11-29 16:32:15 +10:30
Chris
514d7ac041
Refactored for 'ticket number' naming
...
Added 'ban help identifiers' to list known identifiers
Fixed some typos and restructured some logic
2020-11-29 16:22:37 +10:30
Chris
af9957f8ec
Refactoring based on suggestions
2020-11-29 16:18:09 +10:30
Chris
d68b1ed5ad
Remove ban conversion command as it now happens automatically
2020-11-29 15:19:14 +10:30
Chris
ce2873fa81
Some more type checking on QueryScalar
2020-11-29 15:18:03 +10:30
Chris
29170e62a6
Rename unique ID -> ticket number
...
Also get ban conversion to execute cleanly and clean up after itself
2020-11-29 15:17:49 +10:30
Chris
3e6cdb3c71
Remove ban immunity at the command level.
...
Ban immunity will be managed when a ban is validated
2020-11-29 14:26:25 +10:30
Chris
c71cf79125
Refactor 'Id' to 'TicketNumber' and extend the identifier model
2020-11-29 14:23:58 +10:30
Chris
cde4cc5f04
Ban rewrite and various other adjustments
2020-11-26 17:20:19 +10:30
Chris
ce523e1436
Merge branch 'general-devel' into new-bans
2020-11-15 11:18:32 +10:30
Chris
fe5a7ec2e4
Disable STR debugging
2020-11-15 11:06:12 +10:30
Chris
56de9f6684
Ban rewrite
2020-11-15 11:05:04 +10:30
Chris
39e13f74d6
Remove TShock.Itembans in favour of TShock.ItemBans
2020-11-13 19:22:10 +10:30
Chris
4802ebed91
Make gem locks work properly. Closes #2140 and #2036
2020-11-13 19:04:53 +10:30
Chris
db10bf22e7
Refectoring continued - rename STS Handler to STR Handler
2020-11-13 18:50:54 +10:30
Chris
77fd8c9c9f
Add calculated rollback rectangle for tile edits
2020-11-13 18:32:52 +10:30
Chris
ca38d64632
The great refactoring! Squares to Rectangles
2020-11-13 17:46:00 +10:30
Chris
f513ec24ad
Add extra accessory slots to TSPlayer.Accessories
2020-11-13 17:44:54 +10:30
Chris
7122e5fb9a
Update TSPlayer to allow sending tile rectangles
2020-11-13 17:44:27 +10:30
Stealownz
8969ce4a94
Add Torch God's Favor to SSC
...
Closes #2031
2020-11-01 22:55:50 +08:00
Quinci135
253c239f86
Add missing comma
2020-10-14 15:45:43 -07:00
Quinci135
50e0bf0290
Added 1.4.1.0 player inflicted debuffs to bouncer
...
OnFire3/Hellfire - New magma stone debuff that deals 15 dps instead of 4 dps
Frostburn2/Frostbite - Frost armor new set bonus 25 dps instead of 8 dps
BoneWhipNPCDebuff - Debuff applied from new Spinal Tap whip
2020-10-14 15:21:16 -07:00
ZakFahey
90f519a1c6
Overwrite the config if any new fields are missing
2020-08-01 10:13:04 -07:00
ZakFahey
ccb2a00a71
Fix config file access errors when starting up multiple TShock servers at once
...
Use case would be multi-server networks. This commit ensures that sscconfig.json is read with FileShare.Read enabled and stops writing to config.json and sscconfig.json on server load immediately after reading it if the file already exists, which is a no-op since neither of the config files have changed at that point.
2020-07-27 10:05:28 -07:00
Edoan
838d55a737
Updated GravediggerShovel ID
...
Co-authored-by: Chris <2648373+QuiCM@users.noreply.github.com>
2020-07-07 21:49:08 -03:00
Edoan
c285b50d9f
Add Graveyardigger's Shovel support
2020-07-05 13:17:08 -03:00
Patrikkk
530bc95123
RequestTileEntityInteractionHandler - Use object size for building perm check.
...
This commit will modify the RequestTileEntityInteractionHandler to use HasBuildPermissionForTileObject when checking for building permissions for Hat Rack and Display Doll to give an accurate response wether or not any part of the object has an overlapping protected region.
2020-06-27 10:22:03 +02:00
Lucas Nicodemus
0cfe670038
Merge branch 'general-devel' into addtileentityinteraction
2020-06-25 21:57:00 -07:00
Patrikkk
05829dee3b
Missing parenthesis from an if logic. Fix Tile placement reject.
2020-06-25 17:08:58 +02:00
Patrikkk
d4e4692d8b
Merge branch 'general-devel' into addtileentityinteraction
2020-06-25 13:41:14 +02:00
Patrikkk
c6723dbfa4
Merge branch 'general-devel' into addtileentityinteraction
2020-06-25 01:52:06 +02:00
Patrikkk
89ab7be0f8
TileEntityInteraction - Pass TileEntity object instead of ID in args.
2020-06-25 01:51:30 +02:00
Patrikkk
b70f4fe96e
Merge branch 'general-devel' into displaydollsynchook
2020-06-25 01:42:58 +02:00
Patrikkk
38a1351d38
Register DisplayDollItemSyncHandler.
...
Moved the type check for 0 before itemSetDefaults to have less code run if the empty slots are clicked.
2020-06-25 01:42:22 +02:00
Chris
f1392cfa52
Merge branch 'general-devel' into patch-18
2020-06-24 15:08:52 +09:30
Patrikkk
90dd61e668
Moving the DisplayDollItemSync hook inside null check.
...
In crafted (hacked) packet sending, people could send the DisplayDollItemSync packet with an entity ID that is not actually a display doll. This would not happen in a normal scenario.
If they send the crafted packet, our hook would have been invoked and it would have contain a null TEDisplayDoll object since we tried to get the TileEntity object as a TEDisplayDoll object.
2020-06-21 15:03:08 +02:00