Closed GoogleCodeExporter closed 8 years ago
Please upload to somewhere those core files together with your server files (
your mapserver binary ), so I can analyze to get the reason of the crash.
Note: the core usually can be compressed fairly well, so eventually after
compression it wont be too big to upload somewhere.
Original comment by xazax.hun
on 21 Mar 2011 at 8:20
what server files u needed? how to get map server binary?
Original comment by edwin.k...@gmail.com
on 22 Mar 2011 at 7:50
Map server binary is the file you run. In the mos cases map-server_sql or
something like that, so basically the executable file. And I need the core
files of course. ( The more core file you provide is the better. )
Or of you don't want to share those files you can do the analyze yourself using
gdb:
gdb map-server_binary_name core_filename
then you will get gdb> prompt. Type: bt full. Give me the output of that
command.
Original comment by xazax.hun
on 22 Mar 2011 at 4:30
[deleted comment]
this is src files I edited:
mapindex.h -> for @go
mmo.h -> change MAX_CHARS_SLOTS to 12; MAX_PARTY to 24;
atcommand.c -> add town in @go; add @sit; add @freeze; add @unfreeze;
map.h -> change MAX_EVENTQUEUE to 5;
skill.c -> add this patch manually
http://3ceam.googlecode.com/svn/Diff/Bug%20Fix/emgrcool.patch
status.c -> add this patch manually
http://3ceam.googlecode.com/svn/Diff/Exploit%20Fix/statMVPim.patch
Original comment by edwin.k...@gmail.com
on 22 Mar 2011 at 5:33
I analyzed the core dumps and all the crashes are happened because one reason.
It is a known problem and will be fixed in the next revision.
Until than you can fix it yourself:
In battle.c search for:
case SR_RAMPAGEBLASTER
around line: 2268
and replace the 2 "sd->spiritball_old" with "(sd?sd->spiritball_old:5)".
Recompile after that, and it should be fixed than.
Original comment by xazax.hun
on 23 Mar 2011 at 1:56
ok, thx you
Original comment by edwin.k...@gmail.com
on 23 Mar 2011 at 1:58
so, it looks like this?
if( sc && sc->data[SC_EXPLOSIONSPIRITS] )
skillratio += 40 * skill_lv * (sd?sd->spiritball_old:5) - 100;
else
skillratio += 20 * skill_lv * (sd?sd->spiritball_old:5) - 100;
right?
Original comment by edwin.k...@gmail.com
on 23 Mar 2011 at 4:56
Right.
Original comment by xazax.hun
on 23 Mar 2011 at 6:36
Original comment by xazax.hun
on 10 Jun 2011 at 6:09
Original issue reported on code.google.com by
edwin.k...@gmail.com
on 18 Mar 2011 at 6:49