Commit graph

59 commits

Author SHA1 Message Date
Lucas Nicodemus
a8e55d44e6 Added EnableAntiLag to ConfigFile.cs 2011-07-21 15:07:28 -06:00
Lucas Nicodemus
167c51d048 Removed spam on canbuild message. 2011-07-21 14:24:17 -06:00
Graham Cantin
9f6038205f * high6's amazing lag-destruction patch...
255 syncs per player? To quote sealab2021:
THERE CAN BE ONLY... NONE.
2011-07-21 09:03:38 -07:00
Lucas Nicodemus
9c76bae4b2 Adds custom ban reasons to config.json
Closes #246
2011-07-19 16:59:15 -06:00
Lucas Nicodemus
820b3c5c1f Removed debug message 2011-07-16 18:34:45 -06:00
Lucas Nicodemus
75e3e58c80 Regions WORK! 2011-07-16 18:01:18 -06:00
Lucas Nicodemus
a8d8dbf31d Debug stuff 2011-07-16 02:12:51 -06:00
Lucas Nicodemus
b98c84fa5b Attempting to fix region detection
Attempting to fix /protect
2011-07-15 22:56:51 -06:00
Lucas Nicodemus
741841028e Attempting to fix region protection 2011-07-15 21:26:28 -06:00
Deathmax
e6d612ea4b Don't kick a player if they destroy a chest that is client side only due to hitting the max number of chests. 2011-07-14 22:37:29 +08:00
Deathmax
9b2409c9b5 Use CanBuild instead of InProtectedRegionAndCantBuild 2011-07-14 22:31:48 +08:00
Lucas Nicodemus
f4b4d041d9 Adding more misc functions for future use. 2011-07-14 03:31:25 -06:00
high
6468ed7562 This is not C, stop doing return codes especially without doing an enum.
Databases can store other things besides strings.
If you do not like changes from this commit feel free to revert it. Just giving some last insight on this branch.
2011-07-13 14:14:39 -04:00
Lucas Nicodemus
fa41521986 Added hacky way of dealing with spammed build protection messages. 2011-07-11 23:19:05 -06:00
Twitchy
bccbf46164 Fix some merge errors 2011-07-12 15:54:40 +12:00
Twitchy
9cefc69075 Merge branch 'sql' of github.com:TShock/TShock into general-devel-sql (test) 2011-07-12 15:49:24 +12:00
high
b382125cc5 Removed mousefontchars, valid chars are 0x20-0xA9(32-169)
Added checking to player names too.
2011-07-09 10:00:00 -04:00
Twitchy
243b0297b9 Commands /region list and /warp list now work
Regions now use User ID's for /region allow (can be IP or Username/password based ID)
Minor Tweaks
A reset of your database is recommended
2011-07-09 20:41:31 +12:00
Deathmax
da9aac5d5b Kick/BanOnHardcoreDeath now only acts on hardcore players. 2011-07-09 11:10:52 +08:00
Deathmax
dc2ebf9087 fix copy paste fails 2011-07-09 08:07:28 +08:00
Deathmax
fe8223560c canbuild should revert client's view 2011-07-09 07:59:38 +08:00
Deathmax
811f7ab1dc Adds canbuild permission - requires permission to consider manipulating tiles.
Closes #221
2011-07-08 21:43:40 +08:00
Deathmax
cf7fd6da23 Ban/KickOnHardcoreOnlyDeath is now Ban/KickOnHardcoreDeath - Any hardcore deaths can be acted on.
Ban/KickOnHardcoreDeath will no longer trigger with a magic mirror.
2011-07-08 21:20:07 +08:00
high
07a758d0e6 Size changed from just 3 to <6. Chairs/Beds should be working now. 2011-07-07 22:42:22 -04:00
high
d689fac4ce Accept chair/bed frame changes. Should fix direction issue. 2011-07-07 22:00:50 -04:00
Deathmax
0024d8f791 Merge remote-tracking branch 'origin/general-devel' into general-devel-2 2011-07-03 14:12:55 +08:00
Deathmax
843d7b4469 Chest KillTile is now subject to region protection.
Non-working /buff
2011-07-03 14:12:09 +08:00
Twitchy
2a6454f60b Adds 1 sec delay between each notification of Area protected (no more spam) 2011-07-03 17:48:20 +12:00
high
a03ea5faa6 Should be >=, also always block it as otherwise it will crash. 2011-07-02 10:19:22 -04:00
Deathmax
2eb1084566 Some fix against Zidonuke's inventory out of bounds exploit. 2011-07-02 17:21:58 +08:00
high
91abde27d2 ConfigFile and ConfigurationManager merged into 1.
Check OnConfigRead for a list of variables that will now be updated when the config file is reloaded.
2011-07-01 13:19:16 -04:00
high
dcf67248f7 Moved unhandled exception logging to before saving the world. In case the world saving crashes.
Tidied some code.
New day, new version
2011-06-28 10:56:47 -04:00
high
923aa66694 Re-added null check. Removed bounds checks (not needed) 2011-06-28 10:41:09 -04:00
high
ae1e16de10 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-06-28 10:32:25 -04:00
high
03ed7b8d81 Merge branch 'master' of github.com:TShock/TShock into general-devel 2011-06-28 10:31:57 -04:00
Deathmax
a8da178987 Removed unnecessary checks 2011-06-28 18:28:29 +08:00
Deathmax
feb4754b14 Null and range check for HandlePlayerDamage. 2011-06-28 17:17:24 +08:00
high
23763fdce5 SendTileSquare now only accepts purification powder changes. 2011-06-27 05:12:27 -04:00
high
f3628eb522 Blocked SendTileSquare packet. Doors no longer use it. Chairs/Beds still use it but they seem to work without. 2011-06-26 00:10:13 -04:00
high
17cd6652d7 Renamed settings to start with a Capital letter
Removed config read on post init. Already read in SetupConfig which is called in Init
Added option to disable auto saving
2011-06-25 00:44:07 -04:00
high
1698404b30 Made SendData to specific players safe. 2011-06-24 18:11:33 -04:00
Deathmax
a0c71e7b30 /setspawn spawn shouldn't save into world file unless using /savespawn 2011-06-24 22:43:17 +08:00
Deathmax
1e66e1a256 Ban/kick on death if HardcoreOnly == true 2011-06-24 20:03:19 +08:00
Deathmax
d620493d7b Sandgun and Dirt Rod no longer triggers a Impossible to place block. 2011-06-24 19:27:49 +08:00
Deathmax
5dfc4f6e60 Added HardcoreOnly 2011-06-24 19:04:52 +08:00
high
ce02cd1401 Fixed names 2011-06-23 20:30:19 -04:00
high
177c3a1dfa Packet changes 2011-06-23 19:11:58 -04:00
Deathmax
4043b660f5 Prevent tile changes from 1 second after an explosive is thrown. 2011-06-23 20:46:24 +08:00
Deathmax
1f7d3eb5e6 Added DisableExplosives along with the permission useexplosives to bypass it. 2011-06-23 20:22:41 +08:00
Twitchy
c45696efb2 Changes region allow to use IP addresses rather than names. Cancels out name spoofing. 2011-06-23 16:11:58 +12:00