Commit graph

2330 commits

Author SHA1 Message Date
Sam Eaton
2a8d3dd09a Added npcStreamSpeed configuration parameter. 2014-11-08 22:18:27 +00:00
Lucas Nicodemus
5ffd373083 Removed two semicolons at the end of a line 2014-09-23 22:23:02 -06:00
Zack Piispanen
de4868a45d Merge branch 'general-devel' of https://github.com/NyxStudios/TShock into general-devel 2014-09-15 09:05:45 -04:00
Zack Piispanen
d5527ade42 Add length to database primary keys.
Tweak some of the itembans code to be less inefficient.
Removed a chunk of code from the buff code that prevented users from being buffed with a buff that comes from an item.  This code seemed to cause max cpu usage when being disabled.  I don't think this code is useful, but I leave that to people who own servers.  IMO all buff code should be removed.
2014-09-15 09:05:28 -04:00
Zack
03cf2487ad Merge pull request #837 from WhiteXZ/general-devel
Suppresses the SocketException warnings
2014-09-10 04:47:59 -04:00
White
70a9fc04c5 Suppress those pesky warnings 2014-09-10 14:31:20 +09:30
Zack Piispanen
c29f01b959 Add new rest endpoint /v3/players/read to read the players inventory, armor, and dyes. Armor contains both armor and accessories, as well as vanity. Dyes contain all 8 dye slots. Closes #835 2014-09-09 04:03:31 -04:00
Zack Piispanen
444af6cf57 Update to latest TSAPI. Changed update manager to use same code as stat tracker, which hopefully doesnt break on mono. Also changed it to not check every update to see if time has passed. Made packetbufferer async for windows and if specified for mono. Fixed maxspawns error message to explain range. Ticked version. 2014-09-09 03:49:57 -04:00
Zack Piispanen
1421c23df7 Remove crappy spaces in this file. 2014-09-03 02:48:57 -04:00
Zack Piispanen
1c7fe908b6 Delete a bunch of cruft that has gone unmaintained for too long.
Fix warps to have an auto-increment primary key column, and unique on name/WorldID
Same for regions.
Changed SqliteTableCreator to do proper unique syntax.
2014-09-03 02:41:53 -04:00
Brian Ricketts
e2258c84d7 Fixed invalid default value for max spawns 2014-08-31 03:34:42 -05:00
Zack
62108ecd63 Allow rest request handlers access to the request object itself, to allow the plugin more information on who is making the request. Refactored the args for Rest commands to just one delegate, that takes a RestRequestArgs which has verbs, params, request, and tokenData. 2014-08-23 16:08:18 -04:00
Zack
18138afd1d Update ServerAPI to latest. Added command to reset the completed angler quests. Verified that angler quests are working as intended. Set value in db to 9, completed quest, received fuzzy carrot, shut down server, set to saw it was set to 10, set to 19, started server, completed quest, received his hat. Please stop reporting this as broken. 2014-08-02 10:18:47 -04:00
MarioE
55a00c208d Fix HP/MP checks 2014-07-31 23:48:54 -04: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
7a8422de5c Add tile banning, because such whine, much desire (doge).
I am sure this will result in someone whining for wall banning as well, but that can wait another couple of months.
2014-07-27 20:57:17 -04:00
MarioE
eb8ffe5cfb Fix resizeRegion 2014-07-25 17:41:19 -04:00
MarioE
1293b8a3f9 Merge pull request #828 from Ijwu/general-devel
Bugfix in /v2/world/butcher endpoint
2014-07-20 20:33:48 -04:00
Ijwu
5463adfce8 Bugfix in /v2/world/butcher endpoint
killfriendly parameter now does something.
2014-07-20 20:20:42 -04:00
MarioE
738607f1aa Fix /time outputting the wrong time 2014-07-20 18:44:25 -04:00
MarioE
1228acbbc8 Fix up /tpnpc a bit, tick version 2014-07-20 18:08:01 -04:00
MarioE
4ce305b91d Merge pull request #822 from WhiteXZ/general-devel
Add /tpnpc to allow teleportation to active npcs
2014-07-20 18:06:25 -04:00
Enerdy
7135217315 Fix Utils.GetPrefixById 2014-07-20 01:54:02 +01:00
MarioE
1fe4dbd594 Fix "deadlock" occurring? 2014-07-16 09:33:33 -04:00
MarioE
038f606939 Add offline account banning to /ban addtemp 2014-07-13 07:57:58 -04:00
MarioE
e13de5dba0 Merge pull request #820 from AquaBlitz11/general-devel
Fix Force Xmas Message Display
2014-07-10 23:40:41 -04:00
Zack
fb451c6d49 Update license header for 2014 2014-07-10 21:48:33 -04:00
Zack
4468a880d2 Fix Time being based on 30 minute hours. 2014-07-10 21:23:50 -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
afffa46ef2 Add config option for anonymous boss/invasion messages 2014-07-10 19:21:22 -04:00
White
a8a08caa4b Add /tpnpc to allow teleportation to active npcs 2014-07-10 17:58:20 +09:30
MarioE
aa8f762f9c Re-introduce /tphere 2014-07-09 10:33:25 -04:00
AquaBlitz11
b6bd0ff1e2 Fix Force Xmas Message Display 2014-07-09 20:03:16 +07:00
MarioE
3021575ad5 Merge pull request #817 from Enerdy/general-devel
Update updateUrl, add update file
2014-07-04 21:04:05 -04:00
Enerdy
0f236742d9 Update updateUrl, add update file 2014-07-04 23:37:13 +01:00
Stealownz
3748789110 Adds kick/ban on hardcore death. 2014-07-05 00:08:21 +08:00
MarioE
36594e7fe4 Tick version 2014-07-02 17:05:32 -04:00
MarioE
f8a9603101 Add connection ghosting
Adds #815
2014-07-02 16:53:49 -04:00
MarioE
16cf364d59 Add user account banning, similar to offline bans
Also removed logging of bans since... the command is logged as well
2014-07-02 13:34:15 -04:00
MarioE
3e12e80a89 Clean up /itemban, /projban and tempbans 2014-07-02 10:51:06 -04:00
MarioE
6d3bb30c7c Fix a quick typo I made 2014-07-02 08:19:20 -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
97252dfe93 Add /forcehalloween, fix /hardmode to actually send changes, clamp tile positions in /tppos, remove extra permissions 2014-06-28 19:30:23 -04:00
MarioE
df7a0d86e5 Fix help text 2014-06-28 10:08:06 -04:00
MarioE
5cbcef49e6 Add /time to allow getting the time and inputting 24-hour time 2014-06-27 22:30:01 -04:00
MarioE
1df9f40a6c Clean up pumpkin moon and frost moon commands 2014-06-27 22:02:46 -04:00
MarioE
5073714f43 Improve /maxspawns and /spawnrate logic 2014-06-27 21:58:12 -04:00
MarioE
66b0f3899c Merge /tphere into /tp, add /tppos 2014-06-27 21:53:01 -04:00
MarioE
69529fad38 Fix permissions referring to "SSI" instead of "SSC"
Fixes #811
2014-06-27 20:58:31 -04:00