[skip all navigation]

Scmdraft2, Something bad happened

Creator: IAGG
Time: Oct 3 2011, 6:29 pm

Post #1     IAGG Oct 3 2011, 6:29 pm

[Avatar]
offlinecontact
Rank: Member
I am using Scmdraft 2, the version with memory triggers. I can hardly do any work on the map because it seems like if I have the editor open for more then 10 seconds and try to save, it will give me the messege... Something bad happened, would you like to save a diagnostic file?. This will also happen randomly when I am not trying to save, such as just moving from actions to conditions or other minor movements... Any ideas on why its spazzing out on me?

Top

Post #2     Roy Oct 3 2011, 6:35 pm

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
I assume you're on Windows 7 (someone else I was talking to recently also has this issue). Has it always done this, or is it recent?

Here's some things to try:

1) Run SCMD2 in compatibility mode (I choose XP SP3).
2) Check your backup database located in your SCMD2 directory (backupDB.scmdDB). If it is large (>500MB) you may want to rename it or delete it.
3) Run as administrator, because hey, who knows.
4) Save a diagnostic file and post it here for someone to interpret.
5) Try a different version of SCMD2 and see if the problem persists.

Also, I've been told that you can just ignore this message (don't press any buttons on it) when it pops up and continue using SCMD2 without problem. Try moving it off to the corner of your screen and continue mapping.

Top

Post #3     IAGG Oct 3 2011, 6:43 pm

[Avatar]
offlinecontact
Rank: Member
I am actually running on Vista, also I have never used compat mode before. Where and how do I try that?

This is also recent.

Top

Post #4     Roy Oct 3 2011, 6:46 pm

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
Go to the Scmdraft directory, right-click on the .exe, select "Properties." On the "Compatibility" tab, check "Run this program in compatibility mode" and select an option from the available dropdown.

Here's a link for the instructions: http://www.howtogeek.com/howto/windows-vista/using-windows-vista-compatibility-mode/

If it's a recent issue, it might be your backup database. I'd check that first.

Top

Post #5     Dem0nS1ayer Oct 3 2011, 6:49 pm

[Avatar]
;_;
offlinecontact
Rank: Regular
If you've got auto-save enabled and your backups folder is big, it'll cause scmdraft to freeze and crash. Make sure you clear it periodically (it can easily get over 2 gbs) or just turn it off altogether.

KIND FUCKIN' REGARDS,

- DS
Top

Post #6     IAGG Oct 3 2011, 6:52 pm

[Avatar]
offlinecontact
Rank: Member
Ok i tried the compat and it still didnt work, I also deleted the backup database because it was pretty large and i never used it. That also didnt seem to work.

Could it have something to do with the map im currently trying to work with?

Top

Post #7     Roy Oct 3 2011, 6:53 pm

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
Does it only happen for that particular map? If so, it could be related to hitting some sort of limit (i.e. strings).

Top

Post #8     NudeRaider Oct 3 2011, 6:53 pm

[Avatar]
You're not old until the past seems more fun than the future.
offlinecontact
Rank: Veteran
Personally I just use v0.7.3 (unless I need a 0.8.x feature) because it's much more robust than other versions. IIRC you can get it when you click on "download" on the left at http://www.stormcoast-fortress.net to get a list of archived versions.

(user posted image)
Devilesk: "AND OUT OF THE GOODNESS OF MY HEART [...]" - wait what??
Top

Post #9     IAGG Oct 3 2011, 6:56 pm

[Avatar]
offlinecontact
Rank: Member
I went to an older version and it doesnt seem to have that problem, Is there a way to check the amount of current strings and whats the limit?

Ahhh scratch that... 99.9% strings used. wow... not cool.

Is there some kind of secret to allow more that i probably dont know of? haha or some way to compress?

Top

Post #10     Roy Oct 3 2011, 7:00 pm

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
SCMD2 allows string recycling, so if you have multiple strings that are the same, it only counts it as one string.

Removing trigger comments is an easy way to clean up your string usage. A lot of mappers will use an empty string for all of their trigger comments except for particular ones that mark a "section" of triggers. For example, if you had an HP system, the first trigger would say "HP system" and the other triggers related to the HP system would have blank comments.

Top

Post #11     IAGG Oct 3 2011, 7:04 pm

[Avatar]
offlinecontact
Rank: Member
Ok i understand that part. How is a string determined exactly? like is it a group of triggers? lets say i had a blank comment for every single trigger. so all the triggers combined would be one string? most likely wrong but i want to verify

