viewing paste Untitled | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
[Info]: GM 'gunslinger' logged in. (AID/CID: '2000000/150038', Packet Ver: '26', IP: '174.91.219.226', GM Level '99').
[Debug]: Data: variable name='.@item' index=0
[Debug]: Data: variable name='.@nbitem' index=0
[Info]: nb_it=4, nb_nb=4
[Info]: nameid=970 amount=10
[Info]: nameid=717 amount=5
[Info]: nameid=510 amount=9
[Info]: nameid=508 amount=12
 
Breakpoint 1, script_check_buildin_argtype (st=0xad0b38d4, func=297)
    at script.c:3167
3167                            ShowWarning("Unexpected type for argument %d. Expected label.\n", idx-1);
(gdb) bt
#0  script_check_buildin_argtype (st=0xad0b38d4, func=297) at script.c:3167
#1  0x08126a2a in run_func (st=0xad0b38d4) at script.c:3220
#2  0x0812729b in run_script_main (st=0xad0b38d4) at script.c:3453
#3  0x08126ce7 in run_script (rootscript=0xab090fe4, pos=0, rid=2000000, 
    oid=110012868) at script.c:3284
#4  0x080fe748 in npc_click (sd=0x107f4ec0, nd=0xaad41f64) at npc.c:1093
#5  0x0809bd2d in clif_parse_NpcClicked (fd=11, sd=0x107f4ec0) at clif.c:10639
#6  0x080b1bc6 in clif_parse (fd=11) at clif.c:17255
#7  0x082182ad in do_sockets (next=100) at socket.c:804
#8  0x08216dfe in main (argc=1, argv=0xbffff334) at core.c:267
(gdb) bt full
#0  script_check_buildin_argtype (st=0xad0b38d4, func=297) at script.c:3167
        name = 0x0
        data = 0xaad2ab48
        type = 108 'l'
        idx = 3
        invalid = 0
        sf = 0x8281af8
#1  0x08126a2a in run_func (st=0xad0b38d4) at script.c:3220
        data = 0xaad2ab24
        i = 1
        start_sp = 0
        end_sp = 12
        func = 297
        __FUNCTION__ = "run_func"
#2  0x0812729b in run_script_main (st=0xad0b38d4) at script.c:3453
        c = C_FUNC
        cmdcount = 655326
        gotocount = 2048
        sd = 0xad0b38d4
        stack = 0xaad854fc
        nd = 0xaad41f64
---Type <return> to continue, or q <return> to quit---
#3  0x08126ce7 in run_script (rootscript=0xab090fe4, pos=0, rid=2000000, 
    oid=110012868) at script.c:3284
        st = 0xad0b38d4
#4  0x080fe748 in npc_click (sd=0x107f4ec0, nd=0xaad41f64) at npc.c:1093
No locals.
#5  0x0809bd2d in clif_parse_NpcClicked (fd=11, sd=0x107f4ec0) at clif.c:10639
        bl = 0xaad41f64
#6  0x080b1bc6 in clif_parse (fd=11) at clif.c:17255
        cmd = 144
        packet_ver = 26
        packet_len = 7
        err = 2048
        sd = 0x107f4ec0
        pnum = 1
#7  0x082182ad in do_sockets (next=100) at socket.c:804
        rfd = {__fds_bits = {2048, 0 <repeats 31 times>}}
        timeout = {tv_sec = 0, tv_usec = 87494}
        ret = 0
        i = 11
#8  0x08216dfe in main (argc=1, argv=0xbffff334) at core.c:267
        next = 100
Viewed 1165 times, submitted by lighta.