Maintenance for the week of February 18:
• PC/Mac: No maintenance – February 18
• Xbox One: EU megaserver for maintenance – February 20, 4:00AM EST (9:00 UTC) - 12:00PM EST (17:00 UTC)
The Wrathstone DLC Game Pack and Update 21 base game patch are now available to test on the PTS! Read the full patch notes here: https://forums.elderscrollsonline.com/en/discussion/454456/

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.