Staredit Network > Forums > SC1 Mapping Tools > Topic: SCM Draft Crashing...
SCM Draft Crashing...
Jul 24 2009, 1:27 am
By: mAdnAyze  

Jul 24 2009, 1:27 am mAdnAyze Post #1



So I've seen the message "Something bad happened" about a hundred times recently while making a RPG. I've been trying to figure out what's causing it and figured out it has to do with the actions Transmission, Display, and Comment.

The saving works fine up until the point where I add 1 of these Actions containing text to a trigger and then it shows the evil message and I can no longer save without it crashing on me.

Does this mean there's some type of corrupted string somewhere in the map? If so, is there a way to find it and delete it?

However at the same time it doesn't seem to be a corrupted string because I can continue editing every other aspect of the map and successfully save.

Why does this happen!? >:/



None.

Jul 24 2009, 1:35 am poison_us Post #2

Back* from the grave

Send the dump file and explanation to Suicidal Insanity.

Re-install scmdraft 2 from this link.

If this doesn't work, send the new dump file, and continue below.

Now try using the text trigedit if you weren't before, or use classic if you weren't before.

If that doesn't work, just work around it. Break the transmission action into its component parts (show talking pic, text, wait, etc). For comment, just don't make a comment for the trigger.




Jul 24 2009, 1:42 am rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

Your strings are bugged. All 3 of those actions use strings. SCMDraft doesn't handle large amounts of strings well, that's just the way it is. Afaik, no editor handles them well.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 24 2009, 2:13 am poison_us Post #4

Back* from the grave

Scmdraft auto-checks strings, so if you have a low number of them, try going to the unit settings, clicking anything, and clicking ok. You don't have to change anything.

It should tell you which string is messed up, so go and try to figure out what's wrong with the string.




Jul 24 2009, 2:18 am Demented Shaman Post #5



Is the autosave option on? If it is then check the size of your backup file.



None.

Jul 24 2009, 5:27 am mAdnAyze Post #6



Yeah, turns out I was passing the string limits and then it would pop up that message and crash SCMDraft
Quote
For comment, just don't make a comment for the trigger.

I did this, reduced the length of a lot of my comments, from like a few words to 1 letter and it did actually stop the message from coming back thank god. This however is only a temporary solution because I still have quite a few Display Triggers and Transmissions to add still, which will again increase the string count.
Quote
SCMDraft doesn't handle large amounts of strings well, that's just the way it is.

;[
Quote
s the autosave option on? If it is then check the size of your backup file.

Before I knew it had to do with limits, I did renew the version of my version and delete the back-up file with no prevail.

Any special tips to keeping the string count low in an RPG? :/



None.

Jul 24 2009, 5:44 am payne Post #7

:payne:

SCMDraft recycles the strings, so, if possible, either do blank comments or comments with the same name as a unit, a switch or an other comment. :S
Also, for a better organization of your comments, I recommend you to take a look at Deep Blue RPG, by qPirateKing. His way of organizing comments is very wise ;P
Also, if you use a string for stupid thing like saying to a player that he stills have to wait 10 seconds before being able to use his spell, 9... 8... etc... until 0, you're wasting strings ;) Moreover, it's annoying and unprofessional.
Also, if you're doing a virtual drop system like this: "Zomg, that monster just dropped 25 golds and 1 weapon", you could split it into different string to be able to recycle the numbers:
Quote
"Zomg, that monster just dropped"
"25"
"gold(s),"
"1"
"weapon(s) and"
"0"
"armor(s)."
so you don't waste many strings to also create the messages "Zomg, that monster just dropped 13 golds", "Zomg, that monster just dropped 1 weapon and 1 armor"

Post has been edited 1 time(s), last time on Jul 24 2009, 5:49 am by payne.



None.

Jul 24 2009, 6:11 am rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

Don't comment ever. EVER. Make your comments in a text file or something.

Plan the strings out in advance. You have 65535 characters to go through. There is no real limit on the number of strings in SCMDraft, but again, once you get high numbers, it starts to get buggy. Save often.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 27 2009, 12:10 am m.0.n.3.y Post #9



So, now I have a question. My scmd keeps crashing too. But it only crashes when I go to the locations tab. So, scmd auto starts on terrain, but then I select to look at locations in the top bar you know, and it crashes. Anyone know how to fix this? Should I just reinstall it?



None.

Jul 27 2009, 12:21 am l)ark_ssj9kevin Post #10

Just here for the activity

Is this for only one map or for the entire editor?
Try reinstalling.



guy lifting weight (animated smiley):

O-IC
OI-C

"Oh, I see it"


Jul 27 2009, 12:26 am m.0.n.3.y Post #11



Quote from l)ark_ssj9kevin
Is this for only one map or for the entire editor?
Try reinstalling.

It happens with every map it seems. But how do I reinstall?



None.

Jul 27 2009, 1:55 am Urahara Post #12



My scmd crashes when i try to zoom :/
but other then that if i dont do anything like make 100000 units and try to delete them then its fine :/



None.

Jul 27 2009, 4:16 am rockz Post #13

ᴄʜᴇᴇsᴇ ɪᴛ!

Reinstall, use different versions (scmdraft doesn't actually have to be installed). If your map is corrupted, try opening it in other editors to see if it will fix the problem. There's staredit, fartyedit, SCXE, and starforge which come to mind. Other map editors like uberation, osmap, etc might do something too. Barring that, you can always hex edit the map to be fixed, but therein lies a problem, since you don't always know exactly where the problem lies.

To reinstall, simply delete the scmdraft folder, and download the version again.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:49 am]
KrayZee -- NudeRaider
NudeRaider shouted: Bar Refaeli careful, might be a scam
a careful scam might be a,
[05:01 am]
NudeRaider -- Bar Refaeli
Bar Refaeli shouted: Hello, for a mere 20 minerals I can not only double, but triple your minerals with a whopping return of 14 minerals!! (original investment not refunded) Msg me while supplies last
careful, might be a scam
[2018-10-18. : 2:08 am]
Bar Refaeli -- ily
[2018-10-18. : 1:19 am]
Pr0nogo -- play golf now at mike.com/riteaid
[2018-10-17. : 9:56 pm]
MTiger156 -- wut... ?_?
[2018-10-17. : 5:13 pm]
Dem0n -- hmmmmmmm
[2018-10-17. : 5:09 pm]
Bar Refaeli -- Hello, for a mere 20 minerals I can not only double, but triple your minerals with a whopping return of 14 minerals!! (original investment not refunded) Msg me while supplies last
[2018-10-17. : 5:04 pm]
Bar Refaeli -- :wob:
[2018-10-17. : 1:41 am]
Pr0nogo -- SENs like youtube is down
[2018-10-17. : 1:19 am]
MasterJohnny -- seems like youtube is down
Please log in to shout.


Members Online: Roy, lifebot