Jump to content

"item.get_name" CH-Down problem.


Recommended Posts

Spoiler

            if string.find(gelen,"itemsil") then
                local slot = systems.split(gelen, "#")
                item.select_cell(slot[2])
                local id = item.get_id()
            
                if game.get_event_flag(id..".Engel") == 1 then
                    syschat("you can not delete.")
                    return
                end
                
                syschat(item.get_name().." object has been deleted..")
                item.remove()
            end
            
        end

Spoiler

(gdb) bt full
#0  0x28ca32ad in strlen () from /usr/lib32/libc.so.7
No symbol table info available.
#1  0x0834d14e in lua_pushstring (L=0x40b4f040, s=0x46 <Address 0x46 out of bounds>) at lapi.c:418
No locals.
#2  0x081b3f00 in quest::item_get_name (L=0x40b4f040) at questlua_item.cpp:421
        item = <value optimized out>
#3  0x0834edfa in luaD_precall (L=0x40b4f040, func=0x3361cc48) at ldo.c:260
        ci = <value optimized out>
        n = <value optimized out>
        funcr = 862047304
#4  0x08356bc6 in luaV_execute (L=0x40b4f040) at lvm.c:627
        firstResult = <value optimized out>
        b = <value optimized out>
        nresults = <value optimized out>
        i = 67141785
        base = 0x3361cc18
        ra = 0x3361cc48
        k = (TObject *) 0x2a432200
        pc = (const Instruction *) 0x533c2494
#5  0x0834f0ed in resume (L=0x40b4f040, ud=0xffffa534) at ldo.c:344
        firstResult = <value optimized out>
        nargs = <value optimized out>
        ci = <value optimized out>
#6  0x0834ea7b in luaD_rawrunprotected (L=0x40b4f040, f=0x834f0c0 <resume>, ud=0xffffa534) at ldo.c:88
        lj = {previous = 0x0, b = {{_jb = {137685607, 1085599808, -23364, -23288, 66374, 1, 4735, 0, 0, 0, 0, 1683788016}}}, status = 0}
#7  0x0834ec1b in lua_resume (L=0x40b4f040, nargs=1) at ldo.c:371
        status = <value optimized out>
        old_allowhooks = 1 '\001'
#8  0x0819aef2 in quest::CQuestManager::RunState (this=0xffffd764, qs=@0x33585cf4) at questlua.cpp:802
        ret = <value optimized out>
        __FUNCTION__ = "RunState"
#9  0x081d3a3f in quest::CQuestManager::Input (this=0xffffd764, pc=66374, msg=0xffffa5cb "itemsil#67") at questmanager.cpp:241
        pPC = (quest::PC *) 0x4371e994
        __FUNCTION__ = "Input"
#10 0x0814bf1f in CInputMain::QuestInputString (this=0x4553f59c, ch=0x33d37000, c_pData=0x2c761000) at input_main.cpp:2046
        msg = "itemsil#67\000-(\004---`)-(\001\000\000\000\214qJb\000\000\000\000\r\000\000\000P---\004--(,---\036\000\000\000\004--(\030---%e-("
#11 0x0815319e in CInputMain::Analyze (this=0x4553f59c, d=0x4553f500, bHeader=<value optimized out>, c_pData=0x2c761000 "\036itemsil#67") at input_main.cpp:3296
        ch = 0x33d37000
        iExtraLen = <value optimized out>
        __FUNCTION__ = "Analyze"
#12 0x0813b79b in CInputProcessor::Process (this=0x4553f59c, lpDesc=0x4553f500, c_pvOrig=0x2c761000, iBytes=67, r_iBytesProceed=@0xffffab04) at input.cpp:98
        iExtraPacketSize = <value optimized out>
        bHeader = 30 '\036'
        c_pszName = 0x5911f3ec "QuestInputString"
        c_pData = 0x2c761000 "\036itemsil#67"
        bLastHeader = <value optimized out>
        iLastPacketLen = 0
        iPacketLen = 67
        __FUNCTION__ = "Process"
#13 0x08103fa3 in DESC::ProcessInput (this=0x4553f500) at desc.cpp:312
        iBytesProceed = 0
---Type <return> to continue, or q <return> to quit---Quit

Hi , CH-Down problem quest + gdb results

and I hope you can tell me my bad english

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.