Commit graph

306 commits

Author SHA1 Message Date
tysonstrange
65924b9f15 Update TSPlayer.cs 2015-09-17 21:08:53 +10:00
White
33739c4f07 Added a new Disable method with flags to determine where the message is logged to.
Obsoleted the old disable method
Added a config option to disable OnSecondUpdate logs (disable message is written only to console if set to true)
Updated all instances of the obsolete Disable method to the new Disable method
2015-09-12 11:33:17 +09:30
White
218bd98556 Added newline parsing to SendMessage to prevent plugins doing funky stuff to chat 2015-08-26 20:55:32 +09:30
White
a99414e712 Merge branch 'general-devel' of https://github.com/nyxstudios/TShock into general-devel 2015-07-10 16:59:44 +09:30
Lucas Nicodemus
b592a04190 Re-add stack trace 2015-07-10 00:42:57 -06:00
Enerdy
bfe407024e TSPlayer.Disable() now uses new debuffs, removed weird code? 2015-07-10 00:40:20 -06:00
White
e5cbee82e9 Backwards compatibility for databases with pre-existing SSC entries 2015-07-10 14:34:42 +09:30
Lucas Nicodemus
89bbbccdab Revert "TSPlayer.Disable() now uses new debuffs, removed weird code?"
This reverts commit 9df043764c.
2015-07-09 09:41:31 -06:00
Enerdy
9df043764c TSPlayer.Disable() now uses new debuffs, removed weird code? 2015-07-09 15:43:20 +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
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
af7ee24de4 Fixed /time 2015-07-05 11:32:01 +09:30
Enerdy
b7aaf4092c Fix calls in TShock.cs and TSPlayer.cs 2015-07-04 14:18:17 +01:00
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