|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2018-7-23. : 9:33 pm] Wormer -- Suicidal InsanitySuicidal Insanity shouted: Wormer My assumption is if the trigger action type does not require a string, do not assume the contents are valid or 0. So I call: bool CTriggerAction::UsesString() const I like that because after re-save the "invalid data" won't be rewritten with anything if I'm getting this right[2018-7-23. : 9:29 pm] jjf28 -- I should change the name there from wavID, that's very misleading since it's actually just a stringNum ![]() [2018-7-23. : 9:26 pm] Suicidal Insanity -- WormerWormer shouted: why not to check a string as used even if it's used under unknown action? My assumption is if the trigger action type does not require a string, do not assume the contents are valid or 0. So I call: bool CTriggerAction::UsesString() const[2018-7-23. : 9:25 pm] Wormer -- WormerWormer shouted: For instance one may want to fill empty action data with specially formed triggers for better compression We might not know 1) how the format will be changed in the future and 2) how people find new ways to use what we have now -- that why I want tool to have access to the most lower data layer possible[2018-7-23. : 9:22 pm] Wormer -- WormerWormer shouted: why not to check a string as used even if it's used under unknown action? this is an answer for Suicidal InsanitySuicidal Insanity shouted: If you invent a new action type 255 which uses a string, that you added with a raw action parameter, that string would not be labeled as in use on map load [2018-7-23. : 9:22 pm] Wormer -- jjf28jjf28 shouted: Wormer well a string in the WAV field or a string in the STRING field will be recognized by Chkdraft https://puu.sh/B1SmT/9ec53af24a.png Yup! see he has time machine! ![]() [2018-7-23. : 9:21 pm] jjf28 -- WormerWormer shouted: why not to check a string as used even if it's used under unknown action? I don't understand what you mean[2018-7-23. : 9:21 pm] Wormer -- why not to check a string as used even if it's used under unknown action?[2018-7-23. : 9:20 pm] jjf28 -- WormerWormer shouted: Suicidal Insanity I wonder how chkdraft handles this corner case? well a string in the WAV field or a string in the STRING field will be recognized by Chkdraft https://puu.sh/B1SmT/9ec53af24a.png[2018-7-23. : 9:20 pm] Wormer -- For instance one may want to fill empty action data with specially formed triggers for better compression[2018-7-23. : 9:20 pm] Suicidal Insanity -- My guess is it doesn't, because jj28 doesn't have a time machine? ![]() [2018-7-23. : 9:19 pm] Wormer -- In the first place I want a tool that has a possibility to inject any types of trigger data into TRG not limited to a particular interpretation of parameters[2018-7-23. : 9:17 pm] Wormer -- Suicidal InsanitySuicidal Insanity shouted: If you invent a new action type 255 which uses a string, that you added with a raw action parameter, that string would not be labeled as in use on map load I wonder how chkdraft handles this corner case?[2018-7-23. : 9:12 pm] Suicidal Insanity -- And if you are just setting the normal types of actions, why not just use the predefined action name?[2018-7-23. : 9:11 pm] Suicidal Insanity -- jjf28jjf28 shouted: I'm guessing your design is quite a bit different and would require some fundamental changes Pretty sure the parser isn't vastly different. But I'm not worried about parsing. I'm worried about data consistency after reloading.[2018-7-23. : 9:10 pm] Suicidal Insanity -- If you invent a new action type 255 which uses a string, that you added with a raw action parameter, that string would not be labeled as in use on map load[2018-7-23. : 9:10 pm] Suicidal Insanity -- On map load each string on the string table is labeled with "Used N times by the map"[2018-7-23. : 9:07 pm] Wormer -- Suicidal InsanitySuicidal Insanity shouted: I don't know what exactly you want to do, but if I understood it correctly I don't see how it can work with strings the same way any other action like display text works with strings, any pitfalls?![]() [2018-7-23. : 9:07 pm] jjf28 -- I'm guessing your design is quite a bit different and would require some fundamental changes[2018-7-23. : 9:06 pm] jjf28 -- I handle each field by attempting to parse a few things out of it, for the text field it's just try for a string (has validations like looking for quotes, will return false if it fails), then try for a 4-byte number https://puu.sh/B1RTV/9c7c081726.png[2018-7-23. : 9:03 pm] Suicidal Insanity -- I don't know what exactly you want to do, but if I understood it correctly I don't see how it can work with strings ![]() [2018-7-23. : 8:50 pm] Suicidal Insanity -- jjf28jjf28 shouted: Wormer having something in CHKD or talking about adding something to CHKD also seems to be a good cudgel to hit SI over the head with to make him do something I heard that ! ![]() But cats ![]() [2018-7-23. : 8:46 pm] Wormer -- jjf28jjf28 shouted: it doesn't look like it's working in the latest download, I'll add it to the buglist yup it didn't work for me[2018-7-23. : 8:38 pm] jjf28 -- it doesn't look like it's working in the latest download, I'll add it to the buglist[2018-7-23. : 8:34 pm] jjf28 -- WormerWormer shouted: is there an option to put comments into extended table too? I think so...[2018-7-23. : 8:33 pm] Wormer -- jjf28jjf28 shouted: Wormer having something in CHKD or talking about adding something to CHKD also seems to be a good cudgel to hit SI over the head with to make him do something Haha ![]() ![]() [2018-7-23. : 8:33 pm] jjf28 -- I'm not terribly concerned about usage until I finish the base features or SI goes MIA again[2018-7-23. : 8:32 pm] jjf28 -- WormerWormer shouted: Chkdraft need to be superior in only one thing to get used by people, and I look at these raw trigger entities stuff this way having something in CHKD or talking about adding something to CHKD also seems to be a good cudgel to hit SI over the head with to make him do something ![]() [2018-7-23. : 8:30 pm] Wormer -- jjf28jjf28 shouted: mm, I got irresolutely stuck on the naming there and started naming stuff like this: CndActGrid yeah exact the same problem arises when things getting into choosing names for identifiers in the code![2018-7-23. : 8:29 pm] jjf28 -- mm, I got irresolutely stuck on the naming there and started naming stuff like this: CndActGrid[2018-7-23. : 8:28 pm] Wormer -- nah I just always stuck with a good word to refer either for condition or action (anyone of these two)[2018-7-23. : 8:27 pm] jjf28 -- @ WormerWormer shouted: by the way, how we call condition or action collectively? is entity a good word for this? [2018-7-23. : 8:23 pm] Wormer -- by the way, how we call condition or action collectively? is entity a good word for this?[2018-7-23. : 8:20 pm] Wormer -- Chkdraft need to be superior in only one thing to get used by people, and I look at these raw trigger entities stuff this way[2018-7-23. : 8:17 pm] jjf28 -- the classic trigs are also supposed to be able to swap to the staredit/scmdraft style and dive into the grid only when editing[2018-7-23. : 8:16 pm] jjf28 -- mm , WormerWormer shouted: jjf28 an idea for another option: show conditions/actions as raw data :-) yea this is on the "eventually" agenda ![]() [2018-7-23. : 8:16 pm] Wormer -- you never know this until you start working seriously with it, gotta give it a shoot[2018-7-23. : 8:15 pm] jjf28 -- and auto-backs up the map before the first save/every save over 30 mins from the last one[2018-7-23. : 8:15 pm] jjf28 -- WormerWormer shouted: the main concern about use of chkdraft in serious mapping projects is the fear the map won't be saved "as it was" if I only edit triggers let's say not too much I can say on this, generally I touch nothing but what was changed, exceptions being recompiling the string section and updating the versioning sections depending on what save-as option (save as orig/hybrid/broodwar)[2018-7-23. : 8:14 pm] Wormer -- jjf28jjf28 shouted: ah also an options menu option in text trigger an idea for another option: show conditions/actions as raw data :-)[2018-7-23. : 8:13 pm] Wormer -- jjf28jjf28 shouted: no, anything using an extended death id just stays as death, memory is recognized by playerId overflow right[2018-7-23. : 8:12 pm] jjf28 -- no, anything using an extended death id just stays as death, memory is recognized by playerId overflow[2018-7-23. : 8:12 pm] Wormer -- jjf28jjf28 shouted: ah also an options menu option in text trigger I'm looking from my prespective ![]() [2018-7-23. : 8:11 pm] Wormer -- oh yeah, I've seen that! was wondering why it is there. now if the UID is at least deathTableStart then it's memory, else -- it's Set Deaths, right?[2018-7-23. : 8:09 pm] jjf28 -- orite, memory action now defaults to using the addresses rather than the... whatever it was in SCMD, there's an option in the .ini[2018-7-23. : 8:08 pm] Wormer -- the main concern about use of chkdraft in serious mapping projects is the fear the map won't be saved "as it was" if I only edit triggers let's say[2018-7-23. : 8:05 pm] Wormer -- Chkdraft text trigger is superior to SCMD Text in at least two ways: trigger flags and now raw condition/actions[2018-7-23. : 8:03 pm] Wormer -- in MacroTriggers I have a struct-like variables type for CUWP slots, that variable you put into the action parameter[2018-7-23. : 7:57 pm] Wormer -- it's OK, since based on my experience CUWP slots doesn't change very often and usually don't need "replication" support -- can always add them manually[2018-7-23. : 7:52 pm] jjf28 -- in text trigs I just take the CUWP number, I don't support adding the CUWP entries via text[2018-7-23. : 7:46 pm] Wormer -- in SCMD I'm generating a separate text file that is copied in the separate window, in triggers I put CUWP#[2018-7-23. : 7:42 pm] Wormer -- I'm trying to cook up a new version of MacroTriggers looking for a way to input raw triggers code into a map without the need to write an scm format functionality on my own[2018-7-23. : 7:33 pm] jjf28 -- I should note that these custom conditions/actions are purposed for experimenting/EUD hacks/modding, if there's any vanilla functionality that SC supports for a condition/action that you find we should add it as optional parameters for that condition/action |