Re: The game crash after showing the first objetive
Posted: Tue Apr 28, 2009 5:49 pm
by ForceMaster
I deleted the current configuration of the sound and replace the previous one. I have sound on the map, but the appearance of the units the game is interrupted.
EDIT: I have carefully reviewed my map, the turrets, armament files. all ... but I've seen everything in order. my attention that the errors BFront2.log animation units like this:
Hidden/Spoiler:
[code]Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'sprint_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'jump_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'jump_forward_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'jump_backward_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'jump_left_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'jump_right_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'landsoft_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'landhard_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'fall_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_flail_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_flyingfront_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_flyingback_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_flyingleft_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_flyingright_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_tumblefront_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_tumbleback_upper' was already read
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'thrown_bouncefrontsoft_upper' was already read
[/code]
if that does not have anything with what ever the problem. I have also seen other errors that do not disappear like this:
Hidden/Spoiler:
[code]Message Severity: 2
.\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (ef255e37)!
Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 2760
Message Severity: 2
.\Source\Controllable.cpp(383)
trying to AddController to a Controllable that already has one.[/code]
if anyone can help me .... please at least tell me if they have to do with the problem. thanks!
EDIT2
Excuseme......CAN AHNYONE HELPME PLEASE????
Re: The game crash after showing the first objetive
Posted: Tue May 05, 2009 11:17 am
by Darth_Spiderpig
I can't help ya, sorry about that, but you can use the search button to search for other issues like this what are solved
Or maybe you can contact Mav or Teancum or any other good modders for help
AND YES, PLEASE ANYONE HELP THIS POOR GUY
Re: The game crash after showing the first objetive
Posted: Tue May 05, 2009 11:44 am
by Frisbeetarian
So you unnecessarily bump asking someone else to do the work so that another person can do the work for you to have fun?
@ Forcemaster
If you could sum up what exactly is still wrong, such as if it crashes, when it crashes, and any other thing such as sides issues, sounds issues, etc.
Also, while you're getting that information together, replace your custom sides with default sides and answer the same questions posed above.
Re: The game crash after showing the first objetive
Posted: Tue May 05, 2009 11:54 am
by Teancum
Darth_Spiderpig wrote:Or maybe you can contact Mav or Teancum or any other good modders for help
We would have given him the answer if we knew what was wrong. It's not like we're trying to hide how to mod well.
Re: The game crash after showing the first objetive
Posted: Tue May 05, 2009 11:57 am
by Darth_Spiderpig
Frisbeetarian wrote:So you unnecessarily bump asking someone else to do the work so that another person can do the work for you to have fun?
do you mean me or forcemaster?
sorry if it is clear, but I'm not that good in english
@ Tean: i don't want to say that, but the poor guy makes me sad
Nothing against you or the others :greeny:
Re: The game crash after showing the first objetive
Posted: Wed May 06, 2009 5:15 pm
by ForceMaster
Let me explain better what happens to my map, but before I give thanks for their assistance and I can provide.
My map starts correctly, the unit selection screen works well, I can select any unit I have for the republic, including those that are new. ie, I can walk through the world without problems (not even the AI units). when the time is fulfilled my first objective, and after that, the units, there is where the game is interrupted.
I have tried the following: modify my LUA to not read my custom, but the sides that reads default, ie changing ReadDataFile (dc: SIDE .....) by ReadDateFile (Side. .....) and happens the same at appear the units.
I have reviewed carefully the objects, turrets, objectives and objects of the game but I find nothing out of place. I made several cleanings handsearched BUILD folder as the tutorial but I have not had results. the BFront2.log is the same.
Re: The game crash after showing the first objetive
Posted: Wed May 06, 2009 5:54 pm
by Frisbeetarian
Just to make sure, you ran the map through with just stock sides for both the CIS and Republic?
Message Severity: 2
.\Source\SoldierAnimationData.cpp(900)
SoldierAnimationData[5f0ce10d]::Animation: animation data 'sprint_upper' was already read
[quote="ForceMaster"]Message Severity: 2
.\Source\Controllable.cpp(383)
trying to AddController to a Controllable that already has one.
These errors have me most concerned purely because I don't know how they were generated and hence don't know how to fix them.
However, as your only Severity: 3 error is a sound error that doesn't crash the game, I'd suspect that the memory pool errors are crashing your game, seeing as found 1306 ParticleTransformer errors. Fill those memory pools! It also wouldn't hurt to fix the vehicle spawn errors that you are getting.
Once you have no vehicle spawn errors and no memory pool errors, post a new log and we can help you from there.
Re: The game crash after showing the first objetive
Posted: Tue May 12, 2009 4:16 pm
by DarthSlim
Any progress with the bugs, Forcemaster?
Re: The game crash after showing the first objetive
Posted: Tue May 12, 2009 8:56 pm
by ForceMaster
I added the memorypools to my LUA and the problem remains....
Here is my LUA, again...
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
-- This lua was createt by "Mission-Scripter", a program by -=[PfW]=-Skip.
---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptInit()
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
is a curious thing that when I delete the spawn of the AI in the map can then go in and work goals. when active the AI spawn in the LUA is that the crash occurs.
see this:
AllowAISpawn(ATT, true)
AllowAISpawn(DEF, true)
I turn this to:
AllowAISpawn(ATT, false)
AllowAISpawn(DEF, false)
...so, this way the game is not interrupted but no units AI. be a problem with the units? I have reviewed the sides very well, I have no errors on it.
Re: The game crash after showing the first objetive
Posted: Tue May 12, 2009 9:05 pm
by Frisbeetarian
Frisbeetarian wrote:Once you have no vehicle spawn errors and no memory pool errors, post a new log and we can help you from there.
Also, do you understand what the memory pool errors mean?
Hidden/Spoiler:
[code]Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::PositionTr" is full; raise count to at least 1706
Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::SizeTransf" is full; raise count to at least 1912
Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 2872
Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "ParticleTransformer::ColorTrans" is full; raise count to at least 2874[/code]
These are the last of them, which means you should raise the respective pools to at least that amount. What you did was raise all three pools to the same level, over compensating two of them (which if too high can use too much memory) and not raising one of them high enough.
Re: The game crash after showing the first objetive
Posted: Thu May 14, 2009 1:08 pm
by ForceMaster
Thanks for trying to help me, my friend, I hope not disappointing, but yesterday, I tried something different, I put the regions of control for the vehicles and still giving the same error, I changed the values of which as referred memorypools but follows the same mistake. Then I decided to remake the map, I put it all over again, regions, positions, objectives, turrets, units, effects...all! (without any changes) and guess what ... IT WORKS ....
I checked my LUA again and add only "SoldierAnimation" and I have no error.
What happened? I do not know, but to redo the map with the same steps I followed from the beginning (because I write what I do) function perfectly.
I do not like the idea of not having found the error, perhaps the idea of remaking the map was a cowardly exit but not finding the solution is very tentative, however, fun is what counts here is not it?
I hope not to have been annoyed with this issue. Thanks to Maveritchell, Teancum, Frisbeetarian, Darth D.U.C.K. and all those who try to help resolve this.