Commit graph

2888 commits

Author SHA1 Message Date
Zt Wang
6446cdc2b6 Remove redundant codes 2017-02-15 21:13:20 +08:00
Zt Wang
fa6b5845f0 Add Evil Type option during world creation 2017-02-15 18:42:53 +08:00
Zt Wang
1c8d49870e Fix inaccurate summary and add TSPlayer for ItemDropEventArgs 2017-02-13 16:41:38 +08:00
White
e3a8112b5b REST updates.
Rest.cs got a lot of commenting at last.
Redirects and upgrades can now be easily added for REST routes via the `Rest.RegisterRedirect(base, target, upgrade)` method.
Redirects added for all routes. Upgrades added for `/world/bloodmoon` and `/v2/world/autosave`, as they both use old-style REST verbs.
2017-02-02 14:28:35 +10:30
White
9d4ced58b9 Remove an oversight relating to REST token management 2017-02-02 00:23:12 +10:30
White
26010c0acf Updated REST to use an RNGCryptoServiceProvider for more secure random numbers involved in token generation.
Also removes some unnecessary limitations.
Closes #1388
2017-01-31 11:25:59 +10:30
White
94fb0e18b7 Deprecated the RESTLimitOnlyFailedLoginRequests config option 2017-01-31 11:23:52 +10:30
DogooFalchion
6fb6098acf Add campfire to the orientable tiles list. 2017-01-19 19:10:53 -05:00
White
0ba826e1fd bandaid fix for invalid indexes in OnLeave 2017-01-17 16:13:30 +10:30
White
fe670bc18f Fix for null reference exceptions from REST 2017-01-11 19:42:38 +10:30
Lucas Nicodemus
f264e2b060
Add parity in REST /world/meteor with /dropmeteor functionality
See #1361

