Commit graph

2815 commits

Author SHA1 Message Date
DogooFalchion
fcca88c2d6 Add support for start of line colors and terraria chat tags being nested. 2016-10-23 14:01:36 -04:00
DogooFalchion
a2003f130b Do not append Tshock to the MotD path. 2016-10-22 19:03:32 -04:00
DogooFalchion
31794b6a27 ShowFileToUser shouldn't assume the file is in the TShock folder. Use the file path variables where we can. Use smart text instead of removing color parsing. 2016-10-22 19:01:27 -04:00
DogooFalchion
998bf71b96 Don't reference yourself. 2016-10-22 18:55:42 -04:00
DogooFalchion
6242a54603 Update references to MOTD to point to the variable, instead of having magic strings. 2016-10-22 17:37:00 -04: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
ProfessorXZ
30fcf83fa1 Clients are no longer able to bypass tile checks 2016-09-03 14:06:27 +02:00