Commit graph

876 commits

Author SHA1 Message Date
Enerdy
e6fe896133 Update version codename
Project Mintaka - The First Star
2016-12-11 23:44:13 +00:00
White
02c58b5c93 Submodule update + API version update 2016-12-11 13:46:11 +10:30
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
Lucas Nicodemus
65fe410c31
Fix KnownIps == 0 causing .Last() to fail (Fixes #1319 again).
Thanks to @Simon311 for being able to read. We love you. 💘

"You should laugh at yourself at least once every day."
2016-10-24 10:58:17 -06:00
Lucas Nicodemus
f8a5388582 Revert "Ensure IPs are > 0 otherwise the Linq will fail." 2016-10-24 10:47:07 -06:00
Lucas Nicodemus
1328d71fdc Merge pull request #1317 from DogooFalchion/motd
Update MotD file parsing to convert color formats into smart text.
2016-10-23 19:27:52 -06:00
Lucas Nicodemus
3fdc89a576 Merge pull request #1320 from DogooFalchion/fix_playerlogin
Ensure IPs are > 0 otherwise the Linq will fail.
2016-10-23 16:23:34 -06:00
DogooFalchion
701cfa0591 Ensure IPs are > 0 otherwise the Linq will fail. 2016-10-23 18:16:10 -04:00
DogooFalchion
8df7e0c298 Backup old MotD and convert it to using Terraria chat tags automatically, then write it back out to the MotD file. 2016-10-23 14:37:16 -04:00
Lucas Nicodemus
a8b4bf1d95
Remove PacketBufferer
The packet bufferer was obsolete.
2016-10-23 06:02:27 -06: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
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
1460a7ad91 Fix for HealOtherPlayer exploit, also fix #1309 2016-10-17 15:51:49 +03: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
54915bcf47 Fix /" 2016-10-16 08:58:55 +03:00
Enerdy
dcaae17ffe Fix that one missing message & Update CHANGELOG.md 2016-10-15 00:39:13 +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
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
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
ProfessorXZ
37d9e93e6c Remove redundant region checks 2016-08-02 19:22:47 +02:00
ProfessorXZ
0919641b7f Update ApiVersion 2016-08-02 18:44:19 +02:00
ProfessorXZ
e9d504afd4 Add ItemForceIntoChest hook. Fixes #1250 2016-08-02 18:41:28 +02:00
ProfessorXZ
952da9609a Fixes #1197 2016-08-01 22:39:01 +02:00
ProfessorXZ
ffa64e4474 Fixes #1241 2016-07-19 00:02:52 +02:00
webmilio
7bac19afe0 Added world name to the title. 2016-06-30 13:46:55 -04:00
Enerdy
13977d9e53 Make GeoIP Great Again! 2016-06-19 14:02:36 +01:00
Enerdy
d1168003e7 Update submodule and version numbers 2016-05-25 17:42:04 +01:00
White
91c41aa68b Adds a --no-restart command-line argument for Multiplay 2016-04-27 15:12:43 +09:30
CoderCow
5e50264194 Fixed concurrent dictionary access. 2016-02-28 13:35:42 +01:00
Enerdy
aa419283a9 Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible. 2016-01-11 14:37:02 +00:00
Lucas Nicodemus
8c3da1058e Change -providertoken arg to --provider-token 2016-01-01 22:26:26 -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
White
9c7d0f08e2 Deprecated PacketBufferer as its function is now fulfilled by SendQ 2015-11-23 11:50:24 +10:30
Tyler Watson
3de8889688 Reverted the silly on leave hook change 2015-09-18 22:05:11 +10:00
Tyler Watson
27ebc925b7 Tidied up server leave hook saving the world twice 2015-09-12 19:24:05 +10:00
Tyler Watson
049abd9146 Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel 2015-09-12 18:08:31 +10:00
Tyler Watson
34f28bace3 TShock 4.3.10 - APIVersion 1.22 2015-09-12 18:08:10 +10:00
White
ba677f83cb All OnSecondUpdate Disable calls now use one set of DisableFlags. Fixes #1072 2015-09-12 12:57:00 +09:30
White
1faf064983 Changed the way the SecondUpdate checks work 2015-09-12 12:50:01 +09:30