Total War: THREE KINGDOMS

Total War: THREE KINGDOMS

Shi Xie's AI gets chest
25 Comments
Guvenoren 23 May, 2022 @ 3:58am 
It works! A bunch of Lords are getting lunch boxes now! I think it fixed the issue
Guvenoren 23 May, 2022 @ 2:44am 
does it require a new save, or can I check this save?
Ironic  [author] 22 May, 2022 @ 7:02pm 
@Guvenoren Just updated to prevent that error from coming around, you can test it via playing Mulu and looking at Shi Xie.
Ironic  [author] 22 May, 2022 @ 6:12pm 
@Guvenoren Ah okay I see, yea seems to be an issue which is weird let me double check some stuff, it may be an old file or something.
Guvenoren 22 May, 2022 @ 4:59pm 
This?
Guvenoren 22 May, 2022 @ 4:59pm 
"
Shi Listener
260
0

core:event_callback_error:<WorldStartOfRoundEvent> [ AIChestShiXie ]
error: [string "script\campaign\mod\shixieai.lua"]:122: attempt to perform arithmetic on field 'price' (a nil value)
stack traceback:
[string "script\_lib\lib_mod_loader.lua"]:245: in function <[string "script\_lib\lib_mod_loader.lua"]:245>
[C]: in function 'xpcall'
[string "script\_lib\lib_mod_loader.lua"]:245: in function 'event_callback'
[string "script\_lib\lib_core.lua"]:1138: in function <[string "script\_lib\lib_core.lua"]:1138>
"
Ironic  [author] 22 May, 2022 @ 4:51pm 
@Guvenoren in the 3k folder there is a folder called Lua_mod_log check there I’ve setup some outs for it to say.
Guvenoren 22 May, 2022 @ 4:26pm 
I still don't see him get any chests :/ I am having 3 spies in his faction, none wear a chest. And I cannot find chests in his inventory to trade. Are you sure this actually works? Found any solid way to find proof that it actually delivers?
Guvenoren 17 May, 2022 @ 1:26pm 
hmm, yeah I need to be more investigative. 4x spies on him should be enough. I will report back on my findings
Ironic  [author] 17 May, 2022 @ 9:00am 
@Guvenoren I do run Gathering so it shouldn’t conflict, it may be that Shi Xie auto equips it.
Guvenoren 17 May, 2022 @ 4:35am 
Could it be "The Gathering" what makes this not work?
Guvenoren 17 May, 2022 @ 3:47am 
To be honest, he still doesn't seem to get chest :(
I could be wrong and I am just not seeing it, but I cannot trade any chest because he owns none and his resource never seems to go down
Guvenoren 23 Mar, 2022 @ 2:57pm 
I will check if he gets chests :)
Ironic  [author] 23 Mar, 2022 @ 1:02pm 
@Guvenoren I updated it so, the chance increases every 20 points of splendor by 5% for Shi Xie to buy a chest.
Guvenoren 22 Mar, 2022 @ 7:13pm 
For me, he does get the resource alot. he is infact godlike. Try using this mod https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2777041856 together with your investigation. It will edit the junctions so AI can apparently get influenced by the resource factors. I don't know if it will change anything, but at the moment, my Shi Xie is Godlike in the resource.
Ironic  [author] 22 Mar, 2022 @ 7:06pm 
@Guvenoren Double-checked and it's because Shi Xie as an AI doesn't prioritize putting his Family Members in court positions/govenors, so he barely gets the resource, I think I am gonna cut down a bit on the minimum amount and boost up the chance for it to trigger.
Guvenoren 22 Mar, 2022 @ 7:03pm 
I have yet to see him get a chest, but then again I haven't paid attention every turn, and your debugging tools should give better answers than my oogling. As long as you're right I believe you :D Hope the resource transactions works eventually! You're doing a great job!
Ironic  [author] 22 Mar, 2022 @ 6:50pm 
@Guvenoren He gets the chest, but the resource part is iffy, as I am unable to monitor the amount properly. I'll double check it as it should be.
Guvenoren 22 Mar, 2022 @ 6:49pm 
Have you tested if it actually works?
Guvenoren 18 Mar, 2022 @ 7:02pm 
That is so fucking cool. I will use this in my next playthrough!
Ironic  [author] 16 Mar, 2022 @ 2:20pm 
@Guvenoren I can attempt to, should be possible.
Guvenoren 16 Mar, 2022 @ 2:18pm 
Could you make a version like that? :P
Ironic  [author] 16 Mar, 2022 @ 6:10am 
@Guvenoren it is possible, I did it this way as I am unsure if the AI Shi Xie even gets his resource.
Guvenoren 16 Mar, 2022 @ 3:27am 
could it also make him lose some of his resouce?
Guvenoren 16 Mar, 2022 @ 3:27am 
oooooh I like this one. Because the AI cannot get the chests!