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 « 1622 1623 1624 1625 1626 … 3578 >

[2016-6-17. : 8:58 pm]
O)FaRTy1billion[MM] -- oh, wait, no
[2016-6-17. : 8:57 pm]
O)FaRTy1billion[MM] -- any existing gptp plugin that uses dat files won't work without recompiling, I'm just trying to make it as small of a change as possible (changing only a header)
[2016-6-17. : 8:57 pm]
poiuy_qwert -- if you don't care about backwards compatibility then this whole conversation was pointless ;P
[2016-6-17. : 8:56 pm]
poiuy_qwert -- but you can change that is what I'm saying. that would make it so existing plugins still work without any code changes and it doesn't matter if dat expander is loaded second
[2016-6-17. : 8:56 pm]
O)FaRTy1billion[MM] -- a really tiny template class seems like it'll probably be the easiest and cleanest
[2016-6-17. : 8:55 pm]
O)FaRTy1billion[MM] -- GPTP they are loaded when they are defined, because they are consts
[2016-6-17. : 8:54 pm]
poiuy_qwert -- GPTP
[2016-6-17. : 8:54 pm]
O)FaRTy1billion[MM] -- in GPTP or in mine?
[2016-6-17. : 8:54 pm]
poiuy_qwert -- another option is not loading those pointers when the plugin is initialized, but when the game starts. that could have other problems if plugins are expecting it to be loaded before then, but I doubt any plugins do
[2016-6-17. : 8:53 pm]
O)FaRTy1billion[MM] -- The only reason it's a problem is because it might not
[2016-6-17. : 8:53 pm]
poiuy_qwert -- :P
[2016-6-17. : 8:53 pm]
O)FaRTy1billion[MM] -- poiuy_qwert
poiuy_qwert shouted: I was thinking there may be some crazy way with overloading the dereference operator or something, but I feel like it would just be better to make a new version of GPTP that isn't backwards compatible :P
or just ensure that my plugin is loaded first xD
[2016-6-17. : 8:52 pm]
O)FaRTy1billion[MM] -- like jjf suggested
[2016-6-17. : 8:52 pm]
O)FaRTy1billion[MM] -- I guess I could do like a template class or something that does that, but that might be ugly :P
[2016-6-17. : 8:52 pm]
poiuy_qwert -- I was thinking there may be some crazy way with overloading the dereference operator or something, but I feel like it would just be better to make a new version of GPTP that isn't backwards compatible :P
[2016-6-17. : 8:51 pm]
poiuy_qwert -- yeah thats the problem with making it not copy the pointer
[2016-6-17. : 8:50 pm]
O)FaRTy1billion[MM] -- It is already a pointer to an array, so I need a pointer to a pointer to an array .. and apparently you can't without doing like (*test)[id]
[2016-6-17. : 8:47 pm]
O)FaRTy1billion[MM] -- ya, I noticed that and that's what I'm doing now
[2016-6-17. : 8:47 pm]
poiuy_qwert -- to more closely match what GPTP is doing
[2016-6-17. : 8:47 pm]
poiuy_qwert -- you need something like "int someArray[5] = {1,2,3,4,5}; int* arrayLocation = &someArray", then get access to someArray but only using arrayLocation
[2016-6-17. : 8:45 pm]
O)FaRTy1billion[MM] -- I don't know how these work in typedefs
[2016-6-17. : 8:43 pm]
poiuy_qwert -- I dont think that is comparable, pretty sure that is what GPTP is doing right now
[2016-6-17. : 8:40 pm]
O)FaRTy1billion[MM] -- the ** was unnecessary. http://pastebin.com/ZteG2DqL works perfectly
[2016-6-17. : 8:38 pm]
O)FaRTy1billion[MM] -- Oh, I forgot to test passing test[0] as an int
[2016-6-17. : 8:38 pm]
O)FaRTy1billion[MM] -- All the code would be the same, all that's different is the declaration
[2016-6-17. : 8:37 pm]
O)FaRTy1billion[MM] -- That's what I had in mind. :P
[2016-6-17. : 8:37 pm]
O)FaRTy1billion[MM] -- http://pastebin.com/phphMUSd this works in C at least
[2016-6-17. : 8:32 pm]
poiuy_qwert -- FaRTy1billion
FaRTy1billion shouted: poiuy_qwert I wanted to avoid that so that all that needs to be changed is the header file
definitely
[2016-6-17. : 8:29 pm]
O)FaRTy1billion[MM] -- jjf28
jjf28 shouted: all pointers can be used as arrays, I don't recommend using references to arrays; you can make a class that overloads array access if you wanna be really fancy
too much work. I just wanted it so that it used the pointer instead of copying it, but still worked the same
[2016-6-17. : 8:28 pm]
O)FaRTy1billion[MM] -- poiuy_qwert
poiuy_qwert shouted: easiest way would be to keep them as pointers to pointers, but then users would have to double de-reference
I wanted to avoid that so that all that needs to be changed is the header file
[2016-6-17. : 8:25 pm]
jjf28 -- all pointers can be used as arrays, I don't recommend using references to arrays; you can make a class that overloads array access if you wanna be really fancy
[2016-6-17. : 8:25 pm]
poiuy_qwert -- easiest way would be to keep them as pointers to pointers, but then users would have to double de-reference
[2016-6-17. : 8:24 pm]
poiuy_qwert -- I don't think it can be done in a way that doesn't break existing code
[2016-6-17. : 8:20 pm]
O)FaRTy1billion[MM] -- A pointer to an array, used just as an array
[2016-6-17. : 8:20 pm]
O)FaRTy1billion[MM] -- how do I make a type that automatically dereferences for that?
[2016-6-17. : 8:19 pm]
O)FaRTy1billion[MM] -- poiuy_qwert
poiuy_qwert shouted: FaRTy1billion Or update GPTP to not copy the addresses but use them directly so it doesn't matter :P
that might have been what I was going to do, but I'm not sure how to do that
[2016-6-17. : 8:18 pm]
lil-Inferno -- test lmao
[2016-6-17. : 8:18 pm]
lil-Inferno -- : [: now LMAO
[2016-6-17. : 8:09 pm]
Corbo -- Probably gonna make more fake project topics LMAO
[2016-6-17. : 8:09 pm]
Corbo -- I am still missing 620 for mu name suffix
[2016-6-17. : 7:57 pm]
jjf28 -- we're still down 20 minerals :rip:
[2016-6-17. : 7:44 pm]
Corbo -- I followed the symmetry because FUCK YOU ALL I WIN
[2016-6-17. : 7:41 pm]
lil-Inferno -- pls no ban for spamming LMAO
[2016-6-17. : 7:41 pm]
lil-Inferno -- :[.
[2016-6-17. : 7:40 pm]
lil-Inferno -- :[.
[2016-6-17. : 7:40 pm]
lil-Inferno -- Too many sups
[2016-6-17. : 7:40 pm]
lil-Inferno -- LMAO
[2016-6-17. : 7:40 pm]
lil-Inferno -- :[. rather
[2016-6-17. : 7:39 pm]
poiuy_qwert -- FaRTy1billion
FaRTy1billion shouted: so long as datextender is loaded first, so gptp reads the correct addresses
Or update GPTP to not copy the addresses but use them directly so it doesn't matter :P
[2016-6-17. : 7:39 pm]
lil-Inferno -- Now magic boxes are :[
[2016-6-17. : 7:32 pm]
O)FaRTy1billion[MM] -- I love when being lazy also results in less work in the long run :P
[2016-6-17. : 7:30 pm]
O)FaRTy1billion[MM] -- so long as datextender is loaded first, so gptp reads the correct addresses
[2016-6-17. : 7:28 pm]
KYSXD -- FaRTy1billion
FaRTy1billion shouted: Oh, cool! GPTP already loads from the dat tables, so I don't need to do anything. :awesome:
FaRTy1billion
FaRTy1billion shouted: other than fix like SCBW_DATA(u8*, Graphic, unitsDat[0].address);
Those are good news
[2016-6-17. : 7:27 pm]
poiuy_qwert -- :P
[2016-6-17. : 7:27 pm]
O)FaRTy1billion[MM] -- (I said I was leaving, but I decided to eat breakfast)
[2016-6-17. : 7:26 pm]
O)FaRTy1billion[MM] -- I already don't have time to make the plugins I want
[2016-6-17. : 7:26 pm]
Corbo -- Hey farty. Make me the plug in I want :P
[2016-6-17. : 7:25 pm]
O)FaRTy1billion[MM] -- other than fix like SCBW_DATA(u8*, Graphic, unitsDat[0].address);
[2016-6-17. : 7:24 pm]
O)FaRTy1billion[MM] -- Oh, cool! GPTP already loads from the dat tables, so I don't need to do anything. :awesome:
[2016-6-17. : 7:24 pm]
poiuy_qwert -- FaRTy1billion
FaRTy1billion shouted: poiuy_qwert I dunno how to test to make sure everything is done with them, other than to say "Here it is!" and have people say like "Hey, this crashes."
Yeah, true, will be tough
[2016-6-17. : 7:21 pm]
O)FaRTy1billion[MM] -- if all goes as planned it will only require an updated header file, and everything else will be like normal
[2016-6-17. : 7:15 pm]
KYSXD -- FaRTy1billion
FaRTy1billion shouted: o, and I also need to make a modified gptp header so I can add support for this (more dereferencing, yay).
GPTP!! :-D
[2016-6-17. : 7:12 pm]
O)FaRTy1billion[MM] -- I'll probably do weapons next
[2016-6-17. : 7:08 pm]
O)FaRTy1billion[MM] -- anyway I gotta do stuff. with family in town and more family coming, I'll try to make time ;o
[2016-6-17. : 7:07 pm]
O)FaRTy1billion[MM] -- o, and I also need to make a modified gptp header so I can add support for this (more dereferencing, yay).
[2016-6-17. : 7:00 pm]
O)FaRTy1billion[MM] -- but the hard work is just getting all the array references changed, filling in the holes like that is easier (or may not be easier, but doesn't take as long)
[2016-6-17. : 6:59 pm]
O)FaRTy1billion[MM] -- Oh, I don't think I finished units.dat name strings
[2016-6-17. : 6:59 pm]
O)FaRTy1billion[MM] -- poiuy_qwert
poiuy_qwert shouted: as for which one to do next, thats hard to say. I would almost say that the most important things are expanded so it would be nice to "solidify" that work before moving onto the less useful files
I dunno how to test to make sure everything is done with them, other than to say "Here it is!" and have people say like "Hey, this crashes."
[2016-6-17. : 6:58 pm]
O)FaRTy1billion[MM] -- ya, if I need to expand the weapon ID then I'll just make it so expanding units.dat expands all of them all the time
[2016-6-17. : 6:57 pm]
poiuy_qwert -- lol

Pages: < 1 « 1622 1623 1624 1625 1626 … 3578 >


Members Online: NudeRaider, OwainMerrick180, ElianeVachon165, JemmaKingsford066