EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::GeorgeS's Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=674)
-   -   Runtime Error 9 Subscript out of range (https://www.eqemulator.org/forums/showthread.php?t=43113)

Xirtnil 11-21-2020 12:44 PM

Runtime Error 9 Subscript out of range
 
Hi George, your tool is amazingly handy, but I am running into an error when I attempt to randomize loot higher than a certain amount (I think over 1,000ish).

I get this Run-time error '9': Subscript out of range.

Does anybody have a work around for this? The program works wonderfully if i attempt to randomize loot for less than 1,000.

Programs effected by this error: loot_editor_randomizer.exe, diablo_loot.exe

https://i.imgur.com/hYcPyav.png

https://i.imgur.com/JpP3NTh.png

GeorgeS 12-08-2020 05:28 PM

Thanks for the info. I am on this now, and once I have it figured out, I'll upload the fixed file.

GeorgeS

GeorgeS 12-08-2020 07:15 PM

Ok, I uploaded the fixes. The D2 tool needed a larger >14 bit array
The second tool (assign by zone) needed a larger array set to a limit of 16000 items
In your 2nd example, you set it to 2977, which was larger than the 128 limit before.

See if that fixes the issue

GeorgeS

Undivine 08-18-2021 07:51 PM

Same error...
 
Same error but with eqitems, could someone point me in the right direction. Thanks.

GeorgeS 09-19-2021 10:54 AM

Quote:

Originally Posted by Undivine (Post 267076)
Same error but with eqitems, could someone point me in the right direction. Thanks.

Let me know what and how the error occurred and I'll trace and fix it.


All times are GMT -4. The time now is 09:56 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.