Issue information

Issue ID
#5455
Status
Fixed
Severity
Medium
Started
Hercules Elf Bot
Mar 16, 2012 16:22
Last Post
Hercules Elf Bot
Apr 19, 2012 18:54
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Mar 16, 2012 16:22

Originally posted by [b]Poseid0n[/b]
Hello Everybody, currently, the map server become more and more unstable.

I have founded a bug with the NPC_CRITICALWOUNDED script. In fact, if a player equip an item which contains NPC_CRITICALWOUNDED in his script, the map server crash.

It's the same if a player who had an item which contains NPC_CRITICALWOUND equipped tries to connect, te map server crash too. The error is reported in skill.c at ligne 117, during the return of function.

For example, or for testing, you can use a "Ivory_Knife" (ID = 13039)

Poseidon

Ps : There are a similar bug with timer.c which doing restart the map server, but actually, I dont know why.

Hercules Elf Bot - Mar 16, 2012 17:53

Originally posted by [b]Wildcard[/b]
The immediate crash has been fixed in [url="http://sourceforge.net/apps/trac/rathena/changeset/15691"]r15691[/url]. It was a typo (NPC_CRITICALWOUNDS instead of NPC_CRITICALWOUND).
Should probably warn and preferably not crash.

Fixed the reason for the crash in [s][url="http://sourceforge.net/apps/trac/rathena/changeset/15692"]r15692[/url][/s] [url="http://sourceforge.net/apps/trac/rathena/changeset/15693"]r15693[/url].

This post has been edited by Wildcard on Mar 16, 2012 18:48