VSTrade: 0.3.0.0 (3 july 2008)

A forum for the discussion and development of programs to assist working on or playing with the Vegastrike engine and data sets.
Post Reply
GoldenGnu
Bounty Hunter
Bounty Hunter
Posts: 155
Joined: Fri Jan 27, 2006 6:58 pm
Location: Denmark

Post by GoldenGnu »

A Little update...
I almost completed making the category columns editable...

Still haven't look over the user interface...
huginn wrote:Hmm, I'm not a UI expert. It would be nice having more rows for the table. 3 columns would be one option to achieve this. The other the one I mentioned (halving Switches and take the other half for Views). I use vstrade fullscreen anyway. So I cannot say. But if you really want my vote, I'd keep the 2 columns.
As you properly know, you can hide all the input boxes, by clicking on the little black arrow, on the separator (on windows systems, anyway)... But I could make some buttons, like "Hide input boxes" - "Show input boxes", to make it even simpler to figure out... And make an option to auto hide the input boxes, when pressing search... what do you think about that option?

I'll keep the 2 column layout, for now then...
Image
VSTrade - A Merchants Guide to Intergalactic Trading!
0.3.0.0 Stable (3 july 2008)
elli222
Trader
Trader
Posts: 30
Joined: Fri Nov 09, 2007 3:49 pm

Post by elli222 »

I found a bug (in linux) the program assumes your running it from your home directory, but im running it somewhere else.
Quickfix: copy vstrade_files.xml into your home directory
GoldenGnu
Bounty Hunter
Bounty Hunter
Posts: 155
Joined: Fri Jan 27, 2006 6:58 pm
Location: Denmark

Post by GoldenGnu »

It use the working directory to find the files, so if you run it from the home directory, it'll look to the files there... and when I say working directory, I mean the directory you type:
java - jar [path]

The correct solution, is to run vstrade.jar, from its own directory:
java -jar vstrade.jar

I'll try to find the files another way or at least, remove the invalid way to run vstrade.jar from vstrade_readme.txt

Thank you very much for the bug report! :)

EDIT:
It should be fixed now...
It will now first look in the working directory, if the files are not found, It'll look in the directory where the vstrade.jar is located.
The fix will be included in the next release... :)
Image
VSTrade - A Merchants Guide to Intergalactic Trading!
0.3.0.0 Stable (3 july 2008)
elli222
Trader
Trader
Posts: 30
Joined: Fri Nov 09, 2007 3:49 pm

Post by elli222 »

when is the next release :D
GoldenGnu
Bounty Hunter
Bounty Hunter
Posts: 155
Joined: Fri Jan 27, 2006 6:58 pm
Location: Denmark

Post by GoldenGnu »

I'm doing other stuff ATM. but, I'll properly get back to code on VSTrade soon....

So it might be a while... I know it's not very enlightening, sorry... :oops:
Image
VSTrade - A Merchants Guide to Intergalactic Trading!
0.3.0.0 Stable (3 july 2008)
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: VSTrade: 0.3.0.0 (3 july 2008)

Post by shenle »

Just started with vstrade. Got it to crash. FWIW I use the latest VegaStrike from the SVN as of today (compiled by me, see the compile support forum). Here is the crash log. I was searching for stuff to trade between mining stations and oceanic planets FWIW. I use jre 1.6.0_02

(Info) Starting VSTrade 0.3.0.0
(Info) Paths loaded
(Info) Language: en (US)
(Info) Settings loaded
(Info) Readme loaded
(Info) GUI loaded
(Info) Cargo loaded
(Info) Bases loaded
(Info) Galaxy loaded
--------------------------------
(Info) Language: en (US)
(Info) Settings saved (vstrade_settings.xml)
(Info) Cargo loaded
(Info) Bases loaded
(Info) Galaxy loaded
(Error) UncaughtException (sun.awt.exception.handler):
Please post the vstrade_log.txt at:
http://vegastrike.sourceforge.net/forum ... php?t=6286

java.lang.IndexOutOfBoundsException: Cannot get at 4 on list of size 2
at ca.odell.glazedlists.TransformedList.get(TransformedList.java:102)
at vstrade.moduls.trade.TradeTable.prepareRenderer(TradeTable.java:48)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
make me a sandwich
make: *** No rule to make target 'me'. Stop.
Amitabho
Explorer
Explorer
Posts: 11
Joined: Sun Oct 19, 2008 8:01 am

Re: VSTrade: 0.3.0.0 (3 july 2008)

Post by Amitabho »

Why is there an 'uncultivatable' system in Redemption? They're all 'jumpless'.
Sheltem
Trader
Trader
Posts: 24
Joined: Thu Oct 25, 2007 10:23 am
Location: Germany/Hessen

Re: VSTrade: 0.3.0.0 (3 july 2008)

Post by Sheltem »

java.lang.IndexOutOfBoundsException: Cannot get at 38 on list of size 17
at ca.odell.glazedlists.TransformedList.get(TransformedList.java:102)
at vstrade.moduls.trade.TradeTable.prepareRenderer(TradeTable.java:48)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Regards,
Roman
Asus F3J, T5600, 2 GB RAM, X1700 Graphic and Windows Vista successful deinstalled.
unavailableartist
Explorer
Explorer
Posts: 12
Joined: Mon Nov 07, 2011 3:45 am

Re: VSTrade: 0.3.0.0 (3 july 2008)

Post by unavailableartist »

Ok so I know this is really old, and I don't know if anyone is still working on this... at all. But I was wondering if there was a way to update the names on this tool. I found it really useful though. makes trading plausible to me. And lets me shop for Items.

I found some of the names are not even mentioned on here like... Biodiverse planets... and etc. And some are never used from the tool, like Red Rocky, J class, K class....
Post Reply