Crusader Kings III

Crusader Kings III

Adventurer's Beneficiary
102 Comments
Generalissimo 30 May @ 5:34pm 
No worries king. Appreciate the effort.
Nye  [author] 30 May @ 3:36am 
I had a quick look at this and it's not causing any crashes, so it's whatever for now. I'm just not playing so there won't be any updates for any of my mods for awhile. If the log is annoying then don't use it, otherwise I'll fix it sometime in the future when I'm playing again.
Generalissimo 30 May @ 1:42am 
Yeah, tried multiple times, reinstalled the mod and verified files and nothing works.
Generalissimo 30 May @ 12:58am 
It is on a save form right now, I will try to again unsubscribe and re-subscribe, but I thought I should let you know.
Nye  [author] 30 May @ 12:36am 
Is that on a saved game from before the update, or a new save?
Generalissimo 30 May @ 12:06am 
I keep getting spammed with these still, which is a shame, as I can't play without this mod!

[04:04:25][E][jomini_script_system.cpp:284]: Script system error!
Error: Failed to fetch variable for 'val_beneficiary' due to not being set
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 435 (adventurer_beneficiary_duchy_conquest_cb:allowed_against_character)

[04:04:25][E][jomini_script_system.cpp:284]: Script system error!
Error: Event target link 'var' returned an unset scope
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 435 (adventurer_beneficiary_duchy_conquest_cb:allowed_against_character)

[04:04:25][E][jomini_script_system.cpp:284]: Script system error!
Error: var:val_beneficiary trigger [ Failed context switch ]
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 435 (adventurer_beneficiary_duchy_conquest_cb:allowed_against_character)
Xherdos 25 May @ 3:35pm 
I had those Errors too, often at the very end of the Error log.

Good to see that it has been fixed then (thought it was other mods and thus had to delete a very nice save...)
Nye  [author] 25 May @ 8:54am 
That should do it.
Nye  [author] 25 May @ 8:48am 
wait, so this is causing a crash? earlier comment from FDM suggested it wasn't. Lots of people are complaining that 1.6.2.1 is crashing a ton, so it might be that. I'll put out a quick hotfix for that issue though.
MehowBowland 25 May @ 8:21am 
crashing for me as well


[17:18:17][E][jomini_script_system.cpp:284]: Script system error!
Error: Failed to fetch variable for 'val_beneficiary' due to not being set
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 1451 (adventurer_beneficiary_independence_war:allowed_against_character)

[17:18:17][E][jomini_script_system.cpp:284]: Script system error!
Error: Event target link 'var' returned an unset scope
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 1451 (adventurer_beneficiary_independence_war:allowed_against_character)

[17:18:17][E][jomini_script_system.cpp:284]: Script system error!
Error: scope:attacker.var:val_beneficiary trigger [ Failed context switch ]
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 1451 (adventurer_beneficiary_independence_war:allowed_against_character)
Nye  [author] 19 May @ 5:46am 
Okay not a priority for now then but will take a look when I can
FDM 19 May @ 5:27am 
no it just create an error log after i quit the game with those
Nye  [author] 19 May @ 4:08am 
Need more info, is the game crashing?
FDM 19 May @ 3:51am 
[15:31:57][E][jomini_script_system.cpp:284]: Script system error!
Error: Failed to fetch variable for 'val_beneficiary' due to not being set
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 1451 (adventurer_beneficiary_independence_war:allowed_against_character)

[15:31:57][E][jomini_script_system.cpp:284]: Script system error!
Error: Event target link 'var' returned an unset scope
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 1451 (adventurer_beneficiary_independence_war:allowed_against_character)

[15:31:57][E][jomini_script_system.cpp:284]: Script system error!
Error: scope:attacker.var:val_beneficiary trigger [ Failed context switch ]
Script location: file: common/casus_belli_types/adventurers_beneficiary_conquer.txt line: 1451 (adventurer_beneficiary_independence_war:allowed_against_character)
Nye  [author] 16 May @ 7:58am 
Mod works just fine for me
套中人的十味药 16 May @ 6:15am 
This error message indicates that the encoding format of the game file does not meet the requirements and should use UTF-8 with BOM encoding. The following is a detailed analysis and solution:
Error analysis
Error location: line 297 of the lexer.cpp file
Error type: File should be in utf8-bom encoding (the file should use UTF-8 with BOM encoding)
Error file: common/casus_belli_types/adventurers_beneficiary_conquer.txt
Impact: The game will try to continue loading the file, but it may cause parsing errors

这个错误提示表明游戏文件的编码格式不符合要求,应该使用 UTF-8 带 BOM 编码。以下是具体分析和解决方案:
错误分析
错误位置:lexer.cpp 文件的第 297 行
错误类型:File should be in utf8-bom encoding(文件应使用 UTF-8 带 BOM 编码)
出错文件:common/casus_belli_types/adventurers_beneficiary_conquer.txt
影响:游戏会尝试继续加载文件,但可能导致解析错误
套中人的十味药 16 May @ 6:14am 
[E][lexer.cpp:297]: File 'common/casus_belli_types/adventurers_beneficiary_conquer.txt' should be in utf8-bom encoding (will try to use it anyways)
Nye  [author] 7 May @ 11:56pm 
Yeah koala, this mod will work just fine with earlier versions
screamingkoala 7 May @ 4:04pm 
I play with Elder Kings 2 which is still on game version 1.15. Since I don't know about coding, I'm wondering if I can use this mod for 1.16 on game version 1.15.
Nye  [author] 29 Apr @ 11:24am 
Paradox did not provide the player with the necessary tools to make it fun. It certainly doesn't make one feel like a kingmaker.
Krukov 23 Apr @ 10:07am 
I know this is an ask but... Would it be possible for you to make a version of Employ Adventurer? This other modder made one, but its a bit jank, and doesn't work with player adventurer/Ruler interactions.

