Page 1 of 1

Combo Memory Crashing [Solved]

Posted: Mon Feb 22, 2010 5:35 pm
by kinetosimpetus
These are crashing. \/
Hidden/Spoiler:
Message Severity: 2
.\Source\Combo.cpp(2635)
Combo[a90d249e]::State[ATTACK2]::Transition: failed to add Combo::Transition to state 'ATTACK3' [58b1ec4a] (86 needed)

Message Severity: 2
.\Source\Combo.cpp(2635)
Combo[a90d249e]::State[ATTACK2]::Transition: failed to add Combo::Transition to state 'RECOVER2' [75ae3ecb] (87 needed)

Message Severity: 2
.\Source\Combo.cpp(2635)
Combo[a90d249e]::State[RECOVER2]::Transition: failed to add Combo::Transition to state 'IDLE' [c301cf93] (88 needed)

Message Severity: 2
.\Source\Combo.cpp(2635)
Combo[a90d249e]::State[ATTACK3]::Transition: failed to add Combo::Transition to state 'IDLE' [c301cf93] (89 needed)
Mace Windu cannot attack, or else the map crashes.
This only happens on Mustafar, but Mace is used on many other maps.
I am using 1 Mace Windu.
up to 4 BX Commando's (lightweight combos)
up to 4 perhaps WIP dark jedi/starkiller combo (slightly heavier?)

I have copied the memory pools from stock Mos Eisley Hero Assault

Any idea how to fix it then?

Edit: it was 10 BX's, which still shouldn't matter...
I reduced it to 4
More of his combo works, but still not dash attack or jump attack...

Re: Combo Memory Crashing

Posted: Mon Feb 22, 2010 6:24 pm
by Fiodis
You've copied the memory pools. Have you tried the next obvious step, increasing them?

Re: Combo Memory Crashing

Posted: Mon Feb 22, 2010 6:40 pm
by kinetosimpetus
I just did, it crashed part way through, I didn't actually see Mace, but it probably was him.

I had multiplied the values by 10

Played as him. Crashed, before crash he couldn't jusmpattack or the second dashattack.
New error list.
Hidden/Spoiler:
Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "Combo" set item count after being allocated

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "Combo::State" set item count after being allocated

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "Combo::Transition" set item count after being allocated

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "Combo::Condition" set item count after being allocated

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "Combo::Attack" set item count after being allocated

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "Combo::Deflect" set item count after being allocated

Message Severity: 2
.\Source\Combo.cpp(3197)
Combo[84d86099]: (=) failed to add Combo::State '[NULL]' [f0233d8d] (101 needed)

Re: Combo Memory Crashing

Posted: Mon Feb 22, 2010 8:13 pm
by Fiodis
Let's see your LUA. You're probably putting them in the wrong place. Note how stock Hero Assault luas have them at the very, very beginning of ScriptInit.

Re: Combo Memory Crashing

Posted: Mon Feb 22, 2010 8:25 pm
by kinetosimpetus
(Posting from ipod)
Hm, that could be. I put it below the side setup, pehaps the pools need to be set up before loading the combos from the readdatafiles?

Ill check it out when return to the computer I do.

Edit: that was it. I moved it to the very first thing in scriptinit, with normal numbers, but i had to increase a couple. So solved.