Forums » Community Projects
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.
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.
Can you put v1.7 back up? I delete it :(
this is version 1.9 give it a spin and see.
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.
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>
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>
OH I see what's going on here. sorry about that.
try this
try this
It now seems to be working - thank you very much.
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).
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).
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.
Fix confirmed, thanks.
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 ?
it's just one file, main.lua. Try this.
[edit] i fail.
well, at least it's got a proper table layout.
maq, looks like you have an older version. Bump it up to the latest version and that should be fixed.
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>
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>
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.
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.
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.