Lucas Nicodemus
d03e899452
dmg -> damage
2017-12-15 21:43:27 -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
82e2ecb662
Move OnItemDrop to Bouncer
2017-12-15 18:11:35 -07:00
Lucas Nicodemus
5cdb38675c
Move OnPlayerBuff logic to Bouncer
2017-12-15 17:51:16 -07:00
Lucas Nicodemus
c9955a74ec
Document OnChestItemChange
2017-12-15 12:14:10 -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
943f86615a
Move UpdateNPCHome to Bouncer
2017-12-14 20:46:26 -07:00
Lucas Nicodemus
be8cffddfd
Move OnChestOpen to Bouncer
2017-12-14 20:31:54 -07:00
Lucas Nicodemus
863fa706c2
Document OnPlaceChest in Bouncer
2017-12-14 20:28:50 -07:00
Lucas Nicodemus
d67d3e66a6
Merge branch 'general-devel' into fragments
2017-12-14 20:21:20 -07:00
Lucas Nicodemus
a6d1d9ab49
Update submodule; PacketTypes.TileKill -> PlaceChest
2017-12-14 20:19:53 -07:00
Lucas Nicodemus
6d7c8aa019
TileKill -> PlaceChest (hook changed, so did packet); +Bouncer
2017-12-14 20:13:25 -07:00
Lucas Nicodemus
9f8db96188
Make death in hardcore sting a little more
2017-12-14 09:18:44 -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
9d6de89a0b
Merge branch 'general-devel' into better-readme
2017-12-14 00:38:36 -07:00
Lucas Nicodemus
b6bc57745f
Alnitak is a star in the constellation Orion, part of Orion's Belt
2017-12-13 23:08:43 -07:00
Lucas Nicodemus
ffdcd34c91
Fix issue where setup system could re-enable itself
...
The current initial setup system would re-enable if setup.lock
was removed even if an account was in the database. This is
because when we switched to "owner" being the primary target
of the setup system, we failed to anticipate that an account with
superadmin would never exist in the database in an ideal
condition.
2017-12-13 22:45:41 -07:00
Lucas Nicodemus
8451ef9fb7
Switch the "auth system" to "initial system" everywhere.
...
This is better verbiage. If you think about it, you never really
want the "authentication system" to shut off. Doesn't that mean
that the server doesn't authenticate people anymore?
2017-12-13 22:38:44 -07:00
Ryozuki
0842ee5563
Merge branch 'general-devel' into sql_improve
2017-12-13 07:24:35 +01:00
Lucas Nicodemus
30c9f74ad3
Merge branch 'general-devel' into fragments
2017-12-12 03:19:34 -07:00
Lucas Nicodemus
65fd892091
Merge branch 'master' into general-devel
2017-12-12 03:02:00 -07:00
Lucas Nicodemus
9441f1882b
Verison Tick: 4.3.25
2017-12-12 02:57:41 -07:00
Lucas Nicodemus
98aa01c620
Add note about crash check & change reaosn on OnKillMe
2017-12-11 19:07:53 -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
3bed40ec65
Remove Utils.RestartServer (thanks @QuiCM!)
2017-12-11 16:01:09 -07:00
Lucas Nicodemus
b923f74782
Merge remote-tracking branch 'origin/general-devel' into fragments
2017-12-11 15:52:26 -07:00
Lucas Nicodemus
611fb6b418
Remove /restart command. Fixes #1454 .
2017-12-11 15:45:42 -07:00
Lucas Nicodemus
4ea7d10482
Remove stupid updates permission. Fixes #1540 .
2017-12-11 15:45:23 -07:00
Ryozuki
b392890551
update copyright notice
2017-12-11 23:09:07 +01:00
Lucas Nicodemus
903b5b124e
Remove more randomly commented out code with no apparent reason
2017-12-11 10:04:21 -07:00
Ryozuki
c1c5716006
update assembly company to Pryaxis
2017-12-11 16:26:19 +01:00
Lucas Nicodemus
5c9d2ed870
Simpler check (thanks @bartico6) on OPK's nullcheck.
2017-12-11 08:23:36 -07:00
Lucas Nicodemus
e19fd22fe0
Change Utils.SearchProjectile to return -1 in error
...
Thanks for checking this out, @bartico6. Fixes #1549 .
Note: this method only returns 1 because the game won't allocate
more identity/index combo. Apparently, according to RL.
2017-12-11 08:18:23 -07:00
Lucas Nicodemus
6ed110f862
Change a bounds check to handle a packet instead of letting it go.
...
This change reverts mod to line 1525 of GetDataHandlers.cs in
672d360e9d by Deathamx.
We couldn't think of a reason why a bounds check would ever return
false, thus not handling the packet and letting the server accept
it. Therefore, it's now true.
In the future, we need to document handling better.
2017-12-11 00:28:08 -07:00
Lucas Nicodemus
4b08d61673
Change null check to return true in HandlePlayerUpdate
...
After confirming with @QuiCM on this, we couldn't figure out why
this was set to false in the first place. As a result, we changed
it to true to conform with usual logic (bad stuff? reject it.).
2017-12-11 00:17:58 -07: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
1f79e14bd7
Make TShock pull OTAPI from the correct folder on build
2017-12-11 01:12:27 +01:00
Patrikk
740ad4d6c3
Add missing "if handled - return" code.
2017-12-10 20:14:54 +01:00
Lucas Nicodemus
2cfa633df4
Remove commented out code from HandleProjectileKill
2017-12-10 11:26:01 -07:00
Lucas Nicodemus
d3c566db83
Move a large majority of OnPlayerUpdate to Bouncer
...
I really really don't understand why we're doing Terraria's data
sync for them (see HandlePlayerUpdate). Someone know why?
2017-12-10 10:04:27 -07:00
Lucas Nicodemus
949d0e0ffa
More remove notes
2017-12-10 08:56:17 -07:00