Issue Information
-
#006446
-
0 - None Assigned
-
Fixed
Issue Confirmations
-
Yes (5)No (2)
Map Server Disconnects when WoE starts and ends
This is strange when the woe starts and ends the map server disconnects.
ok i will try that gdb.. but do i need to install it? or anything?
i think your server probably already has it installed (it comes built-in in most OSes)
Great Heavens i have still this crashed issue but when i tryed the patch that Brynner provided that crash is gone while if i removed the patched guild2 and replaced by a non patched guild2 folder the crash is still there. Also i tryed to make a GDB Dump in a result of it is a Core file with 561MB . I have copied a little part of it because its too big
#0 0x00aa0d79 in vfprintf () from /lib/libc.so.6<br />No symbol table info available.<br />#1 0x00abe1dc in vsprintf () from /lib/libc.so.6<br />No symbol table info available.<br />#2 0x00aaa4de in sprintf () from /lib/libc.so.6<br />No symbol table info available.<br />#3 0x081006cb in buildin_charat (st=0x97000a6c) at script.c:13312<br /> str = 0xabd81b84 "df1"<br /> pos = 2<br /> output = 0x9785c31c ""<br /> __FUNCTION__ = "buildin_charat"<br />#4 0x080ef2e6 in run_func (st=0x97000a6c) at script.c:3466<br /> data = 0x96ed449c<br /> i = 2<br /> end_sp = <value optimized out><br />#5 0x0810ea92 in run_script_main (st=0x97000a6c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655289<br /> gotocount = 2044<br /> sd = <value optimized out><br /> stack = 0x971c7d84<br /> nd = <value optimized out><br />#6 0x080d2936 in npc_event_do_sub (key=..., data=0xcbe0ca8,<br />ap=0xbf023858 "t8\002\277lZ \227zZ \227\300\232\034\b\f") at npc.c:336<br /> c = 0xbf023874<br /> name = <value optimized out><br />#7 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf023858 "t8\002\277lZ \227zZ \227\300\232\034\b\f") at db.c:1931<br /> argscopy = 0xbf023858 "t8\002\277lZ \227zZ \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 54<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#8 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf023858 "t8\002\277lZ \227zZ \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#9 0x080d1834 in npc_event_do (name=0x97205a6c "df1#arug_cas05::OnEnable")<br /> at npc.c:351<br /> c = 0<br />#10 0x08105c2b in buildin_donpcevent (st=0x970346fc) at script.c:8931<br /> event = 0x97205a6c "df1#arug_cas05::OnEnable"<br />#11 0x080ef2e6 in run_func (st=0x970346fc) at script.c:3466<br /> data = 0x96f062a4<br /> i = 5<br /> end_sp = <value optimized out><br />#12 0x0810ea92 in run_script_main (st=0x970346fc) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655326<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x97205a0c<br /> nd = <value optimized out><br />#13 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf0239c8 "\344\071\002\277<Z \227LZ \227\300\232\034\b\f")<br /> at npc.c:336<br /> c = 0xbf0239e4<br /> name = <value optimized out><br />#14 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf0239c8 "\344\071\002\277<Z \227LZ \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf0239c8 "\344\071\002\277<Z \227LZ \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br />parent = 0xbf023630<br />#15 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf0239c8 "\344\071\002\277<Z \227LZ \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#16 0x080d1834 in npc_event_do (name=0x97205a3c "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#17 0x08105c2b in buildin_donpcevent (st=0x970346ac) at script.c:8931<br /> event = 0x97205a3c "gard1#arug_cas05::OnReset"<br />#18 0x080ef2e6 in run_func (st=0x970346ac) at script.c:3466<br /> data = 0x96f05f94<br /> i = 5<br /> end_sp = <value optimized out><br />#19 0x0810ea92 in run_script_main (st=0x970346ac) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x972059ac<br /> nd = <value optimized out><br />#20 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf023b38 "T;\002\277\334Y \227\354Y \227\300\232\034\b\f")<br /> at npc.c:336<br /> c = 0xbf023b54<br /> name = <value optimized out><br />#21 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf023b38 "T;\002\277\334Y \227\354Y \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf023b38 "T;\002\277\334Y \227\354Y \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#22 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf023b38 "T;\002\277\334Y \227\354Y \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#23 0x080d1834 in npc_event_do (name=0x972059dc "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#24 0x08105c2b in buildin_donpcevent (st=0x9703465c) at script.c:8931<br /> event = 0x972059dc "gard1#arug_cas05::OnReset"<br />#25 0x080ef2e6 in run_func (st=0x9703465c) at script.c:3466<br /> data = 0x96f05c84<br /> i = 5<br /> end_sp = <value optimized out><br />#26 0x0810ea92 in run_script_main (st=0x9703465c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x9720594c<br /> nd = <value optimized out><br />#27 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf023ca8 "\304<\002\277|Y \227\214Y \227\300\232\034\b\f")<br /> at npc.c:336<br /> c = 0xbf023cc4<br /> name = <value optimized out><br />#28 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf023ca8 "\304<\002\277|Y \227\214Y \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf023ca8 "\304<\002\277|Y \227\214Y \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#29 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf023ca8 "\304<\002\277|Y \227\214Y \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#30 0x080d1834 in npc_event_do (name=0x9720597c "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#31 0x08105c2b in buildin_donpcevent (st=0x9703460c) at script.c:8931<br /> event = 0x9720597c "gard1#arug_cas05::OnReset"<br />#32 0x080ef2e6 in run_func (st=0x9703460c) at script.c:3466<br /> data = 0x96f05974<br /> i = 5<br /> end_sp = <value optimized out><br />#33 0x0810ea92 in run_script_main (st=0x9703460c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x972058ec<br /> nd = <value optimized out><br />#34 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf023e18 "4>\002\277\034Y \227,Y \227\300\232\034\b\f") at npc.c:336<br /> c = 0xbf023e34<br /> name = <value optimized out><br />#35 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf023e18 "4>\002\277\034Y \227,Y \227\300\232\034\b\f") at db.c:1931<br /> argscopy = 0xbf023e18 "4>\002\277\034Y \227,Y \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#36 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf023e18 "4>\002\277\034Y \227,Y \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#37 0x080d1834 in npc_event_do (name=0x9720591c "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#38 0x08105c2b in buildin_donpcevent (st=0x970345bc) at script.c:8931<br /> event = 0x9720591c "gard1#arug_cas05::OnReset"<br />#39 0x080ef2e6 in run_func (st=0x970345bc) at script.c:3466<br /> data = 0x96f9bd34<br /> i = 5<br /> end_sp = <value optimized out><br />#40 0x0810ea92 in run_script_main (st=0x970345bc) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x9720588c<br /> nd = <value optimized out><br />#41 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf023f88 "\244?\002\277\274X \227\314X \227\300\232\034\b\f")<br /> at npc.c:336<br /> c = 0xbf023fa4<br /> name = <value optimized out><br />#42 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf023f88 "\244?\002\277\274X \227\314X \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf023f88 "\244?\002\277\274X \227\314X \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#43 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf023f88 "\244?\002\277\274X \227\314X \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#44 0x080d1834 in npc_event_do (name=0x972058bc "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#45 0x08105c2b in buildin_donpcevent (st=0x9703456c) at script.c:8931<br /> event = 0x972058bc "gard1#arug_cas05::OnReset"<br />#46 0x080ef2e6 in run_func (st=0x9703456c) at script.c:3466<br /> data = 0x96f9ba24<br /> i = 5<br /> end_sp = <value optimized out><br />#47 0x0810ea92 in run_script_main (st=0x9703456c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x9720582c<br /> nd = <value optimized out><br />#48 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf0240f8 "\024A\002\277\\X \227lX \227\300\232\034\b\f") at npc.c:336<br /> c = 0xbf024114<br /> name = <value optimized out><br />#49 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf0240f8 "\024A\002\277\\X \227lX \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf0240f8 "\024A\002\277\\X \227lX \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#50 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf0240f8 "\024A\002\277\\X \227lX \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#51 0x080d1834 in npc_event_do (name=0x9720585c "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#52 0x08105c2b in buildin_donpcevent (st=0x9703451c) at script.c:8931<br /> event = 0x9720585c "gard1#arug_cas05::OnReset"<br />#53 0x080ef2e6 in run_func (st=0x9703451c) at script.c:3466<br /> data = 0x96f9b714<br /> i = 5<br /> end_sp = <value optimized out><br />#54 0x0810ea92 in run_script_main (st=0x9703451c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x972057cc<br /> nd = <value optimized out><br />#55 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf024268 "\204B\002\277\374W \227\fX \227\300\232\034\b\f")<br /> at npc.c:336<br /> c = 0xbf024284<br /> name = <value optimized out><br />#56 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf024268 "\204B\002\277\374W \227\fX \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf024268 "\204B\002\277\374W \227\fX \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br />node = <value optimized out><br /> parent = 0xbf023630<br />#57 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf024268 "\204B\002\277\374W \227\fX \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#58 0x080d1834 in npc_event_do (name=0x972057fc "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#59 0x08105c2b in buildin_donpcevent (st=0x970344cc) at script.c:8931<br /> event = 0x972057fc "gard1#arug_cas05::OnReset"<br />#60 0x080ef2e6 in run_func (st=0x970344cc) at script.c:3466<br /> data = 0x96f9b404<br /> i = 5<br /> end_sp = <value optimized out><br />#61 0x0810ea92 in run_script_main (st=0x970344cc) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x9720576c<br /> nd = <value optimized out><br />#62 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf0243d8 "\364C\002\277\234W \227\254W \227\300\232\034\b\f")<br /> at npc.c:336<br /> c = 0xbf0243f4<br /> name = <value optimized out><br />#63 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf0243d8 "\364C\002\277\234W \227\254W \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf0243d8 "\364C\002\277\234W \227\254W \227\300\232\034\b\f<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#64 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf0243d8 "\364C\002\277\234W \227\254W \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#65 0x080d1834 in npc_event_do (name=0x9720579c "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#66 0x08105c2b in buildin_donpcevent (st=0x9703447c) at script.c:8931<br /> event = 0x9720579c "gard1#arug_cas05::OnReset"<br />#67 0x080ef2e6 in run_func (st=0x9703447c) at script.c:3466<br /> data = 0x96f9b0f4<br /> i = 5<br /> end_sp = <value optimized out><br />#68 0x0810ea92 in run_script_main (st=0x9703447c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x9720570c<br /> nd = <value optimized out><br />#69 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf024548 "dE\002\277<W \227LW \227\300\232\034\b\f") at npc.c:336<br /> c = 0xbf024564<br /> name = <value optimized out><br />#70 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf024548 "dE\002\277<W \227LW \227\300\232\034\b\f") at db.c:1931<br /> argscopy = 0xbf024548 "dE\002\277<W \227LW \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#71 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf024548 "dE\002\277<W \227LW \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#72 0x080d1834 in npc_event_do (name=0x9720573c "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#73 0x08105c2b in buildin_donpcevent (st=0x9703442c) at script.c:8931<br /> event = 0x9720573c "gard1#arug_cas05::OnReset"<br />#74 0x080ef2e6 in run_func (st=0x9703442c) at script.c:3466<br /> data = 0x96f9ade4<br /> i = 5<br /> end_sp = <value optimized out><br />#75 0x0810ea92 in run_script_main (st=0x9703442c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x972056ac<br /> nd = <value optimized out><br />#76 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf0246b8 "\324F\002\277\334V \227\354V \227\300\232\034\b\f")<br /> at npc.c:336<br /> c = 0xbf0246d4<br /> name = <value optimized out><br />#77 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf0246b8 "\324F\002\277\334V \227\354V \227\300\232\034\b\f")<br /> at db.c:1931<br /> argscopy = 0xbf0246b8 "\324F\002\277\334V \227\354V \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#78 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf0246b8 "\324F\002\277\334V \227\354V \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#79 0x080d1834 in npc_event_do (name=0x972056dc "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#80 0x08105c2b in buildin_donpcevent (st=0x970343dc) at script.c:8931<br /> event = 0x972056dc "gard1#arug_cas05::OnReset"<br />#81 0x080ef2e6 in run_func (st=0x970343dc) at script.c:3466<br /> data = 0x96f9aad4<br /> i = 5<br /> end_sp = <value optimized out><br />#82 0x0810ea92 in run_script_main (st=0x970343dc) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x9720564c<br /> nd = <value optimized out><br />#83 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,<br /> ap=0xbf024828 "DH\002\277|V \227\214V \227\300\232\034\b\f") at npc.c:336<br /> c = 0xbf024844<br /> name = <value optimized out><br />#84 0x081ab0f6 in db_obj_vforeach (self=0xaecc971c,<br /> func=0x80d28c0 <npc_event_do_sub>,<br /> args=0xbf024828 "DH\002\277|V \227\214V \227\300\232\034\b\f") at db.c:1931<br /> argscopy = 0xbf024828 "DH\002\277|V \227\214V \227\300\232\034\b\f"<br /> db = <value optimized out><br /> i = 98<br /> sum = 0<br /> node = <value optimized out><br /> parent = 0xbf023630<br />#85 0x081aa256 in db_obj_foreach (self=0xbf023630,<br /> func=0x80d28c0 <npc_event_do_sub>) at db.c:1977<br /> args = 0xbf024828 "DH\002\277|V \227\214V \227\300\232\034\b\f"<br /> ret = <value optimized out><br />#86 0x080d1834 in npc_event_do (name=0x9720567c "gard1#arug_cas05::OnReset")<br /> at npc.c:351<br /> c = 0<br />#87 0x08105c2b in buildin_donpcevent (st=0x9703438c) at script.c:8931<br /> event = 0x9720567c "gard1#arug_cas05::OnReset"<br />#88 0x080ef2e6 in run_func (st=0x9703438c) at script.c:3466<br /> data = 0x96f9a7c4<br /> i = 5<br /> end_sp = <value optimized out><br />#89 0x0810ea92 in run_script_main (st=0x9703438c) at script.c:3714<br /> c = C_NOP<br /> cmdcount = 655302<br /> gotocount = 2048<br /> sd = <value optimized out><br /> stack = 0x972055ec<br /> nd = <value optimized out><br />#90 0x080d2936 in npc_event_do_sub (key=..., data=0xcb6f480,
it happens to me also... ._.
finally someone submitted a GDB Dump. i hope this time you'll find out what is the causes of bug. because of that. rathena emulator become more unstable now. due to map server crashes.
yeah, if i can help with this... if you're using Toasty's woe controller, and turn off the woe, it crashes xD and with command sometimes o.o example:
i do @agitstart ---> ok
i do @agitend ---> sometimes crashes, sometimes works well...
i do @agitstart2 ---> OK
i do @agitend2 ---> LAG and server CRASHES...
With Woe CONTROLER --> Always crashes when woe ends...
Index: src/map/guild.c =================================================================== --- src/map/guild.c (revision 455) +++ src/map/guild.c (working copy) @@ -2293,19 +2293,19 @@ int guild_agit_start(void) { // Run All NPC_Event[OnAgitStart] int c = npc_event_doall("OnAgitStart"); - struct guild_castle* gc; + //struct guild_castle* gc; DBIterator *iter = db_iterator(castle_db); ShowStatus("NPC_Event:[OnAgitStart] Run (%d) Events by @AgitStart.\n",c); - for( gc = (struct guild_castle*)dbi_first(iter); dbi_exists(iter); gc = (struct guild_castle*)dbi_next(iter) ) - { - if( gc->castle_id >= 24 ) - continue; // WoE SE Castle - if( !gc->guild_id ) - continue; // No owner + //for( gc = (struct guild_castle*)dbi_first(iter); dbi_exists(iter); gc = (struct guild_castle*)dbi_next(iter) ) + //{ + //if( gc->castle_id >= 24 ) + //continue; // WoE SE Castle + //if( !gc->guild_id ) + //continue; // No owner - gc->capture_tick = last_tick; - } + //gc->capture_tick = last_tick; + //} dbi_destroy(iter); return 0; } @@ -2315,26 +2315,26 @@ int c = npc_event_doall("OnAgitEnd"); ShowStatus("NPC_Event:[OnAgitEnd] Run (%d) Events by @AgitEnd.\n",c); // Stop auto saving - guild_ranking_save(1); + //guild_ranking_save(1); return 0; } int guild_agit2_start(void) { // Run All NPC_Event[OnAgitStart2] int c = npc_event_doall("OnAgitStart2"); - struct guild_castle* gc; + //struct guild_castle* gc; DBIterator *iter = db_iterator(castle_db); ShowStatus("NPC_Event:[OnAgitStart2] Run (%d) Events by @AgitStart2.\n",c); - for( gc = (struct guild_castle*)dbi_first(iter); dbi_exists(iter); gc = (struct guild_castle*)dbi_next(iter) ) - { - if( gc->castle_id < 24 ) - continue; // Non WoE SE Castle - if( !gc->guild_id ) - continue; // No owner + //for( gc = (struct guild_castle*)dbi_first(iter); dbi_exists(iter); gc = (struct guild_castle*)dbi_next(iter) ) + //{ + //if( gc->castle_id < 24 ) + //continue; // Non WoE SE Castle + //if( !gc->guild_id ) + //continue; // No owner - gc->capture_tick = last_tick; - } + //gc->capture_tick = last_tick; + //} dbi_destroy(iter); return 0; } @@ -2344,7 +2344,7 @@ int c = npc_event_doall("OnAgitEnd2"); ShowStatus("NPC_Event:[OnAgitEnd2] Run (%d) Events by @AgitEnd2.\n",c); // Stop auto saving - guild_ranking_save(2); + //guild_ranking_save(2); return 0; }
Recompile
Diff Patch.
http://www.mediafire...p3v12duznbeb13q
Edited by Yuasa, 14 August 2012 - 11:32 PM.
does anyone try the patch of Yuasa?if it fix the map server crashed?
Yes Fixed. In the rAmod.
hmmm still waiting for the mod to confirm it. since someone is already submit a GDB Dump which they are looking for to find out what is the causes of map server crashes.
Is not oficial patch. It is one creation for my Staff to my server because the woe crashes xD you can test.
haha, it doesn't work on rAthena... woes still Crashing...
@edit:
i checked the Brynner's fix and works perfect to me o.o
Edited by InfectedX, 15 August 2012 - 12:50 AM.
I can't reproduce any error, using both agitstart/end and 2, and using toasty woe controller (with some fixes by me )
haha, it doesn't work on rAthena... woes still Crashing...@edit:i checked the Brynner's fix and works perfect to me o.o
it will work 100% because it is the original files before they modified the script of guild2. but as of now its better to use since eathena is still using that old script because it is more stable than rathena modified guild2 script.
yeah, i think so... anyway... =/ xD
thank you very much, we can trace it now. will be working on it.Great Heavens i have still this crashed issue but when i tryed the patch that Brynner provided that crash is gone while if i removed the patched guild2 and replaced by a non patched guild2 folder the crash is still there. Also i tryed to make a GDB Dump in a result of it is a Core file with 561MB . I have copied a little part of it because its too big
finally i hope it will be fix now
Fixed in [rev=16638] Special thanks to lelouch vi britannia for the dump.
finally hope there is no map server crashes on this latest updates. ill check it later. thanks for fixing
Its not fixed already i tryed to updated my server svn till r16638 but the map server still crashes after WoE SE Ends. if i can give you the full core dump but quite too big 548mb geez!!Fixed in [rev=16638] Special thanks to lelouch vi britannia for the dump.
Epicnesssssss......
Edited by Lelouch vi Britannia, 16 August 2012 - 05:48 AM.