| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<_nx> heh. Well, times change. Break out your debugger and your crash dumps and your bug reports <Scottc> and it runs fine on my machine <StoneCyqh> scottc: what you're missing is that the problem isn't either compiler. it's your code. <StoneCyqh> some bugs don't cause problems in all environments. <Scottc> my code has a problem? <StoneCyqh> apparently. <Scottc> hm <Scottc> I wonder if my 3d engine would compile alright in 2k5 <_nx> The major bridge which I need to drive home over is broken and closed. The alternate routes are, predictably, backed up to hell and back. <StoneCyqh> Scottc: for example, this bug is safe on IA32, but crashes computers on ARM32 and IA64: int main() { int* p; p = (int*)malloc(sizeof(int)); *p = 10; return 0; } <_nx> also on x64 <KimmoA> How does INADDR_ANY really work? <Scottc> Erm <Scottc> So why does it not cause a problem when compiled in 2k3 as opposed to 2k5? <_nx> KimmoA, look at the definition of INADDR_ANY. <_nx> Scottc, you probably have code which is broken, but appears to work due to some quirk of 2k3. 2k5 changes something from one legal pattern to another, and exposes your bug. <Scottc> whats with this <Scottc> D:\dev\Libraries\SDL-1.2.8\include\SDL_opengl.h(35) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory <Scottc> 2k5 trying to compile my latest <Scottc> 3d engine <_nx> You need to fix your #include paths <shrug> <Hhhhh> huh? <Hhhhh> no windows.h?? <StoneCyqh> Scottc: the free one doesn't have the Windows platform SDK pre-installed. <StoneCyqh> you have to go download and install it. <Scottc> wtf is this blasphemy? <StoneCyqh> (it's still free) <_nx> I presume that he already has a copy somewhere <Scottc> I have to download it? <StoneCyqh> Same goes for DirectX <StoneCyqh> yes <Scottc> I have the DirectX sdk already. <Hhhhh> StoneCyqh, you can download it <Hhhhh> Scottc I mean <KimmoA> http://pastebin.com/592076 <-- Compiles and runs. However, if I uncomment the code supposed to be accepting the one client, it compiles but just gets stuck (not outputting anything). :( <StoneCyqh> Hhhhh: yeah, that's why i told him he had to <StoneCyqh> oh <Hhhhh> Scottc you can download and install the Windows SDK <StoneCyqh> haha nvm <Scottc> I get a very strange bug by the way <Hhhhh> my bad buddy <Scottc> if I alt tab out of my 3d engine it crashes <_nx> KimmoA, hmm? Your connection isn't working then. <KimmoA> _nx: Connection in what sense? <Hhhhh> Scottc, you using OpenGL? <_nx> If accept() never returns, it means that your connection never succeeds. <KimmoA> Hmm... <_nx> The rest of the code is useless without accept() <KimmoA> Well... why doesn't it? :) <_nx> So, you're connecting wrong, or you're listening wrong, or you have some firewall issue. <KimmoA> I accepted it in Windows Firewall... <KimmoA> Although that was the first time I ran it.. <_nx> Use Blue's Socket Tool as one end of your client/server setup, and test using that. <KimmoA> s/../.../ <_nx> Until you can get both ends working. <KimmoA> At a different port. <KimmoA> Maybe it doesn't keep track of it. <Scottc> yea i'm using OpenGL. <Hhhhh> Scottc, it should do that <Hhhhh> you're using SDL? <Scottc> SDL + OpenGL. <Scottc> alt tab crash is a bad thing... <KimmoA> Hmm... the program is accepted fully. <Hhhhh> hmm <Hhhhh> lemme try, I have a small OpenGL/SDL demo <_nx> // Initialize WinSock 1.1 <--- wtf <_nx> 2.2 man <KimmoA> Why? :S <_nx> 1.1 is ancient <KimmoA> So? >:/ <_nx> 2.2 has quite a few really nice new features, which you'll probably want to use when you get past this basic code. <KimmoA> I use 8 BPP too! ^_^ <_nx> well I don't support you in that, either <KimmoA> :O !! <BlackFrog> probably coding this in x86 asm using a toggle switch eeprom programmer eh :) <_nx> 1.1 only exists for compatability with older apps. You shouldn't develop on olden versions. <KimmoA> Nope, blacky froggy. <_nx> You're like that guy from the other week who was writing game tools in QB4 <_nx> sorry, Quick Basic 4.5 <KimmoA> Well... it's like XHTML. No reason at all to use it just because it's never. <BlackFrog> heh i did that before <KimmoA> s/nev/new/ <Scottc> I wrote an mmorpg in Basic (¬_¬) <KimmoA> What BASIC? <Scottc> I wrote an mmorpg in BASIC (¬_¬) <_nx> What made you even think of using 1.1? <Scottc> 10 dollars on tutorial. <KimmoA> I don't see any benefit from using the latest version... <_nx> wow, that must be some ancient tut <StoneCyqh> XHTML does have tangible benefits over HTML. <KimmoA> I mean... I'm fascinated enough as it is. <_nx> I really hate having this discussion, but somehow people keep bringing it up. "Why shouldn't I develop my new app with a really old version of X?" <_nx> The new version really is better. <StoneCyqh> It's much more machine parsable, which makes it more indexable. It's also more uniform and better bound to other languages, leading to faster, lighter weight parsers. <Scottc> Hhhhh: hallo ? :P <Hhhhh> Scottc, one sec <Scottc> ok <KimmoA> HTML 4.01 Strict, using good practice, is basically XHTML. <KimmoA> I hate the <br /> crap, though. <_nx> KimmoA, amazing. You responded to what he said... apparently without reading any of it. <Hhhhh> Scottc, my program works fine <Hhhhh> Scottc, it must be something on your end, SDL/OGL will be fine after an Alt + Tab <KimmoA> _nx: I upgraded to PHP 5.1 from 5.0 before just for a single new function. Does this make you happier? <_nx> I would guess that winsock 1.1 is about 18 years old, and 2.2 is about... 12 years old. I guess that's not old enough, somehow. <KimmoA> Hehe. <_nx> KimmoA, no, it doesn't help your argument any <KimmoA> Well... what's so good about 2.2? <_nx> It adds many new features, and it's better designed. <KimmoA> And is it only a matter of changing that value? <Scottc> WTFISTHAT <Scottc> stupid bro... <_nx> But really, any discussion about using old versus new software should center around, "why not use the new version?" <BlackFrog> if it aint broke.... <StoneCyqh> _nx: to which the traditional response is "to keep from losing a quarter of our market" <_nx> KimmoA, yes, I doubt that you'll have to make any other changes at this point. <_nx> StoneCyqh, uh, how does that apply here? <Scottc> Hhhhh: Would you care to have a look at the code? <KimmoA> It's very late, I'm extremely hungry and there is nothing to eat. <KimmoA> It will be hard to get to sleep. <Hhhhh> Scottc, I can try, I' <KimmoA> Sigh. Good night. <Hhhhh> Scottc, I can try, I'm not an OpenGL/SDL guru though <Scottc> hm <_nx> "What version of this software should I use? I think I'll just pick one at random..." <Scottc> can I dcc it to you, Hhhhh? <Ultyma> :D <Scottc> i'll take that no response as sure :P <RuebaiYaT> y0! <Scottc> hi <Ultyma> mmm <Scottc> are you here to make a groundbreaking mmorpg in mmorpg maker pro 2006? <Scottc> I am. <Scottc> wanna make a mmorpg with me ruebaiyat? <StoneCyqh> god you're annoying <Ultyma> lol <Scottc> i got lots of cool ideas and stuff <Scottc> I try, Stone. <RuebaiYaT> Scottc: hmm well do you program? <Scottc> I was joking rue. <_nx> ... <Hhhhh> Scottc, it didn't work for some reason <Hhhhh> try again <_nx> this is surprisingly interesting: http://arstechnica.com/articles/culture/civil-liberties.ars <RuebaiYaT> Scottc: I could use help with my 3D game engine :) <Ultyma> www.ftw-studios.com/uploads/mybasement/ <Ultyma> my new desk structure <Ultyma> and basement <Ultyma> :D <Scottc> tried to send it again Hhhhh. <Hhhhh> for some reason it failed again :/
Return to
#gamedev or Go to some related
logs:
#beginner #beginner alternativ to squirrel #gentoo #gentoo #nhl wmobs_holliestevens_trailer.wmv UBCD4Windows #opengl #nhl
|
|