全面战争:三国

全面战争:三国

Shi Xie's AI gets chest
25 条留言
Guvenoren 2022 年 5 月 23 日 上午 3:58 
It works! A bunch of Lords are getting lunch boxes now! I think it fixed the issue
Guvenoren 2022 年 5 月 23 日 上午 2:44 
does it require a new save, or can I check this save?
Ironic  [作者] 2022 年 5 月 22 日 下午 7:02 
@Guvenoren Just updated to prevent that error from coming around, you can test it via playing Mulu and looking at Shi Xie.
Ironic  [作者] 2022 年 5 月 22 日 下午 6:12 
@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 2022 年 5 月 22 日 下午 4:59 
This?
Guvenoren 2022 年 5 月 22 日 下午 4:59 
"
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  [作者] 2022 年 5 月 22 日 下午 4:51 
@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 2022 年 5 月 22 日 下午 4:26 
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 2022 年 5 月 17 日 下午 1:26 
hmm, yeah I need to be more investigative. 4x spies on him should be enough. I will report back on my findings
Ironic  [作者] 2022 年 5 月 17 日 上午 9:00 
@Guvenoren I do run Gathering so it shouldn’t conflict, it may be that Shi Xie auto equips it.
Guvenoren 2022 年 5 月 17 日 上午 4:35 
Could it be "The Gathering" what makes this not work?
Guvenoren 2022 年 5 月 17 日 上午 3:47 
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 2022 年 3 月 23 日 下午 2:57 
I will check if he gets chests :)
Ironic  [作者] 2022 年 3 月 23 日 下午 1:02 
@Guvenoren I updated it so, the chance increases every 20 points of splendor by 5% for Shi Xie to buy a chest.
Guvenoren 2022 年 3 月 22 日 下午 7:13 
For me, he does get the resource alot. he is infact godlike. Try using this mod https://psteamcommunity.yuanyoumao.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  [作者] 2022 年 3 月 22 日 下午 7:06 
@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 2022 年 3 月 22 日 下午 7:03 
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  [作者] 2022 年 3 月 22 日 下午 6:50 
@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 2022 年 3 月 22 日 下午 6:49 
Have you tested if it actually works?
Guvenoren 2022 年 3 月 18 日 下午 7:02 
That is so ♥♥♥♥♥♥♥ cool. I will use this in my next playthrough!
Ironic  [作者] 2022 年 3 月 16 日 下午 2:20 
@Guvenoren I can attempt to, should be possible.
Guvenoren 2022 年 3 月 16 日 下午 2:18 
Could you make a version like that? :P
Ironic  [作者] 2022 年 3 月 16 日 上午 6:10 
@Guvenoren it is possible, I did it this way as I am unsure if the AI Shi Xie even gets his resource.
Guvenoren 2022 年 3 月 16 日 上午 3:27 
could it also make him lose some of his resouce?
Guvenoren 2022 年 3 月 16 日 上午 3:27 
oooooh I like this one. Because the AI cannot get the chests!