Page 1 of 1

Arch's not loading correctly for java editor

Posted: Sun Jan 04, 2004 1:24 am
by Logwad
I downloaded the java editor for crossfire on my windows 98 computer into this directory "C:\WINDOWS\Desktop\crossfire\CFJavaEditor".

At first it wouldn't start by just double clicking on the jar file, so I created a .bat file that would start it.

Then I downloaded the crossfire arch files and put them in this directory "C:\WINDOWS\Desktop\crossfire\arch", and set the path in the editor accordingly.

But when I try to run the editor is loads up fine but then stops while loading the weapons>swords arch's, which is the first thing it tries to load.

This is the log shown in the java prompt.
"Loaded 206 spells from 'spells.xml'
Loaded 72 types from 'types.xml'
Start to collect arches...

Exception in thread "main" java.lang.NoSuchMethodError: com.sixlegs.image.png.Pn
gImage.setFlushAfterNextProduction(Z)V
at cfeditor.ArchObjectStack.addPNGFace(ArchObjectStack.java:785)
at cfeditor.ArchObjectStack.loadArchFromFiles(ArchObjectStack.java:383)
at cfeditor.ArchObjectStack.loadArchFromFiles(ArchObjectStack.java:363)
at cfeditor.ArchObjectStack.loadArchFromFiles(ArchObjectStack.java:363)
at cfeditor.ArchObjectStack.loadArchFromFiles(ArchObjectStack.java:363)
at cfeditor.ArchObjectStack.loadArches(ArchObjectStack.java:189)
at cfeditor.CFJavaEditor.main(CFJavaEditor.java:62)"

If there is anyone that can help me I would greatly appreciate it.

Posted: Tue Jan 06, 2004 1:58 am
by Avion
hmm,
is this the latest version of the editor and are you using the 1.4.1 java runtime?

Posted: Tue Jan 06, 2004 9:34 pm
by Logwad
I am using the latest editor, but I have java 1.4.2, so I shall try downloading 1.4.1 and see if it works.

Posted: Tue Jan 06, 2004 10:04 pm
by Logwad
It worked, I downloaded java 1.4.1 int the plae where I had put the jar file of the editor, thanks for the suggestion. Even if the editor takes 3 hours to load. Anyway, now I can cheat!... I mean make creative maps :)

Also I noticed on the world map that there is a tower where you can play sokoban (push balls onto buttons). I also noticed that it completly sucks.
First, you can move diagonally, which takes any sort of challenge out of it, and you can't save your place.

I am pretty sure I could create a way to be able to save your position (using cards that would record the lvl your on and would disapear if dropped, so you couldn't give it to someone else, and using something similer to the apartments in scorn) and would be willing to do all that work, including creating the soko lvls, if someone else would create a way to prevent diagonal movement.

I would love to do this mainly because it would provide somewhere that we have to use our brain, rather than just slash-and-bash

Posted: Tue Jan 06, 2004 10:46 pm
by Ryo
Given how the game works, preventing from moving diagonally wouldn't be easy to implement...