[Modding] Creating my first scenario

Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

pavelk wrote:
Cablenexus wrote:I'm not in demo mode anymore since I reported, I only tried it once.
I see. Well, once you are defeated you can replay the whole history (without FoW limitation) and all the statistics (for all players) and start a new game:))
Maybe a prompt to explain this would be helpfull, it feels a bit "empty" that you are just returned to the map with a greyed out hourglass. Maybe a single screen that inform the player about their options. Lot's of convinience and extra attention for the player, and probably not difficult to implement (easy to speak from my site ;-)
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

Btw I go to make diner etc and walk with the dog, I now setup my demogame, see how many turns it last (I deleted the ambientmodels for the moment).
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:Maybe a prompt to explain this would be helpfull, it feels a bit "empty" that you are just returned to the map with a greyed out hourglass. Maybe a single screen that inform the player about their options. Lot's of convinience and extra attention for the player, and probably not difficult to implement (easy to speak from my site ;-)
Agreed and logged
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:Turn 32 crash first time, directly after I inspected the new trade overview menu for the first time in 32 turns. I closed it and got this CTD
I created a fix for that (hopefully). Can you try to copy this file http://aggressors-game.com/download/Kernel.dll.zip to your program files folder?
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

pavelk wrote:
Cablenexus wrote:Turn 32 crash first time, directly after I inspected the new trade overview menu for the first time in 32 turns. I closed it and got this CTD
I created a fix for that (hopefully). Can you try to copy this file http://aggressors-game.com/download/Kernel.dll.zip to your program files folder?
Sure!

First I came to report what the AI did in demo mode while I was outside. They made it into turn 150 (100 AD) in Holland map playing as Chamavii. (without ambient models).
And is still playing in the background while typing.
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:
pavelk wrote:
Cablenexus wrote:Turn 32 crash first time, directly after I inspected the new trade overview menu for the first time in 32 turns. I closed it and got this CTD
I created a fix for that (hopefully). Can you try to copy this file http://aggressors-game.com/download/Kernel.dll.zip to your program files folder?
I might actually have it improved even a bit more. Try first that version and I will send you the newer one.
Cablenexus wrote:what the AI did in demo mode while I was outside. They made it into turn 150 (100 AD) in Holland map playing as Chamavii. (without ambient models).
And is still playing in the background while typing.
Wow. I am surprised that it is working after such a long time when it was not maintained at all! Nice:)

And how are Dutch tribes doing?:)
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

And how are Dutch tribes doing?:)

Well, the Batavi conquered large parts of the map, they are one of the 5/6 tribes that has tweaked starting positions, so it doesn't really make sense but still hey did a good job. Roman Empire is too weak. Lot's of more good info I can take from this play session. Very nice.

I'm doing well with the new kernell atm, While typing this the AI plays turns (around turn 30) without issues. (No edit mode, no demo mode, just a new game made it myself to turn 30).
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

I might notice very low GPU usage (only 20 / 30 %, a little higher CPU usage (around 80 / 90% with some freezes that brings it to 99%) ingame map, mostly when updating map or making pre turn or after turn? calculations
I notice 3,6 GB memory usage (in total so also my other apps and Windows) that was constant 4 before.
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:I might notice very low GPU usage (only 20 / 30 %, a little higher CPU usage (around 80 / 90% with some freezes that brings it to 99%) ingame map, mostly when updating map or making pre turn or after turn? calculations
I notice 3,6 GB memory usage (in total so also my other apps and Windows) that was constant 4 before.
Ok, can you download that file again? I updated it with the second part of changes. It should not really have an impact on the CPU or GPU usage, but it might have a considerable impact on memory (even that "invisible" one caused by fragmentation). Try to start the game with the animals once you download this.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

This is the result from the previous kernell around turn 25 while AI was playing turns.

Naam van toepassing met fout: Aggressors.exe, versie: 0.9.8.11, tijdstempel: 0x5b2159e7
Naam van module met fout: MSVCR100.dll, versie: 10.0.40219.325, tijdstempel: 0x4df2be1e
Uitzonderingscode: 0xc0000005
Foutmarge: 0x00001ed7
Id van proces met fout: 0x2944
Starttijd van toepassing met fout: 0x01d406415f55a0d3
Pad naar toepassing met fout: D:\Program Files (x86)\Kubat Software\Aggressors Ancient Rome\Aggressors.exe
Pad naar module met fout: C:\WINDOWS\SYSTEM32\MSVCR100.dll
Rapport-id: b4a02a8f-1890-4672-8af7-8651a7a2bdbb
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:

Application: Aggressors.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at Mogre.ManualObject.Position(Mogre.Vector3)
at Aggressors.UI.AggressorsForm.SetVertexProperties(Mogre.ManualObject, Mogre.Vector3, Mogre.Vector3, Int32, Int32, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Mogre.Vector2, Single, Single, Mogre.Vector4)
at Aggressors.UI.AggressorsForm.RenderVertices(Mogre.ManualObject, Int32, UInt32, Int32, Int32, Int32, Int32, Int32, Int32, System.Nullable`1<UInt32>[,], Boolean)
at Aggressors.UI.AggressorsForm.CreateTerrain(Int32, Int32, Int32, Int32, Int32, System.String, Boolean)
at Aggressors.UI.AggressorsForm.RecreateTerrainsForLod(Int32)
at Aggressors.UI.AggressorsForm.StabilizeTerrain()
at Aggressors.UI.AggressorsForm.UpdateChartSquareChanges(Aggressors.StateClasses.ChartSquareChangedCollection, Boolean, Boolean)
at Aggressors.UI.RunMethodChartSquareChangedCollectionEffect.RunEffect()
at Aggressors.UI.UnitEffect.TryRunEffect()
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect()
at Aggressors.UI.AggressorsForm.RunEffects(Boolean)
at Aggressors.UI.AggressorsForm.FrameRenderingQueued(Mogre.FrameEvent)
at Mogre.Root.raise_FrameRenderingQueued(Mogre.FrameEvent)
at Mogre.Root.OnFrameRenderingQueued(Mogre.FrameEvent)
at <Module>.Mogre.FrameListener_Director.frameRenderingQueued(Mogre.FrameListener_Director*, Ogre.FrameEvent*)
at <Module>.Ogre.Root.renderOneFrame(Ogre.Root*)
at Aggressors.UI.MogreForm.Go()
at Aggressors.UI.MogreForm.Run(System.String[])
at Aggressors.UI.Program.Main(System.String[])
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:This is the result from the previous kernell around turn 25 while AI was playing turns.
Yeah, that is the second issue. I will need to take a look at that one as well.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

pavelk wrote:
Cablenexus wrote:This is the result from the previous kernell around turn 25 while AI was playing turns.
Yeah, that is the second issue. I will need to take a look at that one as well.
This one the 5 ? times it happened it always was when watching portraits. That's the only hint I can give.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

I start a new game (no edit mode, no demo) just from start my hollandv0.62 file. Newest kernell.

In the mean time I also defragmented my own hd, cleaned my pc with my iobit tools, checked if all files are correct, no issues in the ag file as far I can see. Start with no ambient units in ag file so they will populate after starting new map.

Will see if the MSVCR100.dll is the only issue left. I will start a new game.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

Around turn 5 after doing all previous steps. Happens when the AI portraits where shown while doing their turn and I pressed ESC to not watch them all.

Naam van toepassing met fout: Aggressors.exe, versie: 0.9.8.11, tijdstempel: 0x5b2159e7
Naam van module met fout: MSVCR100.dll, versie: 10.0.40219.325, tijdstempel: 0x4df2be1e
Uitzonderingscode: 0xc0000005
Foutmarge: 0x00001ed7
Id van proces met fout: 0xd74
Starttijd van toepassing met fout: 0x01d4065cfed5b694
Pad naar toepassing met fout: D:\Program Files (x86)\Kubat Software\Aggressors Ancient Rome\Aggressors.exe
Pad naar module met fout: C:\WINDOWS\SYSTEM32\MSVCR100.dll
Rapport-id: bb88757e-5e88-4923-b116-39de020d443e
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:

Application: Aggressors.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at Mogre.ManualObject.Position(Mogre.Vector3)
at Aggressors.UI.AggressorsForm.SetVertexProperties(Mogre.ManualObject, Mogre.Vector3, Mogre.Vector3, Int32, Int32, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Aggressors.UI.TileHelper, Mogre.Vector2, Single, Single, Mogre.Vector4)
at Aggressors.UI.AggressorsForm.RenderVertices(Mogre.ManualObject, Int32, UInt32, Int32, Int32, Int32, Int32, Int32, Int32, System.Nullable`1<UInt32>[,], Boolean)
at Aggressors.UI.AggressorsForm.CreateTerrain(Int32, Int32, Int32, Int32, Int32, System.String, Boolean)
at Aggressors.UI.AggressorsForm.RecreateTerrainsForLod(Int32)
at Aggressors.UI.AggressorsForm.StabilizeTerrain()
at Aggressors.UI.AggressorsForm.UpdateChartSquareChanges(Aggressors.StateClasses.ChartSquareChangedCollection, Boolean, Boolean)
at Aggressors.UI.RunMethodChartSquareChangedCollectionEffect.RunEffect()
at Aggressors.UI.UnitEffect.TryRunEffect()
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect(Aggressors.UI.UnitEffect)
at Aggressors.UI.UnitEffect.ExecuteEffect()
at Aggressors.UI.AggressorsForm.RunEffects(Boolean)
at Aggressors.UI.AggressorsForm.FrameRenderingQueued(Mogre.FrameEvent)
at Mogre.Root.raise_FrameRenderingQueued(Mogre.FrameEvent)
at Mogre.Root.OnFrameRenderingQueued(Mogre.FrameEvent)
at <Module>.Mogre.FrameListener_Director.frameRenderingQueued(Mogre.FrameListener_Director*, Ogre.FrameEvent*)
at <Module>.Ogre.Root.renderOneFrame(Ogre.Root*)
at Aggressors.UI.MogreForm.Go()
at Aggressors.UI.MogreForm.Run(System.String[])
at Aggressors.UI.Program.Main(System.String[])
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:Around turn 5 after doing all previous steps. Happens when the AI portraits where shown while doing their turn and I pressed ESC to not watch them all.
It is still the same issue. I am really surprised it is happening just for you. It is always just in your mod or also in the campaign map?
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

pavelk wrote:
Cablenexus wrote:Around turn 5 after doing all previous steps. Happens when the AI portraits where shown while doing their turn and I pressed ESC to not watch them all.
It is still the same issue. I am really surprised it is happening just for you. It is always just in your mod or also in the campaign map?
I will try the unmodded version to see if I can make it happen.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

Cablenexus wrote:
pavelk wrote:
Cablenexus wrote:Around turn 5 after doing all previous steps. Happens when the AI portraits where shown while doing their turn and I pressed ESC to not watch them all.
It is still the same issue. I am really surprised it is happening just for you. It is always just in your mod or also in the campaign map?
I will try the unmodded version to see if I can make it happen.
Can the app eventually crash if any of my lines in the mod ag file (ambientmodelmomento for the cow) cause I made a typo (again). It's not really a typo but the start of the text about the cow, I started two [spaces] too far to the left.
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:Can the app eventually crash if any of my lines in the mod ag file (ambientmodelmomento for the cow) cause I made a typo (again). It's not really a typo but the start of the text about the cow, I started two [spaces] too far to the left.
I am not sure what do you mean by start of the text, but sure. If the file is not correctly formatted, it wont work. It is the same when you change the word docx file somehow...It wont open it as well:)
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

pavelk wrote:
Cablenexus wrote:Can the app eventually crash if any of my lines in the mod ag file (ambientmodelmomento for the cow) cause I made a typo (again). It's not really a typo but the start of the text about the cow, I started two [spaces] too far to the left.
I am not sure what do you mean by start of the text, but sure. If the file is not correctly formatted, it wont work. It is the same when you change the word docx file somehow...It wont open it as well:)
All this is new for me, so sorry for not understanding everything perfectly. This is what I did wrong and notice now. But could that cause the previous crashes?
Attachments
typo.jpg
typo.jpg (21.52 KiB) Viewed 1837 times
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post by pavelk »

Cablenexus wrote:All this is new for me, so sorry for not understanding everything perfectly. This is what I did wrong and notice now. But could that cause the previous crashes?
No spaces (or missing spaces) have absolutely no impact on the data (only if they are part of the attribute like variable="fsd sdf fs" or inside element like <variable> dfs dsf</variable>
Post Reply

Return to “Aggressors Modding”