Top

Post #12     Lanthanide Oct 3 2011, 8:14 pm

[Avatar]
offlinecontact
Rank: Regular
If you have 2 triggers that have a comment that is exactly the same, eg "Hey this is a comment", that will consume 1 string slot and both triggers will point at it. If you then manually edit one of the comments to say "Hey this is another comment", then you will create a new string and you will now have 2 strings stored, the original "Hey this is a comment" will be used by the other trigger, and the new "Hey this is another comment" will be used by the trigger you just edited.

So if you have 50 triggers that have a comment of "" (empty string), then that will consume 1 string slot and all 50 triggers will point at it. If you edit one of them to say "HP system", then you will have 2 strings: "" and "HP system" and the empty string will be pointed at by 49 different triggers.

Note that the strings need to be identical in every possible way in order for this recycling to take affect. So often if I have a trigger comment that can refer to multiple different triggers, I copy and paste the text to make sure it's identical.

O)FaRTy1billion -- "Lanthanide -- surely you have photos of yourself dressed up as a girl, az?" I don't have pictures of me dressed up as a girl.
O)FaRTy1billion -- One time I was jumping on a trampoline (at that very friend's house xD) with water balloons in my shirt held up by a belt.
Azrael.Wrath -- ...
Top

Post #13     IAGG Oct 3 2011, 8:56 pm

[Avatar]
offlinecontact
Rank: Member
Sounds good to me. Thank u!

Top

Post #14     O)FaRTy1billion Oct 3 2011, 9:14 pm

[Avatar]
‮.rapsdleF
offlinecontact
Rank: Elite
Strings aren't only trigger comments. Anything that is text that you can modify is a string. Map name/description, force names, location names, unit names, display text, comments, leaderboard captions, wav filenames, and "set next scenario" path.
SCMDraft also has a string viewer that will let you go through and see if there are any unnecessary strings that can be deleted.

SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
TinyMap2 - Latest in map compression!
MapSketch - New image->map generator!
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - Now has .dat references! Help out by adding your EUDs!
EUDTrig - Quickly and easily convert offsets to EUDs! (extended players supported)
(user posted image) This page has been viewed (user posted image) times!
Top

Post #15     NudeRaider Oct 3 2011, 9:18 pm

[Avatar]
You're not old until the past seems more fun than the future.
offlinecontact
Rank: Veteran
This might be the source of your "something bad happened" problem. SCMDraft is known to sometimes go haywire when you reach or exceed the string limit though it's technically capable of handling more.
Your best bet is first trying to reduce the amount of strings used and see if the problem persist (in the newer version ofc) and if not you might try an older version of your map (though you just deleted your backup database -d'oh) which hasn't reached the string limit yet and work with string recycling from there.

Btw. Your case is why I always recommend renaming the database file instead of deleting it until you're certain you really need the space. That way you can still restore it if need be. Or maybe you still have it in the recycler?

(user posted image)
Devilesk: "AND OUT OF THE GOODNESS OF MY HEART [...]" - wait what??
Top

Post #16     IAGG Oct 4 2011, 6:31 am

[Avatar]
offlinecontact
Rank: Member
Well i dont need the backup because whenever i make edits, i will save the map with the date i was editing on the end. ie RPG20111004. So. i end up having like 100 versions of the same map until its ready to be released. Its not efficient but its easier for me

I also just finished removing all the comments and setting all of them to a blank space. Took the string % from 99.9 down to 78.6% haha very nice!!!

Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[02:28 pm]
EzTerix -- damn right, lets trade some cards ill trade you, but not charzard
[02:28 pm]
EzTerix -- my pokemon brings all the boys to the yard and they're like lets trade some cards
[02:26 pm]
EzTerix -- cinnamon cereal > all
[02:24 pm]
EzTerix -- obviously TiKels
[02:23 pm]
EzTerix -- lol i did some creepin on the person who left the comment, his user description: "I'm just a dude trying to make my way in the universe without succumbing to the random degenerate stupidities of the human condition. What does the bible know, but the incoherent, inconsistent ramblings of desert men under whose delusions millions march under threat of their souls being denied true purpose, true fulfillment?" O_o
[02:21 pm]
Sacrieur -- lol no
[02:19 pm]
EzTerix -- I've learned more in these 2 hours though than in the last 4 weeks we've gone over it though, THICK ACCENTED NON HELPFUL TEACHERS BLOW
Please log in to shout.