Staredit Network

Staredit Network -> SCMDraft -> Strings!
Report, edit, etc...Posted by DoomGaze on 2006-02-24 at 19:57:56

It appears that whenever I use SCMD2, it always scrambles my strings. All I did was realize that I accidentally used the Kills score instead of the Razings for alot of my triggers, so exited X-tra Editor and opened up SCMD2's TrigEdit, copying the triggers and pasting it onto notepad. There, I selectively replaced the Kills with Razings. When I transfered back to TrigEdit and saved it, I re-opened the map in X-tra Editor. Now, the messages that were not supposed to have text in them suddenly have my map description within it.

I don't think I've seen anyone else complain about this string problem about SCMD2, or else people wouldn't be making maps with it. Is there something I'm doing incorrectly, or did they do something to get around this problem?
Report, edit, etc...Posted by evolipel on 2006-02-24 at 21:12:54
QUOTE(DoomGaze @ Feb 24 2006, 07:57 PM)
It appears that whenever I use SCMD2, it always scrambles my strings. All I did was realize that I accidentally used the Kills score instead of the Razings for alot of my triggers, so exited X-tra Editor and opened up SCMD2's TrigEdit, copying the triggers and pasting it onto notepad. There, I selectively replaced the Kills with Razings. When I transfered back to TrigEdit and saved it, I re-opened the map in X-tra Editor. Now, the messages that were not supposed to have text in them suddenly have my map description within it.

I don't think I've seen anyone else complain about this string problem about SCMD2, or else people wouldn't be making maps with it. Is there something I'm doing incorrectly, or did they do something to get around this problem?
[right][snapback]433960[/snapback][/right]

Are there any identical strings in your map?

SCMD2 automatically recycles strings. If 2 strings are the same, it links them together as one. It unliks them too, but SCXE doesn't understand that, which may be the reason why your map is being screwed.
Report, edit, etc...Posted by DoomGaze on 2006-02-24 at 22:00:10
Oh. I thought the new version didn't automatically recycle strings anymore. Well, since there's more than one (no text) in the map, I guess it recycled that. But that doesn't explain how the map properties got into the (no text) string.
Report, edit, etc...Posted by evolipel on 2006-02-24 at 22:20:40
QUOTE(DoomGaze @ Feb 24 2006, 10:00 PM)
Oh. I thought the new version didn't automatically recycle strings anymore. Well, since there's more than one (no text) in the map, I guess it recycled that. But that doesn't explain how the map properties got into the (no text) string.
[right][snapback]434038[/snapback][/right]

Well, the only possible (sane) way this could have happened is if one of your strings were identical to a map properties string, and then you changed it in SCXE.
Report, edit, etc...Posted by DoomGaze on 2006-02-25 at 02:07:52
Well, that wasn't the case...

So if I unrecycle the strings using...let's say Uberation, everything will be back to normal again?
Report, edit, etc...Posted by evolipel on 2006-02-25 at 13:11:01
QUOTE(DoomGaze @ Feb 25 2006, 02:07 AM)
Well, that wasn't the case...

So if I unrecycle the strings using...let's say Uberation, everything will be back to normal again?
[right][snapback]434170[/snapback][/right]

You can try to do that, but if it doesn't work (and I'm guessing it probably might not), you can attach the map here. I can't seem to get the exact problem you're getting.

Also, look in your SCMD2 backup database for the latest copy of the map without the screwed up string situation (just in case).
Report, edit, etc...Posted by Carlsagan43 on 2006-03-01 at 00:19:33
Again, string recylcing needs to be removed or at least an option.
Report, edit, etc...Posted by evolipel on 2006-03-01 at 15:32:21
QUOTE(carlsagan43 @ Mar 1 2006, 12:19 AM)
Again, string recylcing needs to be removed or at least an option.
[right][snapback]436878[/snapback][/right]

Well, the weird thing is that DoomGaze seems to be the only person who has ever had problems with strings. However, yes, it should be made an option, informing the user that problems might occur on use with SCXE.
Report, edit, etc...Posted by DoomGaze on 2006-03-01 at 23:22:27
Well, on a previous make of the map, I ran over the string limit and the same thing happened. And considering that it was over the string limit, I made the map with SCMD2 only. But I still started the project with SCXE. I guess I should just stick with one editor the whole way through eh?
Report, edit, etc...Posted by evolipel on 2006-03-02 at 16:03:04
QUOTE(DoomGaze @ Mar 1 2006, 11:22 PM)
Well, on a previous make of the map, I ran over the string limit and the same thing happened. And considering that it was over the string limit, I made the map with SCMD2 only. But I still started the project with SCXE. I guess I should just stick with one editor the whole way through eh?
[right][snapback]437484[/snapback][/right]

Well, I think SCXE has problems with reading maps with more than 1024 strings in it (SC is the one who doesn't).
Report, edit, etc...Posted by A_of_s_t on 2006-03-02 at 17:55:37
I thought SF was the one that messed up strings after a certain string number. (is it 1024? I thought it was 1000.).
Report, edit, etc...Posted by evolipel on 2006-03-02 at 21:14:36
QUOTE(A_of_s_t @ Mar 2 2006, 05:55 PM)
I thought SF was the one that messed up strings after a certain string number. (is it 1024? I thought it was 1000.).
[right][snapback]437794[/snapback][/right]

It would make no sense for it to be 1000, and no, SCXE does it too. I'm not sure about what SF does with strings.
Report, edit, etc...Posted by A_of_s_t on 2006-03-02 at 22:49:18
Why is it 1024? That doesn't make sense (or does it... it has to do with something... something in the programming...)
Report, edit, etc...Posted by evolipel on 2006-03-03 at 15:20:03
QUOTE(A_of_s_t @ Mar 2 2006, 10:49 PM)
Why is it 1024? That doesn't make sense (or does it... it has to do with something... something in the programming...)
[right][snapback]438091[/snapback][/right]

...because that's the string limit set by SCXE. When a map is created in SCXE (and SF/SCMD2 also do that for compatibility's sake), it is given in the strings section a default of 1024 integers that offset the beginnings of strings.

The point in keeping up with this is backwards-compatibility with SCXE, whereas SC can understand maps with more than 1024 strings.
Report, edit, etc...Posted by A_of_s_t on 2006-03-03 at 19:29:35
Cant you change the string limit in Master Settings?
Report, edit, etc...Posted by evolipel on 2006-03-03 at 19:36:59
QUOTE(A_of_s_t @ Mar 3 2006, 07:29 PM)
Cant you change the string limit in Master Settings?
[right][snapback]438516[/snapback][/right]

No, but SCMD2 has the ability to go over 1024. Meaning, by default, it will give the map 1024 strings. If it needs more, it gives it more as necessary. So, in SCMD2, that limit doesn't actually exist, and there's thus no need to modify it. I'm not sure whether SCXE/SF can read a map with more than 1024 strings, but it works fine in SC.
Report, edit, etc...Posted by A_of_s_t on 2006-03-03 at 19:40:20
Thx for the help, even though this wan't my forum.. tongue.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-04 at 02:36:09
you mean topic...
Report, edit, etc...Posted by A_of_s_t on 2006-03-04 at 19:29:49
Well, its a thread...
Next Page (1)