[MOD 0.12.X] Galactic Trade

Topics and discussion about specific mods
Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

still bugy, unable to open a save

Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

Boun6000 wrote:still bugy, unable to open a save
Edit:nvm, fixed it, save opens, unable to test in multiplay, im sure its still buggy tho, will test when i can

Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

u might want to cheack this line:
__GlacticticTrade__/control.lua:174:attempt to index feld
possable couse:
'gt_current_buying_trading_page' (a number value)

can it be fixed or something?

Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

Boun6000 wrote:u might want to cheack this line:
__GlacticticTrade__/control.lua:174:attempt to index feld
possable couse:
'gt_current_buying_trading_page' (a number value)

can it be fixed or something?
Edit:and this is with another player fyi

coopmaster
Fast Inserter
Fast Inserter
Posts: 109
Joined: Mon May 18, 2015 1:12 am
Contact:

Re: [0.12]Galactic Trade

Post by coopmaster »

Airat9000 wrote:
coopmaster wrote:
Boun6000 wrote:could u make ur mod compatible with multiplayer? Please? Me and my bro r trying to play with it, and it just breaks the game it self(not the the point that wont work anymore but closes the game). If u can.

Edit:makes me a lil sad not to be able too
I will definitely work on it and get it out hopefully for the next release. I don't know how long it's going to take me though, probably a couple of days.
bug

i send to mods in 0.12.2
https://yadi.sk/d/6fv5BnLNiM3KY
Its not a bug, follow the instructions that it gives you.
1. Go to your factorio directory then /script-output/GalacticTrade
2. Open the TroubleItems.txt
3. Copy the text it gives you
4. Go to the Galactic Trade mod folder and open the config.lua file
5. right above the last "end", paste the contents of the other file
6. after each "=" where there isn't a "false", you need to put a value for that item. If you don't want that item to have a value, delete the line and change the corresponding other line to "true".

Looks like you have a lot of mods and I can't really help you with all of them, but it should be a lot easier than it was with earlier versions.
Creator of the Galactic Trade mod

coopmaster
Fast Inserter
Fast Inserter
Posts: 109
Joined: Mon May 18, 2015 1:12 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by coopmaster »

Boun6000 wrote:
Boun6000 wrote:u might want to cheack this line:
__GlacticticTrade__/control.lua:174:attempt to index feld
possable couse:
'gt_current_buying_trading_page' (a number value)

can it be fixed or something?
Edit:and this is with another player fyi
This version won't work with older saves unfortunately. I forgot to put that in the post and will update it. I just had to change a lot of how my mod saves stuff to make it compatible with older versions. If you want to keep the save you can follow these steps:

1. Disable my mod and restart the game
2. Open the save again, it should say that a mod is missing and should remove any mod items
3. save the game again
4. enable my mod again and restart the game
5. open the save back up and it should work

If for some reason this doesn't work, let me know. But as long as both of you are using the latest version of my mod and using a new save it should work.
Creator of the Galactic Trade mod

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: [0.12]Galactic Trade

Post by Airat9000 »

coopmaster wrote:
Airat9000 wrote:
coopmaster wrote:
Boun6000 wrote:could u make ur mod compatible with multiplayer? Please? Me and my bro r trying to play with it, and it just breaks the game it self(not the the point that wont work anymore but closes the game). If u can.

Edit:makes me a lil sad not to be able too
I will definitely work on it and get it out hopefully for the next release. I don't know how long it's going to take me though, probably a couple of days.
bug

i send to mods in 0.12.2
https://yadi.sk/d/6fv5BnLNiM3KY
Its not a bug, follow the instructions that it gives you.
1. Go to your factorio directory then /script-output/GalacticTrade
2. Open the TroubleItems.txt
3. Copy the text it gives you
4. Go to the Galactic Trade mod folder and open the config.lua file
5. right above the last "end", paste the contents of the other file
6. after each "=" where there isn't a "false", you need to put a value for that item. If you don't want that item to have a value, delete the line and change the corresponding other line to "true".

Looks like you have a lot of mods and I can't really help you with all of them, but it should be a lot easier than it was with earlier versions.

above ?
copy in? TroubleItems
global.gt_extra_item_values["compression-chest-mined-5"] =
global.gt_extra_blacklist["compression-chest-mined-5"] = false
global.gt_extra_item_values["y-small-stirling-engine"] =
global.gt_extra_blacklist["y-small-stirling-engine"] = false
global.gt_extra_item_values["reset-compression-chests"] =
global.gt_extra_blacklist["reset-compression-chests"] = false

to config?
global.gt_extra_item_values["compression-chest-mined-5"] = true
global.gt_extra_blacklist["compression-chest-mined-5"] = true
global.gt_extra_item_values["y-small-stirling-engine"] = true
global.gt_extra_blacklist["y-small-stirling-engine"] = true
global.gt_extra_item_values["reset-compression-chests"] = true
global.gt_extra_blacklist["reset-compression-chests"] = true
Attachments
2015-08-09_18-47-30.jpg
2015-08-09_18-47-30.jpg (252.86 KiB) Viewed 8543 times
2015-08-09_18-47-11.jpg
2015-08-09_18-47-11.jpg (246.65 KiB) Viewed 8543 times

coopmaster
Fast Inserter
Fast Inserter
Posts: 109
Joined: Mon May 18, 2015 1:12 am
Contact:

Re: [0.12]Galactic Trade

Post by coopmaster »

Airat9000 wrote: above ?
copy in? TroubleItems
global.gt_extra_item_values["compression-chest-mined-5"] =
global.gt_extra_blacklist["compression-chest-mined-5"] = false
global.gt_extra_item_values["y-small-stirling-engine"] =
global.gt_extra_blacklist["y-small-stirling-engine"] = false
global.gt_extra_item_values["reset-compression-chests"] =
global.gt_extra_blacklist["reset-compression-chests"] = false

to config?
global.gt_extra_item_values["compression-chest-mined-5"] = true
global.gt_extra_blacklist["compression-chest-mined-5"] = true
global.gt_extra_item_values["y-small-stirling-engine"] = true
global.gt_extra_blacklist["y-small-stirling-engine"] = true
global.gt_extra_item_values["reset-compression-chests"] = true
global.gt_extra_blacklist["reset-compression-chests"] = true
for example your above text would be something like:

global.gt_extra_item_values["compression-chest-mined-5"] = 100
global.gt_extra_blacklist["compression-chest-mined-5"] = false
global.gt_extra_item_values["y-small-stirling-engine"] = 100
global.gt_extra_blacklist["y-small-stirling-engine"] = false
global.gt_extra_item_values["reset-compression-chests"] = 100
global.gt_extra_blacklist["reset-compression-chests"] = false

but it looks like those items might not be meant to be bought, for any item that shouldn't be in the market, do:
global.gt_extra_item_values["y-small-stirling-engine"] = 100
global.gt_extra_blacklist["y-small-stirling-engine"] = false
to:
global.gt_extra_blacklist["y-small-stirling-engine"] = true
Creator of the Galactic Trade mod

Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

and ya i do play with alot of mods, but item list in the buy cheast did show or load up thom is it because of all these mods?
and thx tho
i will make a mod spot light on it as soon as i can

Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

coopmaster wrote:
Boun6000 wrote:
Boun6000 wrote:u might want to cheack this line:
__GlacticticTrade__/control.lua:174:attempt to index feld
possable couse:
'gt_current_buying_trading_page' (a number value)

can it be fixed or something?
Edit:and this is with another player fyi
This version won't work with older saves unfortunately. I forgot to put that in the post and will update it. I just had to change a lot of how my mod saves stuff to make it compatible with older versions. If you want to keep the save you can follow these steps:

1. Disable my mod and restart the game
2. Open the save again, it should say that a mod is missing and should remove any mod items
3. save the game again
4. enable my mod again and restart the game
5. open the save back up and it should work

If for some reason this doesn't work, let me know. But as long as both of you are using the latest version of my mod and using a new save it should work.
ok, i'll test this theory
i will let u know tho

Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

i could not get it to work with my old save, but loaded up a new game and it work, still gave me an err of me other mods tho but ill fix it when i get to it, i hope u put in full mod support

coopmaster
Fast Inserter
Fast Inserter
Posts: 109
Joined: Mon May 18, 2015 1:12 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by coopmaster »

