Maintenance for the week of May 20:
• [COMPLETE] Xbox One: NA and EU megaservers for maintenance – May 22, 6:00AM EDT (10:00 UTC) – 9:00AM EDT (13:00 UTC)
• [COMPLETE] PlayStation®4: NA and EU megaservers for maintenance – May 22, 6:00AM EDT (10:00 UTC) – 9:00AM EDT (13:00 UTC)

Lua's table.pack doesnt exists!

Maggi12
Maggi12
✭✭✭
Why is it? what new function replaces it?
  • Maggi12
    Maggi12
    ✭✭✭
    string.pack doesnt work too. string lib doesnt contain it.
    idk what to do... i will implement my own "pack", but for beautiful and clean code i want native "pack" function.
    i hope somebody has answer.
  • Maggi12
    Maggi12
    ✭✭✭
    temporary solution:

    was:
    local args = pack(zo_strsplit(" ", arguments))
    

    become:
    local args = { zo_strsplit(" ", arguments) }
    
    Edited by Maggi12 on October 22, 2018 2:11PM
  • Reorx_Holybeard
    Reorx_Holybeard
    ✭✭✭✭✭
    I can't find any reference but I thought ESO uses Lua v5.1 which only has the gobal unpack() function and not the other pack() functions you mention.
    Reorx Holybeard -- NA/PC
    Founder/Admin of www.uesp.net -- UESP ESO Guilds
    Creator of the "Best" ESO Build Editor
    I'm on a quest to build the world's toughest USB drive!
  • Maggi12
    Maggi12
    ✭✭✭
    i used just pack(), without table. and now it doesnt work. But bracers are elegant too. we can live with it)
    Edited by Maggi12 on October 22, 2018 8:41PM
Sign In or Register to comment.