Skip to content
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

job points Lib/Service #37

Open
Nifim opened this issue Jun 6, 2018 · 1 comment
Open

job points Lib/Service #37

Nifim opened this issue Jun 6, 2018 · 1 comment

Comments

@Nifim
Copy link
Contributor

Nifim commented Jun 6, 2018

Library and service for job points

@alphaONE2 alphaONE2 added this to the 5.0 milestone Jun 18, 2018
@Nekseus
Copy link
Contributor

Nekseus commented Jul 2, 2018

types.lua is even more limited for job points.

@Byrth 's notes show uncertainty. Including fields.lua for quick reference. @z16

types.lua

-- Job Points
types.incoming[0x08D] = struct({
    job_point_entries   = {0x00, job_point_entry[1]}, -- #BYRTH# This is going to be a problem. Should be *
})

fields.lua

types.job_point = L{
    {ctype='unsigned short',    label='Job Point ID'},                          -- 00   32 potential values for every job, which means you could decompose this into a value bitpacked with job ID if you wanted
    {ctype='bit[10]',           label='_unknown1'},                             -- 02   Always 1 in cases where the ID is set at the moment. Zeroing this has no effect.`
    {ctype='bit[6]',            label='Current Level'},                         -- 03   Current enhancement for this job point ID
}

-- Job Points
-- These packets are currently not used by the client in any detectable way.
-- The below pattern repeats itself for the entirety of the packet. There are 2 jobs per packet,
-- and 11 of these packets are sent at the moment in response to the first 0x0C0 outgoing packet since zoning.
-- This is how it works as of 3-19-14, and it is safe to assume that it will change in the future.
fields.incoming[0x08D] = L{
    {ref=types.job_point,       count='*'},                                     -- 04
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants