[ian-reeds-games] Re: Error/Bug rampage crash and CPU issue

  • From: Roel van der Wal <roelwal99@xxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Thu, 3 Nov 2016 13:23:25 +0100

Hmmm, interesting. tactical battle is probably compiled as a 32-bit
application, so it can't access more than 2 gb of memory. That said,
do you know the processor and amount of memory of that system? I
susspect tactical battle was never made for these huge map packs and
that the sheer amount of sounds cause it to crash.

2016-11-03 12:57 GMT+01:00, Allan Thompson <allan1.thompson@xxxxxxx>:

I am sending this on behalf of someone experiencing problems. It seems
connected to either Rampage or scripts or both. In addition, the CPUseems
to
run less efficiently while TB is running, At least from what Iunderstand
what
was explained.
 I am clueless about what to do about it, except to pass this along in
hopes
that Ian or Craig are made aware.

I have posted the description and error messages below.
*** Start description/error message

I'm having a problem with your Rampage map pack, actually. It looks awesome
and I'd like to play in more depth. However, after a certain number of
sounds
playing, the game crashes with an out of memory error.

I've done some googling, and it looks like someone named Kyle Davis had the
same problem with your Starcraft pack a while back. Also, someone on the
list
that goes by Monkey seemed to have the same problem. Their error messages
look very similar to mine, excluding some of the specific sound functions.


I don't actually think there is anything wrong with your packs. I actually
have a script error logged that targets SM Damage and Healing.js as a
possible problem, but I don't think it's that either or more people would
be
having this error. Your Age of Warlords pack appears to work fine for me,
I've played it for at least half an hour with no crashes, whereas the
Rampage
pack tends to crash after around 3 minutes of play, depending on how fast
I'm
playing and how quickly new sounds are triggering.

I've tried everything I can think of, including playing with my computer's
memory and trying to figure out if any other processes could be using up a
lot of my ram or virtual memory. It doesn't appear so, though for some
reason
when I run tactical battle, my CPU seems to run at a far higher speed than
it
should. I've turned the graphics off and the battle log off to no avail.
I'm
pretty well out of ideas to try to get this thing to work.


Script Error:


Calling Context: sm_after_damage

Filename: sm damage and healing.js

Line: 56

Column: 12, 13

Error in the application.

Noesis.Javascript.JavascriptException: Error in the application. --->
Microsoft.DirectX.DirectXException: Error in the application.

    at Microsoft.DirectX.AudioVideoPlayback.Audio.Play()

    at Ian.DSAudio.Play() in
C:\Data\Recent\Games\TacticalBattle\DSAudio.cs:line 53

    at Ian.TBSound.Play(IHaveGameLoopState ent, String name, DSAudio& a,
DSAudioInfo& ai, Boolean synchronous, Boolean repeat, Boolean restart,
Int32 volume,
Double start, Double end, Boolean playWhenBuildingBattleLog) in
C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 187

    at Ian.TBSound.Play(String sound, Boolean synchronous, Boolean
repeat, Boolean restart, Int32 volume, Double start, Double end, Boolean
playWhenBuildingBattleLog)
in C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 148

    at Ian.TBSound.PlayRandom(String sound, String& randSound, Boolean
synchronous, Boolean repeat, Boolean restart, Int32 volume, Double
start, Double end,
Boolean playWhenBuildingBattleLog) in
C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 96

    at Ian.TBSound.PlayRandom(String sound, Boolean synchronous, Boolean
repeat, Boolean restart, Int32 volume, Double start, Double end, Boolean
playWhenBuildingBattleLog)
in C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 74

    at Ian.TBSoundContext.PlayRandom(String name) in
C:\Data\Recent\Games\TacticalBattle\TBSoundContext.cs:line 29

    at Ian.TBScriptAPI.RandomSound(String soundName) in
C:\Data\Recent\Games\TacticalBattle\TBScriptAPI.cs:line 112

    --- End of inner exception stack trace ---

    at Noesis.Javascript.JavascriptContext.Run(String iScript, String
iScriptResourceName)

    at Ian.NoesisWrapper.Run(String script, String resourceName) in
C:\Data\Recent\Games\JSScriptHost\NoesisWrapper.cs:line 14

    at Ian.JSWrapper.Run(IHaveVersion ent, String script, String
callingContext) in C:\Data\Recent\Games\GameEngine\JS.cs:line 47


Game Crash Error:

---------------------------

---------------------------
An error has occurred.  Please notify the game creator of this error.
You can copy the entire error to your clipboard by pressing control +
C.  Then you can paste it into an email by pressing control + V and send
the email to support@xxxxxxxxxxxxxxxxxxx.
Error in the application.
-2147024882 (E_OUTOFMEMORY)
    at Microsoft.DirectX.AudioVideoPlayback.Audio.Play()

    at Ian.DSAudio.Play() in
C:\Data\Recent\Games\TacticalBattle\DSAudio.cs:line 53

    at Ian.TBSound.Play(IHaveGameLoopState ent, String name, DSAudio& a,
DSAudioInfo& ai, Boolean synchronous, Boolean repeat, Boolean restart,
Int32 volume, Double start, Double end, Boolean
playWhenBuildingBattleLog) in
C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 187

    at Ian.TBSound.Play(String sound, Boolean synchronous, Boolean
repeat, Boolean restart, Int32 volume, Double start, Double end, Boolean
playWhenBuildingBattleLog) in
C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 148

    at Ian.TBSound.PlayRandom(String sound, String& randSound, Boolean
synchronous, Boolean repeat, Boolean restart, Int32 volume, Double
start, Double end, Boolean playWhenBuildingBattleLog) in
C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 96

    at Ian.TBSound.PlayRandom(String sound, Boolean synchronous, Boolean
repeat, Boolean restart, Int32 volume, Double start, Double end, Boolean
playWhenBuildingBattleLog) in
C:\Data\Recent\Games\TacticalBattle\TBSound.cs:line 74

    at Ian.AP.PlayActionSound(SkillOrItemBase soib, Unit curUnit, Tile
target, Boolean success, Boolean playForAllPlayers) in
C:\Data\Recent\Games\TacticalBattle\ActionPerformer.cs:line 481

    at Ian.AP.PerformSkill(SkillOrItemBase soib, Unit curUnit, Unit
targetUnit, Tile target, Item item, Boolean speakAsync, Boolean
suppressSpeech, Boolean announceCoords, Boolean receivedFromServer,
Boolean suppressSound) in
C:\Data\Recent\Games\TacticalBattle\ActionPerformer.cs:line 172

    at Ian.BattleAction.Process(TBClientWorld ent) in
C:\Data\Recent\Games\TacticalBattle\TBStates\BattleAction.cs:line 41

    at Ian.SceneMachine`1.Process(T ent) in
C:\Data\Recent\Games\GameEngine\SceneMachine.cs:line 66

    at Ian.TBGameLoop.InnerSingleLoop(TBClientWorld ent, QueuedGameInput
formInput) in C:\Data\Recent\Games\TacticalBattle\TBGameLoop.cs:line 57

    at Ian.GameLoopLogic.RunLoops[TWorld](TWorld ent, QueuedGameInput
formInput, Action`2 runSingleLoop, Double totalElapsedSeconds, Double
fixedTimeStep) in C:\Data\Recent\Games\GameEngine\GameLoopLogic.cs:line 31

    at Ian.TBGameLoop.RunLoops(TBClientWorld ent, QueuedGameInput
formInput) in C:\Data\Recent\Games\TacticalBattle\TBGameLoop.cs:line 23

    at Ian.GameWindow`1.RunGameLoop() in
C:\Data\Recent\Games\GameEngine\GameWindow.cs:line 135

    at Ian.GameWindow`1.GameLoopTimer_Tick(Object sender, EventArgs e)
in C:\Data\Recent\Games\GameEngine\GameWindow.cs:line 182

    at System.Windows.Forms.Timer.OnTick(EventArgs e)

    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK
--------------------------

"The truth will make you free"
Jesus Christ of Nazareth 33AD



-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject
field.
Or by visiting the list page at
//www.freelists.org/list/ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip



-----
You can unsubscribe from this list by sending email to 
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field.
Or by visiting the list page at //www.freelists.org/list/ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip

Other related posts: