Commit graph

293 commits

Author SHA1 Message Date
MarioE
d5fb8726cc Extend NetItem 2015-05-04 22:11:10 -04:00
White
dd7ad78d3f Adds a User object to TSPlayer 2015-04-29 17:24:20 +09:30
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
b4f2ddef47 DEBUG preprocessor conditional inside method 2015-04-09 15:56:51 +09:30
White
fc1d188951 DEBUG preprocessor checks for ILog 2015-04-08 20:46:12 +09:30
White
d0a962bd0f Notification when temp group expires 2015-04-06 12:31:10 +09:30
White
bddcf81331 Stop timer once it's done 2015-04-06 12:31:08 +09:30
White
cd353c27a3 Time parameter for tempgroup 2015-04-06 12:31:07 +09:30
Zack Piispanen
8a7aae9143 Purge "initial vanilla inventory" from playerdata, and pushed it to the SSC config creation if not existing. 2015-03-16 12:47:44 -04:00
Zack Piispanen
fd2a049ef3 SendMessage(string, color) should invoke SendMessage(string, byte, byte, byte), not SendInfoMessage(string, obj[]) resulting in a infinite loop. Fixes #873 2015-03-02 21:55:00 -05:00
Zack Piispanen
406abce30c Add hooks for Region creation/deletion. Add hooks for Region Enter/Leave. Add member to TSPlayer displaying current region. Set private setters in AccountHooks. 2015-03-01 22:27:49 -05:00
Lucas Nicodemus
803aa643c2 Fix tab/space conflict pointed out by @WhiteXZ in TSPlayer 2015-03-01 12:49:03 -07:00
Lucas Nicodemus
d971db165c Remove several obsolete shims
No need to keep obsolete shims in for several versions of TShock
2015-02-28 20:15:56 -07:00
Lucas Nicodemus
cbce64f1eb Remove more obsolete code; fix tab/space screwup in TSPlayer 2015-02-28 19:37:06 -07:00
Enerdy
a632e7f510 Added specifier to tshock commands 2015-02-28 14:46:44 +00:00
Enerdy
825de3fe73 Update methods using deprecated SendData code and Logs 2015-02-28 13:08:32 +00:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
MarioE
fd5c696656 Add permission to ignore max HP/MP, add config option for max HP/MP, possibly fix SSC
Fixing SSC is done by sending packet 39 (item disown) to the client.
Until a response, which is packet 22, is received from the client, all
SSC-related packets are completely ignored. This ensures that the SSC
data which is sent is not dirtied due to packets which are processed
during RestoreCharacter or slightly afterwards.
2014-07-28 23:40:27 -04:00
Zack
fb451c6d49 Update license header for 2014 2014-07-10 21:48:33 -04:00
Zack
915e791406 Initial work to move all Server Side Character code to its own module. 2014-07-10 21:09:32 -04:00
MarioE
e2d826a157 Add config option "RespawnBossSeconds"
Fixes #813
2014-07-01 14:43:56 -04:00
MarioE
e715a6bac9 Send WorldInfo when setting various time flags, fix time format 2014-06-30 11:02:36 -04:00
MarioE
1df9f40a6c Clean up pumpkin moon and frost moon commands 2014-06-27 22:02:46 -04:00
MarioE
5e74037a3a Remove any sort of Raptor interconnection -- should have been in some sort of separate plugin anyhow 2014-06-25 01:22:32 -04:00
MarioE
10634c4621 Fix eclipses not being sent, enable certain SSC functions if Main.ServerSideCharacter instead 2014-06-24 00:28:01 -04:00
MarioE
ffa68c1115 Fix /sb plantera setting time to night, optimize SSC inventory saving, fix angler quests in SSC 2014-06-05 18:39:13 -04:00
White
5e762c50ef Fixes error in PlayerData assigning 2014-05-18 11:56:30 +09:30
Zack Piispanen
0ea58cde3e Update SSC to include quests, skin color, eye color 2014-05-13 23:08:23 -04:00
Simon
d2dfd394ee Fix Minecart tracks, remove syncPlayers() from...
... SetTime
2014-05-11 15:17:46 +04:00
Zack Piispanen
c259d4827e Add more paint tools and womannequins 2014-05-10 17:00:41 -04:00
Zack Piispanen
d413b24b22 Fix Kick Message issue, fix health kicks for 600 health, update tsapi 2014-05-10 16:33:55 -04:00
Zack Piispanen
871ad1fd2a Initial Commit of 1.2.4, all data handlers are currently off. 2014-05-09 21:20:21 -04:00
CoderCow
39a81cfa66 -SSC now saves player hair, hair color, hair dye, cloth colors and accessory visibility.
-Fixed hair changes now showing up to other players ingame.
2014-02-26 22:24:03 +01:00
MarioE
7af6d72bc3 Rewrite SendRawData to trigger SendBytes hooks 2014-02-16 22:25:41 -05:00
MarioE
a450bff22f Fix SSC 2014-02-16 12:29:59 -05:00
PhoenixICE
ae2461d050 Fix SSC Saving for New Item Slots 2014-02-15 09:05:23 +11:00
Zack Piispanen
4ef324e026 Fix bypassing SSC using items in hand (trashcans are still exploitable until Redigit or his merry men decide that its a bug and fix it) 2014-01-19 18:45:45 -05:00
Zack Piispanen
2dc99c2d8c Add case for new invasion, and commands for the invasion/moons added recently 2013-12-19 20:00:00 -05:00
MarioE
766b077e99 Undo plugin-breaking changes 2013-12-15 18:50:44 -05:00
MarioE
652425c4ba Attempt another invis fix
Drops HP packets which have the current HP <= 0. Also removes some
unused TSPlayer fields.
2013-11-30 09:07:09 -05:00
MarioE
02820c0172 Change the way that forced PvP works 2013-11-28 17:23:12 -05:00
MarioE
9f7055b806 Merge with upstream 2013-11-10 14:40:16 -05:00
Zack Piispanen
e635b6f01a Fix sand guns. 2013-11-08 03:28:24 -05:00
MarioE
927602962e Fix warps 2013-11-03 19:47:35 -05:00
MarioE
41121b8412 Re-do warps 2013-11-01 23:55:31 -04:00
MarioE
416ce98518 Fix a few issues 2013-10-31 23:46:29 -04:00
MarioE
cf1feb9357 Fix several bugs 2013-10-31 23:35:42 -04:00
MarioE
3e9aee3414 Begin Raptor compatibility 2013-10-30 22:34:09 -04:00
Zack Piispanen
9809dc3802 Remember to use new byte in field for world info 2013-10-25 08:23:22 -04:00
Zack Piispanen
0ade98dfab Add fix for duplicating items abusing the disable code. Add in frozen debuff to disable 2013-10-24 19:12:17 -04:00