-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARC Positional Logging #304
Comments
I'm going to say... I don't think it is working? I don't see any events of that type from a log from that dll. |
Hmm is it not an additional field thingy at the end of current recorded events? I dont think it's it's own event |
CBTS_POSITION = 19, that was the full thingy from DELTA, what encounter were you looking at for the position data? Also is log larger than what you would expect? |
I created a new golem log. |
Confirmed error with DLL, will need new test logs. Updated DLL attached below. Some source code:
|
YAY LOGS \o/. They also aren't super big 20180620-230505.evtc.zip @deltaconnected FYI |
Draft replay format, in json - json isn't a requirement, but convenient for a web renderer and a decent enough way to explore the structure more of a simple way to consider structure: {
"info" : {
"encounter" : "Deimos",
"time" : "date+time",
"duration" : 123.5,
},
"maps" : [
{
"image" : "url",
"region" : {
"x" : 2,
"y" : 3,
"width" : 100,
"height" : 100
},
"coordinates" : {
"x" : 200,
"y" : 30000,
"width" : 900,
"height" : 900
},
"vertical-range" : {
"lower" : 200,
"upper" : 400
}
}
],
"actors" : [
{
"name" : "Bert",
"id" : 1,
"type" : "Class/Enemy",
"display" : {
"default" : {
"icon-texture" : "",
"icon-region" : {
...
}
},
"up" : {
},
"down" : {
},
"dead" : {
}
}
},
{
"name" : "Deimos",
"type" : "Boss",
...
}
],
"tracks" : [
{
"path" : ["Bert","position","x"],
"data-type" : "numeric",
"update-type" : "interval"
"interpolation" : "lerp",
"start-time" : 10,
"frequency" : 0.5,
"data" : [1,1,1,1,2,2,2,2,2,...]
},
{
"path" : ["Bert","position","y"],
"data-type" : "numeric",
"update-type" : "interval"
"interpolation" : "lerp",
"start-time" : 12,
"frequency" : 0.5,
"data" : [1,1,1,1,2,2,2,2,2,...]
},
{
"path" : ["Bert","state"],
"data-type" : "state",
"update-type" : "delta"
"data" : [
{
"time" : 0,
"value": "up"
},
{
"time" : 20,
"value": "down"
},
{
"time" : 24,
"value": "dead"
}]
},
]
} |
i should mention that i don't actually know which coordinate system the ones i report are part of (game internals use something different for rendering/transform raw, skills/map/ui?, and mumble interface/api, in a split that i'm also unsure of) |
I'm sure we can figure out...given a relative position XD |
I was assuming I would need to capture some boundary positions and math it out from there anyway, so no worries. |
Demo of progress at http://immortius.net.au/gw2continuumsplit/ |
@deltaconnected Is it possible to get facing information, possibly instead of velocity (which isn't as generally useful I don't think, as we can somewhat derive velocity from the change in position, but facing cannot be replicated from velocity)? Facing could possibly use as little as a byte depending on the amount of preprocessing you are willing to do (0-255, with 0 as North, 64 as East, 128 as South etc) |
Sure. I include velocity because I know it's the only way to reliably check if someone got hit by a red orb on xera (dodge and the lift are unique). CBTS_FACING = 21 (next in the enum list), https://pastebin.com/D1XU6XBy for copy pasta code. Included in https://www.deltaconnected.com/arcdps/dev/ which will make it to live... eventually |
Released in 18th of July arc update |
New SH log |
Facing in action http://immortius.net.au/gw2continuumsplit/ |
Added in pos/vel/fac for some raid mechanic NPC's (seekers, other guardians, spirits, sab phases, matthias spirits, etc.), don't remember which is which as of latest |
Added vg Added support for multiple maps
- Reworked buff stats generation to include 0 stack durations - Replay writer collates buff from multiple sources
Added vg Added support for multiple maps
- Reworked buff stats generation to include 0 stack durations - Replay writer collates buff from multiple sources
Added vg Added support for multiple maps
- Reworked buff stats generation to include 0 stack durations - Replay writer collates buff from multiple sources
ARC has provided test DLL for tracking positions. Nothing needs to be done yet, but just want to be able to see if logging works correctly and if it is usable data:
ARC Position BETA.zip
x/y/z stored in binary order
ev->src_agent = ag->m_ptr_agent; ev->time = timegettime64(); ev->is_statechange = CBTS_POSITION; ag->GetPos((D3DXVECTOR3*)&ev->dst_agent);
The text was updated successfully, but these errors were encountered: