Commit graph

477 commits

Author SHA1 Message Date
Zidonuke
11473493e4 Codename Change <3
Dispose GeoIP properly so TerrariaAPI-Server reload works.
2011-12-21 02:37:27 -05:00
Zidonuke
c06bf2fe2e Break off from older commands and systems, move to more recent configurations.
Cheating detection no longer kicks, instead uses new system to block actions, and notifies user to fix the issue instead.
2011-12-20 22:41:49 -05:00
Zidonuke
f414fb4e39 Fixed all known bugs to server side inventory, its now fully tested.
Fixed pvp related stuff, its now fully working.
Inventory data is per account, not per character since I can't get SQLite to do something I need it to do.
Pvp throttling hardcoded because client side has a limit of 5 seconds, so double enforce it server side.
2011-12-20 21:30:06 -05:00
Zidonuke
7c09a174e8 Quick fixes to new features. 2011-12-20 17:40:04 -05:00
Zidonuke
bc7fac9b73 Annoying Server Side Inventory implemented. Needs extensive testing.
If enabled, all player actions are disabled until they /login which triggers a inventory check against the server. If they fail the check the login doesn't occur and they can't act. Default inventory for new accounts or characters requires a new character's inventory and health. Every inventory change that occurs is stored back into playerData memory and then onLeave it's stored back into the database, to be loaded at next /login
2011-12-20 16:21:22 -05:00
Zidonuke
ad22a379d9 New config to disable dungeon guardian and instead send players to spawn (stops hack abuse)
Changed AlwaysPvp to support new features better.
Now checking ItemAnimation for stuff.
Initial data structures for Server Side Inventory handling support.
2011-12-20 13:12:27 -05:00
Zidonuke
37692d0365 New "AlwayaPvp" system. Client controls its own pvp status completely and will refuse all damage attempts by players outside of pvp and if it's not set to pvp. Solution? Block all actions and wait for user to manually enable pvp. 2011-12-20 04:20:18 -05:00
Zidonuke
82fb69f9d4 Random Improvements and Fixes 2011-12-20 03:31:47 -05:00
Zidonuke
06b487393c Implement join/leave messages into TShock. 2011-12-20 01:00:21 -05:00
Zidonuke
29ac44117f Minor Fixed, Removed speedhack/teleport detection. 2011-12-20 00:00:13 -05:00
Zidonuke
8a62df9ebb Renamed Solution... I'm picky and its easier to track what VS Solution is open in the taskbar.
Removed old kick/ban system for griefing and hacks.
Cheating detection redone to stop inventory editors going above the normal limits.
Revamped KillTile abuse detection to be always on.
Removed old hacks/exploit detection for exploits fixed by Redigit properly.
Removed some permissions and added one for killtile abuse detection.
Removed old configurations that are not used anymore.
AntiHack/Protection System COMPLETELY revamped to properly block and revert all actions that are abusive.
Item Ban List is now the primary method to control various griefing items. To block Explosives or Sandguns or other items, use the Item Ban List.
Banned items are able to exist in your inventory but the server will ignore all attempts to use those items.
To protect against hack clients doing world edit type actions, use regions and spawn protection.
2011-12-19 23:52:26 -05:00
Deathmax
b0becb50d1 Dispose of log's streamwriter properly.
Fixes issues if TShock is reloaded.
2011-12-19 22:29:59 +08:00
Deathmax
c8c2307935 Allow users to disable hardmode from occurring. 2011-12-18 21:08:04 +08:00
Deathmax
b497183423 Allow admins to choose either or both IP or name bans to enforce 2011-12-18 20:36:03 +08:00
Deathmax
ed6aa9c07b Enable kicking proxy users as identified by the MaxMind GeoIP database. 2011-12-18 09:16:13 +08:00
Deathmax
b23b6789f2 Update to 1.1.1
Switch to v2 of the sqlite lib. v4 has a bug when run under .Net.
2011-12-16 09:02:59 +08:00
Deathmax
3f0d82e5be Don't place Log.Initialize inside the try-catch block 2011-12-15 21:08:57 +08:00
Deathmax
97b6f77383 Fix logs and configs not following -configpath param 2011-12-15 21:04:13 +08:00
Deathmax
480b58a47d Now Mono compatible
(You need sqlite3.dll from SqlBins if running on Windows and sqlite3.so if running on Linux)
2011-12-13 21:41:52 +08:00
Lucas Nicodemus
a418ada6f5 Added some config options for the unsafe fixes. 2011-12-11 10:58:55 -07:00
Zidonuke
1d40740bde Revert "Added Terrarianet.com server list scan bot support."
This reverts commit 4cb57d46f9.
2011-12-07 23:09:21 -05:00
Zidonuke
90faf80b4d Hopefully this will work... Terrarianet bot code. 2011-12-07 21:25:49 -05:00
Zidonuke
4cb57d46f9 Added Terrarianet.com server list scan bot support. 2011-12-07 20:38:03 -05:00
Lucas Nicodemus
ec78a4c748 Threaded the server stat tracking thingy.
Rockin' Server!
2011-12-05 22:56:03 -07:00
Lucas Nicodemus
b321a10be6 Put the stat tracker in a place where it isn't going to be deleted. 2011-12-05 16:41:25 -07:00
Lucas Nicodemus
9e36d17db1 Fixed stat log 2011-12-04 20:16:31 -07:00
Lucas Nicodemus
e90d4e8972 Added a basic mechanism for statistic tracking. 2011-12-04 17:57:55 -07:00
Deathmax
0740502068 Forgot to dispose projectile setdefaults 2011-12-04 17:39:58 +08:00
Deathmax
85123a4db3 Option to send player IPs to admins. 2011-12-04 17:38:30 +08:00
Deathmax
28c4f9ed9c Add DisableTombstones 2011-12-04 15:55:20 +08:00
Lucas Nicodemus
8514140ca7 As per High's complaining, holocaust against the Tools class (now Utils)
Plugin developers: You really need to change to reference this.
2011-12-01 23:24:02 -07:00
Lucas Nicodemus
d32d36b459 Re-enable REST 2011-12-01 22:51:22 -07:00
Lucas Nicodemus
1f19bb50c3 Removed some useless code. 2011-12-01 22:18:07 -07:00
Lucas Nicodemus
e44c8f5294 Minor changes 2011-12-01 22:17:07 -07:00
Deathmax
ac75b16889 Tick API version to 1.9 2011-12-02 12:04:09 +08:00
Rustam
60b089da49 Now it can connect to MySQL in Linux 2011-09-26 16:25:46 +04:00
high
b2f47f57ac Updated to new binary (with the api merged).
Removed System.Drawing dependency
2011-09-24 18:30:19 -04:00
high
a4176947ae Version Tick 3.3.3 2011-09-06 20:04:20 -04:00
high
839e308f5a Fixed -ip null reference 2011-09-06 18:26:05 -04:00
high
da91d56513 Fixed geoip crashing on startup if geoip.dat is missing. Also fixed it crashing if you enable it without restarting tshock. 2011-09-05 22:07:51 -04:00
high
f949738db9 Added config options for RestApi
-IP now changes RestApi listening ip.
2011-09-05 14:33:37 -04:00
high
07e88dc8a7 SafeSet/SafeGet replaced with this[] 2011-09-05 14:12:49 -04:00
high
a0da52e558 Removed error constructor. Added response property. 2011-09-05 14:05:16 -04:00
high
866a4c9932 Implemented RestObject to enforce status/error keys. 2011-09-05 13:59:07 -04:00
high
1fe7284f7c Added SecureRest which implements token requirement for commands. Still must implement a Verify function and probably change SecureRest around a bit. 2011-09-05 02:44:46 -04:00
high
7cfc219794 RestApi back to Rest, added separate RestManager field. 2011-09-05 01:17:54 -04:00
high
595efa4d41 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
Conflicts:
	TShockAPI/TShock.cs
2011-09-05 01:14:24 -04:00
high
f087ae5c83 IP/Port can now be changed before started.
RestVerbs added instead of Dictionary<string,string>
2011-09-05 01:11:08 -04:00
Lucas Nicodemus
d7012bd094 Reworked a lot of how REST works 2011-09-04 23:06:43 -06:00
high
d824e71507 Added rest {verb} support 2011-09-05 00:48:05 -04:00