It looks like we're setting spawnMeteor before executing WorldGen.dropMeteor()
in the command but not in the REST API. This makes the two code paths
behave the same.
2017-01-10 13:17:31 -07:00
White
c0a679b3f3 Forgot csproj 2017-01-06 13:57:02 +10:30
White
51b796cf47 Updated the UpdateManager.
It now performs all its web requests asynchronously and does a better job of explaining errors it encounters without plastering red Exception messages on the console.
2017-01-06 13:30:24 +10:30
White
06f813c203 Release procedure 2017-01-03 21:51:50 +10:30
White
d864acd22f Merge branch 'general-devel' into fix_trapdoors 2017-01-02 22:03:32 +10:30
White
6359dad213 AllowCutTilesAndBreakables option works better now.
Herbs, vines, flowers can be cut inside regions if the option is enabled.
Any action that would also break a wall is still ignored.
Closes #1334
2016-12-31 12:57:16 +10:30
White
24da389050 Re-added /status and added mute bool to /v3/players/read.
`/status` is now a root endpoint and will always point to `/v2/server/status` with an added `upgrade` field describing the route to the latest status endpoint.
Closes #1358. Closes #1348
2016-12-31 11:55:10 +10:30
White
4f7a15f9bf Ensures Netplay.ServerPassword is always empty.
This prevents an issue in which packets are sent in an unexpected order resulting in clients being unable to connect when a CLI-defined password is used.
A CLI-defined password will now override any TShock config-defined password.
2016-12-31 11:33:48 +10:30
DogooFalchion
3075708c96 Fix for trap doors. Also add in protection in the tile conversion logic to not needless trigger sendtilesquare. Remove existing trapdoor bypass. 2016-12-29 21:51:58 -05:00
DogooFalchion
4459a97fdf Document and fix the fishing quest count glitch in SSC. 2016-12-29 18:08:36 -05:00
Lucas Nicodemus
3a9dd32d2e Merge branch 'general-devel' into rope_coils 2016-12-22 04:06:52 -07:00
DogooFalchion
0a1e831fba Add rope coils and the ropes they place to the tile create exceptions.
Fixes #1352
2016-12-21 21:16:00 -05:00
DogooFalchion
84a84bdf05 Remove todo reminder. 2016-12-21 20:44:42 -05:00
DogooFalchion
95c5129fa9 More SSC cleanup. 2016-12-21 20:43:09 -05:00
DogooFalchion
2236a5bb56 More SSC cleanup. Fixes prefix issues. 2016-12-21 20:39:27 -05:00
ProfessorXZ
75f639ee47 Fixes #1347 2016-12-18 13:30:16 +01:00
ProfessorXZ
7c8bf7712a Added TSPlayer.Logout() 2016-12-18 12:37:15 +01:00
Lucas Nicodemus
d8118f2ede Merge pull request #1344 from NyxStudios/mintaka-fix-crash
Catch and log on linux socket read
2016-12-14 14:17:38 -07:00
Lucas Nicodemus
b4f37a60c9 Merge branch 'general-devel' into mintaka 2016-12-14 10:02:02 -07:00
Enerdy
00b3ac59f4 Catch and log on linux socket read 2016-12-13 22:59:50 +00:00
DogooFalchion
e1017e92b4 Refactor some of the mess that is NetItem and PlayerData to be more sane. Can not reproduce the SSC corruption with this. 2016-12-12 17:46:44 -05:00
Lucas Nicodemus
f13d8b51c6
Fix Main.rand not being initiated with UnifiedRandom 2016-12-12 13:20:55 -07:00
Lucas Nicodemus
cda07b4be5 Merge pull request #1324 from DogooFalchion/more_dumps
More Terraria dumps for NPC/Item/Projectile/Buff/Prefix
2016-12-12 13:11:59 -07:00
Luke
24f75069e8 Submodule update for pressure plate, fixed connections after max slot is reached 2016-12-12 23:52:14 +10:00
Enerdy
c73003fc67 Merge branch 'mintaka' of https://github.com/NyxStudios/TShock into mintaka 2016-12-11 23:44:44 +00:00
Enerdy
e6fe896133 Update version codename
Project Mintaka - The First Star
2016-12-11 23:44:13 +00:00
Rodrigo
2e022aa554 Merge pull request #1338 from ProfessorXZ/mintaka
A possible fix for #1337
2016-12-11 23:41:18 +00:00
White
739892a611 Added TSPlayer.KillPlayer() which uses NetMessage.SendPlayerDeath(...).
Changed /kill to use `TSPlayer.KillPlayer()`
2016-12-11 13:46:57 +10:30
White
02c58b5c93 Submodule update + API version update 2016-12-11 13:46:11 +10:30
ProfessorXZ
1741b0c854 A possible fix for #1337 2016-12-10 21:22:01 +01:00
Luke
703a31580e Build script alterations, submodule update 2016-12-10 21:54:43 +10:00
Luke
272cc31b28 Fixes rest api error on startup without -ip arg 2016-12-10 02:30:15 +10:00
Lucas Nicodemus
e4313b6433
Update to latest stuff from death 2016-12-06 20:34:12 -07:00
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy) 2016-12-06 17:36:44 -07:00
Zaicon Kiroshu
a0a98d19f3 Bank3 Implementation 2016-11-23 18:51:11 -06:00
Zaicon Kiroshu
02815a23ef API Tick, Submodule Update, Changelog Update 2016-11-20 15:15:53 -06:00
Zaicon Kiroshu
50d8b0db30 1.3.4.3 Update (API 1.26) 2016-11-19 17:05:08 -06:00
DogooFalchion
8f1adcce4d Who knew readme.io was so difficult :D 2016-10-26 18:50:48 -04:00
DogooFalchion
c35389f9f8 Break Item dump into versions. Readme.io 400kb limit O_o 2016-10-26 18:08:07 -04:00
DogooFalchion
1a622f241f Fix formatting for readme.io 2016-10-25 22:20:03 -04:00