|
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.
[2019-1-13. : 9:23 pm] Suicidal Insanity -- Such as 'Error reading the 'scenario.chk' file from the map MPQ'[2019-1-13. : 9:06 pm] readabook -- didn't see anything about mpq, it is what it is tho, would save me 1-2 hours is all if I could recover, no big deal[2019-1-13. : 8:41 pm] readabook -- I undeleted some maps from flash drive, can't open them, did they get corrupted or is it an scmdraft issue?[2019-1-13. : 7:34 pm] Suicidal Insanity -- There is a sample plugin somewhere in the forums, I cant find it right now[2019-1-13. : 7:33 pm] Suicidal Insanity -- No, I meant you could write your own custom trigger editor, or expand existing trigger editors, with your new conditions or actions[2019-1-13. : 7:31 pm] Pr0nogo -- what's it coded in, and have you ever linked it with new data from sc plugins? I'm talking about writing new function code to do things not normally supported, like detecting if a unit is in combat, if a player has killed a specific player's units, etc[2019-1-13. : 7:23 pm] Suicidal Insanity -- Adding new ones to scmdraft requires recompile, and adding ones that use strings is more difficult than normal ones[2019-1-13. : 7:22 pm] Suicidal Insanity -- You've got an open source editor, and an open plugin architecture for scmdraft[2019-1-13. : 7:19 pm] Pr0nogo -- for whatever it's worth I've been wanting to add triggers to scmd for at least a year now, just assumed it's not possible until we get an open source editor[2019-1-13. : 7:14 pm] Suicidal Insanity -- But in theory the entire conversion from number <->datafield for conditions now uses scmdraft code. Text trigedit only handles conversion from number <-> text[2019-1-13. : 6:58 pm] Suicidal Insanity -- Ya, once this is done, then I have a started project from 2 months ago that changed the EUD support to be a lot more generic, which I can finish, which hopefully means EUDs in text trigedit without too much additional code[2019-1-13. : 6:41 pm] Suicidal Insanity -- Since I didn't want to pull in all of scmdraft, just typedefs + wrappers[2019-1-13. : 6:37 pm] Suicidal Insanity -- Yay, I can actual compile text trigedit now when it includes the scmdraft files .....[2019-1-13. : 4:34 pm] Moose -- Tru, could like, increase understanding of the engine and know if changes are breaking things but Blizz probs don't wanna pay people to write the tests at this point lmaoooo[2019-1-13. : 4:30 pm] Suicidal Insanity -- MooseMoose shouted: How do you know? C|X^D All the interviews where they say "we don't dare toch the engine because we dont understand it and we don't want anything to break"[2019-1-13. : 4:29 pm] Suicidal Insanity -- I have thought about sharing my trigger definitions since they can be expanded for EUD types, but as long as nobody else would use em not much point[2019-1-13. : 4:28 pm] Suicidal Insanity -- I'm not. Its not like its a commercial project or anything[2019-1-13. : 4:27 pm] jjf28 -- MooseMoose shouted: jjf28 Suicidal Insanity Y'all not using unit tests? I'm working on the unit tests xD[2019-1-13. : 4:27 pm] Moose -- jjf28jjf28 shouted: mm, I just check that it compiles into the same thing it read out Suicidal InsanitySuicidal Insanity shouted: I'm gonna check to make sure the generated text matches between the old build and the new one Y'all not using unit tests?[2019-1-13. : 4:26 pm] Suicidal Insanity -- Just to ensure consistency - I can use the text parsing to verify the arrays[2019-1-13. : 4:25 pm] Suicidal Insanity -- But I am planning on changing that to also use the arrays that text trigedit uses[2019-1-13. : 4:25 pm] Suicidal Insanity -- Classic trigedit parses the text string to figure out args: TEXT("<player>Player</player> <points>score type</points> score is <quantitymod>comparison</quantitymod> <quantitynum>quantity</quantitynum>.")[2019-1-13. : 4:24 pm] Suicidal Insanity -- What I pasted earlier was what text trigedit uses, both before and after[2019-1-13. : 4:23 pm] Suicidal Insanity -- That is for the text parsing, and not for text generation, right?[2019-1-13. : 4:22 pm] jjf28 -- going to either a polymorphic call or an array of function pointers (depending on performance of the former) eventually[2019-1-13. : 4:18 pm] jjf28 -- at the moment I have a ridiculous jump table https://puu.sh/Cw5fG/2c82b4545a.png[2019-1-13. : 4:02 pm] Suicidal Insanity -- I have an array of arg types per condition / action type, and a function that reads out a particular field from the data, no idea what you are using[2019-1-13. : 3:53 pm] Suicidal Insanity -- I'm gonna check to make sure the generated text matches between the old build and the new one[2019-1-13. : 1:35 pm] Suicidal Insanity -- I'm sure you can imagine how fun it is to double check that diff ![]() [2019-1-13. : 1:29 pm] Suicidal Insanity -- I spent 8 hours yesterday porting text trigedit to use the scmdraft data structs instead of DW's custom ones, and want to make sure nothing broke[2019-1-13. : 1:22 pm] Suicidal Insanity -- do you happen to have a test map which uses every trigger condition / action type, and ditto for briefings? |