Go Back   Champions of Regnum > English > The Inn

The Inn A place to gather around and chat about almost any subject

Closed Thread
 
Thread Tools Display Modes
Old 12-04-2008, 06:12 PM   #71
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

I must congratulate you. This is very well done.
I do however have some problems with the version you provided.

As I use 64-bits Linux Java WebStart is not available for me, so I downloaded the .jar files from the lib directory and tried to launch the application, which failed.

Code:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/Content             
        at regnumhelper.gui.FigurePanel.<init>(FigurePanel.java:48)                     
        at regnumhelper.gui.RegnumHelperFrame.<init>(RegnumHelperFrame.java:85)         
        at regnumhelper.Main.<init>(Main.java:48)                                       
        at regnumhelper.Main.main(Main.java:138)
Caused by: java.lang.ClassNotFoundException: org.jdom.Content
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
        ... 4 more
Jdom is installed using my package manager and all lib Jar-files are in the same directory

Another thing...
What if you have so much items in your clan bank that the scrollbars will still display if you stretch the window all over the screen?

Still - great work!
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg
Znurre no ha iniciado sesión  
Old 12-04-2008, 07:27 PM   #72
Angelwinged_Devil
Banned
 
Angelwinged_Devil's Avatar
 
Join Date: Feb 2007
Location: Under your skin Posts: 1337
Posts: 2,490
Angelwinged_Devil is on a distinguished road
Default

Quote:
Originally Posted by znurre
What if you have so much items in your clan bank that the scrollbars will still display if you stretch the window all over the screen?
isn't there a way to give in the mousebutton or something? then make an option to tell how many items it scrolls down for each scroll?
Angelwinged_Devil no ha iniciado sesión  
Old 12-04-2008, 08:04 PM   #73
Conzar
Pledge
 
Join Date: Oct 2008
Posts: 29
Conzar is on a distinguished road
Default

Quote:
Jdom is installed using my package manager and all lib Jar-files are in the same directory
There might be a problem with the version of Jdom that you are using. Try explicitly using the Jdom.jar that is provided. So something like
Code:
java -cp libs/jdom.jar:<insert rest of jars> regnumhelper.Main
Quote:
What if you have so much items in your clan bank that the scrollbars will still display if you stretch the window all over the screen?
Can you spread the items out through the 5 tabs? The program clicks on all the tabs via the Robot class.

I really haven't thought about how to deal with the scroll bar.

Quote:
then make an option to tell how many items it scrolls down for each scroll?
What do you mean by this?

Also, here is a link of how the screen grabbing works (its an earlier version without the network but you will get and understanding of how it should work).
http://www.monky-games.com/regnumhel...rMuleTest.mpeg

Any thoughts on how to deal with the scroll bar are welcome!
Conzar no ha iniciado sesión  
Old 12-04-2008, 08:38 PM   #74
Eli2
Apprentice
 
Eli2's Avatar
 
Join Date: Jun 2007
Posts: 73
Eli2 is on a distinguished road
Default

Could you please share the sourcecode.
Its GPL you know
__________________
Regnum: It's Highly Addictive!
Eli2 no ha iniciado sesión  
Old 12-04-2008, 09:35 PM   #75
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Quote:
Originally Posted by Conzar
There might be a problem with the version of Jdom that you are using. Try explicitly using the Jdom.jar that is provided. So something like
Code:
java -cp libs/jdom.jar:<insert rest of jars> regnumhelper.Main
That works!
Code:
java -cp jdom.jar:miglayout-3.6.jar:RegnumHelper.jar regnumhelper.Main
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg
Znurre no ha iniciado sesión  
Old 12-04-2008, 09:50 PM   #76
Conzar
Pledge
 
Join Date: Oct 2008
Posts: 29
Conzar is on a distinguished road
Default

I've been PM'ing Hellman2 and asked him in an email about how we should collaberate and share the code.

For instance, is there a code repository that I can upload to? Has the owner of the code considered making a sourceforge project? They have SVN and CVS access ... too bad their is no git (I really prefer to use git for source control). Even if we don't use source control, sourceforge is a good place to keep tarballs.

Yea, I know its GPL v3. I think at this point, we need to figure out where the source code will live, how the source code will be managed, etc. I would be willing to create a sourceforge project since I already have several projects posted there.

On a side note, I refactored the source to use the package name regnumhelper instead of javaapplication1 too
Conzar no ha iniciado sesión  
Old 12-04-2008, 10:13 PM   #77
Eli2
Apprentice
 
Eli2's Avatar
 
Join Date: Jun 2007
Posts: 73
Eli2 is on a distinguished road
Default

A SourceForge project would be great, if hellman agrees.
Considering the program itself, we should implement something like a plugin architecture.
__________________
Regnum: It's Highly Addictive!
Eli2 no ha iniciado sesión  
Old 12-04-2008, 10:47 PM   #78
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by Eli2
Considering the program itself, we should implement something like a plugin architecture.
We're trying to add that feature to the rolgps2, but we're still unable to make it work. I'm pretty busy with the exams and the rest of the team is having a hard time with their jobs.

What about using xul for the gui, xml for the config files and sqlite for any other possible use?

I'd love to have some feedback from this project. Oh, btw, an old version of the rolgps2 code is available in the CVS project, in http://rolgps.sourceforge.net.

There's a googlecode project too, but the code is just awful.
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión  
Old 12-05-2008, 01:54 AM   #79
Conzar
Pledge
 
Join Date: Oct 2008
Posts: 29
Conzar is on a distinguished road
Default

I'm not exactly sure how a plugin interface would work. I'm also unsure why its needed.

Is there any specific reason why there should be a plugable type interface?

Whats wrong with just adding onto the tool like it is?
Conzar no ha iniciado sesión  
Old 12-05-2008, 11:53 AM   #80
Hellman2
Pledge
 
Hellman2's Avatar
 
Join Date: Mar 2008
Location: Germany
Posts: 38
Hellman2 is on a distinguished road
Default

Hi,

Adding it to sourceforge would be a good idea.
But i personally dont have time - too much work to do in my job at the moment.

A Plugin concept would be nice, because then you are able to just write a Plugin and can disable plugins you dont need. But i havent done much research on it yet. Eli has mentioned the JPF Framework. But i havent checked it out yet.

This weekend i have to look what conzar has done so far
__________________
Hellman Two - Conjuror/Supporter (RA - Lvl 47 forever?!?)
~~~ VALHALLA ~~~
Fear my buffs
Hellman2 no ha iniciado sesión  
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved