#2119 Stendhal: Combat system need finer tunning

closed-accepted
None
4
2006-03-29
2006-01-09
No

When fighting with a player with DEF 0 it showed this.

340719 ERROR marauroa.common.game.Attributes -
Attribute damage [creature] caused an exception
java.lang.NumberFormatException: Value out of range.
Value:"2147483647" Radix:10
at java.lang.Short.parseShort(Unknown Source)
at java.lang.Short.parseShort(Unknown Source)
at marauroa.common.game.Attributes.
writeObject(Attributes.java:371)
at marauroa.common.game.RPObject.
writeObject(RPObject.java:293)
at marauroa.common.game.RPObject.
writeObject(RPObject.java:288)
at marauroa.common.net.OutputSerializer.
write(OutputSerializer.java:34)
at marauroa.common.net.MessageS2CPerception.
computeStaticPartPerception(MessageS2CPerception.java:
445)

at marauroa.common.net.MessageS2CPerception.
access$300(MessageS2CPerception.java:45)
at marauroa.common.net.
MessageS2CPerception$CachedCompressedPerception.
get(MessageS2CPerception.java:3
87)
at marauroa.common.net.MessageS2CPerception.
getPrecomputedStaticPartPerception(MessageS2CPerception.
ja
va:409)
at marauroa.common.net.MessageS2CPerception.
writeObject(MessageS2CPerception.java:196)
at marauroa.common.net.OutputSerializer.
write(OutputSerializer.java:34)
at marauroa.server.net.
NetworkServerManager$NetworkServerManagerWrite.
serializeMessage(NetworkServerMa
nager.java:243)
at marauroa.server.net.
NetworkServerManager$NetworkServerManagerWrite.
write(NetworkServerManager.java:
259)
at marauroa.server.net.NetworkServerManager.
addMessage(NetworkServerManager.java:159)
at marauroa.server.game.RPServerManager.
sendPlayerPerception(RPServerManager.java:235)
at marauroa.server.game.RPServerManager.
buildPerceptions(RPServerManager.java:265)
at marauroa.server.game.RPServerManager.
run(RPServerManager.java:495)

Discussion

  • Miguel Angel Blanch Lardin

    • assigned_to: nobody --> arianne_rpg
    • status: open --> closed-accepted
     
  • Miguel Angel Blanch Lardin

    Logged In: YES
    user_id=3949

    That is fixed.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks