Staredit Network > Forums > SC1 Mapping Tools > Topic: Final call for scmdraft
Final call for scmdraft
This topic is locked. You can no longer write replies here.
Feb 27 2009, 10:47 pm
By: Suicidal Insanity
Pages: < 1 « 8 9 10 11 1217 >
 

Apr 14 2009, 9:40 pm Suicidal Insanity Post #181

I see you !

I hacked a EUD condition into classic trigedit in slightly under an hour, maybe I can do the same for text, although I am not too familiar with DW's code. Download updated.

Update: texttrigedit also should now have EUD conditions. go ahead and test both types to make sure they all work...

Post has been edited 1 time(s), last time on Apr 14 2009, 10:15 pm by Suicidal Insanity.




Apr 16 2009, 12:35 am samsizzle Post #182



I got the newest version of scmdraft 2 and now all my .scx and .scm files have no icons...

and theres another bug where all of the strings are yellow except <01> to <07> all of the alignment ones and cyan.

- EDIT -

I fixed the icon problem, but theres still the weird string problem.

Post has been edited 1 time(s), last time on Apr 16 2009, 12:52 am by samsizzle.



None.

Apr 16 2009, 3:42 am Roy Post #183

An artist's depiction of an Extended Unit Death

Quote from NudeRaider
It would be nice if you could copy/paste mission briefing triggers without getting a bunch of strings glitched. <- classic or text?
Since when do text briefings work?
I've copied/pasted through the text briefing editor before. It works quite well, actually, except that some strings explode. I believe a good group of switches were renamed as strings that were used in the mission briefing.

Post has been edited 2 time(s), last time on Apr 16 2009, 3:52 am by Roy.




Apr 16 2009, 6:53 pm Suicidal Insanity Post #184

I see you !

The switches breaking should have been fixed in the last release on my site (ages ago).
I didn't touch the color code so I dont know why that should be messing up, does anyone else have that problem?




Apr 18 2009, 6:36 pm Roy Post #185

An artist's depiction of an Extended Unit Death

I don't like the fact that when you try to use "Current Player" in the death condition, it automatically assumes you're trying to make an EUD. Maybe you could rename an "Unused" and set it to provide that function instead? Or is this a bug?
Quote from ScmDraft 2
Memory at Death Table + 13 is quantitymod quantitynum.
Edit: I think it's a bug because it occurs whenever you select a player or group higher than 12 (Neutral).

Edit 2: Interesting... Every time I save my 1mb map, my backup database file size increases by about 25mb... Deleting the backups did not reduce the file size...

Edit 3: Reinstalling ScmDraft 2 fixes the backup database size inflation.

Post has been edited 4 time(s), last time on Apr 18 2009, 7:40 pm by Roy.




Apr 18 2009, 8:10 pm NudeRaider Post #186

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Wouldn't just one of them be enough then, if it can read all memory? (for the EUDs)
Since no one cared to answer that one, I'll answer as far as I can:
Of course you should add deaths, as it's kind of the "standard case".
I know that at least some of the listed functions can refer to memory ranges before what deaths can reach.
So when I understand it correctly it would be enough to add only the one that can reach the smallest memory adresses.
Unfortunately I can't tell you which one that is. You should contact Heinermann for this. I'm sure he knows it.

Quote from samsizzle
and theres another bug where all of the strings are yellow except <01> to <07> all of the alignment ones and cyan.
I didn't touch the color code so I dont know why that should be messing up, does anyone else have that problem?
I'm not sure if this is what he means, but I occasionally get the bug that in the string editor all strings are displayed mono color (black on black iirc). This is apparently only a display bug, as it has no effect on the map.
Btw. you not touching the code doesn't mean anything. A while back I installed ScmDraft 1 from your site out of curiosity and the same bug happened.

Post has been edited 1 time(s), last time on Apr 18 2009, 8:16 pm by NudeRaider.




Apr 18 2009, 8:39 pm Suicidal Insanity Post #187

I see you !

Cant you use integer overflows on the pointers to access all memory with any operation?




Apr 18 2009, 9:15 pm rockz Post #188

ᴄʜᴇᴇsᴇ ɪᴛ!

Deaths read memory based on:
Death Table + player number*4 + UID*48
Player number is signed, and is 4 bytes long, allowing any address to be read. I don't know if UID is signed, but player number is more useful in this case. Player 1 is "0" in this formula.

Anything else with "player" in the trigger can be done the same way. Unfortunately, they all read the same 4 bytes. Using Deaths is the best, due to its previous use.



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

Apr 18 2009, 9:21 pm Suicidal Insanity Post #189

I see you !

so the one EUD condition in the newest version based on deaths would access everything and nothing else is needed...




Apr 18 2009, 9:30 pm NudeRaider Post #190

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

No. Just checked our stickied EUD topic

Using an accumulate overflow, you can reach a bit lower in memory, before the Deaths Table at 0x0058A344, to access supply, saved groups, and some other things.

Since the player number is four bytes, you can pretty much read any memory after player 1's minerals at 0x0057F0D0.





Apr 18 2009, 10:29 pm Echo Post #191



Scmdraft needs outbound tolerance. Like placing units or locations outside of the map limit. It's a very useful map making function in my opinion.

Also, I think it would be useful if you allowed an additional "Display Option" of detectors and how far of their radius.



None.

Apr 18 2009, 11:59 pm Falkoner Post #192



Quote
Scmdraft needs outbound tolerance. Like placing units or locations outside of the map limit. It's a very useful map making function in my opinion.

Placing units outside is useless from my knowledge, and you can already place locations outside bounds, you just can't drag and drop them outside like you can with StarForge..



None.

Apr 19 2009, 12:37 am rockz Post #193

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from NudeRaider
No. Just checked our stickied EUD topic

Using an accumulate overflow, you can reach a bit lower in memory, before the Deaths Table at 0x0058A344, to access supply, saved groups, and some other things.

Since the player number is four bytes, you can pretty much read any memory after player 1's minerals at 0x0057F0D0.
yes, that's true, but as I said, player number can be negative. You can read any memory with deaths, so that will work fine. However, you need to update the player numbers to include 4 bytes. Perhaps something like p:0 for player 1, and p:1024 for player 1025. Alternatively, just the number would work, since you can't rename players. Further down in that EUD thread, farty explains how player number can be negative.

@ echo, you can edit the location properties to go out of bounds, but you have to type it in.



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

Apr 19 2009, 1:39 am samsizzle Post #194



Quote from NudeRaider
I'm not sure if this is what he means, but I occasionally get the bug that in the string editor all strings are displayed mono color (black on black iirc). This is apparently only a display bug, as it has no effect on the map.
Btw. you not touching the code doesn't mean anything. A while back I installed ScmDraft 1 from your site out of curiosity and the same bug happened.



Thats it. How do i fix this? its really annoying. I tried reinstalling a new version of scmdraft but it doesnt work. And its not the maps because it does it on every map i open.



None.

Apr 19 2009, 4:57 am rockz Post #195

ᴄʜᴇᴇsᴇ ɪᴛ!


I've never encountered that. Put it on a USB drive, and try it on a different computer, then on yours.



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

Apr 19 2009, 8:07 pm poiuy_qwert Post #196

PyMS and ProTRG developer

I'm assuming SCMDraft gets the colors from the font color palette in the MPQ, so it looks to me like you need to update your starcraft. They added colors in patches so i'm guessing you just installed SC and didn't bother upgrading.




Apr 19 2009, 10:53 pm samsizzle Post #197



I have patch 1.16.1 so i dont think thats it.



None.

Apr 20 2009, 12:15 am Falkoner Post #198



Have you changed the path to SC's MPQ?



None.

Apr 20 2009, 12:46 am samsizzle Post #199



Falkoner your a freakin life saver. I did have the paths to the right mpq's but you gave me the idea to remove them all and re-add them all and it worked so my hats off to you.



None.

Apr 20 2009, 3:41 am Vrael Post #200



Why didn't I think of this before? SCMDraft needs to ability to move the map while classic trigedit is open. That is really so damn annoying that it gets locked in place.



None.

Options
Pages: < 1 « 8 9 10 11 1217 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy