Victoria 3
[DEPRECIATED] Automate Trade
189 件のコメント
Mr. Balls Johnson 6月21日 14時46分 
Goated mod, thanks for it.
Sapnor 6月20日 6時17分 
Thank you for your service.
kilicsizoglu 6月20日 2時43分 
up up up up pls :-<
Necrotes  [作成者] 6月19日 11時45分 
Yeah, this mod is absolutely not necessary anymore. Thank you to everyone who's used this mod, and to the many people who contributed to improve this mod in any way <3
RFK Jr’s Brain Worm 6月19日 11時38分 
With changes made in 1.9, this mod isn't really needed anymore. Thanks for all the great work!
Doni Albania 3月9日 8時59分 
hello can u update please, the trade makes my country go dificit and there are so many unavailable trades
Nazeth 2月7日 6時54分 
For me its quite good mod for lazier plaiers like me, but it has one problem. it is able to create innactive trade routes, that consume population and generate expenses. It is also unable to remove innactive or greatly unprofitable trade routes.
GLADSTONE GladiadorDaGlandeGrand 1月2日 4時49分 
btw ever since the last patch/update this mod "works" but the trade panel does not, it states "uninitialized, tick the game". The trade route list does not load.

no trade routes show up, except the ones under the "X market" of the good you're directly inspecting, meaning the trade routes do still work but the trade route panel under the F4 shortcut doesnt
GLADSTONE GladiadorDaGlandeGrand 1月2日 4時37分 
I have no idea how Vizze and Alexander can be this obtuse. The mod description clearly states that the mod can't friggin delete negative trade routes.

You're supposed to turn the automation on, create hundreds of profitable trade routes and a few unprofitable ones, turn the automation off, trash the few unprofitable routes.

I cannot conceive how someone can literally play Paradox's spreadsheet simulators but need explaining in order to understand this.
Quinnius 2024年12月17日 9時02分 
May I suggest you create a compatch for Dense UI?
I did it on my PC, it is literally just the two button_icon_round_action buttons need to be pasted into the market_panel.gui
Quinnius 2024年12月17日 8時52分 
I love this mod. It does pretty much what I needed.

I usually add everything green then sort be revenue and keep deleting back until reds are gone, and bureaucracy is positive. This mod does the adding part, so it saves quite a lot of time. It is not supposed to be turned longer than a few days, only for the time it fills the list.
Necrotes  [作成者] 2024年12月2日 6時51分 
@looking for super credits That is unfortunately not possible to do with the modding tools that are currently available, sorry.
3ffgg 2024年12月1日 23時31分 
can you make it also auto cancel non profitable routes?
mango363 2024年11月29日 2時53分 
Works perfectly for me, dunno why people keep saying it doesn't work. Also, any chance of a compatibility submod for Dense Market Details?
Necrotes  [作成者] 2024年11月27日 9時25分 
There have been a couple of people here who have helped me make this mod better, especially when it comes to trade profitability, that said, the mod is far from perfect. This mod is definitely hampered by how the AI creates trade routes, and it's something that Paradox have said that they'll change in the future (that being the trade system), this mod is here just as an alternative until that future paradox trade rework.

One thing I can recommend for this mod, is to click the automate trade button, let it sit for awhile and then disable it, and delete any remaining unprofitable trade routes, I also recommend TheGamingNot's Trade Overhaul mod, since it makes trade inherently more profitable, and therefore it's more likely that the trade routes this mod creates will be / remain profitable :er_heart:
Alexander 2024年11月27日 8時53分 
Ignore the person below me, it keeps creating routes that are not profitable.
mango363 2024年11月27日 6時12分 
Ignore the people below me, it works perfectly, you just have to delete trade routes that turn unprofitable yourself since due to technical limitations the mod can't delete routes. Massive for immigration nations since now you need a trade route to a country for its citizens to mass migrate to your nation.
Vizze 2024年11月24日 10時24分 
Yeah this doesn't work. It just breaks the economy. A lot of a negative trade routes.. Shame.
Alexander 2024年11月24日 4時13分 
When I hit the button it just creates 100 traderoutes destroying my economy
Bakhan 2024年11月23日 14時04分 
I think the main functionality is working with the button, but I'm getting some broken trade windows with this mod currently. Anyone else have this on vanilla?
Necrotes  [作成者] 2024年11月22日 17時06分 
Awesome :)
euokelvi 2024年11月22日 14時12分 
@Necrotes i played yesterday in 1.8 patch, it's working :steamthis:
Necrotes  [作成者] 2024年11月22日 4時36分 
@euokelvi pretty sure it is, haven't played with the new patch yet, I'm waiting for other mods to get updated. But I did update this mod just in case. If anyone notices any issues, do let me know here, and I'll do my best to fix them.
euokelvi 2024年11月21日 17時35分 
Ih this mod working?
Necrotes  [作成者] 2024年10月16日 16時35分 
@Mike O' Pen15 no it does not work with no -vanilla goods, the mod will still work for vanilla goods, it just won't auto trade goods that are added via mods.
Memir Masher 2024年10月16日 13時36分 
Does this mod work with non-vanilla goods?
fisto the robo 2024年10月11日 18時17分 
pparadox devs said they want to add pops/company driven trade routes in the future, so basically this, automated trade
PoopDoop 2024年10月11日 13時17分 
has paradox ever reached out to add this to the game or something?
fisto the robo 2024年10月11日 10時42分 
@thet2246
it is working very well still
TheT2246 2024年10月10日 11時36分 
Is this no longer working?
MR.SUNDAY 2024年10月8日 20時40分 
If I enable this mod, will I still get the achievement?
Necrotes  [作成者] 2024年9月19日 6時55分 
@gamedreamcd thank you, I added it and it seems to work well.
gamedreamcd 2024年9月18日 20時52分 
@Necrotes

