Commit graph

1032 commits

Author SHA1 Message Date
Zack Piispanen
7a57a8073c Added method for region SINCE THE FUCKING UNIT TESTS RELIED ON IT AND NO ONE FUCKING FIXED IT
Region unit tests work again.
2011-09-03 02:13:19 -04:00
Lucas Nicodemus
301a6dfadd Attempting to fix UnitTests/RegionManagerTest.orderedtest 2011-09-02 23:59:04 -06:00
Lucas Nicodemus
1547a06ed6 Fixed everything 2011-09-02 23:44:04 -06:00
Deathmax
d5943c94d8 Project file was missing a file from merge. 2011-09-03 13:30:43 +08:00
Lucas Nicodemus
b31a84cdd2 Merge remote-tracking branch 'remotes/origin/general-devel-mono' into general-devel
Conflicts:
	TShockAPI/Properties/AssemblyInfo.cs
	TShockAPI/TShockAPI.csproj
2011-09-02 23:23:23 -06:00
Lucas Nicodemus
442a5b4202 Stuff 2011-09-02 23:21:01 -06:00
Deathmax
b0f5a49ec2 Spawn plants at ground level (thanks RogerPaladin) 2011-09-03 09:32:13 +08:00
Deathmax
eab82a2cb1 Fix projectile exploit detection (please test for false positives when using Harpoon) 2011-09-03 09:31:41 +08:00
Deathmax
65b323f004 Don't force Hardcore players to spawn, they are supposed to be ghosts. 2011-09-03 08:01:58 +08:00
Deathmax
44e4199dcb Attempt to satisfy some of the requirements of growing things 2011-09-02 20:44:02 +08:00
Deathmax
9ed5f7a2f5 Added geoip support.
(grab the database from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and dump it in the tshock folder)
2011-09-02 12:28:19 +08:00
Deathmax
3f40437d4b Added /grow 2011-09-02 11:35:35 +08:00
Deathmax
903c9b4154 /buff commands now take seconds instead of number of frames (60 in 1 second)
Fix buff commands not using time argument when using numerical IDs.
2011-09-02 09:03:42 +08:00
high
c6e62a2225 update api version attribute 2011-08-30 08:44:28 -04:00
high
21ac8a4a0e Removed XNA dependencies 2011-08-30 08:36:34 -04:00
high
8bb8114223 Fixed not setting kill when disconnecting a client. Handling the disconnect packet makes Terraria not set ServSocket.kill. 2011-08-24 22:22:57 -04:00
darkunderdog
6b8dea306c Updated /additem and /delitem to work if name isn't an exact match 2011-08-24 23:50:54 -05:00
darkunderdog
ecb57f15c9 Add Console Info For Bans and Kicks 2011-08-24 21:48:27 -05:00
darkunderdog
01e6f32734 Added Showing Kicked Info In Console. 2011-08-23 23:36:10 -05:00
Deathmax
cf9157bc94 Changed how abuse of TileGetSection is handled.
(2nd request will cause a kick) - Thanks Lycaonj and UndeadMiner.
2011-08-22 19:16:27 +08:00
Deathmax
a6132a31a2 Allow users to ban custom items 2011-08-22 18:47:28 +08:00
Deathmax
9fed5338a4 Merge commit '48ef0ee1a5' into general-devel 2011-08-21 22:38:04 +08:00
Deathmax
00c2023c15 Changed /annoy to use a simpler method than whoopie cushions. 2011-08-21 22:36:42 +08:00
darkunderdog
48ef0ee1a5 Updated /region name to tell you if region is not protected 2011-08-21 02:36:18 -05:00
Deathmax
1c394c9037 Limit buff time to short's maximum value. 2011-08-21 12:19:34 +08:00
Deathmax
8ec358d99f Added /gbuff - buff other players 2011-08-21 12:15:15 +08:00
Deathmax
c776f2c06e add time argument to /buff 2011-08-21 11:48:25 +08:00
high
a9a153ddb6 Fixed AddRegion returning false when the region does not exist. 2011-08-20 18:16:33 -04:00
high
d1fe086124 Missing another null check. 2011-08-20 13:07:58 -04:00
high
625bab753b Fixed getRegion not returning null (functions using it were expecting null too)
Disabled noclip check. (general-devel is not general-test)
Added null check to /region info (Don't commit shit that you know is broken)
2011-08-20 13:04:24 -04:00
Deathmax
05f0e9d717 bounds check for noclip detection 2011-08-21 00:47:39 +08:00
Deathmax
96ea583264 Noclip detection now uses the tile blacklist. 2011-08-21 00:27:07 +08:00
Deathmax
85f1ba6643 Force respawn after death.
(prevents some forms of invisibility)
2011-08-20 20:45:19 +08:00
Deathmax
8b59e1c525 Kick on KANNIBALE specific items. 2011-08-20 20:22:17 +08:00
Deathmax
67f8760ba3 Prevent repeated requests for sections.
(patches KANNIBALE's .ddos command)
2011-08-20 20:09:11 +08:00
Deathmax
eb88dc8924 Basic noclip detection (high chance of false positives, only text warning atm) 2011-08-20 17:33:58 +08:00
Deathmax
fd26ed0fb1 Merge commit 'e3dc989387' into general-devel 2011-08-20 12:15:56 +08:00
Deathmax
2c1c75db2b Add /buff <buff id/name> 2011-08-20 12:14:49 +08:00
Lucas Nicodemus
e3dc989387 Fixed #86
RegionManager now returns false on GetRegionByName if the region already exists in the database.
Fixed coding convention fuckup
ReSharper code cleanup
2011-08-19 21:35:56 -06:00
Graham Cantin
2cdb9dc953 Adding /region info -- needs further protection from nulls 2011-08-19 02:50:59 -07:00
Graham Cantin
6101046961 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-08-18 22:13:59 -07:00
Graham Cantin
b139013285 fixed managegroup permission 2011-08-18 22:13:34 -07:00
high
f618c88c0e Capped npc spawn commands(1000, Terrarias limit). To prevent people from pointlessly spawning 1000000. 2011-08-18 23:46:52 -04:00
high
2f0b2951f0 tidied the wall of commands a little 2011-08-18 22:12:07 -04:00
high
ff102f7ea9 Fixed debugreg having the wrong permission 2011-08-18 21:56:41 -04:00
high
3ce05162cd Added permissions description dump 2011-08-18 21:56:15 -04:00
high
b06ec57819 Permission magic strings removed 2011-08-18 21:10:39 -04:00
high
fc03e72c77 Forgot to handle disconnect messages.
Fixed GetIPv4Address throwing socket exception
2011-08-18 20:04:16 -04:00
high
dcadec30de Improved buffering slightly.
Disconnect messages are no longer buffered. (Fixes disconnect messages not being received)
2011-08-18 19:55:12 -04:00
high
7b58100546 Fixed issue of the client being killed before receiving the disconnect message. 2011-08-17 21:45:41 -04:00