Arch's not loading correctly for java editor

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

Post Reply
Logwad

Arch's not loading correctly for java editor

Post 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.
Avion
Senior member
Posts: 301
Joined: Tue Jun 03, 2003 1:16 am
Location: Canada
Contact:

Post by Avion »

hmm,
is this the latest version of the editor and are you using the 1.4.1 java runtime?
Logwad

Post 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.
Logwad

Post 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
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Given how the game works, preventing from moving diagonally wouldn't be easy to implement...
Post Reply