12-04-2008, 06:12 PM | #71 |
Marquis
Join Date: Jan 2007
Location: RA
Posts: 1,897
|
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 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 |
12-04-2008, 07:27 PM | #72 | |
Banned
Join Date: Feb 2007
Location: Under your skin Posts: 1337
Posts: 2,490
|
Quote:
|
|
12-04-2008, 08:04 PM | #73 | |||
Pledge
Join Date: Oct 2008
Posts: 29
|
Quote:
Code:
java -cp libs/jdom.jar:<insert rest of jars> regnumhelper.Main Quote:
I really haven't thought about how to deal with the scroll bar. Quote:
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! |
|||
12-04-2008, 08:38 PM | #74 |
Apprentice
Join Date: Jun 2007
Posts: 73
|
Could you please share the sourcecode.
Its GPL you know
__________________
Regnum: It's Highly Addictive! |
12-04-2008, 09:35 PM | #75 | |
Marquis
Join Date: Jan 2007
Location: RA
Posts: 1,897
|
Quote:
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 |
|
12-04-2008, 09:50 PM | #76 |
Pledge
Join Date: Oct 2008
Posts: 29
|
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 |
12-04-2008, 10:13 PM | #77 |
Apprentice
Join Date: Jun 2007
Posts: 73
|
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! |
12-04-2008, 10:47 PM | #78 | |
Duke
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
|
Quote:
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. |
|
12-05-2008, 01:54 AM | #79 |
Pledge
Join Date: Oct 2008
Posts: 29
|
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? |
12-05-2008, 11:53 AM | #80 |
Pledge
Join Date: Mar 2008
Location: Germany
Posts: 38
|
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 |
|
|