Hegemony III: Clash of the Ancients

Hegemony III: Clash of the Ancients

Active Diplomacy
156 Comments
Canute VII  [author] 16 Sep, 2023 @ 12:11pm 
Hm, line 52 in the entities script is actually a Longbow script and I'm not sure what could have caused this error. Can you reproduce this error? If not then it may have been an unhappy coincidence with some other script event. If you can, then... I don't know, I'd have to think again...
mazytus 13 Sep, 2023 @ 8:08pm 
When the envoys entered my fort:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:60: Forcing script to end: (tail call)@-1
Stack trace:
...Clash of the Ancients/Resources/Scripts/Entities.lua:52
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:60
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:1354
mazytus 24 Jul, 2023 @ 4:38pm 
Thanks, now the speed is not reset to 1.
Canute VII  [author] 23 Jul, 2023 @ 11:54am 
O.k. I made a small change now - does this still occur? (You might have to restart your game if its currently running so the change applies.) Actually I introduced a line of script in April to fix another issue you've experienced, so I deactivated this now. Hopefully we are not running in circles :-)
mazytus 23 Jul, 2023 @ 10:03am 
I'm transferring the bug here with speed. The diplomat, when not in the city (walking or moving in the ship), it looks like his event switches the speed to 1. I had this noticeable when I carried the diplomat on the ship.
Canute VII  [author] 22 Apr, 2023 @ 1:15am 
O.k. I made some changes which should adress theses issues (see changenotes).

However, for the envoys who do not progress with their work, I'm not sure if this fixes it. If this happens again, can you please select the city and type into the console pprint(getselected():getattribute("activeenvoy")) ? The result should be 1 if there's an envoy, if it's 0 although there's an envoy, then something is wrong and the script will not process this city/envoys.
Canute VII  [author] 9 Apr, 2023 @ 9:41am 
I will look into all of this in ~2 weeks when I'm back at my desk.
mazytus 9 Apr, 2023 @ 8:30am 
> setgamespeed(3)
[[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:60: Forcing script to end: (tail call)@-1
Stack trace:
...Clash of the Ancients/Resources/Scripts/Entities.lua:52
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:60
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:1339

The speed became 1 after the script was broken.
After the next purchase message, the game crashed altogether.
mazytus 9 Apr, 2023 @ 6:15am 
In a game with its own rules, I like one interesting bug: sometimes when war is declared, envoys are not killed in an enemy city and continue to work) Merchants can buy wood, and diplomats can improve relations.
mazytus 7 Apr, 2023 @ 9:13pm 
I rebooted the game, everything was fixed.

The same trouble happened to the spies - a fifth-level city, one merchant, four messengers are waiting for infiltration. Everyone is standing and working. I transfer one envoy to be a spy for infiltration, I start it up, it all hung up at the preparation stage (I checked it for an interval of up to five weeks)...
mazytus 7 Apr, 2023 @ 8:39pm 
Gela and Akragas

> setgamespeed(2)
Invalid faction.
Stack trace:
[C]:-1
[string "Resources\Scripts\RequisitionResourceNodePe..."]:15

ASDv2
mazytus 7 Apr, 2023 @ 8:23pm 
Something has gone wrong with the diplomatic envoys. You send one - he improves the relationship, you send the second, third and more - they hang in the mode "Setting up"...
Canute VII  [author] 4 Apr, 2023 @ 11:23am 
Oh ha... fixed this now - thx!
mazytus 4 Apr, 2023 @ 1:54am 
> setgamespeed(3)
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:700: attempt to compare number with table
Stack trace:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:700
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:1340
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())
Canute VII  [author] 3 Apr, 2023 @ 12:16pm 
I have adjusted the conditions and it should work now in such a case as yours (thx for the save game, btw)
mazytus 2 Apr, 2023 @ 7:57pm 
After joining Ligures discovered Ligurian slaves with the tag: homeless
mazytus 2 Apr, 2023 @ 7:56pm 
I set the condition like this:

elseif (ad_ped_fort:getfaction():gethostility(playerFaction) < -0.8) and (ad_ped_fort:getfaction():getattribute("ally") == 1) and (ad_ped_fort:getattribute("infiltration") ~= 1) then
mazytus 2 Apr, 2023 @ 7:22pm 
elseif (ad_ped_fort:getfaction():gethostility(playerFaction) < -0.8) and (ad_ped_fort:getfaction():getattribute("ally") == 1) then

This condition does not allow you to switch to annex
mazytus 2 Apr, 2023 @ 7:19pm 
Instead of trying to annex the union state, my envoys are hanging on

Capital infiltrated.

According to the script, envoys must have the status: influencing nobility

In fact, envoys are stuck on: negotiating support

disk_yandex_ru_d/zwBtH0LilSyaYA

Fucking steam delete links to savefile.
mazytus 30 Mar, 2023 @ 8:31am 
I haven't been able to join the Ligures for 200 weeks.

{LINK REMOVED}

DLC/TheEagleKing
ActiveDiplomacy
Fortress
HuntersLodge
VaeVictis
MilitaryDrill
Governance
MoreFactionGroups
Canute VII  [author] 25 Mar, 2023 @ 6:24am 
Also fxed bug with negative envoy XP, now (finallly) - thanks for your patience :-)
Canute VII  [author] 20 Mar, 2023 @ 1:29pm 
I have added the celtiberians also here, now - cheers!
mazytus 20 Mar, 2023 @ 7:09am 
<buildfactiongroup>Celtiberians</buildfactiongroup>
don't exists in brigade_common_envoys.xnt
mazytus 19 Mar, 2023 @ 12:39pm 
I found my diplomat with -230 experience in a neutral city Rodos.

{LINK REMOVED}
Canute VII  [author] 20 Feb, 2023 @ 1:14pm 
Ha ha you're welcome! :steamhappy:
Kinote 20 Feb, 2023 @ 1:13pm 
I've been looking for something like this since... Gold?

You're the hero I needed. =D
Canute VII  [author] 20 Feb, 2023 @ 1:07pm 
Yes, you can! No need to kill your friends :steammocking:
Kinote 20 Feb, 2023 @ 1:04pm 
What's this? I can finally have way to diplo-annex friendly powers that I feel bad about invading?

\o/
Canute VII  [author] 13 Feb, 2023 @ 12:57pm 
Thank you! :steamhappy:
Megas X 13 Feb, 2023 @ 5:23am 
Excellent mod! The method is similar to Europa Universalis 4 when a diplomat tries to improve relations between another country.

Thanks for your effort and keep up the good work!
Tibus 20 Jan, 2023 @ 12:18am 
Cool ty buddy.
Canute VII  [author] 20 Jan, 2023 @ 12:06am 
Maybe ask in the CW mod thread if the author SGZ has set up sth special for Carthage. The Gov mod unlocks level 3 markets with the plutocracy skill, maybe that's why. It could be due to another mod though.
Tibus 19 Jan, 2023 @ 11:10pm 
Ive also noticed that the level at which i can upgrade markets for my faction is only lev II where i see the Carthage cities i have captured is lev III. Is this normal?
Tibus 19 Jan, 2023 @ 11:07pm 
I do have the colonise skill but when i send colonists to any Carthage city it doesn't have the option to actually colonise them in that city
Canute VII  [author] 19 Jan, 2023 @ 10:23pm 
If you've got the colonization skill you should be able to colonize cities and switch their native faction to your own (after it is fully assimilated). The governance mod only makes the assimilation progress slower. But if you "colonist bomb" the city it should work anyway. The slower assimilation progress depends on the factions governance skills/reforms and yours - the more different they are, the slower assimilation progress. So that may explain why cartagian cities are tougher to colonize.
Tibus 19 Jan, 2023 @ 9:27pm 
Ah ok...That sux that we cant use them in a city tho. Another Question on Governance i tried to settle colonists in my conquered Carthage cities but it doesnt give me the option like the other cities i have taken. Any thorts as to why?
Canute VII  [author] 19 Jan, 2023 @ 12:03pm 
Ah o.k. I see...! I think scouts in saboteur stance are not intended to be used in a city anyway, they are just more efficient in raiding resource buildings and can ambush and fight like a regular combat brigade (here's a link to the Wiki [hegemony.fandom.com]).
Tibus 19 Jan, 2023 @ 9:59am 
Oh buddy i just re read your note...it wasnt a envoy it was a scout as they do the sabo.
Tibus 18 Jan, 2023 @ 11:12pm 
The Mods im using are - CW9.6.1 , Reworked (City) Upgrades , Trade skills , Fortress , Slave market extended, Governance, Resource Wintering Upgrade, Every Port a Shipyard, Active Diplomacy and Weaker raiders.
Tibus 18 Jan, 2023 @ 10:20pm 
Hey buddy Im playing Ghana Kingdom and have tried to use the scout in Carthage and the Garamanitians. Only tried these two atm as ive conquered the others in nth east africa. Im kinda moving east. Ive worked out that instead of taking cities as a first step i trie and take out all the resource supplies and starve them before i try and take their cities. Im actually only starting to use the envoys and scouts to help this as i kinda discovered what they can do by accident lol. Im playing on the CW9 map.
Canute VII  [author] 18 Jan, 2023 @ 10:36am 
Hey, I've just tried this on the Italy map using a roman envoy in spy stance to enter a Veii city. I had no crash. Can you give more info on this? On which map are you playing, which faction, which city do you try to enter, which mods do you have active etc.??
Tibus 18 Jan, 2023 @ 8:40am 
Hey buddy not sure if this is a issue with your mod or the other one but the moment i use a scout to enter a enemy city to perform sabotage the game crashes its happened not 5 times in a row following the exact same action so something is up with it.
Canute VII  [author] 12 Jan, 2023 @ 12:06am 
Hi, I've answered your question at length on the forum. I hope it helps. If you still have issues then I'll be happy to look into it again.

The thing with envoy officer upgrade specifically is that they can only be made while the envoy is in a city by hovering the mouse over its portrait. Outside cities the envoys upgrade tab is locked.
Tibus 11 Jan, 2023 @ 9:05pm 
Hello buddy i just wanted to mention that i use your mod and i like it however i keep getting upgrade or promotion prompts for them but when i click on the there is no open option to do any kind of upgrade. could you look at why this is the case. ty
Canute VII  [author] 5 Jan, 2023 @ 10:11am 
Well, in between job and family there's always a bit of spare time to enjoy some modding :-) However, I've mostly just been fixing bugs and connecting a few loose ends - basically polishing.
Cecil XIX 5 Jan, 2023 @ 7:54am 
Good to see you're still working on this- will take a look.
Canute VII  [author] 3 Dec, 2022 @ 11:31am 
v1.8.0 is live now including a re-design of envoy officers and re-balance of envoy stances (details in the patch notes)
Canute VII  [author] 23 Oct, 2022 @ 10:28am 
v1.7.4 - those who want to play together with the Hegemony Gold Stances, but didn't quite like the idea of fiddling with files as shown in the discussion thread, will be happy to know that Hegemony Gold Stances is now compatible and the needed compatibility file will be created automatically.
Canute VII  [author] 2 Sep, 2022 @ 1:02pm 
v1.7.0 is now live - among some work on performance improvement, the main thing you might notice is the status string added to envoy brigades. This should make it a bit more transparent if the envoy is actively doing something and what goal or task he's working on.
mazytus 12 May, 2022 @ 3:54am 
DLC/TheEagleKing
ActiveDiplomacy
Fortress
HuntersLodge
MilitaryDrill
AlternateStartDates

Loading game: eug_3_54
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:272: attempt to compare number with nil
Stack trace:
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:272
[string "Resources/Scripts/EnvoyDuties/PerformEnvoyD..."]:915

https://disk.yandex.ru/d/Ro2TVoI-y5KYJA