Arthri
ad36e7eeb6
Add permission for Moondial and unrecognized SFX
2024-04-09 03:43:27 +00:00
Chris
3e64a9b82b
Merge branch 'general-devel' into patch-1
2023-08-15 19:17:35 +09:30
Stargazing Koishi
f66ad72e2c
Update TShockAPI/Commands.cs
...
Co-authored-by: punchready <22683812+punchready@users.noreply.github.com>
2023-06-11 22:20:48 -07:00
SGKoishi
5bcde689d4
Fix a typo in gbuff
2023-06-11 22:11:20 -07:00
punchready
149ca8a70c
Remove duplicate conversion spread matching
2023-06-07 03:05:10 +02:00
punchready
07bf66f072
Fix MatchPlacement allowing auto breakable tiles
2023-06-06 13:25:03 +02:00
Chris
d15b25aa06
Merge branch 'general-devel' into patch-1
2023-06-06 20:45:57 +09:30
Chris
cfccc3a871
Merge branch 'general-devel' into patch-1
2023-06-06 20:42:37 +09:30
AkjaHAsLk1IALk0MasH
4d92f11cc8
Added the TSPlayer.Hostile property.
...
It gets `TPlayer.hostile`.
I also wanted to add the ability to change `TPlayer.hostile`, but noticed a property `TSPlayer.Team`. You can only use the `TSPlayer.SetTeam` method to change it. So it's exactly the same here: You can use the method `TSPlayer.SetPvP` (By the way, it should be renamed to `TSPlayer.SetHostile`)
2023-05-14 09:56:47 +07:00
AkjaHAsLk1IALk0MasH
2f7514c0ef
Added an overload for TSPlayer.GiveItem
...
Added `TShockAPI.NetItem` structure to the parameters.
2023-05-14 09:43:18 +07:00
AkjaHAsLk1IALk0MasH
3d585d4d69
Added the UpdateSection method.
...
I described its action in the comments.
2023-05-14 09:38:35 +07:00
AkjaHAsLk1IALk0MasH
d9352d6902
Added an exception that occurs when the developer changes team.
2023-05-14 09:23:42 +07:00
AkjaHAsLk1IALk0MasH
3647bbaf54
Added a reason for the KillPlayer and DamagePlayer methods.
...
Added overloads that have a cause in the parameters (`PlayerDeathReason`)
2023-05-14 09:20:20 +07:00
AkjaHAsLk1IALk0MasH
fa9e4419bd
Added documentation to the withMsg parameter in the SetPvP method.
2023-05-14 09:16:14 +07:00
AkjaHAsLk1IALk0MasH
c047b0e87d
Added the Client property.
...
The `Client` property gets data from the array `Terraria.Netplay.Clients`.
2023-05-14 09:14:43 +07:00
AkjaHAsLk1IALk0MasH
6d4682ed7e
Updated the GodMode field.
...
* Changed the GodMode field to a property that is controlled by the journey mode.
- Removed the call to godmode in `Commands.ToggleGodMode`.
2023-05-14 09:11:18 +07:00
Lucas Nicodemus
c67d5cf152
Version tick: 5.2
2023-05-10 01:51:05 -04:00
punchready
0dd15277e4
Remove old STR handler
2023-05-09 12:41:54 +02:00
punchready
b57eb91230
Rewrite conversion spread handling to be much more accurate
2023-04-05 06:44:21 +02:00
punchready
c309990f94
Fix LunarMonolith toggling
2023-04-05 06:43:47 +02:00
punchready
d0409db5fb
Never send back too large tile rects in handling
2023-04-04 06:16:44 +02:00
punchready
26482da23f
Remove frame ignoring from tile rect placement operations
2023-04-04 06:02:55 +02:00
punchready
3302b4653e
Update STR checks to be even more strict
2023-04-04 05:51:53 +02:00
punchready
b714ab18a5
Completely rewrite STR handling
2023-04-04 05:08:17 +02:00
Chris
9231b7d296
Merge branch 'general-devel' into patch-1
2023-03-25 17:22:09 +10:30
Chris
ec72f4957b
Merge branch 'general-devel' into patch-2
2023-03-25 16:45:45 +10:30
Chris
df04c81384
Merge branch 'general-devel' into quickstack-rm-rangecheck
2023-03-25 15:34:55 +10:30
Chris
ddc9d776fc
Merge branch 'general-devel' into saveonlyafterjoin
2023-03-25 15:20:32 +10:30
Chris
a90791db84
Merge branch 'general-devel' into patch-1
2023-03-25 15:15:05 +10:30
Chris
f0c3f51ac7
Merge branch 'general-devel' into saveonlyafterjoin
2023-03-25 15:14:34 +10:30
Chris
4daf093f07
Merge branch 'general-devel' into patch-1
2023-03-25 15:12:28 +10:30
punchready
5acc3afcb6
Update STR handling to reject for-sure invalid framing values
2023-03-24 21:39:24 +01:00
James Puleo
7b7de04a7f
Relax custom death message restrictions to allow Inferno potions in PvP
...
For some reason, Inferno potions do PvP damage without specifying the
source player in the `PlayerDeathReason` -- so special-case the only
identifying information being the other index value of `16`.
2023-03-13 02:15:04 -04:00
Jonathan Rascher
b833e48526
Remove unnecessary range check for quick stack
2023-03-09 21:55:52 -06:00
punchready
9a0269fb83
Update definitions for Flower Boots to allow Ash Plants
2023-02-28 22:05:25 +01:00
James Puleo
f7ea471968
Set the GetDataHandledEventArgs.Player property for pick sync handler
2023-01-29 20:50:36 -05:00
Stargazing Koishi
fc4c509285
Add a check to InsertPlayerData to prevent data overwrite
2023-01-11 02:23:01 -08:00
hufang360
2f7a807201
Update Utils.cs
...
Item stack can be 9999.
2023-01-09 10:56:17 +08:00
Stargazing Koishi
104598394b
Merge branch 'general-devel' into tileconv
2022-12-10 21:37:52 +00:00
SGKoishi
656a6a49be
Exclude unused fields, allow tileMoss, SandSpray and SnowSpray
2022-12-10 13:36:13 -08:00
James Puleo
794bff5ef7
Initialize achievements and the AchievementManager on the server
...
The `AchievementTagHandler` expects `Main.Achievements` to be non-null,
which is not normally the case on dedicated servers. When trying to
parse an achievement chat tag, it will instead throw.
The tag is parsed when calling `ChatManager.ParseMessage`, which is used
in TShock when writing chat messages to the console. Our `OnChat`
handler uses `Utils.Broadcast`, which will send the message to all
connected clients, write the message to the console and the log. Due to
the order of execution, the message ends up being sent to all connected
clients, but throws whilst trying to write to the console, and never
gets written to the log.
To solve the issue, we make achievements available on the server,
allowing the tag handler to work as expected, and even allowing the
localization of achievements names to appear in the console.
2022-12-05 23:24:58 -08:00
ATFGK
e46bbe99c0
Pvp with no team ( #2851 )
...
* Update TShockConfig.cs
* Update TShock.cs
* Update GetDataHandlers.cs
* Update changelog.md
* Update GetDataHandlers.cs
* Update changelog.md
* Update changelog.md
* Update changelog.md
2022-12-05 22:27:42 -08:00
ATFGK
95d157fd5d
Fix Terra Blade triggered MaxProjDamage, other net changes ( #2852 )
...
* update
* update
* update
* Update changelog.md
* Update changelog.md
Fixed syntax errors.
* Update SpawnMsg.cs
Use insteadUpperCamelCase
* Update changelog.md
* Update TSPlayer.cs
* Update TSPlayer.cs
Missing letters due to input method problems.
* Update `docs/changelog.md`
Co-authored-by: James Puleo <james@jame.xyz>
2022-12-05 21:45:37 -08:00
Lucas Nicodemus
2606805073
Merge remote-tracking branch 'drunderscore/fix/whitelist-more-buffs' into general-devel
2022-12-05 21:40:10 -08:00
James Puleo
88c639c115
Whitelist the Mighty Wind (WindPushed) buff
...
This is applied by sandstorm events.
2022-12-02 13:24:04 -05:00
James Puleo
ae3c9654ad
Increase whitelisted duration of the Hellfire (OnFire3) buff
...
From 5 seconds to 6 seconds, as the Brand of the Inferno will apply this
buff for a maximum of 6 seconds.
2022-12-02 13:23:34 -05:00
SGKoishi
fa08859952
Group checks by item type instead of liquid type
2022-11-28 00:57:53 -08:00
SGKoishi
49921cb7ed
Move permission check together
2022-11-28 00:56:02 -08:00
SGKoishi
ac7ee7e706
Extract common condition
2022-11-28 00:50:45 -08:00
SGKoishi
62e6aaa826
Use single reject to reduce code
2022-11-28 00:49:46 -08:00