Staredit Network > Forums > SC1 Mapping Tools > Topic: Chkdraft Project
Chkdraft Project
Oct 9 2012, 12:42 am
By: jjf28
Pages: < 1 7 8 9 10 1114 >
 

Oct 26 2014, 4:01 am jjf28 Post #161

Cartography Artisan

Update (Evening) 10/25/14 - Download Latest

Feature changes:
- Completed Tech Settings Dialog
- Added GitHub link to help menu

Bug/Error fixes:
- Unsaved changes are now properly communicated in upgrade settings
- Upgrade and Unit settings are now properly disabled when no upgrade/unit is selected

Code changes:
- (No significant revisions)



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Dec 21 2014, 9:51 am Sand Wraith Post #162

she/her

I recently remembered the wrist-cramping nature of Move Up and Move Down buttons.
Feature suggestion: drag and drop positioning of triggers in the GUI.




Dec 21 2014, 5:34 pm NudeRaider Post #163

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

Quote from Sand Wraith
I recently remembered the wrist-cramping nature of Move Up and Move Down buttons.
Feature suggestion: drag and drop positioning of triggers in the GUI.
In the meantime: hold the [u]p and d[o]wn hotkeys after marking a trigger




Dec 21 2014, 10:38 pm Sand Wraith Post #164

she/her

so spooky

EDIT: You know what I'd love to see? Alphabetical sort and list view of the unit tree. That would be pretty sick. There are a few GUI decisions, actually, that I think would better not to be recreated from SCMDraft and Staredit, or maybe if there was a set of options to change the organization of Chkdraft (or even plugin-support and GUI elements being implemented as standard plugins!).




Dec 21 2014, 10:47 pm Roy Post #165

An artist's depiction of an Extended Unit Death

Quote from Sand Wraith
You know what I'd love to see? Alphabetical sort and list view of the unit tree. That would be pretty sick.
Warcraft III's editor had a text box above the tree where you could type a search query and it'd filter down the contents of the tree to match the query. That would be nice to have as well.

But jjf's probably busy actually getting the same functionality as ScmDraft right now. The source is up on Git, though, so anyone could make a pull request for a feature they want included in the meantime.




Jan 12 2015, 10:30 am Oh_Man Post #166

Find Me On Discord (Brood War UMS Community & Staredit Network)

You know what would be cool, an ability to right click a terrain tile and bring up its inverse tile. So many times in SCMDRAFT I've had a tile and wished I could just instantly have the mirror image of that tile.




Jan 16 2015, 9:35 pm jjf28 Post #167

Cartography Artisan

Update 1/16/15 - Download Latest

Feature changes:
- Classic triggers (view only)

Bug/Error fixes:
- Fixed a bug where text trigs would sometimes say "')' expected" when it should say "')' or '}' expected"
- Removed some testing code
- Fixed an error where exiting the open dialog without selecting a file gave an error message

Code changes:
- Moved all code that returns success values within constructors to separate methods.
- Simplified text trigger generation and compilation, moved classes into their own files

Post has been edited 1 time(s), last time on Jan 17 2015, 4:05 am by jjf28.



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jan 17 2015, 4:04 am iCCup.xboi209 Post #168



Quote from jjf28
Update 1/16/14
:lol:




Feb 12 2015, 10:37 pm jjf28 Post #169

Cartography Artisan

Note: now with ISO 8601 date formatting

Update 2015-02-12 - Download Latest

Summary: Classic triggers completed (sans modify and meta systems).

Feature changes:
- Trigger editor starts at a larger size
- Trigger move-up, move-down, and move-to
- New trigger (creates a blank trigger at the currently selected index (or at the bottom) then opens modify)
- Blank modify trigger window (coming soon!)
- Mouse scrolling is forwarded to the trigger list box in additional cases

Bug/Error fixes:
- Fixed a bug where trigger comments using the 0th string weren't shown
- Fixed a bug where the wrong trigger would be selected upon refresh
- Fixed a bug where deleting the last trigger would clear the selection rather than moving it up
- Fixed an error where a trigger with no conditions and no actions would barely show
- Fixed a bug where selection highlighting for triggers/trigger groups would ocassionally be wrong
- Fixed a bug where string drawing would not correctly process back-to-back aligns/colors
- Fixed a listbox bug where mouse scrolling when an item was selected would appear to scroll the list backwards before going forwards
- Fixed a listbox bug where mouse scrolling would cause noticeable lag
- Fixed a bug where creating modeless ClassWindows would result in a crash if DlgProc wasn't overridden
- Fixed two compiler errors that would cause plugins/chkd based programs not to compile
- Fixed a VS2012 bug where opening resources while targeting windows XP machines produced various warnings

