HELP - Mods, Muling, Utilities & Variants (EG RWM/RWM/ATMA etc)

Status
Not open for further replies.
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

@Helx: Open up Terminal and type "Java -version" from memory.

@silos: I will try re-sizing the window when I get home. I definately used the open button.
 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Thanks Maxicek. Here's my Java version (if it's still needed):

Code:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)

@ Skinhead on the MBTA: great catch, Flavie works perfectly for me now with the 2 copied files.

@ Silo: the window resize thing worked perfectly and the filter window shows up properly now. Great job on the new version--thanks for your hard work!
 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Glad you got it sorted Helx :)

Just Max left with problems then. I'm really interested in getting to the bottom of this can't open characters problem.

To open it in terminal you could always just try the *nix and windows way.

cd to the directory with GoMule.jar in it.
Then enter: java -jar GoMule.jar

and see what happens.
 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

I'll try that tonight silos. BTW the window re-sizing didn't work for me.


Edit:
Do you think the problem is with my Java version? Looking at the Mac support pages, I am on the most up to date I can have with my OS – I would have to upgrade to 10.4 to get a different version.
 
Last edited:
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Is the a way to edit Flavie's standard.css etc. to make it 1.09 compliant? or is there a 1.09 Flavie out there?
 
Last edited:
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Is the a way to edit Flavie's standard.css etc. to make it 1.09 compliant? or is there a 1.09 Flavie out there?

ATMA generates the txt files for Flavie, so as long as ATMA works for 1.09 Flavie should work as well.

Edit:
Sorry, misread. The css (and the dat) file is a plain ASCII file, you can edit it freely. I've no idea if somebody kept a 1.09 file though.

Marco



 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Do you think the problem is with my Java version? Looking at the Mac support pages, I am on the most up to date I can have with my OS – I would have to upgrade to 10.4 to get a different version.

It shouldn't be. GoMule is entirely 1.4 compliant, or at least everything I can see tells me it is!

Have you tried running it from the terminal yet? I really need an error message then I've got something to work on :)

java -jar GoMule.jar

When you're in the same directory.

If you don't see anything, I'll see if I can obtain the version of Mac OS you have and run it on my virtual box.



 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

@silos: I entirely forgot to try that, I'll do it tonight.
 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

So, Silo.

Is GoMule 1.12 compliant?

*runs*
 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

@silos:
Code:
Computer:/Applications/Games/GoMule Max$ java -jar GoMule.jar
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.NoSuchMethodError: java.awt.Font.createFont(ILjava/io/File;)Ljava/awt/Font;
java.lang.NoSuchMethodError: java.awt.Font.createFont(ILjava/io/File;)Ljava/awt/Font;
        at gomule.gui.D2ViewChar.<init>(D2ViewChar.java:210)
        at gomule.gui.D2FileManager.openChar(D2FileManager.java:685)
        at gomule.gui.D2ViewProject$CharTreeNode.view(D2ViewProject.java:449)
        at gomule.gui.D2ViewProject$4.mouseReleased(D2ViewProject.java:142)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
        at java.awt.Component.processMouseEvent(Component.java:5166)
        at java.awt.Component.processEvent(Component.java:4963)
        at java.awt.Container.processEvent(Container.java:1613)
        at java.awt.Component.dispatchEventImpl(Component.java:3681)
        at java.awt.Container.dispatchEventImpl(Container.java:1671)
        at java.awt.Component.dispatchEvent(Component.java:3543)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
        at java.awt.Container.dispatchEventImpl(Container.java:1657)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3543)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.NoSuchMethodError: java.awt.Font.createFont(ILjava/io/File;)Ljava/awt/Font;
java.lang.NoSuchMethodError: java.awt.Font.createFont(ILjava/io/File;)Ljava/awt/Font;
        at gomule.gui.D2ViewChar.<init>(D2ViewChar.java:210)
        at gomule.gui.D2FileManager.openChar(D2FileManager.java:685)
        at gomule.gui.D2ViewProject$CharTreeNode.view(D2ViewProject.java:449)
        at gomule.gui.D2ViewProject$4.mouseReleased(D2ViewProject.java:142)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
        at java.awt.Component.processMouseEvent(Component.java:5166)
        at java.awt.Component.processEvent(Component.java:4963)
        at java.awt.Container.processEvent(Container.java:1613)
        at java.awt.Component.dispatchEventImpl(Component.java:3681)
        at java.awt.Container.dispatchEventImpl(Container.java:1671)
        at java.awt.Component.dispatchEvent(Component.java:3543)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
        at java.awt.Container.dispatchEventImpl(Container.java:1657)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3543)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Add Stash: /Applications/Games/Diablo II Folder/Save/Quarantine.d2x
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.Error: Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
java.lang.Error: Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
        at javax.swing.JFrame.createRootPaneException(JFrame.java:465)
        at javax.swing.JFrame.addImpl(JFrame.java:491)
        at java.awt.Container.add(Container.java:307)
        at gomule.gui.D2ViewStash$4.filterPopUp(D2ViewStash.java:415)
        at gomule.gui.D2ViewStash$4.actionPerformed(D2ViewStash.java:243)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247)
        at java.awt.Component.processMouseEvent(Component.java:5166)
        at java.awt.Component.processEvent(Component.java:4963)
        at java.awt.Container.processEvent(Container.java:1613)
        at java.awt.Component.dispatchEventImpl(Component.java:3681)
        at java.awt.Container.dispatchEventImpl(Container.java:1671)
        at java.awt.Component.dispatchEvent(Component.java:3543)
        at javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispatcher.retargetMouseEvent(BasicInternalFrameUI.java:1420)
        at javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispatcher.forwardMouseEvent(BasicInternalFrameUI.java:1356)
        at javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispatcher.mouseReleased(BasicInternalFrameUI.java:1286)
        at java.awt.Component.processMouseEvent(Component.java:5166)
        at java.awt.Component.processEvent(Component.java:4963)
        at java.awt.Container.processEvent(Container.java:1613)
        at java.awt.Component.dispatchEventImpl(Component.java:3681)
        at java.awt.Container.dispatchEventImpl(Container.java:1671)
        at java.awt.Component.dispatchEvent(Component.java:3543)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
        at java.awt.Container.dispatchEventImpl(Container.java:1657)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3543)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

