Commit graph

765 commits

Author SHA1 Message Date
Lucas Nicodemus
4cb36c4e37 Re-enable stat tracker 2015-02-28 16:27:38 -07:00
Lucas Nicodemus
e2eb659d62 Remove 'TerrariaShock' in the console title 2015-02-28 12:01:45 -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
Lucas Nicodemus
c5625aa896 Merge pull request #870 from NyxStudios/whitexz-general-devel
Adds SQL logging from WhiteX's fork; closes #869
2015-02-28 01:21:54 -07:00
Lucas Nicodemus
7d9c960b0f Add config option for saving the world when last player exists 2015-02-27 00:38:47 -07:00
White
8ff36c6709 Adds a queue to the SQL log and fixes some issues pointed out 2015-02-26 15:37:36 +10:30
Lucas Nicodemus
0459dfca11 Adds SQL logging from WhiteX's fork; closes #869 2015-02-25 15:33:35 -07:00
Lucas Nicodemus
c215ff8e10 Console title now says "zero" with "zero" players "online" 2015-02-25 00:26:47 -07:00
Lucas Nicodemus
21cd90fa23 Save world on last player exit; fixes #707 2015-02-25 00:09:54 -07:00
Lucas Nicodemus
f2b2da90d7 Added silent commands & other stuff (see below)
1. Removed old code.
2. Added silent command prefix & supporting code
3. Region ban & spawnmob support silence
2015-02-24 20:55:59 -07:00
Lucas Nicodemus
183084d60f Minor changes pertaining to spacing & some unclear messages 2015-02-24 19:08:30 -07:00
Zack
63231c73f2 Utilize new account hooks to insert and delete from the SSC table, since this is what the feature was intended for. 2015-02-22 16:17:05 -05:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
Zack
f188bd743c Remove StatTracker 2015-01-28 15:24:50 -05:00
Lucas Nicodemus
05b29081bd Revert "Added npcStreamSpeed configuration parameter." 2014-11-08 17:28:28 -07:00
Sam Eaton
4ac6e70cc5 Attempt at correcting indentation. 2014-11-08 22:36:16 +00:00
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
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 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
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
1fe4dbd594 Fix "deadlock" occurring? 2014-07-16 09:33:33 -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
f8a9603101 Add connection ghosting
Adds #815
2014-07-02 16:53:49 -04:00
MarioE
3e12e80a89 Clean up /itemban, /projban and tempbans 2014-07-02 10:51:06 -04:00
MarioE
e2d826a157 Add config option "RespawnBossSeconds"
Fixes #813
2014-07-01 14:43:56 -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
atom0s
75d3b9624c Changed spaces to tabs. 2014-06-06 09:59:32 -07:00
atom0s
15db899b57 Added check for over-stacked items creating a negative amount for items over max stack count.
Added message output to player for why they are disabled when having an over-stacked item.
Added message output to player for why they are disabled when having a banned item equipped.
2014-06-06 09:56:31 -07:00
Zack Piispanen
99de841f5d Add list of commands that are eligible to be run to the Playercommand hook, so that a plugin may override this.
Add an event for TShock Chat, pushing out the raw text and the text tshock sends, allowing for plugins to run after tshock and change what tshock is sending.
2014-05-24 19:52:23 -04:00
Zack Piispanen
11e165aca1 Fix ssc 2014-05-12 16:20:27 -04:00
Zack Piispanen
3cb490d26a Fix rails, cleanup buff handlers, add code that does nothing because the server can do nothing to player buffs. Update API repo to a modified one that reduces lag on join/leave. 2014-05-11 16:23:11 -04:00
Zack
254c9b5911 Merge pull request #787 from Simon311/general-devel
Refix my fix for "/"
2014-05-10 16:48:52 -04:00
Zack Piispanen
1eb40afd1c Update GetDataHandlers for new packet stuff. 2014-05-10 14:30:59 -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
Simon
c5cc394bce Refix my fix 2014-04-28 23:43:51 +04:00
Zack Piispanen
c8a4fd711f Refactor out spaces -> tabs
Remove checks to the itemban table for npcs(wtf zidonuke) and projectiles.
2014-04-21 17:24:46 -04:00
Zack Piispanen
84d8049ac6 Add projectile bans and the commands needed to set them up. 2014-04-11 13:44:47 -04:00
Zack Piispanen
0f3156b4ac Added config to allow the choice for what string starts a command, ie '/login' can become '.login'. Changing this from default will introduce inconsistencies with plugins and help text, you have been warned. 2014-03-02 19:49:59 -05:00
MarioE
a450bff22f Fix SSC 2014-02-16 12:29:59 -05:00
MarioE
3ef3fc097f Merge pull request #747 from WhiteXZ/patch-1
Adds a few missing blocks to creep checks
2014-02-14 19:15:10 -05:00
MarioE
cabdb7aa8d Update submodule, fix NetTile, tick version 2014-02-13 21:52:32 -05:00
MarioE
29f59b4f86 Tentative update to 1.2.3 2014-02-13 21:01:06 -05:00
White
4c5de2f57c Adds a few missing blocks to creep checks
Hallowed vines
Pink ice blocks
Red ice blocks

From brief research, this should be all the missing biome spreading blocks
2014-02-06 09:40:52 +10:30
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
MarioE
968b326798 Change various things
Show "player has joined." only when they are being greeted, send
info/success messages in pagination tools if the target is not a real
player, and change the "player left" message to "player has left."
2013-11-30 09:58:50 -05:00