Commit graph

333 commits

Author SHA1 Message Date
Zack Piispanen
7ea9be6e75 Changed how EditTile was handled so that we have enums and pass those instead of confusing bytes.
Comments should be updated to reflect new stuff.
2013-09-29 18:11:08 -04:00
Zack Piispanen
203611706e Fixed long if statement 2013-09-29 08:53:47 -04:00
Zack Piispanen
40ba6c56d3 Update packet logic up to 17 (not including 17 ->tile edit...something needs to be done with the last two bytes) 2013-09-29 05:29:18 -04:00
k0rd
c80ebbc116 Changed collision detection margins; added slush to it too. 2013-09-29 04:59:56 -04:00
k0rd
954b5f8b4c Merge remote branch 'origin' into 1.2_terraria 2013-09-29 03:57:52 -04:00
k0rd
ef2af933c4 beginning tile types in NetTile.cs
fix typo in GetDataHandlers.cs
2013-09-29 03:57:04 -04:00
Zack Piispanen
6d01f604a7 Merge branch '1.2_terraria' of github.com:Olink/TShock_1.2 into 1.2_terraria 2013-09-29 03:41:38 -04:00
Zack Piispanen
1a2f874285 Implemented Packet Teleport mechanism. 2013-09-29 03:37:20 -04:00
k0rd
a2fc066965 Added better noclip detection, including support for half and slanted blocks, and an ignore for honey. 2013-09-29 02:29:59 -04:00
Zack Piispanen
7731bc46f1 More minor fixes 2013-09-28 23:52:51 -04:00
Zack Piispanen
c17b661166 Stripped out stupid shit
Commented packets we dont know about yet.
2013-09-28 17:32:03 -04:00
Zack Piispanen
8980a2155a Removed redundant code. 2013-09-22 22:56:52 -04:00
Zack Piispanen
856def83b3 Added basic framework for allowing for ban durations and banning admin.
Added BanningUser, Date(of ban), and Expiration to the db
On join, Expiration is checked, if ban is expired we remove it and the user is allowed on.
When running the ban command, your UAN is used as the banning user, and the date is that moment, with no expiration.
#531
2013-09-22 16:04:12 -04:00
Zack Piispanen
ba42fb08df Removed ip address from users, as well as changed /user add syntax to be '/user add username password group' instead of colon bullshit. 2013-09-21 17:11:22 -04:00
Zack Piispanen
4fed645fde Added config override for stat hacks. This makes updating for 1.12 easy as well since these will change then, small part of #525 2013-09-21 16:06:01 -04:00
Zack Piispanen
33050b1306 Fixed(?) lava and water liquid sets. Not sure if its even possible to get this far into the process, but if it was possible to bypass the item in hand checks in OnSecondUpdate() and OnPlayerUpdate() then they would successfully place lava/water. This should now be fixed, and if the right bucket isn't in their hand we ignore. 2013-08-28 00:42:45 -04:00
Lucas Nicodemus
ae7ab5f234 Updated copyright information to point to 2013. 2013-08-22 21:51:17 -06:00
CoderCow
d1f1e422a0 -Ingame log messages are no longer shown to the player who caused them.
-Changed ingame log message color to something more unique for better identification.
2013-07-22 12:22:39 +02:00
MarioE
ca6efe66f3 Fixed merge. 2013-07-11 12:58:40 -04:00
Lucas Nicodemus
033ffc67a9 Merge pull request #494 from Scavenger3/tile
Check for invalid place style.
2013-07-11 09:42:09 -07:00
MarioE
8ba1aa58ac Added some tile hacking checks and moved explosive projectiles server-side. 2013-07-10 08:51:42 -04:00
Scavenger3
2bd9b6a6b6 Check for invalid place style 2013-07-06 22:18:26 +10:00
Scavenger3
a01a33192a Tile GetDataHandlers: fix bool fail and add byte style 2013-07-06 16:39:20 +10:00
CoderCow
cf018ebd13 Fixed /overidessi not working properly if DisableLoginBeforeJoin was false. 2013-07-02 12:15:10 +02:00
CoderCow
8c23d68727 -Added "-p" parameter to "/region name" for persistent mode, type "/region name" without "-p" to disable.
-Added "-u" parameter to "/region name". Use to include unprotected regions in the listing.
-Added "-z" parameter to "/region name". Use to include z indexes in the listing.
-Regions displayed by "/region name" are now sorted by z index.
2013-07-01 18:23:56 +02:00
CoderCow
25e584efe3 -Fixed an exploit where players could sneak items through SSI when DisableLoginBeforeJoin was true.
-/overidessi will now actually work on players not logged in...
2013-07-01 12:00:12 +02:00
Zack Piispanen
89571174ec Changed login event to prelogin and postlogin, if you set the args of prelogin to true, the login is ignored. In this case, if the server is loginbeforejoin, you need to kick the player with whatever reason otherwise bad things will happen. 2013-05-25 20:13:39 -04:00
Scavenger3
4e768f3231 Added SilentJoin to TSPlayer 2013-01-13 19:10:02 +10:00
Zack Piispanen
0aedf2b108 Added way to have an overridable group that is session based.
New command /sudo <player> <group> will override the player's group with the group specified.
2012-12-15 18:59:25 -05:00
Zack Piispanen
9960526384 Fixed visibility of PlayerHooks.cs 2012-12-15 12:54:22 -05:00
Zack Piispanen
c37cc91ca0 Added Hook for player login, for plugin sake, now they can utilize the login before join. 2012-09-24 14:32:21 -04:00
Zack Piispanen
88394ac561 Added back in region manager.
Added back in spawnmob commands, including the obsolete boss commands.
2012-09-15 16:20:16 -04:00
MarioE
98875e16ac No need for a duplicate method. 2012-08-21 10:32:47 -04:00
MarioE
5b032f277d Match the god damned existing tab format 2012-08-20 10:33:54 -04:00
MarioE
8bbed92683 Er, add in a default mute reason... also disable noclip detection while tongued. 2012-08-20 10:00:46 -04:00
MarioE
0b02b90df0 ...item drop wouldn't work with negative IDs 2012-08-19 10:23:08 -04:00
MarioE
52fff605c7 herp derp wrong placement. 2012-08-15 20:18:19 -04:00
MarioE
76c7b3fe8e Chest + boulder exploit 2012-08-15 20:17:34 -04:00
MarioE
73cea1a7ae Name exploit 2012-08-14 09:20:57 -04:00
MarioE
9351ece26e Item drop crash exploit 2012-07-24 14:47:23 -04:00
MarioE
50681d0d38 Fixed liquid removal exploit 2012-07-02 16:10:30 -04:00
MarioE
00db1b1b09 Ignored max damage cap if it is dealt to the player itself 2012-06-09 12:31:44 -04:00
MarioE
8094a54c39 Fixed join messages 2012-06-06 16:22:59 -04:00
MarioE
f4dbb552da Fixed some more grammar 2012-06-04 21:22:39 -04:00
Zack Piispanen
5f162bcf43 Added fail boolean to the TileEdit event. 2012-06-02 22:15:26 -04:00
Zack Piispanen
0536fe5775 remove some more region stuff. 2012-05-31 17:47:01 -04:00
Zack Piispanen
b56a77b39d Removed the Region code. Left todo's for the places where we currently reference it though. 2012-05-30 20:12:27 -04:00
Zack Piispanen
0c991b74de And kill wall checks too 2012-05-30 18:32:29 -04:00
Zack Piispanen
11a85dc817 Format issues and tile place check for walls 2012-05-30 18:31:40 -04:00
Lucas Nicodemus
d9a53cda30 REST & console window title report port correctly
Fixes #443
2012-05-26 11:59:31 -06:00