Hegemony III: Clash of the Ancients

Hegemony III: Clash of the Ancients

Active Diplomacy
Canute VII  [developer] 12 Nov, 2021 @ 2:32pm
Feedback-Thread
For suggestions, bug reports, balance concerns... :steamhappy:
< >
Showing 1-15 of 83 comments
Bdeslaurs 16 Nov, 2021 @ 5:41pm 
could you elaborate on what diplomatic stance do? I think I got the first step, supply truce, I'm just not sure what it does?
Bdeslaurs 16 Nov, 2021 @ 5:43pm 
After the first diplomatic message, the envoy responsible got 10000 exp, might be a bit too much xD
Bdeslaurs 16 Nov, 2021 @ 6:41pm 
I keep getting the Supply truce with the same country every 5min, and something from all envoys. Should we be able to get the diplomatic stance multiple time? It feels unnecessary.
Canute VII  [developer] 16 Nov, 2021 @ 11:05pm 
Originally posted by Bdeslaurs:
could you elaborate on what diplomatic stance do? I think I got the first step, supply truce, I'm just not sure what it does?
If by "diplomatic stance" you mean the "emissary stance" then it basically improves relations and gives boni the better relations are. If you mean "supply truce" then it lets you resupply from your ally's territory, i.e. you can march your troops through its territory and have not to worry about supplies.

I was pondering to also include some kind of exchange of recruits/manpower, if one side is in need of it and the other has enough of it. Might be to exploitable, what do you think?
Last edited by Canute VII; 16 Nov, 2021 @ 11:11pm
Canute VII  [developer] 16 Nov, 2021 @ 11:06pm 
Originally posted by Bdeslaurs:
After the first diplomatic message, the envoy responsible got 10000 exp, might be a bit too much xD
Yes, and that's because I'm an idiot :-) I've used the max operation where I should have used the min one. I've fixed this now.
Canute VII  [developer] 16 Nov, 2021 @ 11:09pm 
Originally posted by Bdeslaurs:
I keep getting the Supply truce with the same country every 5min, and something from all envoys. Should we be able to get the diplomatic stance multiple time? It feels unnecessary.
Yikes! I thought the "supply truce" would count as a truce and relied on that check, but no. I have just not tested this enough, since I was too sure about this. My bad. I have now introduced an additional faction attribute "ally", which will be set once you have a "supply truce" with a faction and which can be checked to ensure, that this comes up only once.

Thanks for reporting all this, Bdeslaurs! And thanks for your patience with me :-)
Bdeslaurs 17 Nov, 2021 @ 11:05am 
Originally posted by Canute VII:
Originally posted by Bdeslaurs:
could you elaborate on what diplomatic stance do? I think I got the first step, supply truce, I'm just not sure what it does?
If by "diplomatic stance" you mean the "emissary stance" then it basically improves relations and gives boni the better relations are. If you mean "supply truce" then it lets you resupply from your ally's territory, i.e. you can march your troops through its territory and have not to worry about supplies.

I was pondering to also include some kind of exchange of recruits/manpower, if one side is in need of it and the other has enough of it. Might be to exploitable, what do you think?

Sounds like a really interesting idea to represent auxiliaries troops or something of the sort. Of course, yes it might be a good way to get easy manpower and drain the other country of manpower before attacking.

have a great day, I will make sure to keep sending feedbacks next time I play
Last edited by Bdeslaurs; 17 Nov, 2021 @ 11:05am
Bdeslaurs 19 Nov, 2021 @ 11:47pm 
Just had a debug console call, here's the copy. Not sure what I was doing special, pretty sure I had envoys of the 3 stance unfortunately in one city and diplomatic in another.

Hegemony III 3.3.5 rev.43872 x64
Welcome to the debug console. For a list of commands, type 'commands()' in the field below, or use 'commands("filter")' to show only the commands you're interested in. Press F2 to close this window.
Loading game: autosave 4
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29: attempt to index a nil value
Stack trace:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:624
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29: attempt to index a nil value
Stack trace:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:624
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
> clipboard(history))
[string "console"]:1: unexpected symbol near ')'
> clipboard(history())
Canute VII  [developer] 20 Nov, 2021 @ 3:23am 
Originally posted by Bdeslaurs:
Just had a debug console call, here's the copy. Not sure what I was doing special, pretty sure I had envoys of the 3 stance unfortunately in one city and diplomatic in another.

Hegemony III 3.3.5 rev.43872 x64
Welcome to the debug console. For a list of commands, type 'commands()' in the field below, or use 'commands("filter")' to show only the commands you're interested in. Press F2 to close this window.
Loading game: autosave 4
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29: attempt to index a nil value
Stack trace:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:624
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29: attempt to index a nil value
Stack trace:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:29
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:624
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
> clipboard(history))
[string "console"]:1: unexpected symbol near ')'
> clipboard(history())
Thanks for reporting! I guess one of the factions you were deploying your envoys to, had lost its capital city. Hence the code that referenced the capital city issued in a "nil value". Hopefully, this didn't mess up anything with your game? I have now included a check to ensure that the faction does indeed have a capital at all.

Unfortunately, the game doesn't reassign a capital to AIs. I've adressed this in my other mod "A.E.P.V.", but rather not reuse that code here again to have the mods be destinct from each other.
Bdeslaurs 20 Nov, 2021 @ 10:57am 
No I don't think it broke anything in my game. I removed all envoys from each faction until found which one it was and yes they had lost their capital.
Canute VII  [developer] 20 Nov, 2021 @ 12:01pm 
Originally posted by Canute VII:
Unfortunately, the game doesn't reassign a capital to AIs. I've adressed this in my other mod "A.E.P.V.", but rather not reuse that code here again to have the mods be destinct from each other.
I've actually changed my mind, and integrated that script here, too. Capital cities are just way too important for gameplay! :-)

Originally posted by Bdeslaurs:
No I don't think it broke anything in my game. I removed all envoys from each faction until found which one it was and yes they had lost their capital.
Fine, then that should indeed be fixed, now.
Bdeslaurs 21 Nov, 2021 @ 3:58pm 
nice, thx for the quick support :steamhappy:
mazytus 25 Nov, 2021 @ 12:53am 
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:20: Forcing script to end: [string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]@688
Stack trace:
...Clash of the Ancients/Resources/Scripts/Entities.lua:52
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:20
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:688
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
Canute VII  [developer] 25 Nov, 2021 @ 1:33am 
Originally posted by mazytus:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:20: Forcing script to end: [string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]@688
Stack trace:
...Clash of the Ancients/Resources/Scripts/Entities.lua:52
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:20
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:688
Help us debug this script! Type 'clipboard(history())' to copy everything above into your clipboard, so you can send it to a dev!
Mmh, line 20 cycles through the content of forts, line 52 is empty and line 688 is the very last line of the code (basically just "end"). So I'm not sure what is causing this. I have now included a check, that the code is not performed on factions that do not have any forts anymore, but this is just a best guess. I'm actually not sure this fixes anything, but as it also won't break anything, it's worth a try.
mazytus 25 Nov, 2021 @ 3:44am 
Three factions have no forts, my diplomats are stationed in three capitals.
< >
Showing 1-15 of 83 comments
Per page: 1530 50