Commit graph

168 commits

Author SHA1 Message Date
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
Deathmax
beae9a55a2 Warn THEN kick. 2011-12-18 09:31:36 +08:00
Deathmax
542fe11c1a reduce damage 2011-12-18 09:27:17 +08:00
Deathmax
6068eaac5f Check projectile damage
Zidomod loves 99999999 damage
2011-12-18 09:26:13 +08:00
Deathmax
f4c16e3301 Read the code next time
Duplicate code
2011-12-18 09:22:04 +08:00
Deathmax
2c50598ac9 Needs to return true when tile explosives are detected 2011-12-18 09:19:05 +08:00
Deathmax
05bfd62388 Fix items not dropping
Item bans are now checks when dropping as well
2011-12-18 09:13:46 +08:00
Deathmax
9cee83660f Limit explosive tiles 2011-12-18 08:59:40 +08:00
Deathmax
348685bb2a Do not allow users to drop larger than max stacks if max stack check is enabled. 2011-12-18 08:40:39 +08:00
Deathmax
c6e19c6658 Scan up to slot 48 (mouse item) for bucket 2011-12-18 07:34:28 +08:00
Deathmax
045eddfcdc Fix explosives not being disabled 2011-12-17 22:27:14 +08:00
Deathmax
7a1ea99ea8 Fix Purification Powder not working on ebonsand 2011-12-17 09:45:04 +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
075a909e0a Add tile protection to SendTileSquare 2011-12-12 21:33:04 +08:00