View Full Version : Issues with sort NPCs
spite
December 9th, 2019, 09:56
Is anyone else experiencing issues with their sort by level and sort by role in the NPC window? I can sort by alphabet fine but the other two spit an error and no window opens.
Trenloe
December 9th, 2019, 09:58
What's the error?
spite
December 9th, 2019, 11:49
Whoops, forgot something!
Script Error: [string "scripts/data_library_4E.lua"]:7: attempt to index local 'v' (a nil value)
for level, and
Script Error: [string "scripts/data_library_4E.lua"]:11: attempt to index local 'v' (a nil value)
for role
Trenloe
December 9th, 2019, 17:03
It's caused by an NPC without anything in the Level/Role field. The code should cater for that. Hopefully the devs pick this up...
Moon Wizard
December 9th, 2019, 17:33
Thanks for reporting. It looks like the error is tied to fields being empty on load, and the label function in 4E not handling the "nil" condition. I've pushed a fix.
Regards,
JPG
spite
December 9th, 2019, 21:33
Nice prompt resolution. Thanks as always!
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.