Commit graph

514 commits

Author SHA1 Message Date
Zidonuke
e8a4cb6ae9 Players who get disabled by internal anti spam and anti banned item checks will now get visual debuffs lasting 5 seconds. Note client can't bypass already, server drops many packets for the wait period. 2011-12-29 19:32:28 -05:00
Zidonuke
2367598945 Fix Console Spam with group names 2011-12-29 16:17:19 -05:00
Zidonuke
021728525d Improved server side inventory handling
Allowed item bans to effect armor worn, YAY FOR RP SERVERS
2011-12-29 15:58:31 -05:00
Zidonuke
59e595c812 Hotfix console command handling. 2011-12-29 15:05:49 -05:00
Zidonuke
6353f9c877 Fix anti dead protection, some item bans, and default configs. 2011-12-29 02:50:05 -05:00
Zidonuke
b9a8fdf891 Quick fixes 2011-12-29 02:16:45 -05:00
Zidonuke
8523df9308 NoClip system now uses Terraria's Collision class, much better so far. Last position reverting fixed. Fully tested, only 1% false positives. 2011-12-29 00:03:03 -05:00
Zidonuke
5600931237 Fix collision check to use same code as Spawn() 2011-12-28 23:33:57 -05:00
Zidonuke
8521241ab7 Fix slots bug 2011-12-28 23:12:05 -05:00
Zidonuke
3350418f5d Protect server from dead players until they tell us they respawned. ForceRespawn will spam client until they notify us of a respawn. Prevents silly people from exploiting in dead. 2011-12-28 22:57:41 -05:00
Zidonuke
24431017e6 Max Stack and Stat Hack detection permissions implemented. 2011-12-28 21:10:59 -05:00
Zidonuke
34efba9c1f Changed hack detection to allow future permissions overrides, now prevents hack clients modding max hp while online. 2011-12-28 21:03:29 -05:00
Zidonuke
456a7eb4bc Move some code, now reserved slots should work with user accounts. 2011-12-28 20:49:08 -05:00
Zidonuke
da5de78155 Server password in tshock now, you can login with your account password now 2011-12-28 20:40:25 -05:00
Zidonuke
b353f62336 Prepare new handlers 2011-12-28 17:43:01 -05:00
Zidonuke
37c550c167 Server passwords are disabled, moving this to TShock handling soon.
Change stat tracker mono detection
Fixed collision check to ignore tileSolidTop
2011-12-28 10:56:45 -05:00
Zack Piispanen
4c468b7f3c Item bans now have a group component. Adding a group to an item ban will allow that group to use the item.
Also fixed chests/items in chests being null when we truncate stack sizes.

Added code to let anyone with manageregion permission to modify regions...make sense.
2011-12-27 19:14:42 -05:00
Zidonuke
14e2d8ca46 Add max range for being restricted
Change max reserved slots to 20
2011-12-27 14:53:55 -05:00
Zidonuke
31c4e1a37b Changed stack hack handling. 2011-12-27 14:47:31 -05:00
Zidonuke
0763dce4e6 Health and Mana hacks now kick, since there is no option for recovery. 2011-12-27 14:40:40 -05:00
Zidonuke
e0fac202af Stop using backup manager for database saves. 2011-12-27 14:17:14 -05:00
Zidonuke
d01426e2b1 New anti spam for liquids and projectiles
Revamped anti spam systems
New liquid security
2011-12-27 14:06:06 -05:00
Zidonuke
c11b944735 Invisibility Potions are now item banable.
New noclip detection, has ignore permission.
2011-12-27 13:26:37 -05:00
Zidonuke
40973abb3f Add require login config 2011-12-27 12:42:53 -05:00
Zidonuke
5c6d03f9af Improved spam detection for create and kill tiles.
Improved item use blocking with banned items.
Reserved slots should work now to 5 slots above max.
2011-12-27 12:02:07 -05:00
Zidonuke
768e5c13af Repair chest stacks on postinit. 2011-12-27 11:11:59 -05:00
Zidonuke
9a4a77dfcc Force time config. 2011-12-27 10:06:34 -05:00
Zidonuke
7fe6cde2d9 Remove mana checks from server side inventory, it's not synced by redigit's client properly. 2011-12-25 10:45:28 -05:00
darkunderdog
1aed7f4bdb Added /mute command - requires mute permission 2011-12-24 08:35:08 -06:00
darkunderdog
636ddb2aba updated chatformat to include groupname 2011-12-22 20:44:49 -06:00
Zidonuke
e0094ae642 Chat format is configurable now. 2011-12-22 17:46:55 -05:00
Zidonuke
33d304a4fa Finish new prefix and suffix system for groups.
Removed admin chat stuff and will now use prefix/suffix's
2011-12-22 17:41:47 -05:00
Zidonuke
8cf298ad85 Save player data on backups
Server Side Inventory security improvements, blocking trashcan and "banks" items
CovertCorruption is now more thorough.
PvP Modes, normal, always, disabled now configurable
Initial group prefix/suffix implementation
Range checks reworked, Killing ice blocks now ignored for ice rod.
Adding a NPC name to item banlist will block it from spawning
Added configs to disable snowballs and clown bombs from npcs.
2011-12-22 17:32:51 -05:00
Zidonuke
fc735ba829 Player count stuffs 2011-12-22 15:25:40 -05:00
Lucas Nicodemus
26afe92648 Hark 2011-12-22 12:16:19 -07:00
Graham Cantin
a35dfcc1db Fixes up Deathmax's Commit:b4971834238387d1cca96eea01f48fca51b0ba35
Adds some more/saner config descriptions while I'm at it.
Bumped version tick to 1222.
2011-12-22 01:27:36 -08:00
Lucas Nicodemus
5d3f5eed90 GeoIP dispose fix 2011-12-21 13:09:28 -07:00
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