I opened it, tried to open a character & tried the filter, then quit.

Hope that means something to you.
 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Bugger.

Here's the lowdown:

Font issues - MS Windows has larger monospace so it's cut all the stats off the bottom! **** YOU MICROSOFT.
- Solution - Extract linux mono font and supply in resources? May work.
- FIXED. Makes mine look worse though (grumble grumble). Stupud windows users

So, the standard Java monospaced font is different on every computer, causing the information to flow outside the boxes.

Solution: Take the standard Linux monospaced font and force it to use that rather than the standard monospaced font, since it fits.

----------------------------------------------

Your problem:

Code:
java.lang.NoSuchMethodError: java.awt.Font.createFont(ILjava/io/File;)

So in Java 1.4, you can't do this. Interestingly, this should be thrown up by the compiler, as I'm compiling it for 1.4. However, Apple use their own Java tweaks, so it looks like they haven't included this one in their version. Still, I'll look into it, just in case it's an error on my end.

The filter not displaying is related to:

Code:
"Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead"
Just an annoying difference of opinion between different versions basically.

---------------------------------

So it all looks reasonably fixable, I'll see what I can pull out.

Max - Mind if I contact you by email (I have your maxicekuk version) with some files to test out when I get the fixes in place? Obviously I can't replicate the problems you're having easily, so it would be great if you could double check 'em for me when the time comes.
 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Max - Mind if I contact you by email (I have your maxicekuk version) with some files to test out when I get the fixes in place? Obviously I can't replicate the problems you're having easily, so it would be great if you could double check 'em for me when the time comes.

Not a problem, but you will have to prompt me to check it by PM as I only normally check it when trading. Thanks for the help.



 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

So in Java 1.4, you can't do this. Interestingly, this should be thrown up by the compiler, as I'm compiling it for 1.4. However, Apple use their own Java tweaks, so it looks like they haven't included this one in their version. Still, I'll look into it, just in case it's an error on my end.

Are you compiling with 1.5 or 1.6 ?

This is not a problem of the compiler as the "byte" code is correctly compatible for 1.4 (it couldn't run otherwise).

But libraries is a different thing, if you build and run with the 1.5 or 1.6 libraries, which include this routine, you can build and run.
But somebody with a true 1.4 lack these libraries, so it gives runtime-errors.

Cute isn't it

(to be sure it really compiles, compile with true 1.4 JDK even if only for the actual release)

Marco



 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Are you compiling with 1.5 or 1.6 ?

This is not a problem of the compiler as the "byte" code is correctly compatible for 1.4 (it couldn't run otherwise).

But libraries is a different thing, if you build and run with the 1.5 or 1.6 libraries, which include this routine, you can build and run.
But somebody with a true 1.4 lack these libraries, so it gives runtime-errors.

Cute isn't it

(to be sure it really compiles, compile with true 1.4 JDK even if only for the actual release)

Marco

Bleh, it's seriously that stupid? So even if everything is set to 1.4 compatibility and you're compiling to 1.4 (The ant scripts do that, right? Looks like they do. You wrote them :P).

But hey de ho de, I'll have a looksie.



 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

Bleh, it's seriously that stupid? So even if everything is set to 1.4 compatibility and you're compiling to 1.4 (The ant scripts do that, right? Looks like they do. You wrote them :P).

But hey de ho de, I'll have a looksie.

Correct, even if all is set to 1.4 compatibility compiling with a newer jdk can cause such problems.

To prevent it sun needed to add all "old" libraries to every new JDK, downloads become really huge that way.

Marco



 
Re: The Mods, Muling and Utilities Thread (new ATMA/GoMule thread)

silospen said:
So, the standard Java monospaced font is different on every computer, causing the information to flow outside the boxes.

Solution: Take the standard Linux monospaced font and force it to use that rather than the standard monospaced font, since it fits.
I tend to avoid (programming in) Java, because I loathe it, but surely it's possible to use some text metrics functions and size things accordingly, no? Seems better than using a hackish solution of forcing non-native fonts.

Of course, Java is developed in such an asinine fashion that I wouldn't be surprised if you need to use JNI to accomplish this, which defeats the platform independence goals.
 
Status
Not open for further replies.
Back
Top