Commit graph

510 commits

Author SHA1 Message Date
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
Lucas Nicodemus
db6c09787d Use less obsolete code
Disable XML comment warnings for the love of god
Fix some random tab/space conflict indentation
2015-02-28 19:09:02 -07: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
PhoenixICE
0dcbbc9f18 Added Kicking for Damage Threshold 2014-12-18 21:54:12 +08:00
Rodrigo
b688a31fd5 Fix HandleProjectileNew for banned projectiles 2014-10-26 15:22:51 +00: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
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
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
afffa46ef2 Add config option for anonymous boss/invasion messages 2014-07-10 19:21:22 -04:00
Stealownz
3748789110 Adds kick/ban on hardcore death. 2014-07-05 00:08:21 +08:00
MarioE
e2d826a157 Add config option "RespawnBossSeconds"
Fixes #813
2014-07-01 14:43:56 -04:00
MarioE
69529fad38 Fix permissions referring to "SSI" instead of "SSC"
Fixes #811
2014-06-27 20:58:31 -04:00
MarioE
63a8d6cdc4 Add crimsand projectile 2014-06-25 14:15:23 -04:00
MarioE
8e7851e5d1 Fix dirt rod 2014-06-25 08:52:00 -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
5b8fcfde7b Fix player info not actually being sent to other clients 2014-06-24 21:05:07 -04:00
MarioE
bcebc2efc5 Split permission to hurt NPCs 2014-06-24 16:01:24 -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
f4bce20d50 Fix ice rod tiles not being broken and fix various sendtilesquare-related tile bugs 2014-06-20 11:31:55 -04:00
MarioE
19944db0e8 Remove unnecessary handling of teleport packet - fixes the "double teleport" glitch 2014-06-10 23:44:15 -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
Zack
0872283039 Merge pull request #801 from WhiteXZ/general-devel
Fixes weapon rack eating items and SSC bug
2014-05-23 12:11:00 -04:00
MarioE
934ed6aee0 Ignore projectile *updates* when checking threshold. Also removed the damage cap as the real max. damage is much higher, at around 23k 2014-05-22 01:22:58 -04:00
White
2e40bd409e Fixes weapon rack eating items 2014-05-19 11:41:58 +09:30
Zack Piispanen
fa06224d4e Change code to at least maybe work in SSC enabled servers. 2014-05-11 16:28:48 -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
Simon
d2dfd394ee Fix Minecart tracks, remove syncPlayers() from...
... SetTime
2014-05-11 15:17:46 +04:00
MarioE
14eb317dbd Fix chests and update submodule 2014-05-10 22:46:33 -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
c8125af0cc Tick version, update to latest tsapi. 2014-05-10 15:02:40 -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
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
61d05ffdc6 Fix range check on item clearing to refer to the Main.item[] being cleared and not the fake coordinates being sent by the client. 2014-04-09 18:37:41 -04:00
Ijwu
b3f8ec62c9 Fixes ItemDrop exploits. 2014-04-09 17:56:02 -04:00
Simon
4e93d8d30e Add DoorUse handler
Fixes exploit hopefully
2014-04-06 22:29:59 +04:00
MarioE
ab3ecd3077 Merge pull request #760 from CoderCow/patch-1
Fixes SSC Issues and Hair Style
2014-02-27 20:41:37 -05: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
PhoenixICE
7d18575d96 Added BIGINT and expanded log errors 2014-02-24 14:27:31 +11:00
MarioE
2e8398d4a2 Merge pull request #755 from CoderCow/patch-1
Fixed PlayerInfo Packet Handling
2014-02-18 16:54:16 -05:00
MarioE
0d8d83b165 Fix kick caused by drinking super mana potions 2014-02-17 16:52:10 -05:00
CoderCow
9b07ecaa67 Allowed for ingame hair color changes too. 2014-02-17 15:23:35 +01:00
CoderCow
1fd5601176 Fix to previous commit. 2014-02-17 12:33:22 +01:00
CoderCow
ccccd641d7 Fixed PlayerInfo packet handling. 2014-02-17 12:19:45 +01:00