Code changes:
- Refactored large parts of the triggers class, now takes full advantage of Windows UI classes
- Enabled move-up, move-down, and move-to to operate without fully refreshing the trigger list
- Made numerous additions to the ListBox control class (amoung other windows UI classes)
- Added the 'PeerListBox' class to forward certain messages from one listbox to another
- Added the shell for the TrigModify class window (not yet in use)



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Feb 22 2015, 1:40 pm jjf28 Post #170

Cartography Artisan

Update 2015-02-22 - Download Latest

Feature changes:
- Save-to button in string editor that you can use to export all strings to a .txt

Bug/Error fixes:
- Fixed a bug where the main player dropdown would get two sets of every player
- Fixed a bug where special groups (ie: forces) were not showing in classic trigger conditions/actions
- Fixed a bug where some classic trigger conditions showed duplicate players
- Fixed a bug where WAVs in triggers but not in the WAV section were considered unused
- Fixed an error where quotes would not be escaped when generating escaped strings
- Fixed an error where escape characters were not properly compiled by text trigs
- Fixed an error where some standalone backslashes were ignored by string parsing

Code changes:
- Removed the second triggers sub-filter
- Modified TrigEditor take full advantage of Windows UI
- Identifiers are now typically defined in the .cpp (or if necessarily used outside in the .h) instead of Constants.h
- Converted many define groups to enums
- Removed the unused string table (from Resource.rc)
- Recompiled the SFmpq libs to get rid of new vs2012 warnings



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Feb 24 2015, 2:57 am jjf28 Post #171

Cartography Artisan

Update 2015-02-23 - Download Latest

Feature changes:
- Unit settings now shows the currently selected unit in the window title
- Upgrade settings now shows the currently selected upgrade in the window title
- Tech settings now shows the currently selected tech in the window title
- String editor now shows the string index currently selected in the window title
- Trig modify now shows the trig index currently selected in the window title
- Added the (incomplete) windows corresponding to the trig modify tabs

Bug/Error fixes:
- Fixed a performance issue where strings were often replaced with equivilant strings (very noticeable in maps with huge amounts of strings).
- Fixed a bug where trig modify window would still show when the trig editor was closed

Code changes:
- Refactoring the string editor, now fully using the Windows UI classes, cleaner code
- Created several listbox messages WM_PREMEASUREITEM, WM_POSTMEASUREITEM, WM_PREDRAWITEM, and WM_POSTDRAW item to help speed up high-volume listbox processing



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Mar 7 2015, 4:40 am jjf28 Post #172

Cartography Artisan

Update 2015-03-06 - Download Latest

Just one change/addition this week: modify triggers in the "classic" trigger editor via text.



When you tab away or close the window it will silently compile any changes you made, alternatively you can use the buttons.

Edit: Quick-fixed an error where deselecting a trigger caused it to display numbers in place of strings in the trigger list (didn't change anything, but was inconvenient).

Post has been edited 2 time(s), last time on Mar 7 2015, 5:01 am by jjf28.



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Mar 8 2015, 1:33 pm NudeRaider Post #173

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

Quote from jjf28
Update 2015-03-06 - Download Latest

Just one change/addition this week: modify triggers in the "classic" trigger editor via text.
You da real MVP!

Quote from jjf28
When you tab away or close the window it will silently compile any changes you made, alternatively you can use the buttons.
Please don't. Chances are the editor gets focus (e.g. misclick), you typed stuff and notice it's not the correct window and tab to the application you wanted to type in. Meanwhile you just shot your trigger possibly by just modifying a number without noticing.
More likely even, you just tried changing the trigger but want to discard the changes by closing the window or meanwhile another app gets focus (e.g. chat, notifications etc.). And most importantly it's just non-standard behavior of everything. You close without saving - nothing gets saved.

Post has been edited 1 time(s), last time on Mar 8 2015, 2:21 pm by NudeRaider.




Mar 8 2015, 7:04 pm jjf28 Post #174

Cartography Artisan

Quote from NudeRaider
Quote from jjf28
When you tab away or close the window it will silently compile any changes you made, alternatively you can use the buttons.
Please don't. Chances are the editor gets focus (e.g. misclick), you typed stuff and notice it's not the correct window and tab to the application you wanted to type in. Meanwhile you just shot your trigger possibly by just modifying a number without noticing.
More likely even, you just tried changing the trigger but want to discard the changes by closing the window or meanwhile another app gets focus (e.g. chat, notifications etc.). And most importantly it's just non-standard behavior of everything. You close without saving - nothing gets saved.

I would find it annoying if all my changes were lost if I didn't hit compile/or had to hit compile every time, there's a reset button for discarding changes; and if there are any errors from randomly typing/misclicks (as is likely the case with random text) it would message the error as you went away and nothing would change. Suppose autocompile doesn't have to be the default option/only option when the window goes away tho.



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Mar 9 2015, 3:00 am O)FaRTy1billion[MM] Post #175

