Lucas Nicodemus
b322c4c1e0
Replace references to Main.max*whatever*count
...
All of the Main.maxwhatever fields have been replaced with
Terraria.ID.WhateverID.Count fields.
2022-11-09 22:53:29 -08:00
SGKoishi
34886864ec
Update HandleSpawnBoss
...
Apply permission restriction to Mechdusa, Deerclops, and slime pet
2022-11-07 11:42:26 -08:00
Stargazing Koishi
51a8ee8672
Merge branch 'general-devel' into pr2811
2022-11-07 11:38:21 -08:00
Lucas Nicodemus
842f8c0108
Merge remote-tracking branch 'drunderscore/fix/allow-surly-slime-to-be-fished' into general-devel
2022-11-06 23:03:48 -08:00
SGKoishi
bd70495774
Allow Torch God's Facor to place biome torch and campfire
2022-11-06 11:45:02 -08:00
SGKoishi
863d51ad27
Add missing string
2022-11-04 20:46:53 -07:00
SGKoishi
770b177426
Rewording update
2022-11-04 20:40:07 -07:00
SGKoishi
01e289e6ac
Fix #2800
2022-11-04 20:01:24 -07:00
James Puleo
1e432cd43b
Add TownSlimeRed to FishableNpcIDs list, allowing it to be fished up
2022-11-03 03:17:45 -04:00
SGKoishi
4eba2b1765
Fix a startup crash
2022-11-02 15:12:54 -07:00
SGKoishi
f57d03ab61
Use actual name instead of Reflecrtion
2022-11-02 14:57:21 -07:00
SGKoishi
1ee8058776
Use same logic for all GetByNameOrId
...
NPC, Item, Prefix, Buff
2022-11-02 14:40:59 -07:00
SGKoishi
fde43a7730
More i18n
...
Strings for player kick/ban, anti-cheating and server logs
2022-11-02 13:42:52 -07:00
punchready
4f22d6a11e
Fix item giving
...
Previously this would potentially drop too many items on the ground if the inventory doesn't have enough free slots.
2022-11-01 01:29:46 +01:00
Lucas Nicodemus
1baad06484
Version tick: 5.0.0
2022-10-31 16:51:05 -07:00
Lucas Nicodemus
61e36d0abd
Move GiveItemsDirectly config item to tshock config
...
Due to an issue that stops the SSC config persister thing from working,
I moved the config item that's new back to the config file. I tried
applying the patches from
https://github.com/Pryaxis/TShock/pull/2354/commits but these didn't
actually resolve the issue. I'm keeping the commits here but I'm not
sure they help.
The core problem is this: if you add a new config file item to the ssc
config, the ssc config is overwritten with the default config items
instead of being merged automatically with the new items. This is a
critical issue as it means that SSC is disabled on all servers that had
it enabled and results in "data misplacement" which is alarming enough
to cause users to think they had data loss, which is not ideal.
Until the issue with the SSC config is resolved, I'm not willing or
confident to change it.
2022-10-31 16:18:39 -07:00
Chris
05fe6c905f
Add a little more info to config method descriptions
2022-10-31 16:04:27 -07:00
Chris
53213345b0
Add upgrade to SSC config so we don't overwrite ssc configs anymore
2022-10-31 16:04:20 -07:00
Lucas Nicodemus
46001c5be1
Merge remote-tracking branch 'sgk/general-devel' into general-devel
2022-10-31 15:33:36 -07:00
SGKoishi
65e93b7c17
Show buff time in the log
2022-10-31 14:33:05 -07:00
Stargazing Koishi
e72896490d
Hide command args when not DoLog
...
resolves #2779
2022-10-31 14:18:26 -07:00
SGKoishi
03f3b4005a
Fix i18n not calling actual method
2022-10-28 22:47:21 -07:00
Lucas Nicodemus
9503c4b6c7
Merge remote-tracking branch 'hufang360/general-devel' into general-devel
2022-10-28 17:34:56 -07:00
Lucas Nicodemus
9f7a8aa05b
Merge remote-tracking branch 'kawaiiyuyu/lang' into general-devel
2022-10-28 17:34:38 -07:00
Lucas Nicodemus
1b3a3d6cc4
Merge remote-tracking branch 'pontaoski/work/janb/give-direct' into general-devel
2022-10-28 17:34:19 -07:00
SGKoishi
6c3415d86b
Minor i18n fix with interpolation
...
The extractor handle the concatenate incorrectly
2022-10-28 14:01:20 -07:00
Janet Blackquill
7198a47e82
Add ability for items given to players to be inserted directly into their inventory instead of spawned as an item drop
2022-10-28 15:04:53 -04:00
hufang360
d5c7ad65e4
Merge branch 'general-devel' into general-devel
2022-10-29 00:31:28 +08:00
結柚
0c017ee7ac
Merge branch 'general-devel' into lang
2022-10-28 21:29:33 +08:00
Lucas Nicodemus
eae8ae1fb5
Merge branch 'general-devel' into patch-3
2022-10-27 15:49:53 -06:00
SGKoishi
4f6ba61611
Fix several bracket mismatch
2022-10-27 01:53:41 -07:00
yuyu
3ead63f9ac
Handle vanilla -lang and -language CLI flags for I18n
2022-10-26 22:17:49 +08:00
yuyu
dfbf2b3b3c
Update permissions reference
2022-10-26 22:17:25 +08:00
yuyu
4621a2f7f5
Update Bouncer / OnNPCAddBuff
2022-10-26 22:17:25 +08:00
SGKoishi
95d6baaf6c
Use full sentence rather than combining words
2022-10-25 08:50:29 -07:00
SGKoishi
f8c0f0ce15
i18n most texts
2022-10-24 21:16:28 -07:00
SGKoishi
d1a6c293f2
i18n commands
2022-10-24 13:49:26 -07:00
SGKoishi
b766e045b5
Use i18n for most string.Format if shown in log, console or client side
2022-10-24 13:38:33 -07:00
SGKoishi
ea9f6b73e0
Update some i18n source text
2022-10-24 12:51:08 -07:00
Stargazing Koishi
c7a39ec7e4
Update i18n dependency
...
https://github.com/perpetualKid/GetText.NET/issues/44
2022-10-24 12:30:54 -07:00
renovate[bot]
045115ca7a
Update dependency GetText.NET to v1.7.14
2022-10-24 11:10:52 +00:00
Lucas Nicodemus
0c8a9c3e57
Add more i18n-compatible strings in commands
2022-10-24 01:23:23 -06:00
hufang360
ca93fa685e
Fixed SSC not save ateArtisanBread, usedAegisCrystal, usedAegisFruit, usedArcaneCrystal, usedGalaxyPearl, usedGummyWorm, usedAmbrosia, unlockedSuperCart, enabledSuperCart flags, and Server will correct read them.
2022-10-24 13:27:50 +08:00
Lucas Nicodemus
41bc22e292
Fix broken interpolation in CharacterManager
2022-10-23 07:22:13 -07:00
BashGuy10
8818885a9e
Fix being kicked for using the new sponge types
2022-10-22 20:52:33 -07:00
Lucas Nicodemus
1523b0d67c
Internationalizify more commands
...
This is most of commands through to projectile bans.
2022-10-22 18:23:40 -07:00
BashGuy10
309f4e5500
Fix flamethrowers kicking players
2022-10-22 17:28:16 -07:00
James Puleo
9dbe8c9e40
Check loadout slots for hacked item stacks
2022-10-22 17:37:00 -04:00
James Puleo
bfaa47ad1a
Introduce support for loadouts, and save current loadout index to SSC
...
We needed to modify `NetItem` to know that these new inventory now
exist.
`PlayerData` can now re/store these items, and properly sync them. It
also now knows of the player's currently selected index, and how to sync
it.
2022-10-22 17:36:57 -04:00
James Puleo
3163c88d4a
Allow PacketTypes.SyncLoadout during early connection
...
This mirrors the behavior in `MessageBuffer` when only accepting
specific packets under state `10`.
2022-10-22 17:14:56 -04:00