Commit graph

3309 commits

Author SHA1 Message Date
Tyler Watson
3d37f51290 Fixed bug in AddRegion failing to completely add regions
An invalid SQL query selecting the region ID from the newly inserted
region prevented the AddRegion method from completely adding a region,
even though it was inserted into the database correctly, leading to a
`false` result even though the region add was successful.

This fixes /region define, and HouseRegions.
2016-02-06 20:37:57 +10:00
White
1bf703a6b0 Changelog updates 2016-02-02 11:32:09 +10:30
White
a2bfc8f5b1 Modified the /rain command to take an optional parameter of "slime" to allow starting/stopping of slime rain. 2016-02-02 11:23:44 +10:30
White
63abc109d6 Fixes #1158 2016-02-02 11:22:57 +10:30
White
f0bf0ad820 Added an ID property to Regions. Commented and simplified some RegionManager code 2016-02-01 12:14:36 +10:30
Tyler Watson
d665474278 Update submodule for tileData fix 2016-01-19 11:09:50 +10:00
Enerdy
b0e13454d5 Add namespace declarations to PlayerData.cs and TSServerPlayer.cs 2016-01-18 15:30:07 +00:00
Tyler Watson
069fd0cf9c Add submodule 2016-01-17 03:47:40 +10:00
Tyler Watson
8ce3e4933e Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel 2016-01-17 03:38:01 +10:00
Tyler Watson
a6db454fda Update submodule
Signed-off-by: Tyler Watson <tyler@tw.id.au>
2016-01-17 03:37:39 +10:00
Enerdy
7f9865bf5b TempGroups now override the group's permissions again instead of simply extending them 2016-01-13 17:17:04 +00:00
Rodrigo
e0ec785ba6 Update CHANGELOG.md 2016-01-12 23:48:21 +00:00
White
88672199e9 Merge pull request #1154 from Enerdy/permission-hook
Add a PlayerPermission hook
2016-01-13 10:03:33 +10:30
Enerdy
81fff9bd66 Pass down the permission being checked to the EventArgs (thanks @white) 2016-01-11 22:34:22 +00:00
Enerdy
aa419283a9 Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible. 2016-01-11 14:37:02 +00:00
White
21f16e5908 Fixed female characters losing their femininity 2016-01-10 13:12:51 +10:30
White
7dbebb2b9a Moved TSServerPlayer and PlayerData classes into their own files 2016-01-10 13:01:11 +10:30
Lucas Nicodemus
2b0f4f1ef0 Update changelog 2016-01-01 22:26:36 -07:00
Lucas Nicodemus
8c3da1058e Change -providertoken arg to --provider-token 2016-01-01 22:26:26 -07:00
Lucas Nicodemus
4d6a744e9b Version tick: 4.3.12 2016-01-01 22:07:13 -07:00
Lucas Nicodemus
c95ca1b8c6 Merge pull request #1146 from Celant/general-devel
Implement new stat tracker hotness
2015-12-28 13:59:04 -07:00
George
29abcaf612 Reworked the StatTracker client-side
Reworked the StatTracker client side stuff to match the new server side
changes. Also fixed the memory tracking, plus added a 'providerid' for
certain server hosting providers
2015-12-28 20:47:04 +00:00
Tyler Watson
4167a9b627 Removed unimportant messages from OnSecondUpdate()
Removed check ignores failed and player disabled for
not being logged in whilst SSC is enabled console messages, as
they are incessant in larger servers.

The messages are not informative as they are not reasonably
actionable by the console, and there is no point in spamming
server operators about such issues.
2015-11-26 19:13:38 +10:00
Tyler Watson
556a5ca560 Bombs, Dynamites and stickies work again
There is cheat detection code in GetDataHandlers.cs that
checks a fuse that will prevent people spawning new
bomb projectiles until the fuse has expired.

The issue is that 1) the fuse isn't getting compared, blocking all bomb
projectiles, and 2) The TileKill still happens clientside, so all clients
see invisible bombs and tiles getting destroyed regardless.

Removing the 'return true' code here resolves the problem, and doesn't
interfere with the fuse logic.

Fixes #1095.
2015-11-26 18:40:58 +10:00
Tyler Watson
e00667656c Update submodule for spacko build
Signed-off-by: Tyler Watson <tyler.watson@ucg.com.au>
2015-11-26 15:45:02 +10:00
Tyler Watson
5bc19626a0 Update submodule for fixing NyxStudios/TerrariaAPI-Server#43 2015-11-26 00:35:17 +10:00
White
9c7d0f08e2 Deprecated PacketBufferer as its function is now fulfilled by SendQ 2015-11-23 11:50:24 +10:30
White
7d4a96cfee Fixes #1134 and #1131 2015-11-01 12:13:17 +10:30
Lucas Nicodemus
7e8f0ea8e4 Contributing guidelines now say how to compile it
As per https://github.com/NyxStudios/TerrariaAPI-Server/pull/41#issuecomment-150354612, we now have instructions on how to compile TShock and the API in simple enough terms that anyone familiar with .NET can understand. If not, we have a note to drop by Slack.
2015-10-26 16:38:06 -06:00
White
d2fe188001 Version tick 2015-10-26 17:16:24 +10:30
White
c3598b2d8c Update CHANGELOG.md 2015-10-26 11:22:33 +10:30
White
1ae14aaa34 Update submodule 2015-10-26 11:08:00 +10:30
White
f581d15549 Submodule update 2015-10-12 10:46:10 +10:30
White
be4d741f2b Extra slot will now function correctly in SSC. Fixes #1036 2015-10-09 17:56:56 +10:30
White
fb401f03ef Merge branch 'general-devel' of https://github.com/NyxStudios/TShock into general-devel 2015-10-09 17:50:37 +10:30
White
5f41913651 Submodule update 2015-10-09 17:49:59 +10:30
White
4065989ee3 Submodule update 2015-10-09 17:48:53 +10:30
White
49128a8aac Fixed GetDataHandlers so that the extra accessory slot is tracked correctly 2015-10-09 17:48:35 +10:30
White
696e25940b Merge pull request #1126 from hastinbe/fix-gender-potion
Fix #1082
2015-10-09 17:47:04 +10:30
Beau Hastings
943606c870 Fix #1082
Signed-off-by: Beau Hastings <beausy@gmail.com>
2015-10-09 00:01:57 -05:00
White
a31c7b207b Merge pull request #1097 from darkunderdog/patch-2
Fixes issue not using UUID login when SSC is enabled
2015-10-08 12:16:34 +10:30
White
2e8b691e84 Merge pull request #1125 from hastinbe/general-devel
Fixes #1116
2015-10-08 11:39:27 +10:30
Beau Hastings
c0771556fc Fixes #1116
Signed-off-by: Beau Hastings <beausy@gmail.com>
2015-10-07 11:42:20 -05:00
White
d9a75dad42 /reload command now uses Permissions.cfgreload like it says it does 2015-09-29 19:02:25 +09:30
White
90655adf8c ActiveChest is now correctly tracked. Fixes #1122 2015-09-29 18:12:09 +09:30
Tyler Watson
98cafb5826 Submodule update, socket timings on sendq loosened 2015-09-25 19:33:23 +10:00
Lucas Nicodemus
44575db64e Merge pull request #1120 from Celant/general-devel
Added rate limiting to RESTful API
2015-09-24 11:29:47 -06:00
George
09a8f95a70 Added rate limiting to RESTful API
Added token bucket and timer to degrade token bucket

Modified REST API rate limiting

Changed limiting to only be on token create and v2 token create
Added config options to choose time limits
Passed HttpContext to the execute method of endpoints

Made blocking failed API logins optional

Changed error codes on failed login to be ambiguous
Added config to decide whether all or failed logins are limited

Changed config variable names

Cleaned up duplicate code in REST rate limiting

Fixed my typo

Changed error 431 to 403
2015-09-24 15:47:46 +01:00
White
9da98f4263 Merge pull request #1119 from tysonstrange/general-devel
Update Utils.cs
2015-09-24 23:27:39 +09:30
tysonstrange
6abff7e3df Update Utils.cs
/reload doesn't reload proj and tile bans.
2015-09-22 20:54:34 +10:00