👻 👾 👽 💪

You could just prompt if you are closing the triggers with unsaved changes.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 9 2015, 4:35 am jjf28 Post #176

Cartography Artisan

Quote from O)FaRTy1billion[MM]
You could just prompt if you are closing the triggers with unsaved changes.

orite :)



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Mar 24 2015, 3:00 am jjf28 Post #177

Cartography Artisan

Update 2015-03-23 - Download Latest



Feature changes:
- General tab created (from the smoldering remains of the poorly named 'meta' tab)
- Added execution flags to trigger editor (under 'general' tab)
- Added execution flags to text triggers (accepts a binary number up to 32 bits)
- Changed default response to leaving the trig modify text window to check for changes and prompt whether to compile.
- Added checkbox "auto-compile" that tells chkdraft to compile automatically and silently when you leave the trig modify text window.

Bug/Error fixes:
- Fixed a bug where closing the trig modify window (rather than just tabbing away) didn't check for changes.
- Added scrollbars to all multi-line textboxes
- Fixed an error where the memory condition/action was given the wrong CID/AID (this one was lulzy, sorry if this previously ruined anyone's day ;) )
- Fixed an inconsistency where some text condition/action arguments that should always be quoted and were left unquoted by the user were attempted to be parsed as strings before attempting to be parsed as numbers.

Code changes:
- Fixed an inconsistency where text conditions checked for quotes in the main ParseTriggers method and text actions didn't



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Mar 26 2015, 3:18 am Heinermann Post #178

SDE, BWAPI owner, hacker.

Code
0x01: Ignore conditions once (Set when actions start executing, cleared when actions finish executing)
0x02: Ignore defeat/draw (Sets a player flag that prevents Draw or Defeat from doing anything)
0x04: Preserve trigger (Set by Preserve Trigger)
0x08: Disabled (Set when all actions are executed and preserve trigger flag is cleared)
0x10: Ignore UI and Wait actions once (cleared after all actions are finished executing, never set)
0x20: Flag paused (Set by Pause Game, cleared by Unpause Game, calls Unpause Game when actions finish executing)
0x40: Ignore wait skip once (Set by hidden "Disable wait skip" action, cleared by "Enable wait skip" and when actions finish executing)


These are all of the flags. Starcraft has no additional references to the trigger engine, so you don't need a Raw Flags field.




Apr 4 2015, 2:53 am zsnakezz Post #179



Jff, I want the ability to copy a specific string, from one trigger, and paste it in another trigger.

This would save me A LOT of time.

Thanks.



I made the following maps; Hyperion 2, The Undead, The Undead Coop, Realm Rpg beta, and Overlords. Follow me on twitch at https://www.twitch.tv/zsnakezz

Apr 4 2015, 10:12 am NudeRaider Post #180

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

You can already use ScmD's text triggers and Roy's Farlap for that. Actually what you need sounds simple enough for Windows Notepad.




Options
Pages: < 1 7 8 9 10 1114 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:00 pm]
MTiger156 -- I'm still waiting for an admin to accept my bribe for minerals... it seems none of you want my money :wallbash:
[02:04 pm]
O)FaRTy1billion[MM] -- ya :ban:
[01:01 pm]
Voyager7456 -- probably knows where the good boxes are smh
[01:00 pm]
Voyager7456 -- has access to the server too
[11:47 am]
Suicidal Insanity -- moose steals all the boxes 8[
[02:54 am]
Vrael -- :wob:
[2020-1-26. : 8:20 am]
GGmano -- Wob
[2020-1-26. : 4:09 am]
lil-Inferno -- :wob:
[2020-1-26. : 12:53 am]
MTiger156 -- This is what shoutbox is supposed to look like :facts:
[2020-1-25. : 8:47 pm]
lil-Inferno -- :wob:
Please log in to shout.


Members Online: Roy, jun3hong, Voyager7456, MTiger156, Ahli, Oh_Man