client/Messages.cs --- 1/3 --- C#
20 20 "bg/ffxiv/fst_f1/common/vfx/eff/b0941trp1e_o.avfx",
21 21 "bg/ex2/02_est_e3/common/vfx/eff/b0941trp1f_o.avfx",
22 22 "bg/ex4/07_lak_l5/common/vfx/eff/b2640trp1g_o.avfx",
.. 23 "bg/ex5/06_nvt_n6/common/vfx/eff/b3700trp1_m2.avfx",
23 24 ];
24 25
25 26 private static string GetPath(IDataManager data, Message message) {
client/Messages.cs --- 2/3 --- C#
106 107
107 private readonly Stopwatch _timer = new(); 108 private readonly Stopwatch _timer = new();
108 109
109 private void TerritoryChanged(ushort territory) { 110 private void TerritoryChanged(uint territory) {
110 this._territoryChanged = true; 111 this._territoryChanged = true;
111 this.RemoveVfx(); 112 this.RemoveVfx();
112 } 113 }
113 114
114 private ushort _lastTerritory; 115 private uint _lastTerritory;
115 private bool _territoryChanged; 116 private bool _territoryChanged;
116 117
117 private void DetermineIfSpawn(IFramework framework) { 118 private void DetermineIfSpawn(IFramework framework) {
client/Messages.cs --- 3/3 --- C#
202 }); 203 });
203 } 204 }
204 205
205 private async Task DownloadMessages(uint world, ushort territory, ushort? ward, ushort? plot) { 206 private async Task DownloadMessages(uint world, uint territory, ushort? ward, ushort? plot) {
206 var route = $"/messages/{territory}"; 207 var route = $"/messages/{territory}";
207 if (ward != null) { 208 if (ward != null) {
208 route += $"?ward={ward}"; 209 route += $"?ward={ward}";
client/MiniPenumbra/VfxReplacer.cs --- 1/2 --- C#
36 36 }
37 37
38 38 private byte ReadSqPackDetourInner(void* resourceManager, SeFileDescriptor* fileDescriptor, int priority, bool isSync) {
39 .. if (!this.Plugin.Config.RemoveGlow) {
40 .. goto Original;
41 .. }
42 ..
43 39 if (fileDescriptor == null || fileDescriptor->ResourceHandle == null) {
44 40 goto Original;
client/MiniPenumbra/VfxReplacer.cs --- 2/2 --- C#
55 51 goto Original;
56 52 }
.. 53
.. 54 if (!this.Plugin.Config.RemoveGlow && index != 7) {
.. 55 // This vfx doesn't actually appear when spawned by the plugin or vfxeditor,
.. 56 // but it is the correct vfx used for the trap in the fae deep dungeon.
.. 57 // Path: bg/ex5/06_nvt_n6/common/vfx/eff/b3700trp1_m2.avfx
.. 58 // I'm just loading the non-glow version as a workaround, which works for some
.. 59 // reason. IF YOU KNOW WHY THIS IS, PLEASE HELP ME.
.. 60
.. 61 goto Original;
.. 62 }
57 63
58 64 var letter = (char) ('a' + index);
59 65 var newPath = Path.Join(this.Plugin.AvfxFilePath, $"sign_{letter}.avfx");
client/OrangeGuidanceTomestone.csproj --- 1/2 --- XML
1 <Project Sdk="Dalamud.NET.Sdk/14.0.1"> 1 <Project Sdk="Dalamud.NET.Sdk/15.0.0">
2 2
3 <PropertyGroup> 3 <PropertyGroup>
4 <Version>1.10.6.1</Version> 4 <Version>1.10.6.2</Version>
5 <ImplicitUsings>enable</ImplicitUsings> 5 <ImplicitUsings>enable</ImplicitUsings>
6 <Nullable>enable</Nullable> 6 <Nullable>enable</Nullable>
7 <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 7 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
client/OrangeGuidanceTomestone.csproj --- 2/2 --- XML
14 </PropertyGroup> 14 </PropertyGroup>
15 15
16 <ItemGroup> 16 <ItemGroup>
17 <PackageReference Include="Fody" Version="6.9.2" PrivateAssets="all" /> 17 <PackageReference Include="Fody" Version="6.9.3" PrivateAssets="all" />
18 <PackageReference Include="Resourcer.Fody" Version="1.8.1" PrivateAssets="all" /> 18 <PackageReference Include="Resourcer.Fody" Version="1.8.1" PrivateAssets="all" />
19 <PackageReference Include="WebTranslator" Version="1.0.1" /> 19 <PackageReference Include="WebTranslator" Version="1.0.1" />
20 </ItemGroup> 20 </ItemGroup>
client/OrangeGuidanceTomestone.yaml --- YAML
4 4 description: |-
5 5 类魂消息系统.
6 6 repo_url: https://git.anna.lgbt/anna/OrangeGuidanceTomestone
7 accepts_feedback: false
client/Ui/MainWindowTabs/Write.cs --- C#
473 473
474 return new EmoteData { 474 return new EmoteData {
475 Id = emote.RowId, 475 Id = emote.RowId,
476 Customise = player.Customize.ToList(), 476 Customise = [.. player.Customize],
477 Equipment = chara->DrawData.EquipmentModelIds 477 Equipment = chara->DrawData.EquipmentModelIds
478 .ToArray() 478 .ToArray()
479 .Select(equip => new EquipmentData { 479 .Select(equip => new EquipmentData {
client/Util/ActorManager.cs --- Text (2 C# parse errors, exceeded DFT_PARSE_ERROR_LIMIT)
56 } 56 }
57 } 57 }
58 58
59 private void OnTerritoryChange(ushort obj) { 59 private void OnTerritoryChange(uint obj) {
60 this._idx.Clear(); 60 this._idx.Clear();
61 } 61 }
62 62
client/Vfx.cs --- Text (2 C# parse errors, exceeded DFT_PARSE_ERROR_LIMIT)
56 switch (action) { 56 switch (action) {
57 case AddQueueAction add: { 57 case AddQueueAction add: {
58 using var guard = this.Mutex.With(); 58 using var guard = this.Mutex.With();
59 Plugin.Log.Debug($"adding vfx for {add.Id}"); 59 Plugin.Log.Debug($"adding vfx for {add.Id}: {add.Path}");
60 if (this.Spawned.Remove(add.Id, out var existing)) { 60 if (this.Spawned.Remove(add.Id, out var existing)) {
61 Plugin.Log.Warning($"vfx for {add.Id} already exists, queuing remove"); 61 Plugin.Log.Warning($"vfx for {add.Id} already exists, queuing remove");
62 this.Queue.Enqueue(new RemoveRawQueueAction(existing)); 62 this.Queue.Enqueue(new RemoveRawQueueAction(existing));
client/img/sign_7.jpg --- Binary
Binary file added (55.0 KiB).
client/packages.lock.json --- 1/2 --- JSON
4 "net10.0-windows7.0": { 4 "net10.0-windows7.0": {
5 "DalamudPackager": { 5 "DalamudPackager": {
6 "type": "Direct", 6 "type": "Direct",
7 "requested": "[14.0.1, )", 7 "requested": "[15.0.0, )",
8 "resolved": "14.0.1", 8 "resolved": "15.0.0",
9 "contentHash": "y0WWyUE6dhpGdolK3iKgwys05/nZaVf4ZPtIjpLhJBZvHxkkiE23zYRo7K7uqAgoK/QvK5cqF6l3VG5AbgC6KA==" 9 "contentHash": "411vwC8/X8Z/sQ2TI6v3SvOn66xFPeOjFn3Zn+h0d3Ox2t1kFm66AhDvmx/qcMwVrR+Hidxj0dadpQ2dgyXMBQ=="
10 }, 10 },
11 "DotNet.ReproducibleBuilds": { 11 "DotNet.ReproducibleBuilds": {
12 "type": "Direct", 12 "type": "Direct",
client/packages.lock.json --- 2/2 --- JSON
16 }, 16 },
17 "Fody": { 17 "Fody": {
18 "type": "Direct", 18 "type": "Direct",
19 "requested": "[6.9.2, )", 19 "requested": "[6.9.3, )",
20 "resolved": "6.9.2", 20 "resolved": "6.9.3",
21 "contentHash": "YBHobPGogb0vYhGYIxn/ndWqTjNWZveDi5jdjrcshL2vjwU3gQGyDeI7vGgye+2rAM5fGRvlLgNWLW3DpviS/w==" 21 "contentHash": "1CUGgFdyECDKgi5HaUBhdv6k+VG9Iy4OCforGfHyar3xQXAJypZkzymgKtWj/4SPd6nSG0Qi7NH71qHrDSZLaA=="
22 }, 22 },
23 "Resourcer.Fody": { 23 "Resourcer.Fody": {
24 "type": "Direct", 24 "type": "Direct",
client/vfx/sign_h.avfx --- Binary
Binary file added (12.7 KiB).