It was a massive oversight from Paradox to not include player ruler/adventurer interactions. IDKWTF they were thinking.
EnumaEllis 14 Apr @ 12:31am 
Idk about that, that sounds like the player can extorts the AI.

I think a better control would be IF they go to war for the landed owner, they have the option to split the loot or give some gold. BUT, only during war so the player and the AI can't abuse it.
Nye  [author] 14 Apr @ 12:19am 
That is actually a pretty good idea, I'm working on a few of my other mods currently, but I actually like the sound of that a lot so I'll play around with that at some point
Bonnie Boestar 13 Apr @ 10:18pm 
Any way you could make a decision for a landed player to finance an adventurer to become their beneficiary? Loaning them levies, MAA, gold, or promising land of their own would be a cool way to win a famous landless knight's oath of loyalty.
EnumaEllis 11 Apr @ 12:16am 
hurray!
Nye  [author] 11 Apr @ 12:10am 
Updated.

For now the ai cannot select the player as their beneficiary so that you're not forced to accept land that they have conquered in your name that you do not want. In the next update, I'll reinstate their ability to select the player as their beneficiary, but I will create an event specifically for the player so that you can say yes / no.
EnumaEllis 10 Apr @ 5:18pm 
Oh I completely get it. I made mods and people jump on compatches. It's generally better to consider a middle point where you can try to accommodate them.

But yeah, getting something like a choice is better than none. I think you can add an event for the AI landless to give the player a decision, but that's up to you.

Mainly, I want a more active map, this is one such mod.
Nye  [author] 10 Apr @ 4:38pm 
Oh I don't care about what mods people use, I don't and won't accommodate for that. Too many variables and far too time consuming.

But yes that update will come fairly soon, as a quicker temporary fix, I'll take away their ability to target the player with the beneficiary selection
EnumaEllis 10 Apr @ 4:32pm 
The kingmaker angle is cool, but you will run into people using overhauls that will create non-sensical kingmaking.
And if they can't control what the AI do in their free time and the outcme, they might have problem with having lands they simply do not want.

Looking forward to the update! I love a mod that gives the AI initiatives, but you gotta look at it from the perspective of a landed player as well and whether they think they want more lands/wars in their name.
Nye  [author] 10 Apr @ 3:45pm 
As it stands, no—surprisingly, I hadn’t considered that haha. I’ll make sure to account for it in the next update. That has never happened to me before but I will write a small event that will let you say yes/no to being their beneficiary in the first place.
EnumaEllis 10 Apr @ 3:36pm 
So, quick question, if a family of mine is landless and did this, and they won, can I reject their offer?
Nye  [author] 10 Apr @ 6:10am 
You're welcome! Glad they've made things more enjoyable
Marbin 10 Apr @ 6:04am 
Your mods have been amazing to play with Nye, thank you sm
Nye  [author] 10 Apr @ 3:46am 
Absolutely everything
EnumaEllis 10 Apr @ 3:41am 
Mind walking us through compatibility?

AGoT, EK2, mods that I can use it with?
Nye  [author] 7 Apr @ 6:26pm 
I won't be adding a full refund of prestige. I have updated it though
TurtleShroom 7 Apr @ 6:15pm 
I mean, mechanically and in terms of balance, it makes sense. I think an Adventuerer should recoup the Prestige he spends entirely (and gain some Renown).
Nye  [author] 7 Apr @ 2:37pm 
Good suggestion, not sure about all of the prestige though, I end up with copious amounts usually as an adventurer. Maybe 75, 200, 500 prestige upon victory for a county, duchy & kingdom respectively. I'll see if I can't add some renown too. update will come tomorrow
TurtleShroom 7 Apr @ 2:29pm 
This Mod has been so much fun for me in my characters' travels. I do wish, though, that you could recoup the Prestige you spend if you win the war. Right now, you get nothing representing you doing the fighting.
Nye  [author] 7 Apr @ 1:31am 
Uh actually no because I can't see where it's happening and isn't something I want to spend a bunch of time digging for.
Nye  [author] 7 Apr @ 12:24am 
Yeah I'll look into that when I can
PhilosopherKing 6 Apr @ 11:06pm 
i think its just with the kingdom cbs
PhilosopherKing 6 Apr @ 10:19pm 
very cool mod tho. thanks :)
PhilosopherKing 6 Apr @ 10:01pm 
do you mind removing the 'enobled adventurer' modifier from the beneficiary?
Defence of the patience 2 4 Apr @ 7:11pm 
Appreciate you've said you probably wont add any more features, but if you ever do, can i suggest a copy of the current "purchase land" interaction but on behalf of your beneficiary

Anyway, thanks for the mod!"
Nye  [author] 4 Apr @ 12:02pm 
This should work just fine with on going saves
Décimo 4 Apr @ 12:01pm 
Is this save compatible or should I start a new game?
Nye  [author] 26 Mar @ 4:53am 
Haven't looked at the code in so long but I'm pretty sure I made this to be compatible with everything.
dev1LjAn 22 Mar @ 6:30am 
is this compatible with agot?
Xherdos 14 Mar @ 11:54am 
If the Holder has 2 Kingdom Titles and the Beneficiary get's one they become Independent because a King can't rule over a King. With the Feudal thing... Are you attacking a Feudal Kingdom or a Clan?