Boun6000 wrote:i could not get it to work with my old save, but loaded up a new game and it work, still gave me an err of me other mods tho but ill fix it when i get to it, i hope u put in full mod support
unfortunately I'm limited to what the mod api gives me and that means that I can't give item values to everything automatically. mods that add ore and items which aren't supposed to be crafted I can't make work without going through all of the mods and figuring out what needs to be added to the market and what price they need to be at. Not to mention some mods have the same items, like Bob's mods and dytech both have gold ore. Should both of them be priced the same? I have no idea and unfortunately I can't get how hard it is to mine them or how rare they are (or as far as I know). As this is the case, I have to have you guys add the values to the market and hope that you guys post what you get here so I can put it in the config.lua so others can use it. I will try to make that easier, but for now if you do add support for other mods please post what you get here, it helps a lot.
Creator of the Galactic Trade mod

Boun6000
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Jul 29, 2015 7:51 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Boun6000 »

coopmaster wrote:
Boun6000 wrote:i could not get it to work with my old save, but loaded up a new game and it work, still gave me an err of me other mods tho but ill fix it when i get to it, i hope u put in full mod support
unfortunately I'm limited to what the mod api gives me and that means that I can't give item values to everything automatically. mods that add ore and items which aren't supposed to be crafted I can't make work without going through all of the mods and figuring out what needs to be added to the market and what price they need to be at. Not to mention some mods have the same items, like Bob's mods and dytech both have gold ore. Should both of them be priced the same? I have no idea and unfortunately I can't get how hard it is to mine them or how rare they are (or as far as I know). As this is the case, I have to have you guys add the values to the market and hope that you guys post what you get here so I can put it in the config.lua so others can use it. I will try to make that easier, but for now if you do add support for other mods please post what you get here, it helps a lot.
alright man, but maby when i fully become a programer myself, i'll send u alot of thing u'll need for full mod support, but fornow i'll let know of more wuts buggy and wuts not, still more info to come, i'll keep u posted

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: [0.12]Galactic Trade

Post by Airat9000 »

coopmaster wrote:
Airat9000 wrote: above ?
copy in? TroubleItems
global.gt_extra_item_values["compression-chest-mined-5"] =
global.gt_extra_blacklist["compression-chest-mined-5"] = false
global.gt_extra_item_values["y-small-stirling-engine"] =
global.gt_extra_blacklist["y-small-stirling-engine"] = false
global.gt_extra_item_values["reset-compression-chests"] =
global.gt_extra_blacklist["reset-compression-chests"] = false

to config?
global.gt_extra_item_values["compression-chest-mined-5"] = true
global.gt_extra_blacklist["compression-chest-mined-5"] = true
global.gt_extra_item_values["y-small-stirling-engine"] = true
global.gt_extra_blacklist["y-small-stirling-engine"] = true
global.gt_extra_item_values["reset-compression-chests"] = true
global.gt_extra_blacklist["reset-compression-chests"] = true
for example your above text would be something like:

global.gt_extra_item_values["compression-chest-mined-5"] = 100
global.gt_extra_blacklist["compression-chest-mined-5"] = false
global.gt_extra_item_values["y-small-stirling-engine"] = 100
global.gt_extra_blacklist["y-small-stirling-engine"] = false
global.gt_extra_item_values["reset-compression-chests"] = 100
global.gt_extra_blacklist["reset-compression-chests"] = false

but it looks like those items might not be meant to be bought, for any item that shouldn't be in the market, do:
global.gt_extra_item_values["y-small-stirling-engine"] = 100
global.gt_extra_blacklist["y-small-stirling-engine"] = false
to:
global.gt_extra_blacklist["y-small-stirling-engine"] = true
and question
global.gt_extra_blacklist["y-small-stirling-engine"] = 100
to rename?
global.gt_extra_item_values["y-small-stirling-engine"] = 100
I did the right thing? to appear?
Attachments
2015-08-10_13-03-22.jpg
2015-08-10_13-03-22.jpg (271.16 KiB) Viewed 8706 times
2015-08-10_6-58-32.jpg
2015-08-10_6-58-32.jpg (302.4 KiB) Viewed 8714 times

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Airat9000 »

