Forums » Community Projects

Trade Assistant (TGFT version)

«12345»
Nov 22, 2008 Toimu link
TA v1.8 doesn't work for me, but v1.7 did. Not even when TA v1.8 is the only plugin. I'm using Windows XP.

Nov 23, 2008 blacknet link
woops, i'll check into that, sorry. In fact im going to rewrite most of it and add ore to it. In the mean time use 1.7 if that works.
Nov 23, 2008 Toimu link
Can you put v1.7 back up? I delete it :(
Nov 23, 2008 blacknet link
this is version 1.9 give it a spin and see.
Nov 23, 2008 blacknet link
OH, I also segmented mining beams and ore into it's own group. it *DOES* handle mined ore but you need to select that on tab one to see buy prices.
Nov 23, 2008 blackadder link
1.9 complains when I enter a station.

Your traceback, sir:

plugins/TA/main.lua:459: attempt to index field 'stations' (a nil value)
stack traceback:
plugins/TA/main.lua:459: in function 'func'
vo/vo_event.lua:28: in function <vo/vo_event.lua:26>
[C]: in function 'xpcall'
vo/vo_event.lua:87: in function '_do_event'
vo/vo_event.lua:108: in function 'ProcessEvent'
vo/vo_gameevent.lua:684: in function 'InitializeStation'
vo/vo_gameevent.lua:719: in function 'complete_cb'
vo/vo_ge_station.lua:275: in function 'CheckForCompletedTransaction'
vo/vo_ge_station.lua:311: in function 'SetTransactionWantCount'
vo/vo_ge_station.lua:420: in function 'func'
vo/vo_gameevent.lua:1164: in function <vo/vo_gameevent.lua:1157>
Nov 23, 2008 blacknet link
OH I see what's going on here. sorry about that.

try this
Nov 25, 2008 blackadder link
It now seems to be working - thank you very much.
Dec 11, 2008 alexw link
Hello,

Running Trade Assistant 1.9.1 (with VO 1.8.51), I encounter the following problem when using the Trade Items tab -

If I choose an item that has mixture of empty and filled in Buy or Sell values, then sort by the Buy or Sell column with this mixture, I see error traces such as these:

sent plugins/TA/main.lua:185: attempt to compare number with string
stack traceback:
vo/error.lua:61: in function <vo/error.lua:60>
plugins/TA/main.lua:185: in function <plugins/TA/main.lua:183>
[C]: in function 'sort'
plugins/TA/main.lua:111: in function 'sort_list'
plugins/TA/main.lua:131: in function 'update_matrix'
plugins/TA/main.lua:100: in function <plugins/TA/main.lua:97>
(tail call): ?

or:

sent plugins/TA/main.lua:194: attempt to compare string with number
stack traceback:
vo/error.lua:61: in function <vo/error.lua:60>
plugins/TA/main.lua:194: in function <plugins/TA/main.lua:192>
[C]: in function 'sort'
plugins/TA/main.lua:111: in function 'sort_list'
plugins/TA/main.lua:131: in function 'update_matrix'
plugins/TA/main.lua:100: in function <plugins/TA/main.lua:97>
(tail call): ?

Returning to sorting by name seems to avoid the issue.

I started using TA recently so I don't know if this worked in previous versions (or previous VO versions).
Dec 12, 2008 blacknet link
Do you have data in the matrix when this happens? It looks like the formatting of the numbers is what causes this, i.e. 567 and 1,234.
Dec 12, 2008 blacknet link
Dec 13, 2008 alexw link
Fix confirmed, thanks.
Dec 20, 2008 cujowolf link
Ok i have installed v1.1 - 1.10 with no luck of getting it to work is there something im doing wrong also the batch closes its self after opening im using Win xp **Edit** can i get a .Rar of everything i need in one file ?
Dec 20, 2008 blacknet link
it's just one file, main.lua. Try this.
Jan 23, 2009 maq link
[edit] i fail.
Jan 24, 2009 genka link
well, at least it's got a proper table layout.
Jan 25, 2009 blacknet link
maq, looks like you have an older version. Bump it up to the latest version and that should be fixed.
May 04, 2009 Gulain link
Well I have been working on a patch to use the event system best prices. got it to work.
Downsides it can only update price of a station you have been to so it is in the database. and can only update item information of an item that has been a indexed at station also. so if you pick up a "new" item floating in space the best price won't update till the main functions index it when you hit a station.
Also the returned prices seem off .. still trying to figure why. i.e. some 15 items sell at 15000 c ... = 1000c per right? but station lists sell price invidually at 1010 though you only get 15000 for 15 ... <shrugs>
May 05, 2009 blacknet link
problem here is 2 parts.

1) The old setup was you sell 1 item or 20,000 items the price is the same. The addition of an exp fall off rate for all items makes things much more difficult to handle.

2)vo tends to quote things in terms of total profit which is very unrealistic for a complete management layout. You need profit per cu to determine which items to choose.

If you sell 15 items (assuming 1 cu each) for 15,000 c, that's 15,000 / 15 = 1,000 c/cu profit which is quite good. General rule of thumb, anything over 1,000 c/cu is GOOD.

Send me the patch you have and i'll incorp it into the next release and might be able to expand it to add new stations or at least hold that data in a reserve location.
May 09, 2009 Gulain link
I am still tinkering with my own database got most of it down just adding functionality to it. No GUI ... haven't even tried yet. Message me and I'll send you the link so you can check it out.