Commit graph

6396 commits

Author SHA1 Message Date
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
Stargazing Koishi
51ecef73a1
Optimize Linq
Co-authored-by: Arthri <41360489+Arthri@users.noreply.github.com>
2023-05-13 04:09:15 -07:00
SGKoishi
3d11d84d73
Fix dump-reference-data mutate command name 2023-05-13 03:56:07 -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
SGKoishi
823d942b47
Update changelog 2023-04-28 15:55:14 -07:00
Stargazing Koishi
f1b67f8602
Merge branch 'general-devel' into consistency-playeractive-patch 2023-04-28 15:53:43 -07: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
2fdf096ce8 Update changelog 2023-04-04 05:10:37 +02:00
punchready
b714ab18a5 Completely rewrite STR handling 2023-04-04 05:08:17 +02:00
Chris
2c06e2bdf5
Merge pull request #2892 from hufang360/patch-1
Update Utils.cs
2023-03-26 15:36:20 +10:30
Chris
9231b7d296
Merge branch 'general-devel' into patch-1 2023-03-25 17:22:09 +10:30
Chris
01b8e521f7
Merge pull request #2933 from punchready/patch-2
Update STR handling to reject for-sure invalid framing values
2023-03-25 16:52:51 +10:30
Chris
ec72f4957b
Merge branch 'general-devel' into patch-2 2023-03-25 16:45:45 +10:30
Chris
9e9996f902
Merge pull request #2888 from bcat/quickstack-rm-rangecheck
Remove unnecessary range check for quick stack
2023-03-25 16:45:13 +10:30
Chris
df04c81384
Merge branch 'general-devel' into quickstack-rm-rangecheck 2023-03-25 15:34:55 +10:30
Chris
20bb8c4eb5
Merge pull request #2894 from sgkoishi/saveonlyafterjoin
Add a check to InsertPlayerData to prevent data overwrite
2023-03-25 15:34:22 +10:30
Chris
ddc9d776fc
Merge branch 'general-devel' into saveonlyafterjoin 2023-03-25 15:20:32 +10:30
Chris
00a27d3c4c
Merge pull request #2920 from punchready/patch-1
Update definitions for Flower Boots to allow Ash Plants
2023-03-25 15:19:48 +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
Chris
91c37fa53b
Merge pull request #2932 from drunderscore/fix/inferno-potions-are-wack
Relax custom death message restrictions to allow Inferno potions in PvP
2023-03-25 15:08:26 +10:30
punchready
3f55a86589 Update changelog 2023-03-24 21:40:31 +01:00
punchready
5acc3afcb6 Update STR handling to reject for-sure invalid framing values 2023-03-24 21:39:24 +01:00
James Puleo
359fe8caf8
Update docs/changelog.md 2023-03-13 02:15:41 -04: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
Stargazing Koishi
1948ad3d2c
Update changelog.md 2023-03-09 21:01:09 -08:00
Jonathan Rascher
b833e48526 Remove unnecessary range check for quick stack 2023-03-09 21:55:52 -06:00
Lucas Nicodemus
69569a5be5
Added obvious warning about spamming github to code of conduct 2023-03-10 10:37:15 +09:00
Stargazing Koishi
10aca8573d
Remove Connection: Close for REST api
fix #2923
2023-03-07 18:39:38 -08:00
punchready
defbe5c34f
Update changelog 2023-02-28 22:09:36 +01:00
punchready
9a0269fb83
Update definitions for Flower Boots to allow Ash Plants 2023-02-28 22:05:25 +01:00
Cardinal System
510d696f16
New Crowdin updates (#2886)
* New translations template.pot (Portuguese, Brazilian)
[skip actions]

* New translations template.pot (Portuguese, Brazilian)
[skip actions]

* New translations template.pot (Chinese Simplified)
[skip actions]

* New translations template.pot (Chinese Simplified)
[skip actions]

* New translations template.pot (Chinese Simplified)
[skip actions]

* New translations template.pot (Chinese Simplified)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Chinese Simplified)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Turkish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]

* New translations template.pot (Spanish)
[skip actions]
2023-02-05 14:07:24 -08:00
Chris
07f173e698
Merge pull request #2909 from drunderscore/fix/pass-player-through-to-sync-tile-picking
Set the `GetDataHandledEventArgs.Player` property for the `SyncTilePicking` data handler
2023-02-03 20:55:56 +10:30
James Puleo
3f4dd7b4b5
Update docs/changelog.md 2023-01-29 20:53:26 -05: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
James Puleo
3776baaf12
Update docs/changelog.md 2022-12-20 22:40:43 -05:00
James Puleo
8b57f32125
Detect invalid TShock installations
There are two common mistakes made by those installing/updating TShock:
- Extracting TShock into the Terraria client directory
- Extracting TShock 5 or newer into a legacy (TShock 4 or older) install

By checking for the existence of a file named `TerrariaServer.exe`, we
can potentially detect these invalid installations, and prompt the user
with a more useful diagnostic, rather than (likely) crashing moments
later.
2022-12-20 22:35:22 -05:00
James Puleo
872b239b47
Seed initial group database with default and guest names from config
The `GroupManager` constructor ensures the structure of the `GroupList`
table, and if the table is newly-created, then some initial data is
seeded.

We previously used the names `default` to represent the group that
accounts are defaultly registered to, and `guest` to represent players
that have not logged in yet. We now instead refer to the group names
specified by the config (`DefaultRegistrationGroupName` and
`DefaultGuestGroupName` respectively)
2022-12-14 21:41:37 -05:00