Coder Social home page Coder Social logo

Server Down / Crash about 3ceam HOT 10 CLOSED

neo-mind avatar neo-mind commented on June 18, 2024
Server Down / Crash

from 3ceam.

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
what server files u needed? how to get map server binary?

Original comment by [email protected] on 22 Mar 2011 at 7:50

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
[deleted comment]

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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 [email protected] on 22 Mar 2011 at 5:33

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
ok, thx you

Original comment by [email protected] on 23 Mar 2011 at 1:58

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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 [email protected] on 23 Mar 2011 at 4:56

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Right.

Original comment by xazax.hun on 23 Mar 2011 at 6:36

from 3ceam.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024

Original comment by xazax.hun on 10 Jun 2011 at 6:09

  • Changed state: Fixed

from 3ceam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.