Members in Shoutbox
None.

Shoutbox Search
Search for:


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.
Pages: < 1 « 1125 1126 1127 1128 1129 … 3578 >

[2017-1-01. : 7:54 am]
Moose -- ya
[2017-1-01. : 7:21 am]
O)FaRTy1billion[MM] -- wasn't the new year like 2 months ago?
[2017-1-01. : 7:20 am]
IskatuMesk -- n e r d
[2017-1-01. : 7:10 am]
Corbo -- Fuck you
[2017-1-01. : 7:03 am]
Excalibur -- Happy New Year fam
[2017-1-01. : 6:58 am]
IskatuMesk -- nerd
[2017-1-01. : 6:43 am]
O)FaRTy1billion[MM] -- Members in Shoutbox None. why is it lying to me
[2017-1-01. : 6:34 am]
O)FaRTy1billion[MM] -- is there somewhere I can put the MPQ Block Size option on the main window of TinyMap? It's so inaccessible where it is
[2017-1-01. : 6:26 am]
jjf28 -- but hey I just solved my keeping-code-modular while minimizing database hits problem :) (optional params with the list of items queried from a higher level)
[2017-1-01. : 6:23 am]
O)FaRTy1billion[MM] -- now I still need to figure out why sometimes opening a map crashes, and other times opening the same map doesn't :wob:
[2017-1-01. : 6:22 am]
O)FaRTy1billion[MM] -- there was nothing really wrong with how I had it, this is just way cleaner and saves needing an extra variable & function
[2017-1-01. : 6:22 am]
jjf28 -- I miss these fun problems :) Java/J2EE's so boring by comparison
[2017-1-01. : 6:20 am]
O)FaRTy1billion[MM] -- cool, thanks, I like this a lot better
[2017-1-01. : 6:18 am]
O)FaRTy1billion[MM] -- cool, now I can delete a stupid get function
[2017-1-01. : 6:17 am]
O)FaRTy1billion[MM] -- Probably because I'm basing it off the old code that used IDs, so didn't think of changing that
[2017-1-01. : 6:17 am]
O)FaRTy1billion[MM] -- I don't know why I didn't think of doing that :P
[2017-1-01. : 6:15 am]
jjf28 -- would clean up that section imo
[2017-1-01. : 6:15 am]
O)FaRTy1billion[MM] -- maybe I'll do that, that's a good idea
[2017-1-01. : 6:15 am]
O)FaRTy1billion[MM] -- I guess I could put the file pointer as the item data in the listbox, if that's what you mean
[2017-1-01. : 6:15 am]
jjf28 -- if it's a param you can replace the fileId getting passed with the pointer to the file, is all I was getting at
[2017-1-01. : 6:15 am]
O)FaRTy1billion[MM] -- oh. for(i=0;i<listcount;i++){ if(SendMessage(mainwnd.lFiles, LB_GETSEL, (WPARAM)i, 0)){ fileID = SendMessage(mainwnd.lFiles, LB_GETITEMDATA, (WPARAM)i, 0); file = getMapFile(fileID);
[2017-1-01. : 6:14 am]
jjf28 -- in the calling function fileId could be a param, loop counter, or something
[2017-1-01. : 6:14 am]
O)FaRTy1billion[MM] -- btw, I also don't how to name constants :P
[2017-1-01. : 6:13 am]
O)FaRTy1billion[MM] -- if(file->mpqFlags & MPQ_FLAGS_ISWAV){ stuff }
[2017-1-01. : 6:13 am]
O)FaRTy1billion[MM] -- oh, the calling function just does stuff with it
[2017-1-01. : 6:12 am]
jjf28 -- yea not the called function the calling function
[2017-1-01. : 6:12 am]
O)FaRTy1billion[MM] -- MapFile* getMapFile(int id){ if(id >= mapFileCount) return NULL; return &mapFiles[id]; }
[2017-1-01. : 6:11 am]
jjf28 -- guess I would need context of "file = getMapFile(fileID);" I was assuming fileID was a param to the function that has this line
[2017-1-01. : 6:11 am]
O)FaRTy1billion[MM] -- idk, I didn't feel like making the mapFiles array global, and that was my solution for things that need to access it :P
[2017-1-01. : 6:10 am]
O)FaRTy1billion[MM] -- the function is giving me it's pointer
[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] -- fileID is just the index in the array :P
[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:08 am]
jjf28 -- perhaps a handle to a map file rather than a fileID?
[2017-1-01. : 6:06 am]
O)FaRTy1billion[MM] -- but you probably don't make many friends with extern :(
[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 :wob:
[2017-1-01. : 6:03 am]
Wing Zero -- Its been an eventful year lol
[2017-1-01. : 6:03 am]
O)FaRTy1billion[MM] -- jjf28
jjf28 shouted: someone just set off fireworks here
same here, which is why I was commenting on it. Except jjf28
jjf28 shouted: but to be fair it did just turn midnight in our timezone :wob:
is not the case here
[2017-1-01. : 6:03 am]
Wing Zero -- Happy new year everyone!
[2017-1-01. : 6:03 am]
jjf28 -- but to be fair it did just turn midnight in our timezone :wob:
[2017-1-01. : 6:02 am]
jjf28 -- someone just set off fireworks 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] -- it's better, but still very tangled
[2017-1-01. : 5:59 am]
O)FaRTy1billion[MM] -- jjf28
jjf28 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 :P
[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:51 am]
jjf28 -- prolly :P
[2017-1-01. : 5:50 am]
O)FaRTy1billion[MM] -- honestly, printf("%d\n", __line__); is sounding easier and easier :P
[2017-1-01. : 5:49 am]
jjf28 -- _MT and _MTd are for compiling in MT and MT+debug modes
[2017-1-01. : 5:48 am]
jjf28 -- well hell now I dunno, xboi changed it to submodules and stuff :P
[2017-1-01. : 5:48 am]
O)FaRTy1billion[MM] -- I've had problems doing that before
[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:48 am]
O)FaRTy1billion[MM] -- does chkd build it with itself?
[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-Inferno
lil-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 :wob:
[2017-1-01. : 5:45 am]
lil-Inferno -- you're better off not using waits at all
[2017-1-01. : 5:45 am]
lil-Inferno -- waits on other players can still blocc
[2017-1-01. : 5:44 am]
Pr0nogo -- not even the hypertriggers are on the same player
[2017-1-01. : 5:44 am]
O)FaRTy1billion[MM] -- jjf28
jjf28 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

Pages: < 1 « 1125 1126 1127 1128 1129 … 3578 >


Members Online: Moose, EvelineRieder939, LeandroGwerder057, jun3hong