Lucas Nicodemus
a0c4864567
Removed all obsolete methods from TShock
2016-10-23 06:09:17 -06:00
Lucas Nicodemus
a8b4bf1d95
Remove PacketBufferer
...
The packet bufferer was obsolete.
2016-10-23 06:02:27 -06:00
Lucas Nicodemus
b15dfbc1ec
Don't catch the exceptions we throw in SetUserGroup
...
For some reason, we were catching our own exceptions and then
throwing UesrManagerExceptions despite the fact that we explicitly
threw more specific exceptions.
Fixes #1315 .
2016-10-23 05:49:16 -06:00
White
6151c86630
Removed the old REST model.
...
This includes the following endpoints:
* `/status`
* `/v2/players/read`
* `/v2/server/rawcmd`
2016-10-23 21:52:25 +10:30
Lucas Nicodemus
28cd87cea0
Add 'stop' command alias for 'off' and 'exit'
2016-10-23 04:38:25 -06:00
Lucas Nicodemus
c905a086d1
Remove commented out "updateplugins" command that does nothing.
2016-10-23 04:34:26 -06:00
White
09bbf8abe8
Removed colour parsing from the ShowFileToUser method.
...
Also added an info log message if a file contains the old format.
Fixes #1314
2016-10-20 21:03:25 +10:30
Rodrigo
78a4185152
Merge pull request #1312 from Simon311/general-devel
...
Add /accountinfo, fix offline bans exploit, fix #1309 more
2016-10-18 18:59:13 +01:00
Simon
186bb70186
Add /accountinfo, fix offline bans exploit, fix #1309 more
2016-10-18 09:50:10 +03:00
Lucas Nicodemus
dce26d6928
Merge pull request #1310 from Simon311/general-devel
...
Fix for HealOtherPlayer exploit, also fix #1309
2016-10-17 08:51:19 -06:00
Simon
68799d9d20
Fix description
2016-10-17 16:17:44 +03:00
Simon
464a52a70a
Misleading wiki caused this commit
2016-10-17 16:05:18 +03:00
Simon
1460a7ad91
Fix for HealOtherPlayer exploit, also fix #1309
2016-10-17 15:51:49 +03:00
Lucas Nicodemus
9b7ca644b5
Version Tick: 4.3.20
2016-10-17 02:41:22 -06:00
Vinayak Agarwal
01778531c6
Remove headers from autogenerated file
2016-10-17 11:28:34 +05:30
Vinayak Agarwal
e225b1fb50
Merge pull request #1 from NyxStudios/general-devel
...
Merge changes
2016-10-17 11:24:54 +05:30
White
9cd43c97e9
Merge pull request #1300 from ProfessorXZ/general-devel
...
Fixes #1021
2016-10-17 09:48:09 +10:30
Vinayak Agarwal
4bdae494cb
Add script for GPL
2016-10-17 03:31:35 +05:30
Adilson Carvalho
ad03215986
Added GPL header on all code files when missing
2016-10-16 17:33:19 -02:00
Adilson Carvalho
49b4effe74
Changed year to 2016 on all GPL headers
2016-10-16 17:06:02 -02:00
Simon
5be85b9864
Ensure that players can not connect once the server started shutting down
2016-10-16 13:58:05 +03:00
Simon
60a8362e27
Add ToLower() back
2016-10-16 12:42:05 +03:00
Simon
b16b9e70f2
Add brackets
2016-10-16 09:48:46 +03:00
Simon
54915bcf47
Fix /"
2016-10-16 08:58:55 +03:00
ProfessorXZ
ec4152df81
Separated the Flower Boots check into multiple if statements
2016-10-15 22:19:57 +02:00
ProfessorXZ
fb2fc6772e
Fixes #1021
2016-10-15 22:19:57 +02:00
Enerdy
dcaae17ffe
Fix that one missing message & Update CHANGELOG.md
2016-10-15 00:39:13 +01:00
Enerdy
a49a7f35cc
Fully remove 'auth-verify' because it was unclassy
2016-10-15 00:34:32 +01:00
Enerdy
97b6f08523
'auth' no longer kicks superadmins when disabled
2016-10-15 00:31:57 +01:00
Enerdy
2320a913b4
Mark pointless permission as obsolete
2016-10-14 23:13:25 +01:00
Enerdy
b6267bbaa7
Auth system now checks if a superadmin exists
...
The 'auth-verify' command was also removed and its alias was added to 'auth', which now does both things.
2016-10-14 23:07:29 +01:00
Lucas Nicodemus
c4cf2d496d
Changed the taken account message to be more clear
...
Thanks to Gameroom, Kirbyrocket, ProfessorX, etc. for drawing attention to this.
2016-10-09 21:04:53 -06:00
Lucas Nicodemus
f8039c8f80
Rest API uses 'permissions' on /v2/groups/update
...
Arguably this should be a change to a new API version, but the
current functionality is broken so this just kinda fixes that.
Fixes #1292
2016-10-05 08:28:01 -06:00
White
93cc71a753
Fixed a typo in the changelog and ticked assembly version
2016-10-04 21:04:08 +10:30
Lucas Nicodemus
bcf8cb644f
API Version Tick: 1.25
...
Fixes compatibility with new API revision
2016-10-03 21:40:13 -06:00
Lucas Nicodemus
5c1d5ae586
Use WorldPosition instead of ChestPosition
...
Fixes build with 90d732b840 (I'm 99% sure WorldPosition is what we want to use but could be wrong)
2016-10-03 21:05:39 -06:00
ProfessorXZ
9948239cbf
Fixed MagicalIceBlock checks
2016-09-30 20:43:13 +02:00
Patrikk
d77f363157
Fix #1287 | Quickstack to nearby chests issue
...
CheckRangePermission accepts coordinate which is divided by 16.
The Position variable which is passed in ForceItemIntoChestEventArgs is
multiplied by 16.
(To be more exact. `new Vector2((float)(Main.chest[i].x * 16 + 16),
(float)(Main.chest[i].y * 16 + 16))`)
The + 16 is there to get the middle of the player so it can make an
accurate check when checking distance between chest and player.
So I'm not really sure if the Position arg should be even passed in the
eventarg.
Anyway, CheckRangePermission always returned true because of the above,
and handled the event, so players could never quickstack into nearby,
unless they had RangeChecks off.
"True if the player should not be able to place the tile." (In our case,
stack items into chest)
Why doesn't CheckRangePermission contain a check on an actual range
permission of the player's group? So groups with the permission could
bypass the check.
Just wondering if there is any legit reason for that.
2016-09-25 02:07:15 +02:00
White
0a8a6a2df2
Version 4.3.18
2016-09-23 18:52:00 +09:30
White
36343dd8e7
Add a sandstorm command
2016-09-22 19:13:50 +09:30
Rodrigo
db11897ed5
Merge pull request #1271 from ProfessorXZ/itemdrop-fix
...
Fixed item duplication issues
2016-09-19 13:33:04 +01:00
Rodrigo
d48300fe31
Merge pull request #1283 from ProfessorXZ/wind-fix
...
Fixed UI issues caused by setting wind speed to high values
2016-09-19 13:31:42 +01:00
ProfessorXZ
9974441868
Added an extra IceRod check to HandleTile
2016-09-12 22:20:06 +02:00
ProfessorXZ
7376ad8b0e
Fixed UI issues caused by setting wind speed to high values
2016-09-10 23:35:57 +02:00
ProfessorXZ
775c724b44
Fixed IceRod not placing ice blocks
2016-09-10 22:58:32 +02:00
ProfessorXZ
65c061383e
Fixed corrupt packets caused by invalid tile IDs
2016-09-03 14:17:28 +02:00
ProfessorXZ
1316c71a4c
UpdateItemDrop packet now points to HandleItemDrop instead
2016-09-03 14:15:26 +02:00
ProfessorXZ
dd50d41f2e
Fix item duplication caused by range checks & netIDs. Fixes #1162
2016-09-03 14:15:26 +02:00
ProfessorXZ
f2cc3ce89f
Remove unnecessary code from HandleTile()
2016-09-03 14:08:09 +02:00
ProfessorXZ
c305b36168
Fix explosives range checks
2016-09-03 14:08:08 +02:00