1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Getting runtime error source

Discussion in 'Civ5 - Creation & Customization' started by Moriboe, Jan 21, 2012.

  1. Moriboe

    Moriboe Chieftain

    Joined:
    Nov 30, 2010
    Messages:
    659
    Location:
    Belgium
    If I check Lua.log errors come up like this:

    [44453.764] Runtime Error: [string "C:\Users\MyName\Documents\My Games\Sid Meier'..."]:22: attempt to index field 'gPlayers' (a nil value)

    The problem being that it hides the info from which file the error was thrown. It used to be obvious in my case, but now it's getting annoying. Any way to get access to the full file path? Or maybe some better way altogether for debugging?
     

Share This Page