Commit graph

175 commits

Author SHA1 Message Date
Chris
8a58530fdc
Merge branch 'general-devel' into checkspawn 2017-12-23 12:20:03 +10:30
Lucas Nicodemus
64241a44c7 Move TShock.CheckSpawn to Utils.IsInSpawn
Continuing in the quest to clean things out of the TShock main class,
this moves CheckSpawn out and renames it for clarity.
2017-12-21 19:54:14 -07:00
Lucas Nicodemus
ef1486b78c Move OnGetSection to Bouncer
Bonus: Introduces a new GetDataHandledEventArgs for use in events that
have players, data, and need to be handled.

I was originally going to modify GetDataHandlerArgs, but that comes from
the EventArgs class of args that isn't handled, and changing that to
extend HandledEventArgs would imply we care or check to see if those are
handled and we don't so we're stuck with this implementation for a
teenie tiny bit.
2017-12-21 18:49:29 -07:00
Chris
215970bab2
Merge branch 'general-devel' into checkignores 2017-12-21 13:28:06 +10:30
Chris
97f9de2e4e
Merge branch 'general-devel' into hook-init 2017-12-21 13:18:18 +10:30
Lucas Nicodemus
db633cfa9c Update changelog for command specifier in messages 2017-12-20 19:01:50 -07:00
Lucas Nicodemus
97f48d6d41 Renamed TSPlayer.CheckIgnores() -> TSPlayer.IsBeingDisabled()
Since all of the flags it was checking have been demystified, this
is pretty self explanatory now.
2017-12-20 17:42:59 -07:00
Lucas Nicodemus
d02aaea8e0 Update changelog with hook changes. 2017-12-20 12:38:06 -07:00
Lucas Nicodemus
cff91f39e8 Update the changelog 2017-12-16 01:18:22 -07:00
Lucas Nicodemus
9f7c3ead09 Add & move OnPlaceItemFrame to Bouncer 2017-12-15 23:15:43 -07:00
Lucas Nicodemus
748d7f7fab Move OnGemLockToggle -> Bouncer 2017-12-15 22:58:41 -07:00
Lucas Nicodemus
de017f2d41 Create & move OnPlaceTileEntity to Bouncer; fix unreachable code 2017-12-15 22:51:07 -07:00
Lucas Nicodemus
681f2a2432 Add & move OnMassWireOperation hook to Bouncer 2017-12-15 22:15:17 -07:00
Lucas Nicodemus
cdba07c62e Move OnPlayerAnimation to Bouncer 2017-12-15 21:50:20 -07:00
Lucas Nicodemus
007c685c19 Move OnNPCStrike to Bouncer 2017-12-15 21:42:20 -07:00
Lucas Nicodemus
e8a3f87e23 Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-15 19:28:12 -07:00
Lucas Nicodemus
81db59d864
Merge branch 'general-devel' into sql_improve 2017-12-15 18:38:25 -07:00
Lucas Nicodemus
01d865fddc Move OnPlayerDamage to Bouncer
Remove reference to PlayerDamage v1 hook
2017-12-15 18:27:55 -07:00
Lucas Nicodemus
5cdb38675c Move OnPlayerBuff logic to Bouncer 2017-12-15 17:51:16 -07:00
Lucas Nicodemus
845fc3b7c8 Move OnChestItemChange to Bouncer
Fix issue where TShock didn't properly do anti-cheat on chest
item changes.
2017-12-15 12:12:21 -07:00
Lucas Nicodemus
bcc1816071 Update changelog 2017-12-14 20:54:04 -07:00
Lucas Nicodemus
6d7c8aa019 TileKill -> PlaceChest (hook changed, so did packet); +Bouncer 2017-12-14 20:13:25 -07:00
Lucas Nicodemus
5f647f087c (Probably) fix invasions started by TShock being weird
TShock used to call the StartInvasion method in Main with a type
and a size, but then in some update it stopped taking a size. So
you have to change a field to change the size, but the problem is
that the field is reset when StartInavsion is called. This means
that any effort to manually change the size would have failed due
to the fact that the field is reset at the end. The order has been
changed to account for this.

In addition, the start size is now set, so the game can report
progress correctly on the current invasion.
2017-12-14 08:08:57 -07:00
Lucas Nicodemus
3f22c52698 Move StartInvasion() out of the TShock main class 2017-12-14 07:56:41 -07:00
Lucas Nicodemus
5cd5bdaaa0 Move OnLiquidSet to Bouncer 2017-12-14 07:46:29 -07:00
Lucas Nicodemus
2f4b1a5bfc Merge branch 'general-devel' into fragments 2017-12-14 07:06:31 -07:00
Lucas Nicodemus
868a3fac21 Merge branch 'general-devel' into fragments 2017-12-14 00:18:18 -07:00
Lucas Nicodemus
0826a37fe8 Update changelog 2017-12-13 22:41:00 -07:00
Ryozuki
0842ee5563
Merge branch 'general-devel' into sql_improve 2017-12-13 07:24:35 +01:00
Lucas Nicodemus
74eb680bff Really update the changelog properly this time 2017-12-12 03:31:05 -07:00
Lucas Nicodemus
30c9f74ad3 Merge branch 'general-devel' into fragments 2017-12-12 03:19:34 -07:00
Lucas Nicodemus
270cc4c481 Update changelog for critical crash fix 2017-12-12 03:18:44 -07:00
Lucas Nicodemus
b808ad8e4c Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-11 16:28:20 -07:00
Lucas Nicodemus
69eda3d38e Remove server restart rest routes 2017-12-11 16:09:03 -07:00
Lucas Nicodemus
b923f74782 Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-11 15:52:26 -07:00
Lucas Nicodemus
9cf949cc60 Update changelog 2017-12-11 15:47:05 -07:00
Ryozuki
bbabec6003 update changelog 2017-12-11 16:29:37 +01:00
Lucas Nicodemus
9b8aaceb12 Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-10 23:45:03 -07:00
Lucas Nicodemus
ba851d3570 Remove TShock.CheckProjectilePermission
Add TSPlayer.HasProjectilePermission() and its inverse:
	TSPlayer.LacksProjectilePermission()
2017-12-10 23:38:03 -07:00
Lucas Nicodemus
c5f9a51802 Move most of HandleProjectileKill to Bouncer
Added GetDataHandlers.ProjectileKill hook and related arguments.
Fired when a projectile kill packet is accepted by the server.
2017-12-10 23:07:17 -07:00
quake1337
a5e196178e Add credit 2017-12-11 01:16:10 +01:00
Patrikk
6f044b2123 Adding missing Changelog. 2017-12-10 20:37:59 +01:00
Ryozuki
7d98e3db77 update changelog 2017-12-10 09:39:20 +01:00
Lucas Nicodemus
3e5c1bf0c5 Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-09 21:06:47 -07:00
Chris
ba31d1faab
Merge branch 'general-devel' into fix-permdump 2017-12-10 14:24:27 +10:30
Chris
078bd15300
Merge branch 'general-devel' into cmdline-fix 2017-12-10 14:12:58 +10:30
Lucas Nicodemus
434e817b68
Merge branch 'general-devel' into fix-permdump 2017-12-09 19:29:34 -07:00
Zaicon
82f53addd7
Update CHANGELOG.md 2017-12-09 20:12:12 -06:00
Lucas Nicodemus
aa2f040787 Change command /datadump to /dump-reference-data 2017-12-09 16:03:12 -07:00
Lucas Nicodemus
419b5415da Updated the changelog 2017-12-09 15:57:57 -07:00