Combo Memory Crashing [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Combo Memory Crashing [Solved]

Post 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...
Last edited by kinetosimpetus on Tue Feb 23, 2010 1:28 am, edited 1 time in total.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Combo Memory Crashing

Post by Fiodis »

You've copied the memory pools. Have you tried the next obvious step, increasing them?
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Combo Memory Crashing

Post 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)
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Combo Memory Crashing

Post 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.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Combo Memory Crashing

Post 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.
Post Reply