I tried to register in 2 versions still climbs mistake.
Attachments
2015-08-10_13-24-31.jpg
2015-08-10_13-24-31.jpg (383.61 KiB) Viewed 8702 times
2015-08-10_13-26-24.jpg
2015-08-10_13-26-24.jpg (273.41 KiB) Viewed 8702 times
2015-08-10_13-26-45.jpg
2015-08-10_13-26-45.jpg (264.36 KiB) Viewed 8702 times

HellEye
Inserter
Inserter
Posts: 37
Joined: Thu Feb 21, 2013 9:37 pm
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by HellEye »

Hey! I like this mod, it let me jump straight into advanced oil processing without the need for normal first (and also couple other things). I've updated to v0.6 from 0.5.whatever (lastest before it) and got the error: http://scr.hu/2ror/ut3p4 when going into buy chest menu. Everything else seems to work fine and was working before. Gonna downgrade now and see if it's some other thing or the update (I've also added 2 more mods to my game)

@EDIT Downgraded version works fine, so 0.6 is broken :)

coopmaster
Fast Inserter
Fast Inserter
Posts: 109
Joined: Mon May 18, 2015 1:12 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by coopmaster »

HellEye wrote:Hey! I like this mod, it let me jump straight into advanced oil processing without the need for normal first (and also couple other things). I've updated to v0.6 from 0.5.whatever (lastest before it) and got the error: http://scr.hu/2ror/ut3p4 when going into buy chest menu. Everything else seems to work fine and was working before. Gonna downgrade now and see if it's some other thing or the update (I've also added 2 more mods to my game)

@EDIT Downgraded version works fine, so 0.6 is broken :)
If you are trying to use an old save, then that's why it broke. You can follow the steps below or start a new save to update to the new version. If you aren't playing multiplayer then there isn't really a reason to update to 0.6 for now.
coopmaster wrote:1. Disable my mod and restart the game
2. Open the save again, it should say that a mod is missing and should remove any mod items
3. save the game again
4. enable my mod again and restart the game
5. open the save back up and it should work
Creator of the Galactic Trade mod

coopmaster
Fast Inserter
Fast Inserter
Posts: 109
Joined: Mon May 18, 2015 1:12 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by coopmaster »

Airat9000 wrote:I tried to register in 2 versions still climbs mistake.
I think that you need to set the variable for the for statement to true. For example, if you pasted

Code: Select all

if gt_mod_name_here then
...
end
You need to make sure that it looks like this

Code: Select all

gt_mod_name_here = true
if gt_mod_name_here then
...
end
edit: alternatively you can get rid of the

Code: Select all

if gt_mod_name_here then
and

Code: Select all

end
.
Creator of the Galactic Trade mod

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Airat9000 »

coopmaster wrote:
Airat9000 wrote:I tried to register in 2 versions still climbs mistake.
I think that you need to set the variable for the for statement to true. For example, if you pasted

Code: Select all

if gt_mod_name_here then
...
end
You need to make sure that it looks like this

Code: Select all

gt_mod_name_here = true
if gt_mod_name_here then
...
end
edit: alternatively you can get rid of the

Code: Select all

if gt_mod_name_here then
and

Code: Select all

end
.
I can show you the normal instance, I do not understand the example of the initial code I gave

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: [0.12]Galactic Trade (Now With Multiplayer)

Post by Airat9000 »

Airat9000 wrote:
coopmaster wrote:
Airat9000 wrote:I tried to register in 2 versions still climbs mistake.
I think that you need to set the variable for the for statement to true. For example, if you pasted

Code: Select all

if gt_mod_name_here then
...
end
You need to make sure that it looks like this

Code: Select all

gt_mod_name_here = true
if gt_mod_name_here then
...
end
edit: alternatively you can get rid of the

Code: Select all

if gt_mod_name_here then
and

Code: Select all

end
.
I can show you the normal instance, I do not understand the example of the initial code I gave

Code: Select all

global.gt_extra_blacklist
to

Code: Select all

global.gt_extra_Yuoki_0.2.33
wright?

Post Reply

Return to “Mods”