Commit graph

931 commits

Author SHA1 Message Date
Justin
926b8b1ac4 Merge remote-tracking branch 'tshock/general-devel' 2011-12-29 01:18:56 -07:00
Justin
6a8e80516b corrected chest protection 2011-12-29 01:18:24 -07:00
Zidonuke
6353f9c877 Fix anti dead protection, some item bans, and default configs. 2011-12-29 02:50:05 -05:00
Zidonuke
be20d07707 Implemented config for disabling account login at join. 2011-12-29 00:32:12 -05:00
Zidonuke
1671db928b Register command no longer has a username param.
Password checking fixed.
2011-12-29 00:14:57 -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
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
5619ae3660 Disabled region protection for chests by default, added config option. Thanks DarkunderdoG 2011-12-28 22:38:29 -05:00
Zidonuke
15816bc1ad Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-12-28 22:35:13 -05:00
Zidonuke
873cba84eb Implemented tileCut tiles bypass range check, Incorrect passwords now resend a better response. Thanks you IRC guys. 2011-12-28 22:34:59 -05:00
Deathmax
63259938f8 Update server binary
Fix linux paths.
Tile compression.
2011-12-29 11:33:34 +08:00
Zidonuke
b442e64c4b If nothing changed in a sendtilesquare, revert the client and fuck off. 2011-12-28 22:26:14 -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
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
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
054fc79f91 Fix chest duplication 2011-12-27 09:55:05 -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
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
Zidonuke
0cdafc0e81 Bug fix health stat storage in server side inventory mode. 2011-12-21 03:50:15 -05:00
Zidonuke
ddaf849ddf A special fix to the awesome Gravemind. Thank you. 2011-12-21 02:05:01 -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
d343983f2c Fix possible null references. Remove noclip check, I bypassed it in 5 seconds in zidomod... So useless 2011-12-20 19:59:55 -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
ed21c2e8a4 DERP 2011-12-20 13:34:08 -05:00
Zidonuke
9a45a9ab80 Quick fix to buff hack check. 2011-12-20 13:33:44 -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
7263ff3a9b Set player name 2011-12-20 04:50:38 -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
0ac0dd02f8 Improve max stack hack detection. Don't check for type == 0. Mostly caused by modified save files from inventory editing that don't reset stacks. 2011-12-20 02:41: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
7e3fd905da Don't send logs when player is immune is cheat detection 2011-12-19 22:54:50 +08:00
Deathmax
63acaac7ea Fix vile powder not working. 2011-12-19 19:39:10 +08:00
Luke
a88e731263 Fixed sendlog wording and increased dmg due to false positives. 2011-12-18 14:22:19 -06:00
Deathmax
db8e9da946 Up the projectile damage limits 2011-12-18 11:16:29 +08:00
Deathmax
fef958c619 Fix permissions problem with explosives 2011-12-18 10:25:32 +08:00