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
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
Lucas Nicodemus
4d35ee395e
Version tick: 5.0.0-beta.0.6
2022-10-22 14:01:17 -07:00
Lucas Nicodemus
4632536efb
i18nify some commands
...
This replaces several strings with i18n-friendly variants so that they
can be internationalized.
Sometimes, the command in English has been reworded, because it was
dumb.
I stopped at GrabUserUserInfo, mostly because I was tired. My
rationale/thinking is that rather than doing a huge commit with the
entire file (which may take a while to build up) it would be better to
get more strings to translators faster. This is because these strings,
in particular, are some of the most important ones to translate.
2022-10-22 01:03:30 -07:00
Janet Blackquill
f63b26ac76
Some i18nifiying
2022-10-21 16:12:04 -04:00
Janet Blackquill
5549cfeded
Use global using static for ICatalog methods
2022-10-21 13:25:02 -04:00
Lucas Nicodemus
1646c5e5fd
Use localized "too many login attempts" string
...
This is primarily a test of the rube goldberg machine but also,
productive work.
2022-10-21 01:23:39 -07:00
Lucas Nicodemus
c297b4523e
Add i18n support to one string
...
This is mainly to test the extract CI routine that should automatically
commit after this and add the updated extracted string to the .po
template.
2022-10-20 02:21:59 -07:00
Janet Blackquill
77be338e46
Add i18n system
2022-10-20 02:09:29 -04:00
yuyu
9e4028fb9d
Change strings to instanced;
...
Move the changelog to bottom;
2022-10-19 23:20:41 +08:00
yuyu
69e5e202de
Add localization support for console spam reduction
...
Signed-off-by: yuyu <kawaiiyuyu@outlook.com>
2022-10-19 22:27:11 +08:00
Lucas Nicodemus
adbca6a99b
Modernize REST field dumper
...
Dumps to markdown, formatted for docsify instead of readme.io, and also
puts it in the right folder.
2022-10-19 00:46:02 -07:00
Lucas Nicodemus
1b306ff39d
Fix SSC dumper not working
...
Dumper was being called on the wrong thing (the config and not the
settings).
2022-10-18 23:50:01 -07:00