Random Question Thread (FFXI Related)

Eorzea Time
 
 
 
Language: JP EN FR DE
Version 3.1
New Items
users online
Forum » FFXI » General » Random Question thread (FFXI related)
Random Question thread (FFXI related)
First Page 2 3 ... 909 910
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6397
By Lakshmi.Byrth 2025-07-18 05:59:03
Link | Quote | Reply
 
K123 said: »
So if the info is sent from the server to the client why can we not tell from that packet if it is a single, double, triple, quad attack? Would the info not be in the packet? Or does it just send the attack packet 2x 3x 4x?
You can tell how many attacks it is (with each hand and foot + Daken), but can't distinguish whether it is a DA or Occasionally Attacks Twice.

Animation field here: https://github.com/Windower/Lua/wiki/Action-Event
Offline
By K123 2025-07-18 06:17:45
Link | Quote | Reply
 
I suppose that answers my question because it means it would have to send the packet multiple times if an MA so that they could crit or not crit independently. Otherwise all hits of an MA would be crit or not crit which I know isn't the case.
 Shiva.Thorny
Online
Server: Shiva
Game: FFXI
user: Rairin
Posts: 3376
By Shiva.Thorny 2025-07-18 06:21:28
Link | Quote | Reply
 
K123 said: »
I suppose that answers my question because it means it would have to send the packet multiple times if an MA so that they could crit or not crit independently. Otherwise all hits of an MA would be crit or not crit which I know isn't the case.

It doesn't. The packet contains an array of targets, each of which contains an array of actions, each of which contains each of those data points on it's own. An 8-attack round with any amount of crits, enspells, etc.. is still just one packet. The client sees it and plays the animations for it consecutively (though with 8 round attacks, it's possible the next attack round comes in before the animations finish and the remainder get skipped).

You can't distingish DA from OAX or FUA because you just see the number of attacks, there's no identifier for which trait caused them.
[+]
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6397
By Lakshmi.Byrth 2025-07-18 07:11:32
Link | Quote | Reply
 
I recognize this might be confusing because we are using "packet" to mean two different things.

Every 400ms you send/are sent a UDP packet containing chunks of information that FFXI parses to change the world around you. One of those chunks is the "action" chunk that contains information like attack damage, job ability usage, etc. A single action chunk can contain information about up to 8 melee attacks (a whole attack round) or a nuke that hits ... 16? targets or a single WS, etc. it contains all of the information necessary to animate and log the action (to your chat log).

You frequently do receive multiple action chunks per UDP packet (you don't only see your own actions, after all), but each attack round is a single action chunk.

So you can get main hand / off hand / left foot / right foot / Daken multiattack distributions no problem, but you can't know what causes your main hand to attack twice (OAT or DA).
 Shiva.Thorny
Online
Server: Shiva
Game: FFXI
user: Rairin
Posts: 3376
By Shiva.Thorny 2025-07-18 07:43:34
Link | Quote | Reply
 
To further clarify, even if you r0ed for a while and multiple attack rounds came in during the same UDP packet, they'd each have their own chunk (what windower API calls a packet) so you could still distinguish them.

No matter how many attacks you make, the server only sends you one actual UDP packet per 400ms (250ms with packetflow and sufficiently low ping).
[+]
Offline
By K123 2025-07-18 08:21:50
Link | Quote | Reply
 
So how do people actually calculate how TA and DA work together if you can't read the packet? Slow weapon with timestamp?
 Shiva.Thorny
Online
Server: Shiva
Game: FFXI
user: Rairin
Posts: 3376
By Shiva.Thorny 2025-07-18 08:27:44
Link | Quote | Reply
 
I feel like you're not understanding. Each packet can contain multiple action chunks. Each action chunk can only contain one attack round, and an attack round will not be split between action chunks. Each attack round can contain any number of targets and swings.

So, to see if an attack was a DA or TA, you would just count the number of swings in the chunk and see if it was 1, 2, or 3. However, let's say you're using a Rostam and multihit gear. If you get 3 attacks in one chunk, you have no way of knowing if it was a DA+FUA or a TA without FUA. All you can see is that it had 3 hits and which hand each hit used.
First Page 2 3 ... 909 910