• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Cat Lord

Retired Moderator
68 Badges
May 13, 2002
10.859
18
www.revolutionundersiege.com
  • Victoria 3 Sign Up
  • Stellaris: Nemesis
  • Europa Universalis IV: Rights of Man
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Republic
  • Magicka
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
Re: Re: Last but not least

Originally posted by Phillip V
I was thinking of doing that, but I am way too lazy.:D Also, I trust Johan and Paradox.:p
Don't, there were still basic errors in the KNI event file of the 1.7 patch for example... (Though I do not blame them either, I am too lazy to parse all the event files too :D ).

[Teaser]
Think of all the new post you can create reporting bugs to reach the magic 3000 number for a custom avatar...
[/Teaser]

:D

Cat
 

unmerged(12357)

Sergeant
Dec 4, 2002
54
0
Re: Last but not least

Originally posted by Cat Lord
[teasing mode]
Did anyone run it against all the base EU2 event files to find all the remaining bugs for Paradox ?
[/teasing mode]

:D

Cat

I did some testing against the stock 1.07, as a source of mostly correct syntax. Most of the errors it caught were there since 1.05 and already reported, and I didn't want to annoy people with repeat bug reports. But here's what comes out (but reformatted for easier viewing):

Leaders
**** (Skipped: Db/Leaders/leaders.kri -- country KRI not defined) ****
**** (Skipped: Db/Leaders/leaders.rev -- country REV not defined) ****
**** (Skipped: Db/Leaders/leaders.tus -- country TUS not defined) ****
**** (Skipped: Db/Leaders/leaders.txt -- country TXT not defined) ****
**** (Skipped: Db/Leaders/randomleaders.csv -- doesn't match 'Leaders.XXX') ****

**** Db/Leaders/leaders.son ****
   Warning: Missing definition for category in event at line 22

Monarchs
   **** (Skipped: Db/monarchs/Johan.rst -- doesn't match 'Monarchs.XXX') ****
   **** (Skipped: Db/monarchs/Monarchs.den -- country DEN not defined) ****

**** Db/monarchs/Monarchs.ash ****
&nbsp;&nbsp;&nbsp;Syntax error in object Monarch, state <monarch>, at line 145 char 1, with buffer 'manuever = 3 fire = 3 shock = 2 siege ='
&nbsp;&nbsp;&nbsp;Syntax error in object Monarch, state <monarch>, at line 164 char 1, with buffer 'manuever = 2 fire = 2 shock = 2 } historicalmonarch'

**** Db/monarchs/Monarchs.col ****
&nbsp;&nbsp;&nbsp;Syntax error in object Monarch, state <monarch>, at line 51 char 1, with buffer 'manuever = 5 fire = 5 shock = 4 siege ='

**** Db/monarchs/Monarchs.hsa ****
&nbsp;&nbsp;&nbsp;Syntax error in object Monarch, state <start>, at line 11 char 0, with buffer '.'
&nbsp;&nbsp;&nbsp;No monarch found before end of file

**** Db/monarchs/Monarchs.tun ****
&nbsp;&nbsp;&nbsp;Syntax error in object Monarch, state <monarch>, at line 244 char 1, with buffer 'manuever = 4 fire = 3 shock = 2 } historicalmonarch'
&nbsp;&nbsp;&nbsp;Syntax error in object Monarch, state <monarch>, at line 260 char 1, with buffer 'manuever = 3 fire = 3 shock = 3 } historicalmonarch'

**** Db/monarchs/Monarchs.ukr ****
&nbsp;&nbsp;&nbsp;Warning: Missing definition for startdate in event at line 172

**** Db/monarchs/Monarchs.zim ****
&nbsp;&nbsp;&nbsp;Syntax error in object Monarch, state <monarch>, at line 15 char 1, with buffer 'manuever = 2 fire = 2 shock = 3 } historicalmonarch'

Events
**** (Skipped: Db/Events/eventlist.txt -- Not defined in eventlist) ****
**** (Skipped: Db/Events/extragc.txt -- Not defined in eventlist) ****
**** (Skipped: Db/Events/major_col.txt -- Not defined in eventlist) ****
**** (Skipped: Db/Events/special_por.txt -- Not defined in eventlist) ****
**** (Skipped: Db/Events/special_pru.txt -- Not defined in eventlist) ****

**** Db/Events/major_aqu.txt ****
&nbsp;&nbsp;&nbsp;Invalid text reference 'EVENTNAME3588', in event 3588 (Line 6)
&nbsp;&nbsp;&nbsp;Invalid text reference 'EVENTHIST3588', in event 3588 (Line 6)
&nbsp;&nbsp;&nbsp;Invalid text reference 'ACTIONNAME3588A', in event 3588 (Line 6)
&nbsp;&nbsp;&nbsp;Invalid text reference 'ACTIONNAME3588B', in event 3588 (Line 6)

**** Db/Events/major_chi.txt ****
&nbsp;&nbsp;&nbsp;Syntax error in object Event, state <action_command>, at line 965 char 14, with buffer 'type = sleepevent value = 20001 } } action_b = {'
&nbsp;&nbsp;&nbsp;Invalid text reference 'EVENTNAME3913', in event 3913 (Line 676)
&nbsp;&nbsp;&nbsp;Invalid text reference 'EVENTHIST3913', in event 3913 (Line 676)
&nbsp;&nbsp;&nbsp;Invalid text reference 'ACTIONNAME3913A', in event 3913 (Line 676)

**** Db/Events/major_dan.txt ****
&nbsp;&nbsp;&nbsp;Syntax error in object Event, state <event>, at line 279 char 1, with buffer 'style = no action_a = { name = ACTIONNAME5848A command ='
&nbsp;&nbsp;&nbsp;Invalid text reference 'ACTIONNAME3756', in event 3756 (Line 45)

**** Db/Events/major_hol.txt ****
&nbsp;&nbsp;&nbsp;Invalid text reference 'EVENTHIST3900', in event 3900 (Line 644)
&nbsp;&nbsp;&nbsp;Invalid text reference 'ACTIONNAME3900A', in event 3900 (Line 644)

**** Db/Events/major_inc.txt ****
&nbsp;&nbsp;&nbsp;Undefined leader ID '9881', in event 3698 (Line 6)
&nbsp;&nbsp;&nbsp;Undefined leader ID '9882', in event 3698 (Line 6)

**** Db/Events/major_usa.txt ****
&nbsp;&nbsp;&nbsp;Integer -10 out of range (-6 to 6)
&nbsp;&nbsp;&nbsp;Syntax error in object Event, state <action_command>, at line 314 char 14, with buffer 'type = merchants value = -10 } command = { type'
&nbsp;&nbsp;&nbsp;Undefined monarch ID '4059', in event 3065 (Line 398)

**** Db/Events/major_vie.txt ****
&nbsp;&nbsp;&nbsp;Invalid text reference 'EVENTHIST13902', in event 3902 (Line 7)
&nbsp;&nbsp;&nbsp;Invalid text reference 'EVENTHIST13903', in event 3903 (Line 34)


&nbsp;&nbsp;&nbsp;Undefined reference to event ID '20001', in event 10008 (File Db/Events/major_chi.txt, Line 446)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6926', in event 6938 (File Db/Events/major_nip.txt, Line 271)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6926', in event 6938 (File Db/Events/major_nip.txt, Line 271)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6924', in event 6975 (File Db/Events/major_nip.txt, Line 1016)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6917', in event 6981 (File Db/Events/major_nip.txt, Line 1103)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6918', in event 6981 (File Db/Events/major_nip.txt, Line 1103)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6919', in event 6981 (File Db/Events/major_nip.txt, Line 1103)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6925', in event 6981 (File Db/Events/major_nip.txt, Line 1103)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6927', in event 6981 (File Db/Events/major_nip.txt, Line 1103)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6928', in event 6981 (File Db/Events/major_nip.txt, Line 1103)
&nbsp;&nbsp;&nbsp;Undefined reference to event ID '6929', in event 6981 (File Db/Events/major_nip.txt, Line 1103)
 

Jester

El Jeffe De La Verca Del Fuego
66 Badges
Feb 26, 2001
1.165
0
Visit site
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Shadowrun Returns
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Europa Universalis IV: Dharma
  • Crusader Kings III: Royal Edition
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
I am getting a error message when I am trying to vlaidate my event file thru the eventaparser.

It says

System.nullreferenceException: object reference not set to an instance of an object.
at eventparser.validator.error(string s, Xmlnode xn)
blah blah blah
Object reference not set to an instance of an object.

Any idea what this is all about?

Th event parser seems to work fine on another file that I had it check.

ANOTHER Issue I just found is that apparently the Eventparser has a problem with negative values -1/-2/-3 in the domestic actions. The program beleives these are all errors.

Late,
Jester
 

Hive

Lex Superior
19 Badges
Oct 16, 2002
12.250
15
  • Heir to the Throne
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Hearts of Iron Anthology
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Crusader Kings II
Maybe I'm stupid, but I can't get this to work... I want to use it on my mod (run through moddir), and I tried to alter the AoN batch file to serve my needs for it.

If someone has the time for it, I would very much appreciate a little help here.
 

unmerged(12357)

Sergeant
Dec 4, 2002
54
0
Originally posted by Jester
I am getting a error message when I am trying to vlaidate my event file thru the eventaparser.

It says

System.nullreferenceException: object reference not set to an instance of an object.
at eventparser.validator.error(string s, Xmlnode xn)
blah blah blah
Object reference not set to an instance of an object.

Any idea what this is all about?

Th event parser seems to work fine on another file that I had it check.

ANOTHER Issue I just found is that apparently the Eventparser has a problem with negative values -1/-2/-3 in the domestic actions. The program beleives these are all errors.

Late,
Jester
I think you are referring to a different program. Is this Coder's event checker? The error sounds like from java or .net code. Also, I allow -10 to +10 for domestic command actions.
 

unmerged(12357)

Sergeant
Dec 4, 2002
54
0
Originally posted by Hive
Maybe I'm stupid, but I can't get this to work... I want to use it on my mod (run through moddir), and I tried to alter the AoN batch file to serve my needs for it.

If someone has the time for it, I would very much appreciate a little help here.
Hive, did a console window appear when you ran the file? If so, then there should be some kind of output in C:\Temp\output.txt.

What OS do you have? There are slight differences in the command console between win95/98/Me and NT/2000/XP. I only tried the BAT file on win2000 and XP, so maybe it doesn't work on win98, the way I wrote it.

Another possible problem: in the last of the 3 commands in the command_aon.bat file, it is looking for specific files called DB\aon_events.txt and DB\Events\aon, which may need to be edited for another mod. It's at the end of a rather long line, so it's not obvious.

If Perl itself is the problem, try this:

- download http://www.katica.org/cer28/eu2/EU2EventParser/EU2Lint_Perl.zip and unzip the files into the existing EU2Lint directory.
- Modify at the file in win32\command_moddir.bat (redefine the SET commands as necessary)
- click on the BAT file to run the program. It uses a self-contained version of perl, so that it is no longer necessary to install the full ActiveState version of perl (if this experiment works, that is). It's the first time I've tried this, so I don't know how well it will work.
 

Jester

El Jeffe De La Verca Del Fuego
66 Badges
Feb 26, 2001
1.165
0
Visit site
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Shadowrun Returns
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Europa Universalis IV: Dharma
  • Crusader Kings III: Royal Edition
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
Originally posted by Recess Monkey
I think you are referring to a different program. Is this Coder's event checker? The error sounds like from java or .net code. Also, I allow -10 to +10 for domestic command actions.

you are correct, sorry

Late,
Jester
 

Kasperus

Field Marshmallow
8 Badges
Nov 5, 2001
4.379
0
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Europa Universalis III
  • Europa Universalis IV
  • For The Glory
  • 500k Club
  • Mount & Blade: Warband
The online version shows that the tool now recognizes the flag-triggers and set/clrflag commands, but when I try it I always get syntax-errors like the following:

Syntax error in object Event, state <action_command>, at line 32 char 38, with buffer 'thcrusade } } action_b = { name = Decline. command =

The parser seems to complain about the 'name' I use for the flag (I think?) but then I do not understand why as events like that do work (for me, I checked the file up to find another kind of errors). Well, am I wrong or does this just don't work very well (yet) with these commands?
 

Khephren

Watery Tart
23 Badges
Mar 29, 2003
1.285
2
  • Victoria 2
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Arsenal of Democracy
  • Europa Universalis III Complete
  • March of the Eagles
  • Iron Cross
  • Europa Universalis III Complete
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Crusader Kings II
Has anybody had any luck with this?? (the downloadable version, not the online one) With all the new tags supposedly opening up this would really be a godsend for checking id conflicts.