Hey guys,
This scripting bug has plagued me for a long time. I've tried different ways to fix it, but nothing has helped. Hoping that someone can shed some light on what is actually the culprit and how I can fix it.
For some reason when I post the script here, it doesn't show in its entirety. You can download the error image and the problematic script itself below:
http://mocbjsoftware.com/error.zip
If you need to see any other pieces of the script, let me know.
Invalid Slice Handle Error
Moderators: marionline, SDHawk
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
Re: Invalid Slice Handle Error
I need to put together a forum FAQ, because this comes up all the time. When you paste scripts, check "Disable HTML in this post."Meatballsub wrote:For some reason when I post the script here, it doesn't show in its entirety.
The error from says that "lookupslice (sli:loottext)" returned 0, which is simple: there is no slice with the loottext lookup code. Judging from your script you meant to set this lookup code on one of the slices in slice collection 5, but either forgot to, or one of the scripts you're running in-between deletes it.
BTW, F12 to take a screenshot works everywhere including error messages.
Code: Select all
set slice text (lookupslice (sli:loottext),10)
BTW, F12 to take a screenshot works everywhere including error messages.
Oppps!TMC wrote:The error fromsays that "lookupslice (sli:loottext)" returned 0, which is simple: there is no slice with the loottext lookup code. Judging from your script you meant to set this lookup code on one of the slices in slice collection 5, but either forgot to, or one of the scripts you're running in-between deletes it.Code: Select all
set slice text (lookupslice (sli:loottext),10)