FredyH / Perpheads-Issues

5 stars 22 forks source link

Report being too long #988

Closed SeamusMcGowan closed 4 years ago

SeamusMcGowan commented 4 years ago

I've learned that if you submit a reply to a report that is way too long, it'll dogbollock the report and it can't be opened, returning this error:

[ERROR] gamemodes/perp/gamemode/modules/guicore/general/dtextarea.lua:65: bad argument #1 to 'ipairs' (table expected, got nil)

  1. ipairs - [C]:-1
    1. Split - gamemodes/perp/gamemode/modules/guicore/general/dtextarea.lua:65
    2. SetText - gamemodes/perp/gamemode/modules/guicore/general/dtextarea.lua:398
      1. SetMessage - gamemodes/perp/gamemode/modules/scam/gui/reports.lua:20
      2. AddReply - gamemodes/perp/gamemode/modules/scam/gui/reports.lua:188
      3. SetReport - gamemodes/perp/gamemode/modules/scam/gui/reports.lua:182
      4. OnClickLine - gamemodes/perp/gamemode/modules/scam/gui/reports.lua:390
        1. unknown - lua/vgui/dlistview_line.lua:81
Madda2000 commented 4 years ago

How do you even manage this? Did you write a bible? Anyways set character limit to 25000