Commit graph

3694 commits

Author SHA1 Message Date
moisterrific
6007edeb77
Fix BoC false positive kick in NPCAddBuffTimeMax
360 ticks = 6 seconds, according to the wiki, the max possible duration is proportional to dmg taken, so 7.5 seconds would be the max duration (aka 450 ticks)
2020-02-07 16:14:27 -05:00
moisterrific
f50aba8ba6
Fix for Vortex armor set stealth flicker bug
tests on my end showed it fixed, plz confirm as well
2020-01-10 17:55:49 -05:00
Chris
e3bac1871a
Update Bouncer.cs
Removes double occurrence of daybreak buff from dictionary.
Thanks for pointing this out @AxeelAnder
2019-07-18 13:54:20 +00:00
Chris
ad28771e2c Update players when they die to hopefully stop their items floating at their grave 2019-03-30 16:31:20 +10:30
Chris
34a4ef3b7d Remove healing when disabled 2019-03-30 16:25:30 +10:30
Chris
29fb74e578 Add a check for NPC Item strike packets (solves #1651) 2019-03-30 16:02:50 +10:30
Chris
1dc320dbae Update to Newtonsoft JSON v10.0.3 for parity with OTAPI/TSAPI 2019-03-30 15:47:14 +10:30
Chris
42fb0b10f4 Add bounds checking for packet 51, type = 4 2019-03-30 15:46:46 +10:30
Chris
ac02468038 Update dead packets 2019-03-30 15:09:40 +10:30
Lucas Nicodemus
60f0c3c9df
Merge branch 'general-devel' into backport-verison-tick 2019-03-29 20:45:16 -07:00
Lucas Nicodemus
f30f44d00d
Merge branch 'general-devel' into backport-verison-tick 2019-03-29 20:41:51 -07:00
Chris
9b75342bff
Merge branch 'general-devel' into player-data 2019-03-30 13:58:19 +10:30
Chris
f3627bb45a
Merge branch 'general-devel' into fix-1653 2019-03-30 13:52:25 +10:30
Chris
1ae2e34128
Merge branch 'general-devel' into player-data 2019-03-30 13:47:33 +10:30
Chris
76eeab1090
Merge branch 'general-devel' into fix-1653 2019-03-30 13:46:12 +10:30
Chris
429a5051fd
Merge branch 'general-devel' into general-devel 2019-03-30 13:36:28 +10:30
Lucas Nicodemus
6fce167c10 Verison Tick: TShock 4.3.26 2019-03-29 17:51:35 -07:00
Lucas Nicodemus
fec0d80be6 Verison Tick: TShock 4.3.26 2019-03-29 17:47:17 -07:00
Lucas Nicodemus
f3e33b7ad7 Remove the stat tracker
The stat tracker has been offline for the last several weeks/months and
nobody has done anything to fix that. Because of that, GDPR, and the
fact that we haven't used it, we're discarding it.
2019-03-29 17:46:44 -07:00
Lucas Nicodemus
79f142f908 Change current TShock codename to "Zombie"
This change incorporates feedback from #1661 which indicates
that we should update the source code when changing copyright
dates.
2019-03-29 17:27:34 -07:00
Lucas Nicodemus
70dd72443d Update copyright to 2019 again
Fixes #1658, most likely.
2019-03-29 17:16:37 -07:00
Tyson Strange
6315086cb1 Added to Bouncer NPCAddBuffTimeMax for Solar Eruption Item ID: 3473, Daybreak Item ID: 3543 2019-02-03 17:41:23 +10:00
Tyson Strange
12c34256ac Added confused debuff for Brain of Confusion 2019-02-03 15:56:43 +10:00
Tyson Strange
2440e044b1 Added confused debuff for Brain of Confusion 2019-02-03 15:55:19 +10:00
Chris
550967b430
Merge branch 'general-devel' into player-data 2018-12-24 13:57:10 +10:30
Chris
9975c445f8
Proposed fix for #1653 - Testing required
From #1653:
>From latest version (2301)
If a player puts on a banned peice of armour, they get the message to say "You are wearing banned equipment"
After they take it off, the messages stop, but they keep getting disabled.
Solution:
Approx line 1131 in tShock.cs on `OnSecondUpdate` the `tsplayer.IsDisabledForBannedWearable` gets set to true, but it never gets set to false.
Change:
```csharp
if (check != "none")
player.IsDisabledForBannedWearable = true;
```
>To:
```csharp
if (check != "none")
player.IsDisabledForBannedWearable = true;
else
player.IsDisabledForBannedWearable = false;
```

Requires testing
2018-12-24 13:54:39 +10:30
AxeelAnder
eae1ba5a5c concrete reason when create banned projectile 2018-10-31 18:02:53 +08:00
AxeelAnder
210c95e5b1 sorted Bouncer and GetDataHandlers, ordered by packet type enum value 2018-10-26 14:06:46 +08:00
AxeelAnder
b2033d9eac update changelog 2018-10-25 22:10:33 +08:00
AxeelAnder
124ca19393 Merge branch 'player-zone' of https://github.com/AxeelAnder/TShock into player-zone 2018-10-24 15:58:55 +08:00
AxeelAnder
42e413012d added filter: only check when zones contains towers 2018-10-24 15:56:24 +08:00
Axeel
2332861cc8
Merge branch 'general-devel' into player-zone 2018-10-23 17:58:02 +08:00
AxeelAnder
2ea9a0161b added PlayerZone handler and bouncer, detect lunar towers cheat 2018-10-23 17:22:59 +08:00
Enerdy
f6590ab509 Merge branch 'general-devel' of https://github.com/Pryaxis/TShock into improve-config-doc 2018-10-21 19:54:21 +01:00
Enerdy
447d801dbc Clean up xml comments and descriptions in ConfigFile.cs
Remove property name from start of xml comments
xml comments now almost always match the property's description
Improve grammar in both comments and descriptions overall
2018-10-21 19:52:46 +01:00
AxeelAnder
f715d91dc6 disable -> kick 2018-10-21 11:01:08 +08:00
Lucas Nicodemus
e9372be276 Rename cheat var to detectedNPCBuffTimeCheat. 2018-10-20 09:14:38 -07:00
AxeelAnder
6efa0d2bb6 better code 2018-10-20 20:21:18 +08:00
AxeelAnder
b9dedd77dc add some anti-cheat code 2018-10-20 18:39:24 +08:00
AxeelAnder
fc38521dbd add NPCAddBuff bouncer 2018-10-20 18:39:07 +08:00
AxeelAnder
87915b70b0 add ignoreNpcAddBuffPermission 2018-10-20 18:38:44 +08:00
AxeelAnder
6b8f346868 add NPCAddBuff GetDataHandler 2018-10-20 18:29:11 +08:00
Enerdy
f5ccf925bd Logout players when their user account is removed 2018-10-15 14:33:32 +01:00
Lucas Nicodemus
2a5e19da39
Merge branch 'general-devel' into player-data 2018-10-02 20:37:56 -07:00
Chris Nord
207925ddf1 Update Manager now uses TLS.
Solves issue #1633
2018-10-02 16:35:46 -07:00
Ruby Rose
4df8a6f38f add another case to the exception message regex 2018-09-23 14:29:59 +03:00
Lucas Nicodemus
16ec98f684
Merge branch 'general-devel' into player-data 2018-06-08 09:50:15 -06:00
Chris
b70ecb5bc3
Merge branch 'general-devel' into fix-time 2018-05-29 02:31:11 +00:00
Chris
1de7b08486
Merge branch 'general-devel' into banbanban 2018-05-29 02:26:06 +00:00
Hussein Farran
851cc7b34c
Merge branch 'general-devel' into fix-time 2018-05-28 21:25:46 -04:00