Issue information

Issue ID
#8374
Status
Confirmed
Severity
None
Started
Gerz
Sep 28, 2014 23:03
Last Post
Ind
Oct 5, 2014 6:44
Confirmation
Yes (1)
No (0)

Gerz - Sep 28, 2014 23:03

[code=auto:0] status->ChangeFlagTable[SC_MTF_MLEATKED] |= SCB_ALL; [/code][code=auto:0] autobonus "{ .@i = 5*getrefine(); montransform 1115,5000,SC_MTF_MLEATKED; bonus bBaseAtk,25+.@i; bonus2 bSPRegenRate,-5,1000; }",(20+(3*getrefine())),5000,0,{ specialeffect2 EF_ENHANCE; }"; [/code]

CRASH! work normal if using another SC method, only crash if SC had statuschangeflagtable |= SCB_ALL

please check

Ind - Oct 5, 2014 5:54

Thanks for all the info I was able to reproduce. Working on it

Ind - Oct 5, 2014 6:44

Its because of a endless loop:[code=auto:0] ... (5528 times the same as below) frame #5529: 0x0000000100143383 map-server`buildin_montransform(st=0x0000000102368e6c) + 2243 at script.c:17847 frame #5530: 0x00000001000f7c73 map-server`run_func(st=0x0000000102368e6c) + 547 at script.c:3826 frame #5531: 0x00000001000f8964 map-server`run_script_main(st=0x0000000102368e6c) + 980 at script.c:4045 frame #5532: 0x00000001000f806a map-server`run_script(rootscript=0x00000001079f01dc, pos=0, rid=2005311, oid=0) + 138 at script.c:3888 frame #5533: 0x00000001000f93e6 map-server`script_run_autobonus(autobonus=0x00000001023ae74c, id=2005311, pos=23) + 198 at script.c:4213 frame #5534: 0x00000001001625ea map-server`pc_delautobonus(sd=0x0000000101101830, autobonus=0x000000010110e728, max='\n', restore=true) + 490 at pc.c:1989 frame #5535: 0x00000001000ae28b map-server`status_calc_pc_(sd=0x0000000101101830, opt=SCO_NONE) + 2203 at status.c:2535 frame #5536: 0x00000001000b6bae map-server`status_calc_bl_(bl=0x0000000101101830, flag=SCB_ALL, opt=SCO_NONE) + 590 at status.c:4020 frame #5537: 0x00000001000d380d map-server`status_change_start(src=0x0000000000000000, bl=0x0000000101101830, type=SC_MTF_MLEATKED, rate=10000, val1=0, val2=0, val3=0, val4=0, tick=5000, flag=0) + 53789 at status.c:9510 frame #5538: 0x0000000100143485 map-server`buildin_montransform(st=0x0000000102368e04) + 2501 at script.c:17849 frame #5539: 0x00000001000f7c73 map-server`run_func(st=0x0000000102368e04) + 547 at script.c:3826 frame #5540: 0x00000001000f8964 map-server`run_script_main(st=0x0000000102368e04) + 980 at script.c:4045 frame #5541: 0x00000001000f806a map-server`run_script(rootscript=0x00000001079f01dc, pos=0, rid=2005311, oid=0) + 138 at script.c:3888 frame #5542: 0x00000001000f93e6 map-server`script_run_autobonus(autobonus=0x00000001023ae74c, id=2005311, pos=23) + 198 at script.c:4213 frame #5543: 0x00000001001625ea map-server`pc_delautobonus(sd=0x0000000101101830, autobonus=0x000000010110e728, max='\n', restore=true) + 490 at pc.c:1989 frame #5544: 0x00000001000ae28b map-server`status_calc_pc_(sd=0x0000000101101830, opt=SCO_FORCE) + 2203 at status.c:2535 frame #5545: 0x00000001000b6bae map-server`status_calc_bl_(bl=0x0000000101101830, flag=SCB_ALL, opt=SCO_FORCE) + 590 at status.c:4020 frame #5546: 0x00000001001b7a96 map-server`battle_delay_damage_sub(tid=62, tick=1412488482702, id=0, data=4312964104) + 1382 at battle.c:245 frame #5547: 0x00000001001b42b2 map-server`do_timer(tick=1412488482719) + 1426 at timer.c:397 frame #5548: 0x000000010034bd8b map-server`main(argc=1, argv=0x00007fff5fbffbf0) + 603 at core.c:255 [/code]