Now, i have a map in production, named Surviving Extinction I. At One Point in the map, A timer goes to 0, Then Starcraft Crashes, SAying Incorrect Parameters.
I dont know what the problem is with my map. I tryed Removing all the sounds, with starforge>saving> and readding them with SCXE, But nope that didnt work, So i even hexed the Wavs out of the .CHK, And nope that wasnt it either. So at This point, it is not the sounds.
How can it say Incorrect number of Parameters? If starcraft crashes it crashes and closes Starcraft. It will not say anything. The only time I've seen "Incorrect number of Parameters" is in starforge when I am mising a ")" a comma or a semi colen...
What are you doing when timer hits 0? What triggers run?
when timer goes 0, alot of stuff happens, buildings gets removed, men are created, disable triggers happening (the disabling works fine),and units are teleported, with some minor soudns and texts.
And When Sc crashes, it does have a errror, sometimes, dpends on what you are doing.
QUOTE(aE[master)
,Feb 9 2005, 08:55 PM]Now, i have a map in production, named Surviving Extinction I. At One Point in the map, A timer goes to 0, Then Starcraft Crashes, SAying Incorrect Parameters.
I dont know what the problem is with my map. I tryed Removing all the sounds, with starforge>saving> and readding them with SCXE, But nope that didnt work, So i even hexed the Wavs out of the .CHK, And nope that wasnt it either. So at This point, it is not the sounds.
[right][snapback]141804[/snapback][/right]
The sound crash is caused by a trigger referencing a wav that doesn't exist not a bad wav file. If you used starforge to delete the sounds then it proboly didn't disable the triggers that used those wavs.
Thats just what I was thinking. Check your triggers with sounds to make sure there is a sound selected. Whether it is in the actual map or not.
To test if that is the problem disable the PLAY WAV actions in the trigger.
If it still crashes, it could be something else.
First..... It CAN NOT be a missing .WAV. Because if it was... you would get a completely different error. "Scenario file not found."
Incorrect Parameters might mean something with the display text is not right, or in your create units triggers, You might have 'Create units with properties' but an invalid property is declared (i.e. wrong Starforge value)
The best bet would be to click the 'disable' button for every action, enable the actions one-by-one, test the map, and wash-rinse-repeat(always repeat.) By process of elimination, you should be able to find the offending trigger.
No one said missing wav file, if it was a missing wav file then it simply wouldnt play the file.
He needs to check his wavs to make sure that each playwav action is looking for an actual wav file and not some other string/invalid string. And he also needs to make sure that the wav file he's trying to play isnt curropt.
Well, i know it isnt the sound:
1. i can look in Sound manager
2. After i removed Sounds in Starforge, i readded every single one in SCXE.
3. As long the sound comes from the mpq, and has the correct tag, the Wav. doesnt need to be in the map at all.( i am sure alot of people already knew this.)
I dont think its text, but theres a chance of it. It could be the unit properties, but i dont know. We should really get this problem figured out, and make Huge text file on if you have this problem, and how would you fix it. For example, How people had a error that you open a map with starforge, and a error comes up, utterly removing the sounds, once u look in the sound manger. I found out a way to fix this, but it sould be common to all.
I am So lucky in my situation as i found a back up map amongest my maps. But really we should make the text file.
It still sounds like a bad sound string. If you removed the sounds in starforge then starforge most likely removed the stings too. And at that point, it doesn't matter if you added them in another program or not, because the string attached to the playwav action is invalid and will cause you to crash.
You do not need to use a backup of the map, you just need to re-assign a sound to the action.
The only way you can get a definitive answer on the cause of the problem would be to post the map, or PM it to someone with enough knowledge to pinpoint the problem. I highly doubt it has anything to do with sounds.
Well, I dont think its the Sounds either, but that was the tiem i put sounds in, then edited map with starforge. Soo, i was thinking it was the sounds, but i doubt it, it cant be that now.
And, I will just use the back up copy i made. Someone should make a Program that will recycle all strings, edit map for any errors. And so on. I bet that program would be downloaded by everyone who plays starcraft. At least in Usa's.
There are a couple programs that recycle strings (Starforge, ProEdit) and SCMDraft 2 can repair certain map errors.
:/
and guedit? or that opnly reapirs triggers(maby strings?)
or you can make your own program

I wouldn't suggest GUEdit. My experiences with that program and strings have been ... very frustrating.