Lucas Nicodemus
89b70f5612
Turn that stupid thing on by default.
2011-12-31 16:14:42 -07:00
Lucas Nicodemus
a8e93455c9
Add an event for PlayerInfo
2011-12-31 13:49:14 -07:00
Lucas Nicodemus
e52dba26f7
Add a hook for PlayerMana
...
Remove code dealing with sync players
2011-12-31 13:40:14 -07:00
Lucas Nicodemus
dff87a1749
Added some more hooks
2011-12-31 13:31:16 -07:00
Lucas Nicodemus
761b023907
Added a hook for when pvp is toggled.
2011-12-31 13:14:54 -07:00
high
e6c6768bcd
Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
...
Conflicts:
TShockAPI/GetDataHandlers.cs
2011-12-30 21:39:56 -05:00
high
5816b5badd
Added + operator to HandlerList<T>. Now it works just like events meaning you don't have to initialize it. Note that means you also cannot call 'Register' unless you create an instance first.
...
You can do 'TileEdit += HandlerList<TileEditEventArgs>.Create(test, priority, true);'. Which 'Create' takes the same parameters as Register.
Or if you don't need the parameters you can do 'TileEdit += test;'.
2011-12-30 21:36:40 -05:00
Lucas Nicodemus
4d5a0ed728
Added new REST function - /users/activelist - Gets the list of active, logged in user accounts, not player/character names.
2011-12-30 19:29:58 -07:00
high
6437d2a977
Added HandlerList.cs so that we can have prioritized event handlers also so you can easily register a handler and not have to put 'if (e.Handled) return;' at the top.
2011-12-30 20:32:03 -05:00
high
bf50a82cbd
Added handling to TileEdit event.
2011-12-30 19:19:48 -05:00
Lucas Nicodemus
4864bd94b8
Beginning work on adding Bukkit style event hooks.
2011-12-30 17:01:15 -07:00
Lucas Nicodemus
c6abbfe4d2
ReSharper code reformat to match naming conventions and stuff
2011-12-30 14:38:04 -07:00
Lucas Nicodemus
1147788154
ReSharper redundant code cleanup
2011-12-30 14:32:05 -07:00
Zidonuke
77d3ec431e
A deal for world edit client makers to use SendTileSquare.
2011-12-29 21:28:37 -05:00
Zidonuke
6aba5ca624
Redigit why is teleporting so hard.
2011-12-29 20:59:06 -05:00
Zidonuke
4d2639bb2a
Fix last pos at join. Reject all movement until server can verify the last position set.
2011-12-29 20:31:47 -05:00
Zidonuke
1e6c74ace0
Fix stuff with teleporting.
2011-12-29 20:23:58 -05:00
Zidonuke
d44920023b
Fix tileCut bypass
2011-12-29 20:08:54 -05:00
Zidonuke
a227369cdc
New visual feedback when disabled for security reasons.
2011-12-29 19:59:54 -05:00
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
d5affa3ba5
Fix projectile removal.
2011-12-29 18:53:27 -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
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