Jump to content
  • 0
Sign in to follow this  
KohakuSan

A Monster skill is crashing the server

Question

Hello, I decided to edit some monsters skills, everything worked fine except for all bio3 bosses and I can't figure out what's wrong checking the gdb dump by myself so I'm asking here.

In this case, all slaves and mvps had their skills edited, some stats too but I don't believe that's the problem. I think the problem is with a slave or a skill common to every bio3 boss since all of them are doing it.

 

EDIT: I'm testing monster by monster using @summon so they don't spawn the slaves and I don't get any errors... I used the same thing summoning the slaves individually and no errors either. Now I really have no idea what's happening.

 

GDB Dump:

 

 

(gdb) bt full#0  0x081bf9ed in skill_cell_overlap (bl=0xb3fad584,     ap=0xbfffefac "l360377277231") at skill.c:15272        skill_id = 5688        alive = 0x0        su = 0xb3fad584#1  0x08129026 in bl_vforeach (func=0x81bf9c0 <skill_cell_overlap>,     blockcount=10, max=2147483647, args=0xbfffefa4 "8026200Y") at map.c:491        argscopy = 0xbfffefa4 "8026200Y"        i = 10        returnCount = <value optimized out>#2  0x081334ce in map_foreachincell (func=0x81bf9c0 <skill_cell_overlap>,     m=171, x=151, y=153, type=64) at map.c:1150        returnCount = -1275311776        ap = 0xbfffefa4 "8026200Y"#3  0x081d03e6 in skill_castend_pos2 (src=0xb3fce2e4, x=151, y=153,     skill_id=12, skill_lv=10, tick=1501566520, flag=0) at skill.c:10110        sd = 0x0        sc = 0xb3fce5a0        sce = <value optimized out>        sg = <value optimized out>        type = SC_SAFETYWALL        r = <value optimized out>#4  0x081e20e6 in skill_castend_pos (tid=-1, tick=1501566520, id=110012409, ---Type <return> to continue, or q <return> to quit---    data=0) at skill.c:9826        src = 0xb3fce2e4        maxcount = <value optimized out>        sd = <value optimized out>        ud = 0xb3fce2fc        md = 0xb3fce2e4#5  0x0823430a in unit_skilluse_pos2 (src=0xb3fce2e4, skill_x=151,     skill_y=153, skill_id=12, skill_lv=10, casttime=0, castcancel=1)    at unit.c:1750        sd = 0x0        ud = 0xb3fce2fc        sc = <value optimized out>        bl = {next = 0xbffff1b8, prev = 0x809d9a0, id = 0, m = 171, x = 151,           y = 153, type = BL_NUL}        tick = 1501566520        range = 10#6  0x081416ec in mobskill_use (md=0xb3fce2e4, tick=1501566520, event=-1)    at mob.c:3232        x = <value optimized out>        y = <value optimized out>        c2 = -9952        flag = <value optimized out>        ms = 0x8a8b180---Type <return> to continue, or q <return> to quit---        fbl = <value optimized out>        bl = <value optimized out>        fmd = <value optimized out>        i = 11        j = <value optimized out>        n = <value optimized out>#7  0x08237bed in unit_attack_timer_sub (src=0xb3fce2e4, tid=-1,     tick=1501566520) at unit.c:2137        target = 0x8db32e8        ud = 0xb3fce2fc        sstatus = 0xb3fce54c        sd = <value optimized out>        md = 0xb3fce2e4        range = 0#8  0x08234d19 in unit_attack_timer (tid=-1, tick=1501566520, id=110012409,     data=0) at unit.c:2184        bl = 0xb3fce2e4#9  0x082348c9 in unit_attack (src=0xb3fce2e4, target_id=2000000, continuous=1)    at unit.c:1905        target = 0x8db32e8        ud = <value optimized out>        range = <value optimized out>#10 0x081448bd in mob_ai_sub_hard (md=0xb3fce2e4, tick=1501566508)---Type <return> to continue, or q <return> to quit---    at mob.c:1632        tbl = 0x8db32e8        abl = <value optimized out>        mode = 14261        view_range = 10        can_move = 1#11 0x08138540 in mob_ai_sub_hard_timer (bl=0xb3fce2e4, ap=0xbffff5a8 "")    at mob.c:1683        md = 0xb3fce2e4        tick = 1501566508#12 0x08129026 in bl_vforeach (func=0x8138510 <mob_ai_sub_hard_timer>,     blockcount=0, max=2147483647, args=0xbffff5a0 ",026200Y") at map.c:491        argscopy = 0xbffff5a0 ",026200Y"        i = 4        returnCount = <value optimized out>#13 0x081336c4 in map_foreachinrange (func=0x8138510 <mob_ai_sub_hard_timer>,     center=0x8db32e8, range=16, type=2) at map.c:752        returnCount = -1275311776        ap = 0xbffff5a0 ",026200Y"#14 0x081385d3 in mob_ai_sub_foreachclient (sd=0x8db32e8, ap=0xbffff62c "")    at mob.c:1698        tick = <value optimized out>#15 0x08129302 in map_vforeachpc (func=0x8138580 <mob_ai_sub_foreachclient>, ---Type <return> to continue, or q <return> to quit---    args=0xbffff624 ",026200Y") at map.c:2051        argscopy = 0xbffff624 ",026200Y"        ret = <value optimized out>        iter = 0xb5aa3b34        sd = 0x8db32e8#16 0x0813340e in map_foreachpc (func=0x8138580 <mob_ai_sub_foreachclient>)    at map.c:2066        args = 0xbffff624 ",026200Y"#17 0x08138656 in mob_ai_hard (tid=11, tick=1501566508, id=0, data=0)    at mob.c:1783No locals.#18 0x0824e116 in do_timer (tick=1501566520) at timer.c:397        tid = 11        diff = -12        __FUNCTION__ = "do_timer"#19 0x0824415c in main (argc=1, argv=0xbffff7c4) at core.c:255        next = <value optimized out>        retval = 0(gdb) 

 

 

Edited by KohakuSan

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Okay, I found out it's a problem with Safety Wall but I don't understand why. I didn't edit it anywhere and it's doing the same thing with other monsters like Kiel which were not edited.

Share this post


Link to post
Share on other sites
  • 0

I have a lot of source edits though I really don't want to change them, do you know when it was changed so I can find the commit? I'm looking in the commit notes on the github but can't find it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.