Results 1 to 4 of 4

Thread: Question about Scripts

  1. #1

    Default 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

  2. #2
    Jake Armitage's Avatar Artifex
    Patrician

    Join Date
    Apr 2011
    Location
    apartment 6
    Posts
    4,694

    Default 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

  3. #3

    Default 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.

  4. #4
    Jake Armitage's Avatar Artifex
    Patrician

    Join Date
    Apr 2011
    Location
    apartment 6
    Posts
    4,694

    Default 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
  •