Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

new custom shimeji: ArithmeticException: / by zero #19

@othello777

Description

@othello777

I tried getting the english shimeji showcased in this video https://youtu.be/sHJZWkA-4FA to work on my linux. I used the converter conv.sed for Actions.xml and Behavior.xml and moved the subfolder's images into the img/ directory. I also used the sun java 6 as recommended which is how it worked in the first place. I only get the error after the shimeji has been walking around for a bit. I think the error is tied to a specific pose.
Actions.txt
Behavior.txt
(extension changed only for github upload)

My linux distro: Linux Lite 4.8 amd64 (xfce4)
Run command: /usr/lib/jvm/java6/jdk1.6.0_45/bin/java -classpath Shimeji.jar -Xmx1000m com.group_finity.mascot.Main -Djava.util.logging.config.file=./conf/logging.properties
Error:

Exception in thread "Thread-5" java.lang.ArithmeticException: / by zero
	at com.group_finity.mascot.animation.Animation.getPoseAt(Unknown Source)
	at com.group_finity.mascot.animation.Animation.next(Unknown Source)
	at com.group_finity.mascot.action.Move.tick(Unknown Source)
	at com.group_finity.mascot.action.ActionBase.next(Unknown Source)
	at com.group_finity.mascot.action.ComplexAction.tick(Unknown Source)
	at com.group_finity.mascot.action.ActionBase.next(Unknown Source)
	at com.group_finity.mascot.behavior.UserBehavior.next(Unknown Source)
	at com.group_finity.mascot.Mascot.tick(Unknown Source)
	at com.group_finity.mascot.Manager.tick(Unknown Source)
	at com.group_finity.mascot.Manager.access$000(Unknown Source)
	at com.group_finity.mascot.Manager$2.run(Unknown Source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions