-dev News
Sorry about the -dev version of the resources right now. We're currently in the middle of transitioning them to what we believe is the ideal form. We are attempting to make the resource file IDs correspond to the identifying indices used in packets. So, for instance, right now when GearSwap on the live server sees a weaponskill attempt and is making the action packet, it adds 768 to it in order to get the right packet value id. It was designed this way initially because all weaponskills, job traits, job abilities/pet commands, and monster skills were in the same .dat file, and the id number is just the order of appearance in the .dat (and in the bitfield of a packet indicating availability). It worked, but the packets told us that our system was obviously not how SE thought of them. About a week ago, Arcon and I talked about switching to what we think SE's system actually is, but we didn't get around to it before the patch.
Well, in the last patch SE reordered the entire .dat (and the availability packet). They shuffled the order of weaponskills, job traits, etc. and increased the range, so all our offsets were similarly shuffled. We remapped the new availability packet to the old format and just used the old abilities.lua (which is currently what is live), but the longer term plan is to split up the different categories into meaningful/continuous ID ranges. That is currently what we have pushed to -dev, but we're still tweaking it so I haven't adapted GearSwap, Battlemod, or Shortcuts to it yet. So if you're on -dev and getting funky errors, I recommend either copying this file into your windower/res folder or going back to non-dev for a week:
https://www.dropbox.com/s/pws9c92bv71hwhg/abilities.lua
Reload LuaCore after you do it. The file will probably disappear every time you run the launcher.

Originally Posted by
chichicha
Pointwatch :
I tried this in static.lua
default = "sparks.current..'/'..sparks.maximum'sparks 'xp.current..'/'..xp.tnl..'XP '..lp.current..'/'..lp.tnm..'LP ['..lp.number_of_merits..'] XP/hr:'..string.format('%.1f',math.floor(xp.rate/100)/10)..'k '..cp.current..'/'..cp.tnjp..'CP ['..cp.number_of_job_points..'] CP/hr:'..string.format('%.1f',math.floor(cp.rate/100)/10)..'k'",
or this in setting.xml
<default>sparks.current..'/'..sparks.maximum'sparks 'xp.current..'/'..xp.tnl..'XP '..lp.current..'/'..lp.tnm..'LP ['..lp.number_of_merits..'] XP/hr:'..string.format('%.1f',math.flo or(xp.rate/100)/10)..'k '..cp.current..'/'..cp.tnjp..'CP ['..cp.number_of_job_points..'] CP/hr:'..string.format('%.1f',math.flo or(cp.rate/100)/10)..'k'</default>
When I reload or restart POL
I get error message,
Static.lua:143: bad argument...
Did I do something wrong?
Your problem is:
Code:
sparks.maximum'sparks 'xp.current.
It should be:
Code:
sparks.maximum..'sparks '..xp.current.
There might be other errors, but that is the one I saw first. I'm sorry about the lack of helpful error messages. I think I might have just figured out how to make the messages slightly more helpful, and I pushed it to -dev. I will look in to it more tomorrow.