|
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.
[2016-5-17. : 3:29 pm] O)FaRTy1billion[MM] -- But just being able to open the files on the fly would be great, because right now I have to modify datedit's .def files every time I change anything. ![]() [2016-5-17. : 3:28 pm] O)FaRTy1billion[MM] -- hopefully it makes sense, I wrote it kind of quickly because it's now time to go to owrk[2016-5-17. : 2:55 pm] O)FaRTy1billion[MM] -- I can PM this if you want. All the other dats are easy because, with the exception of sprites.dat (which is still trivial), every entry has every value[2016-5-17. : 2:53 pm] O)FaRTy1billion[MM] -- the big numbers is because the number of units has to be a multiple of 12[2016-5-17. : 2:52 pm] O)FaRTy1billion[MM] -- basically I have it so if units.dat is the default size then it's obviously default with the normal limitations, if it's 228 bytes bigger than that then it's the same but has the 2-byte flingy IDs.. and then if it's divisible by 1164 then there are size/97 entries and 1-byte flingy, if it is divisible by 1176 then there are size/98 entries and 2-byte flingy[2016-5-17. : 2:49 pm] O)FaRTy1billion[MM] -- but other than just not doing one patch, it doesn't change anything[2016-5-17. : 2:48 pm] O)FaRTy1billion[MM] -- it's normally 1 byte which limits to 256 flingies, but it's there for if you want more than that[2016-5-17. : 2:47 pm] poiuy_qwert -- what is the advantage of having it be variable size? a few bytes of space saved?[2016-5-17. : 2:47 pm] O)FaRTy1billion[MM] -- all that changes is just more conditions when checking the size of units.dat[2016-5-17. : 2:46 pm] O)FaRTy1billion[MM] -- the only part I'm not sure of right now though is I have the thing that makes flingy IDs in units.dat 2 bytes optional, and I don't know if I should just always do it[2016-5-17. : 2:43 pm] poiuy_qwert -- FaRTy1billionFaRTy1billion shouted: and then maybe I can convince poiuy to add support to PyDAT since DatEdit doesn't want to let me edit things like unit sounds no convincing needed, just need to know the details![]() [2016-5-17. : 2:39 pm] O)FaRTy1billion[MM] -- KYSXDKYSXD shouted: Short question: Does firegraft supports more than 100 buttonsets? yoou can add whatever button sets in FG. I think I remember it being said that it has limited memory for it or something,but I didn't look in to that[2016-5-17. : 11:14 am] NudeRaider -- I have no idea what you're even asking, so this question is probably not for me. ![]() [2016-5-17. : 7:14 am] O)FaRTy1billion[MM] -- it also hides 228/None, but that's not a problem. I just had to hex-edit in it's values that aren't 0[2016-5-17. : 7:12 am] O)FaRTy1billion[MM] -- and then maybe I can convince poiuy to add support to PyDAT since DatEdit doesn't want to let me edit things like unit sounds ![]() [2016-5-17. : 7:10 am] O)FaRTy1billion[MM] -- I haven't added any sort of configuration yet, so the new number of entries is hardcoded in to the plugin[2016-5-17. : 7:10 am] O)FaRTy1billion[MM] -- maybe tomorrow I'll post the test mod and the modded tools so people can see[2016-5-17. : 7:09 am] O)FaRTy1billion[MM] -- but I figure with a mod hacks that are specific like that probably won't be a problem, if they even exist at all[2016-5-17. : 7:09 am] O)FaRTy1billion[MM] -- Dunno. Maybe if I get ambitious I'll add a check so that instead of by ID it's if the unit in question is a building[2016-5-17. : 7:06 am] Neiv -- Since you changed the check that prevented training buildings, could a hacker now send a command that causes a terran building to train its addon? D:[2016-5-17. : 7:03 am] O)FaRTy1billion[MM] -- since replacing every instance of 228 as "none" sounds painful[2016-5-17. : 7:03 am] O)FaRTy1billion[MM] -- I'm trying to make all the checks like that (or that are <228) to be != 228[2016-5-17. : 7:02 am] O)FaRTy1billion[MM] -- The last check I fixed to make them trainable at all was also <= 105. It's because 106 and above is supposed to be buildings, doodads, and powerups[2016-5-17. : 7:01 am] O)FaRTy1billion[MM] -- SC apparently really doesn't want you to train units with an ID > 105[2016-5-17. : 7:01 am] O)FaRTy1billion[MM] -- NeivNeiv shouted: That's likely the simplest solution? You could also just have the code jump somewhere else where there's more space for instructions? There was plenty of room to expand it, but all I did was change the constant to 228 (since that's what it is when there is none) and then replace sbb eax,eax \ inc eax with setne al[2016-5-17. : 6:55 am] Neiv -- That's likely the simplest solution? You could also just have the code jump somewhere else where there's more space for instructions?[2016-5-17. : 6:46 am] O)FaRTy1billion[MM] -- how do I turn that in to eax != 228? Should I just rewrite this whole function?[2016-5-17. : 6:45 am] O)FaRTy1billion[MM] -- D: why does the SC compiler have to do weird shortcuts. it's doing a cmp eax,thing then sbb eax,eax \ inc eax[2016-5-17. : 6:40 am] O)FaRTy1billion[MM] -- What value does the build queue have when there is nothing there?[2016-5-17. : 6:35 am] O)FaRTy1billion[MM] -- I filled wireframes with marines manually https://snag.gy/Oka9px.jpg[2016-5-17. : 6:31 am] O)FaRTy1billion[MM] -- NeivNeiv shouted: Can the units have custom buttonsets? Are those status screen wireframes always marines? With Firegraft. I just put marines because it was easy.[2016-5-17. : 6:30 am] Neiv -- Can the units have custom buttonsets? Are those status screen wireframes always marines?[2016-5-17. : 6:27 am] O)FaRTy1billion[MM] -- I can't tell if it's not adding the unit to the queue (it is building it), or if it is just not displaying it because it only displays < 228[2016-5-17. : 6:17 am] O)FaRTy1billion[MM] -- Other than the civilian (which was just to test FG buttons) those are also unique flingies too[2016-5-17. : 5:51 am] O)FaRTy1billion[MM] -- There are still a few bugs (they won't show in the unit queue and they don't have a name, mostly), but it works![2016-5-17. : 4:28 am] BloodyZombie117 -- But you're on a boat with all your clones, so I can't be mad. |