Commit graph

826 commits

Author SHA1 Message Date
Tyler Watson
34f28bace3 TShock 4.3.10 - APIVersion 1.22 2015-09-12 18:08:10 +10:00
Tyler Watson
4bd1b6a07a Refactored StartInvasions to use Main.startInvasion method
It appears that there is a whole lot of display logic in the official
Terraria StartInvasion method, which is why martian invasion wasn't
working properly.

TSAPI now contains a slighly modified startInvasion method which takes
an optional invasion size, so TShock's StartInvasion method has now
been refactored to use TSAPI's invasion, restoring martian invasion
functionality.

Fixes #1087
2015-08-29 16:19:14 +10:00
White
24184a8061 Itembans check dyes, misc dyes, and misc equips 2015-08-26 20:48:25 +09:30
Tyler Watson
ac531a7d14 Removing TSPlayer.user from heapshot 2015-08-16 14:15:20 +10:00
Lucas Nicodemus
c073100c0a Update Submodule; Update to API 1.21 2015-08-07 07:32:40 -06:00
White
c7711b2906 Allow[Hallow/Corruption/Crimson]Creep in config now work
Fixes #1043
2015-07-25 13:06:21 +09:30
Lucas Nicodemus
97f0bd5aac Tick to 4.20 2015-07-23 10:49:49 -06:00
Tyler Watson
7717f6d9d5 Removed -world handling from inside TShock
Seriously, when has it ever been a good idea to handle TSAPI commandline
mechanisms from a plugin?  TSAPI related command line parameters need to
be handled from inside TSAPI.
2015-07-23 18:41:18 +10:00
White
4371ad4d9a Logging out is now safe in SSC. Fixes #1037 2015-07-20 23:25:33 +09:30
George
0c46a2ddcf Move three startup args back to ServerApi 2015-07-18 11:02:50 +01:00
George
8cf78be440 Move all startup arguments to TShock from API 2015-07-17 22:52:40 +01:00
White
e044dfaf52 Fixed #992
Updated submodule
2015-07-16 13:58:03 +09:30
White
985f890153 Removed duplicate REST port assign
Fixed a typo
2015-07-16 13:00:43 +09:30
White
58c4637021 Merge pull request #978 from Patrikkk/general-devel
Actually return entered region at OnRegionEntered
2015-07-10 11:28:26 +09:30
Lucas Nicodemus
0ba7ae8f10 Update to API 1.19 2015-07-09 16:02:28 -06:00
Patrikk
a983d14723 Actually return entered region at OnRegionEntered 2015-07-09 18:39:55 +01:00
White
f5e1b79fbb Fixed more of SSC. Trash, held item, piggy items, and safe items are all cleared upon first login. 2015-07-09 16:48:32 +09:30
White
8f8e9d4cd4 Fixed an issue in NetGetData where e.Length - 1 would be -1 2015-07-07 22:55:14 +09:30
White
4ff861634c Fixed an old packet handler causing WorldInfo packet data to be sent incorrectly 2015-07-07 12:15:42 +09:30
Enerdy
d966e1dd25 DisableTombstones now also prevents the new Golden Tombstones from dropping (sorry rich dudes) 2015-07-06 00:05:13 +01:00
Lucas Nicodemus
bcea7736ea Fix build
Alarmingly TShock set a lighting mode that has been removed in API
2015-07-05 12:10:42 -06:00
White
3a3e053d43 Fixed SSC. Note that SSC will NOT work with UUID login before join. UUID login before join has been disabled during SSC unless the player has the "tshock.ignore.ssc" permission.
Removed IncrementKills()
2015-07-05 23:13:54 +09:30
White
63bf31ded5 Removed Disconnect handling in NetHooks_SendData 2015-07-05 12:12:31 +09:30
Lucas Nicodemus
46ed829312 Fix build on Mono 2015-07-04 15:17:25 -06:00
Enerdy
3099f5d18c Fix WorldInfo packet, window title now correctly displays the IP Address of the Network Interface the server is being hosted on. 2015-07-04 22:06:27 +01:00
Enerdy
dec885baac Tick ApiVersion 2015-07-04 18:40:03 +01:00
Enerdy
b7aaf4092c Fix calls in TShock.cs and TSPlayer.cs 2015-07-04 14:18:17 +01:00
Lucas Nicodemus
3d5cc61b57 Change codename to reflect history 2015-06-30 09:29:40 -06:00
Lucas Nicodemus
acc24165fe Change codename to not preemptively mark 5.x 2015-06-25 01:00:16 -06:00
Lucas Nicodemus
f14aedd4da Remove survey reference 2015-06-04 17:13:44 -06:00
MarioE
d5fb8726cc Extend NetItem 2015-05-04 22:11:10 -04:00
Enerdy
ee776b7e60 Fix grammar, explicitly state that we need this check 2015-05-02 13:45:40 +01:00
Enerdy
f4fa624936 Specify which item is causing a player to be disabled. Fixes #909. 2015-05-02 03:03:41 +01:00
White
dd7ad78d3f Adds a User object to TSPlayer 2015-04-29 17:24:20 +09:30
Lucas Nicodemus
050a350c9f Finish documenting TShock.cs 2015-04-17 04:41:22 -06:00
Lucas Nicodemus
d182e3a629 Add more documentation to more internal methods 2015-04-17 02:33:37 -06:00
Lucas Nicodemus
be75603587 Add more documentation to TShock.cs for high level variables 2015-04-17 01:39:19 -06:00
Lucas Nicodemus
00ad1c63b4 Check to see if a player is logged in before calling logout hook on dc 2015-04-17 00:17:19 -06:00
Lucas Nicodemus
be19c3998b Call OnPlayerLogout when a player leaves the server
Fixes #902
2015-04-16 23:41:24 -06:00
Lucas Nicodemus
417ffbc740 Updated XML documentation for several methods 2015-04-12 23:39:04 -06:00
Zack Piispanen
904c44a1b6 Fix UseServerName config options, to now work properly. Remove duplicate unused code. Ensure that everywhere we use Main.WorldName, we are sending the config server name. 2015-04-09 22:58:32 -04:00
White
cd353c27a3 Time parameter for tempgroup 2015-04-06 12:31:07 +09:30
Lucas Nicodemus
3e536a1aac Small ad for survey 2015-04-05 19:24:30 -06:00
Zack Piispanen
9547dade6b Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel 2015-04-04 01:46:54 -04:00
Zack Piispanen
05c127f20c Add dumping of RestHandlers, to sorta maybe create a little documentation on a system we've never documented. 2015-04-04 01:40:30 -04:00
Lucas Nicodemus
d8a8ba3be9 New version codename 2015-03-25 23:15:51 -06:00
Zack Piispanen
7ad1889a13 Tick version and clean up some white space. 2015-03-25 21:17:43 -04:00
White
c7ce6f3f78 Switch from LogLevel in favour of TraceLevel 2015-03-19 14:38:37 +10:30
Zack Piispanen
b031f45cb0 Change the way we ignore packets from clients while swapping with SSC inv.
Add dump for SSC, and terminate the application (maybe).
2015-03-16 20:36:32 -04:00
Zack Piispanen
7fe761bacb Make an instance variable part of TShock so that the Loggers have access to it for using the ServerAPI logger because sometimes the log has been disposed of when we write to it (i.e. other plugins) 2015-03-16 19:49:23 -04:00