Comments (6)
[Wed Mar 06 21:46:26 2024] <Player2|Victim> was chilled to the bone for <NPC1|damage shield points> points of non-melee damage.
[Wed Mar 06 21:46:26 2024] <Player2|Attacker> slashes <NPC1|Victim> for<Player2|damage points> points of damage. (Lucky Critical)
NPC1 is the attacker in line 1
from advancedcombattracker.
I don't really understand. You're talking about a limitation in your own plugin? This isn't really the place for advice or general discussion.
That said, I believe the EQ2 parser handles two such situations like this. Ward absorption and spell reflects. In both cases, information from one log line is temporarily stored to be used when a future log line appears.
In your case, I imagine you would not create a combat action for the first line, but store the victim and damage amount. If the very next line has a matching attacker compared to the previous victim, then you may emit the combat action for the previous line using the newly gained information and then handle the second line normally. (then clear out the temporary data)
from advancedcombattracker.
With back filled damage shield has this filled in best I could manage, point of contention would be storing this information outside a MasterSwing object as the masterswing object can't be altered once created and the current method is to grab those values and create a new object with the filled in attacker name
from advancedcombattracker.
One direction is easier than the other. It's possible you have encountered the more difficult direction where you want to modify already created data? As you said, MasterSwing objects cannot be changed. Because ACT uses incremental caching, it's not good to modify old data because the cache can become incorrect and future calculations will also be incorrect.
If I remember correctly, you don't have to generate a combat action for a given log line. Just keep the pieces of the MasterSwing as temporary variables to use later... then add two at once when you have the proper data. If possible, also create a TimeSorter number at each line so you have a unique value for each MasterSwing.
from advancedcombattracker.
That is what I attempted to do is get a GTS value and hold it over in a temporary MasterSwing until the next logline is read to complete both loglines once the attacker value is grabbed from the victim value in the second logline associated with that combat action
from advancedcombattracker.
Processed by check for default on chilled MasterSwing object not equal to default
from advancedcombattracker.
Related Issues (20)
- ACT application fails to read open log file HOT 2
- Current plugin examples are all in a single directory with no CI or CD script HOT 6
- Desync alerts for Cactbot plugin on Weapon's Refrain Ultimate ( UWU ) HOT 2
- Missing some sort of LICENSE file HOT 2
- The row data for the AttackType column doesn't seem to be appearing HOT 8
- Open source the Advanced Combat Tracker application HOT 4
- ACT v3.4.6 crashing on startup HOT 5
- ACT Triggers can be heared by other ppl in Discord Vc HOT 1
- Localization for Min/Max hit on combat log when there is no data HOT 1
- Some plugin form controls have user interface thread locking issues in example HOT 1
- FileStream objects use explicit close method and flush
- Hard coded paths set in project file for Program Files (x86)
- Implement post build script to move plugin during DEBUG to AppData folder
- Previous spell caster of spell needed
- Windows Defender block on update 3.8.0.283 HOT 7
- Plugins tab list overflow on 3.8.0 release 283 HOT 6
- ACT blocks FFXIV parser 3.8.0.283 - Can't enable it HOT 2
- Minimizing ACT to the system tray generates two invisible windows HOT 3
- Allow shortcut to enable/disable overlay out of combat. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advancedcombattracker.