-
March 15, 2021, 11:08 AM
#1
Laetus
Question about Scripts
Hey,
in the past I changed the auto_resolve_bonus script of the lua_scripts for my own purpose to match with my perferences. I changed values and even added factions as "major". It had worked well, but since the latest update my changes crash parts of the scripts. I recognized it with the public order penalty for garrisoned armies and the leader-in-capital-boni/malus. I tested a bit and I can change values without problems and even replace factions, but when I add a line its over. Please excuse me for being a modding noob, but in the past it worked. Do you know what Im doing wrong?
Best regards
-
March 15, 2021, 12:09 PM
#2
Re: Question about Scripts
no one can tell what's wrong if you're giving so few informations
are you modding auto_resolve_bonus script only? upload your version
-
March 15, 2021, 02:42 PM
#3
Laetus
Re: Question about Scripts
I guess I solved the problem! Looks like I just had a wrong typo. Sorry for bothering. If the problem still occures, Ill come back with an upload.
-
March 16, 2021, 04:54 AM
#4
Re: Question about Scripts
you can use an online compiler for tracking down lua syntax errors
won't recognise everything but stuff like typos and structure errors will be noted
https://rextester.com/l/lua_online_compiler
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules