-
September 30, 2007, 12:21 AM
#1
Semisalis
How do I use system.log to find errors?
01:09:59.296 [script.err] [error] Script Error in mods/americas/data/export_descr_buildings.txt, at line 805, column 112
Unexpected in condition parsing: 'recruit_pool'
I get that error when I'm trying to mod new units into the campaign. How do I locate line 805, and what does "unexpected in condition parsing: 'recruit pool'" even mean?
-
September 30, 2007, 06:50 AM
#2
Re: How do I use system.log to find errors?
You locate it by using a text editor that displays line numbers or has a goto option.
It probably means that you wrote two recruit pools in one line or something. The condition is what the game expects after the "requires" keyword. If you have that keyword and no condition following it, the game tries to parse the next word and fails.
No thing is everything. Every thing is nothing.
-
September 30, 2007, 10:08 AM
#3
Re: How do I use system.log to find errors?
Notepad2 uses line numbers, and is free. Its a straight replacement for Windows Notepad with lots of extra features.
http://www.flos-freeware.ch/notepad2.html
There are lots of other text editors out there that are better than Notepad, try a few and pick the one you like best.
-
September 30, 2007, 10:33 AM
#4
-
September 30, 2007, 10:40 AM
#5
Re: How do I use system.log to find errors?
I personally like to use UltraEdit (even made a wordfile for M2TW script highlighting)
No thing is everything. Every thing is nothing.
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