• 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.
The problem is...

The problem is that quite a few events look like below after I have used your program to strip the random events.

Pay attention to action_b:

event = {
id = 1123
random = no
name = "Stripped Event"
desc = "Stripped Event"
style = 0
action_a = {
name = "OK"
command = { }
command = { }
}
action_b = {
name = ""
}
}

As we have found out before, EU2 will not run without all randome events choices containing a walid or emty command string.

I hope you can fix this fairley easy... ;)
 
Re: The problem is...

Originally posted by Dagfinn
As we have found out before, EU2 will not run without all randome events choices containing a walid or emty command string.

Could you give me an example of an event file that's doing this? I can't seem to replicate it.
 
Well... this is an interesting one. It took over two hours to actually find the bug. Mainly because it's actually a parsing bug, nothing whatever to do with Strip All Commands.

This bug can apply to any event file that's being read in. But it happens only under very specific circumstances.

If an event contains a trigger that is only one line long AND the trigger appears directly before action_a, the editor will double each command within action_a (but only action_a), and then add a phantom action at the end of the event. If there are already four actions in the event (action_d exists, in other words), the program will crash when reading the event.

Certainly a bizarre flaw, but not a crippling one. But anyone trying to edit Paradox-created files (such as the randomevents file) should be aware of it. Files created by the editor are not subject to this problem (the editor places all triggers right after the id).

I've found the code that's causing the problem, but I'm not sure how to fix it yet. Hopefully by Wednesday or Thursday I'll have a solution.

Until I do fix it, anyone having this problem can move the trigger of an affected event further up in the event as a workaround.
 
Originally posted by Dagfinn
Well, aint it nice to be able to do some "community service" ? :D

I just happen to realy enjoy your work Danny, keep it up... :)

Awww. Shucks. :)

I'm glad you pointed this one out. Definitely something I would not have found on my own... especially since it's something that's pretty un-noticeable, unless Strip All happens to crash your game because of it. *L*



As far as the update goes... looks like I've run out of time to get this fix out for 1.05, so I'll just roll it into the usual patch update -- which is also going to include a few more (very minor) fixes and tweaks that I've saved up till now.

The next update is also going to require MFC version 7.0, which will have to be downloaded separately (it's available on my page now). The editor is the only program I haven't converted to Visual Studio 7, and VS6 and its SDK are taking up roughly a gig on my hard drive... a rather huge chunk of space just for this one program... so I'm switching the editor over to 7 now so I can remove 6 and get that space back.

The update will be out as soon as I can get it out after 1.05 is (completely) released.
 
Argh, that means I will have to manualy eradicate the randomevents when 1.05 comes out... :( ;)

Anyway, what is 15 miutes spent on that compared to the houers I will waste tinkering with EU2 afterwards... :rolleyes: :D :cool:
 
Version 1.02

EU2 Event Tool Version 1.02 is ready to go, and on the server. The link is in my signature. As always, make sure you refresh the page (and its frames) to get the latest info.

Changes:

1. Program updated for EU2 patch 1.05
2. Strip All double-up bug is now fixed
3. Enter key error in Add New Event dialog is fixed
4. Code Editor window has been changed
5. Some dialogs that previously didn't now accept keystrokes (like the Enter key)
 
Originally posted by Lambert Simnel
The Batavian Republic was the name of Holland while it was a vassal of Napoleonic France

Batavian Republic was the name of Holland while it was vassal of revolutionary, pre-Napoleonic France.
When Napoleon Bonaparte came to power, he installed his brother Louis to the throne in Holland. Batavian Republic was never restored.
 
Hmmm... is dannysmurf alive? His Event Editor has not been updated for a year and it has many bugs...:(
 
Llywelyn said:
Was there ever an updated version? or any version still available?
The link is dead now...

jay.
No, this was discontinued. I e-mailed the creator perhaps two years ago and received no response. Good luck.
 
Pellucid said:
Link is dead. Does anyone still have this program?

EDIT: Just noticed above comment. I'm retarded.
I still have the program. Provide me with an e-mail address. weyoun also released another event creator, though that was awhile ago, but at least more recent.
 
I still have the program. Provide me with an e-mail address. weyoun also released another event creator, though that was awhile ago, but at least more recent.

hi, ¿you made a Event Creator for EU2? thats great!!! i recently bought EU2 and want to make some events for a game with Byzantium ¿could you send it to me?
 
hi, ¿you made a Event Creator for EU2? thats great!!! i recently bought EU2 and want to make some events for a game with Byzantium ¿could you send it to me?

Sorry. I no longer have the file. :(