|
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.
[2017-1-01. : 6:10 am] jjf28 -- mm, but can you use a pointer to a MapFile rather than passing around its id?[2017-1-01. : 6:10 am] O)FaRTy1billion[MM] -- I would be really close to having this done if I didn't keep getting distracted with heating coils and whatnot[2017-1-01. : 6:09 am] O)FaRTy1billion[MM] -- where would I get such a handle? it just returns a struct pointer that has a bunch of settings for each file in the map[2017-1-01. : 6:05 am] O)FaRTy1billion[MM] -- file = getMapFile(fileID); seems so silly when I can just extern MapFile* mapFiles; and just do mapFiles[fileID].stuff ![]() [2017-1-01. : 6:03 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: someone just set off fireworks here same here, which is why I was commenting on it. Except jjf28jjf28 shouted: but to be fair it did just turn midnight in our timezone is not the case here![]() [2017-1-01. : 6:02 am] O)FaRTy1billion[MM] -- Maybe I should set some fireworks off at 4 am and be like "Hawaii has a new year, too!"[2017-1-01. : 6:01 am] O)FaRTy1billion[MM] -- why do people keep doing stuff on every hour? Just because it's now 2017 somewhere doesn't mean you should care[2017-1-01. : 5:59 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: if it's too heavily coupled (lotsa globals, inappropriate params) I'd recommend rewriting it using your existing code as a guide that's what I'm trying to do ![]() [2017-1-01. : 5:58 am] jjf28 -- if it's too heavily coupled (lotsa globals, inappropriate params) I'd recommend rewriting it using your existing code as a guide[2017-1-01. : 5:56 am] O)FaRTy1billion[MM] -- and despite my efforts to clean it up, my code is still messy and bad D:[2017-1-01. : 5:52 am] jjf28 -- oh gawd, the pain of external dependencies (lines 1-8) https://github.com/jjf28/PacketReader/blob/master/PacketReader/PacketReader.h[2017-1-01. : 5:51 am] O)FaRTy1billion[MM] -- also if it's heisenbug, maybe that will tell me better where the problem is[2017-1-01. : 5:50 am] O)FaRTy1billion[MM] -- honestly, printf("%d\n", __line__); is sounding easier and easier ![]() [2017-1-01. : 5:49 am] jjf28 -- ah here we are: https://github.com/jjf28/Chkdraft/tree/master/Chkdraft/SFmpq[2017-1-01. : 5:48 am] O)FaRTy1billion[MM] -- maybe it'll work if I just include all the source files in to the project xD[2017-1-01. : 5:47 am] jjf28 -- could steal Chkdrafts, though I'd do my own build if whatever you're making is important[2017-1-01. : 5:47 am] Pr0nogo -- and when you have 250-1000 lines/map that's definitely out of the question[2017-1-01. : 5:46 am] Pr0nogo -- lil-Infernolil-Inferno shouted: you're better off not using waits at all not feasible for my campaigns, each individual dialogue would be its own trigger and it would be virtually impossible to time everything correctly without ludicrous amounts of testing[2017-1-01. : 5:46 am] jjf28 -- mostly just that VS doesn't by default care whether you maintain a makefile and accepts windows-only functions[2017-1-01. : 5:46 am] O)FaRTy1billion[MM] -- oh, shit, I won't have static build of sfmpqapi unless I rebuild it under VS D:[2017-1-01. : 5:45 am] O)FaRTy1billion[MM] -- I guess I'll make my project in VS. Hopefully there aren't any inconsistencies with VS and gcc ![]() [2017-1-01. : 5:44 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: this kinda thing must be a potential heisenbug tho that's what I'm afraid of, too D:[2017-1-01. : 5:44 am] Pr0nogo -- but it's not synced up in this rendition and the player that owns the death counter triggers has 0 waits[2017-1-01. : 5:44 am] O)FaRTy1billion[MM] -- the fuck is Blend for Visual Studio? I think I clicked the wrong thing[2017-1-01. : 5:43 am] Pr0nogo -- jjf28jjf28 shouted: but much more importantly... Pr0nogo you'll want to multiply yeah whatever, it's a music system where every 119 death counters (approx 10 seconds) it plays a new sound, either one that plays as normal or one that fades out at the end[2017-1-01. : 5:43 am] jjf28 -- what you want is a stack trace with function names and line numbers, if you can get it[2017-1-01. : 5:43 am] O)FaRTy1billion[MM] -- I could use olly to debug (since that's what it's for, I guess ), but I don't feel like stepping through each ASM instruction[2017-1-01. : 5:41 am] O)FaRTy1billion[MM] -- my normal method is to just flood the code with printf("%d\n", __LINE) or whatever it is[2017-1-01. : 5:41 am] jjf28 -- attach a debugger if you think you can reproduce it; replace pointers with smart pointers if you're in C++[2017-1-01. : 5:40 am] O)FaRTy1billion[MM] -- Iv'e been so careful to NULL initialize pointers, and to free and alloc and check for NULLs D:[2017-1-01. : 5:38 am] jjf28 -- FaRTy1billionFaRTy1billion shouted: what does it mean if I run my program, it crashes, then I run it again (without changing anything) and it works? memory error I'd guess (reading a dead pointer or reading in an area that in certain cases is out of bounds)[2017-1-01. : 5:38 am] O)FaRTy1billion[MM] -- I guess if you are using ints, instead of just casting the resultant float to an int[2017-1-01. : 5:36 am] jjf28 -- ideally should multiply by 1000 then divide by 84 but that defeats the joke ![]() [2017-1-01. : 5:35 am] jjf28 -- lil-Infernolil-Inferno shouted: o I meant divide by 1/11.9 C|X^ DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD better divide by 1/(1000/84) smh[2017-1-01. : 5:34 am] O)FaRTy1billion[MM] -- what does it mean if I run my program, it crashes, then I run it again (without changing anything) and it works?[2017-1-01. : 5:29 am] lil-Inferno -- o I meant divide by 1/11.9 C|X^ DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD[2017-1-01. : 5:21 am] jjf28 -- but much more importantly... Pr0nogoPr0nogo shouted: yeah i already did divide by 11.9 you'll want to multiply[2017-1-01. : 5:11 am] jjf28 -- https://docs.google.com/spreadsheets/d/1b9SbYY4lBPG52pj199eMyMqGZzPfsYqOEJkeOqKsebo/edit#gid=844620686[2017-1-01. : 5:11 am] jjf28 -- lil-Infernolil-Inferno shouted: just divide the music time by 12 and that's your DC OH WAIT DID I SAY 12 I MEANT 11.901238912893712 OR WHATEVER IT IS O_O Pr0nogoPr0nogo shouted: yeah i already did divide by 11.9 lil-Infernolil-Inferno shouted: smh people always try'na chime in with that knowledge when someone says it's 12 DCs to the second 1000/84 scrubcakes ![]() [2017-1-01. : 4:56 am] lil-Inferno -- KrayZeeKrayZee shouted: Is this 2017? Let me know. KrayZeeKrayZee shouted: Is this also 2017? cynical AF smh[2017-1-01. : 4:46 am] O)FaRTy1billion[MM] -- if this gives me the same heat as I suspect, it is optimal since I'll have 4x the length of the heating element than if I used it for a single element |
Moose