Issue information

Issue ID
#6891
Status
New
Severity
None
Started
Hercules Elf Bot
Nov 13, 2012 7:10
Last Post
Hercules Elf Bot
Nov 13, 2012 15:58
Confirmation
N/A

Hercules Elf Bot - Nov 13, 2012 7:10

Originally posted by [b]komkit0710[/b]
Hi,

I got an out of bounds error in get_com when I use Multiple Map Server to separate guild wars maps to another Map Server.


Guild Wars Maps Server just open
[quote]

//--- Ep4.1 The War of Emperium ---

map: alde_gld
map: aldeg_cas01
map: aldeg_cas02
map: aldeg_cas03
map: aldeg_cas04
map: aldeg_cas05
map: gefg_cas01
map: gefg_cas02
map: gefg_cas03
map: gefg_cas04
map: gefg_cas05
map: gld_dun01
map: gld_dun02
map: gld_dun03
map: gld_dun04
map: guild_room
map: guild_vs1
map: guild_vs2
map: guild_vs3
map: guild_vs4
map: guild_vs5
map: guild_vs1-1
map: guild_vs1-2
map: guild_vs1-3
map: guild_vs1-4
map: guild_vs2-1
map: guild_vs2-2
map: job_hunter
map: job_hunte
//map: job_knight
map: job_knt
//map: job_priest
map: job_prist
map: job_sword1
//map: job_wizard
map: job_wiz
map: pay_gld
map: payg_cas01
map: payg_cas02
map: payg_cas03
map: payg_cas04
map: payg_cas05
map: prt_gld
map: prtg_cas01
map: prtg_cas02
map: prtg_cas03
map: prtg_cas04
map: prtg_cas05
[/quote]

But Main Server got crash

[quote]

Program received signal SIGSEGV, Segmentation fault.
0x000000000048850a in get_com (
script=0x833442b60f0a74d2 <Address 0x833442b60f0a74d2 out of bounds>,
pos=0x7fffea720474) at script.c:3055
3055 if(script[*pos]>=0x80){
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6_2.12.x
_64 libgcc-4.4.6-3.el6.x86_64
(gdb) bt full
#0 0x000000000048850a in get_com (
script=0x833442b60f0a74d2 <Address 0x833442b60f0a74d2 out of bounds>,
pos=0x7fffea720474) at script.c:3055
i = 0
j = 0
#1 0x00000000004998d8 in run_script_main (st=0x7fffea720464) at script.c:3690
c = <value optimized out>
cmdcount = 655353
gotocount = 2048
sd = <value optimized out>
stack = 0x7fffe8edf8e4
nd = <value optimized out>
#2 0x0000000000470a37 in npc_scriptcont (sd=0x73145b0,
id=<value optimized out>) at npc.c:1179
No locals.
#3 0x0000000000428a35 in clif_parse (fd=99) at clif.c:16402
cmd = 326
packet_ver = <value optimized out>
packet_len = 6
err = -1
sd = 0x73145b0
pnum = <value optimized out>
#4 0x0000000000540702 in do_sockets (next=<value optimized out>)
at socket.c:816
---Type <return> to continue, or q <return> to quit---
rfd = {__fds_bits = {2048, 34359738368, 0 <repeats 510 times>}}
timeout = {tv_sec = 0, tv_usec = 49471}
ret = <value optimized out>
i = <value optimized out>
#5 0x000000000053eb83 in main (argc=1, argv=0x7fffffffe1a8) at core.c:303
next = <value optimized out>
[/quote]

Now I use only 1 Map Server, It is not error

Hercules Elf Bot - Nov 13, 2012 15:58

Originally posted by [b]GreenBox[/b]
multi-zone server support was never really finished, maybe it's another problem but I don't recommend you to use it.