I find below code that can screen those countries, which has war with root.

root = {
NOT = {
has_war_with = prev
}
}

It's for your reference of future update.
Necrotes  [作成者] 2024年9月18日 8時28分 
@Pravmlormd it should yeah, the only thing this changes is a gui file in the market panel. I am currently using the Historical Population Growth & Resources [1.7] mod and they work together fine. The only "issue" I could see is if you use a mod that adds completely new, non-vanilla resources, but even then the only issue would be that those new resources would not be included in the auto trade.
Pravmlormd 2024年9月18日 6時17分 
Quick question. Would this work with mods that change the entire map + resources.
Rileyyy 2024年9月14日 16時54分 
This is must have mod and I do hope they add it to the base game eventually (maybe with 2.0). Great job
LittlePewChild 2024年8月23日 22時49分 
pov: You are a free trade global power who have to using autoclicker for 10 minutes to delete useless trade routes now:lunar2019madpig:
RyLi 2024年8月22日 1時04分 
Please don't stop developing
Tosun Paşa 2024年7月30日 21時31分 
In their developer diary, they stated that they would bring auto-trading.
gamedreamcd 2024年7月30日 19時22分 
@Necrotes You are welcome.

Although 1.7 improved a lot, especially for buildings and Pops management, but for trade management, it's still tedious. Your mod is very valuable to help this.

The trade routes growing is depend on many factors, we would have covered the majority, and would find more in the future. I think it's good to help major trade management works and let a few done by manually.

BTW, I search the game's code again , don't find cancel trade route API, I guess it would by hidden by the company on purpose :)
Atsumaru, Party Dragon Slayer 2024年7月30日 15時47分 
Hi! :3 I'm loving this mod, I appreciate your work! However, would there be a way to specifically ONLY automate exports/imports? I'd love to only export my extra stuff while making sure to prioritize my own industry and not rely on imports by mistake. Thanks!
Necrotes  [作成者] 2024年7月30日 9時37分 
@gamedreamcd Awesome, still getting an initial trade route creation spam, but I think after that it happens less, so thank you. There is still some weirdness, I tried to quickly start a game as Prussia, I activated this mod and for some reason some trade routes remain inactive. Can't figure out why, but it's a lot fewer than it used to be.

Thank you for all your help @gamedreamcd I am an absolute modding noob, so any help is greatly appreciated and you've helped a ton. thank you :)
gamedreamcd 2024年7月30日 7時42分 
and for every export goods too,

market = { NOT = { any_trade_route = { exporter.owner = root goods = g:fruit } } }
gamedreamcd 2024年7月30日 7時38分 
Added below code to screen those trade routes which player already has, it works fine in my game, not sure if it's useful to your mod :)

market = { NOT = { any_trade_route = { importer.owner = root goods = g:fruit } } }
gamedreamcd 2024年7月29日 23時53分 
Today when I play the game as France, I find a more screening condition for those countries which can't have trade with:)

market.owner = { NOT = { has_law = law_type:law_isolationism } }

The code find a good trade country called Chiengmai, its law is fine but its market owner's law is isolationism :)

It's screened after I added above code.
gamedreamcd 2024年7月29日 19時38分 
Only below file in my mod related to trade routes which need to be read.

spreadsheet_trade_scripted_guis.txt

at common\scripted_guis
gamedreamcd 2024年7月29日 19時34分 
@Necrotes I get your thought. It's good to only create a trade route for one good for performance reason. I think your method which get random good trade route at a time also is a good way to play the game.

If we want to get best trade routes and create them. It have to be done in two steps. first step is to get the best trade route for every good, and save the result to global variables or global variable list.
The second step is to write a new section code to go through all the result of first step, and create the trade route one by one.

It can only create 1 trade route for 1 good at a time,but the code would be more complex. I did the first step in my mod, and didn't do the second step, you may read it for reference.
Necrotes  [作成者] 2024年7月29日 19時13分 
@gamedreamcd I did a small test, and so far I think the biggest issue I'm having with every_country is that it will create an insane amount of trade routes for the same good to multiple different countries, which means a lot of them become unprofitable. Making it so that it would only create 1 trade route for 1 good at a time would be much better, but I have no idea how to do that xd

If only paradox had made it possible to automatically delete unprofitable trade routes this would have been a non-issue.
Necrotes  [作成者] 2024年7月29日 18時53分 
@gamedreamcd I saw that you had changed it to every_country from random_country so I changed it as well, I did revert some of the code so I may have forgotten to put it back to every_country, I will do that right away, thank you :)
gamedreamcd 2024年7月29日 18時48分 
@Necrotes,I just read the code changes, it's very nice.

Just a notice, there is a difference of my though in my mod for your reference.

The way in my mod is to get all the countries which can meet the basic lowest request first, then compare the product of goods_cheaper * goods_production of all of them, at last get a best country to show. So I lowed down all your conditions for first checking, as well as use this code "every_country =", it will check every countries then finally get the best one.

I see you use this code "random_country =", it means it only run once when the condition is met , and return the result at once and ignore other countries which are not checked. It would result in get a lower trade route and would ignore more better routes.

It's fine if It's your wanted design.
Just a reminder I set the check conditions at the lowest base request.
At the same time, I used the multiply of goods_cheaper * goods_production for comparison and balance.