Map schmeißt BGA.lua Fehler ?!

  • Hi,


    ich hab eine Map und die schmeißt folgenden Callstackfehler genau 8x



    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(44) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(200) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>0|4


    Was ist das und woher kommt das, oder wie behebe ich das ?



    MFG

  • könntest du das vllt für Leute erklären die davon nicht so viel Ahnung haben ? Ich möchte gerne diese Fehler loswerden , weiß aber absolut nicht wovon sie verursacht werden :/


    Ich packe nochmal alle 8 Callstacks in den Spoiler :


    [expander]
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(56) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(127) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>1
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(44) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(139) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>0|0
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(44) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(156) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>0|1
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(44) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(164) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>0|5
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(44) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(173) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>0|2
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(44) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(183) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>0|3
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(44) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(200) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>0|4
    Error: index out of range
    Call Stack:
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(8) : printCallstack
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/Utils.lua(56) : checkChildIndex
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(243) : indexToObject
    D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/objects/Bga.lua(10) : load
    Index: 0>2[/expander]




    MFG Freak2009

  • 1. Du öffnest deine Map mit dem GE.
    2. Du suchst die BGA.
    3. Du klickst die BGA im Scenegraph an, da findest du in den userAttributes dann ganz viele Einträge. Das ist für alle bei der BGA angegebenen Indexen "0>" (deswegen relative Angaben).
    4. Du suchst in den userAttributes nach den in der Fehlermeldung angegebenen Indexen.
    5. Du ermittelst für jeden falschen Index anhand des Namens und der Standardmap welches der korrekte Index wären.
    6. Du trägst die korrekte Indexe ein.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!