« first day (860 days earlier)      last day (4081 days later) » 

4:00 PM
@GamErix: Can it unload them ?
 
user1182183
@ereOn yes
 
@GamErix: Ok. Now if I have a DLL named "A" and another named "B", can it load "A", "B" then print something on the terminal ?
 
user1182183
@ereOn you mean in the console, yes.
 
Ok, so I see what the problem is.
 
user1182183
@ereOn because it's A not A.dll? xD
 
4:01 PM
You need to use more stacked-allocation pointers, but only on the first threads, that is : the ones that get access to the raw template C++ serialization protocols.
 
@R.MartinhoFernandes The trouble with that is that Wide is becoming more of a reality.
 
user1182183
@ereOn if that's pointed to me, I'm already brainfucked. In Dutch or Polish or basic English, please? XD
 
(Not that it matters more than Zoidlang)
 
@DeadMG ¬_¬ you... you could write decent 3D API's...
 
@GamErix "Robisz to źle."
 
4:02 PM
@thecoshman What?
 
user1182183
@BartekBanachewicz ye thanks that I already knew but I don't know any better.
 
sigh
how about dropping GTA related stuff alltogether?
And doing some real coding?
 
Like Pawn ?
 
user1182183
@BartekBanachewicz I'm not planning on going to be a developer or something, don't worry, the real programming world doesn't have to face my fail coding life :P
 
@ereOn get lost :)
@GamErix but as for now, we have to
 
4:04 PM
:D
 
user1182183
@BartekBanachewicz it's not like I'm working for Microsoft and you will see my code in Windows 9, then you had a GOOD reason to complain :D
 
@DeadMG let's face it, both openGL and DX have terrible interfaces in more or less every language ever... you could fixe that
 
@thecoshman Yes, I could.
 
@DeadMG lol, but you ain't going to are you :P
 
How many OpenGL bindings have you seen?
 
4:05 PM
well
why would I?
I've got plenty to deal with right now
 
@R.MartinhoFernandes in the example you sent me, you've used int as a second dummy parameter instead of specialized enabler (in EnableIf). Should I change that?
 
@BartekBanachewicz Depends on how paranoid you are. An int template parameter is easier to pass accidentally, but not too easy.
Both work fine. It's just just using the enabler accidentally is harder since there is no readily available value of that type like 0 or 42.
 
@R.MartinhoFernandes I think I am being reasonably paranoid; I'm better off with that rather than not understanding that code.
 
user1182183
but... if I will be programming when I will be 24+ then sure, I will stop, go read a ton of books, and come back again and do all my projects the right way ; p
 
Xeo
I don't want to write a move ctor for my struct... T_T
 
4:07 PM
@GamErix why don't you do it well at the first time?
 
@thecoshman Fluxx is always good silly fun, yeah :)
 
@Luc I'm confus now. Does std::result_of soft- or hard-error? Did it change while I was distracted? Or is my memory gasp betraying me?
 
user1182183
@BartekBanachewicz you guys here probbly make your living with coding and your applications will be used by companies, massive amount of people, if not world-wide.
 
user1182183
my applications are limited to.. well.. 100 users?
 
@GamesBrainiac Umm? We were talking about board games. But I assume you meant video games?
 
4:09 PM
@GamErix Even when I was 10, I tried to write best code possible
 
user1182183
ofcourse I could stop reading and learning for school and go learn C++ instead ;x
 
@jalf Maybe video board games!
Or is it board video games?
 
You won't learn C++ in school
 
the former I think
@CatPlusPlus well, you learn something that claims to be C++
 
user1182183
@CatPlusPlus I didn't say I would go learn C++ in a school, ofcourse I know you have to teach it yourself
 
4:11 PM
You might learn C with C++ elements badly
 
@CatPlusPlus That depends on the school. A few even teach C++ pretty well (e.g., Texas A&M).
 
@JerryCoffin s/school/most of the schools/
 
Must be one of those things we keep hearing about but never see
 
user1182183
but I'm wonderin, this , someone here said it's bad code too?
 
user1182183
Can't remember who it was
 
4:13 PM
@CatPlusPlus like a sober Irish man?
 
hmm
 
Or women
 
robot, my analyzer's implementation is now 900 loc
it's full of type system and code generation and AST building
:(
 
@GamErix CXMLNode *pRoot = CCore::GetSingleton ().GetConfig ();
 
Oh god
CPools* CRemoteDataSA::m_pPools;
 
4:14 PM
yes, it is indeed bad code
 
user1182183
@BartekBanachewicz and that code is made by thousands of contributors
 
after I'm done implementing mutable variables I should go fix it up
 
void CRemoteDataSA::Init ( )
 
@GamErix and it's fucking terribly bad
 
@GamErix So?
 
4:14 PM
@DeadMG Well, you just named three different things! Can't you split it up at those boundaries?
 
@CatPlusPlus you might review your opinion on rocket after seeing this ;)
 
@R.MartinhoFernandes Yeah.
 
void CRemoteDataSA::AddRemoteDataStorage ( CPlayerPed* pPed, CRemoteDataStorage* pData )
{
m_RemoteData.insert ( std::make_pair ( pPed, (CRemoteDataStorageSA *)pData ) );
}
 
user1182183
@BartekBanachewicz and I'm using that as the core because I don't want to disademble GTA San Andreas and reinvent the wheel myself
 
Jesus
 
4:15 PM
I'm just in the middle of dealing with something icky right now.
 
And it's just one random file
 
@CatPlusPlus Well, I'll admit that I'm going more on reputation than direct experience here, but with Bjarne as department head and teaching a fair number of the C++ classes, it seems like a fairly safe guess.
 
@GamErix that's cool, except the code is fucking terrible
 
@GamErix what does that have to do with anything/
 
Woah, scrolling too fast.
 
user1182183
4:15 PM
@thecoshman that I well.. "learned" much from it -.-'
 
@JerryCoffin Yeah that could be plausible
 
@DeadMG poop your self?
 
@thecoshman No.
 
@thecoshman That might be painful
 
user1182183
and it's not easy to "just forget" what you learned.
 
4:15 PM
all my previous stuff was rvalues, but now I have to have lvalues.
 
return ((CCompressorJobQueueImpl*)pContext)->ThreadProc ();
 
@CatPlusPlus if it hurts when you poop go to the damn doctors!
 
so I think I need to add a few functions to my type system to make shit work, but not sure
 
@GamErix you what from it?
 
//
// Skip loading the directory data from player.img if it has already been loaded.
// Speeds up clothes a bit, but is only part of a solution - The actual files from inside player.img are still loaded each time
//
bool _cdecl IsPlayerImgDirLoaded ( void )
{
    // When player.img dir is loaded, it looks this this:
    // 0x00BC12C0  00bbcdc8 00000226
    DWORD* ptr1 = (DWORD*)0x00BC12C0;
    if ( ptr1[0] == 0x00BBCDC8 && ptr1[1] == 0x0000226 )
    {
        return true;
    }
    return false;
 
user1182183
4:16 PM
@BartekBanachewicz well when I code I always look at some other works related to my projects in one or the other way
 
return true is just icing on the cake
 
I know
 
@GamErix are you implying you based on that code?
 
user1182183
@BartekBanachewicz just a bit
 
4:17 PM
holy damn shit
please don't open that ever again; now stand back while we kill it with fire
 
user1182183
so the GTA San Andreas mod world is just one damn big bad coding cave?
 
user1182183
okay ; o
 
user1182183
so what game coudl I MOD and have FUN with it?
 
4:18 PM
@GamErix mount and blade
 
@GamErix it's hacks on top of hacks
 
user1182183
(and don't need to totally start from scratch in inventing wheels)
 
@GamErix half-life 2
 
Actually any game basing on decent scripting language
Which includes all Unreal Engine games
also Source games, yeah
 
user1182183
half life 2 is moddable with C++ or just hackable like making a d3d9.dll .. ?
 
4:19 PM
@GamErix like making a d3d9.dll what? what?
 
@GamErix well, I think the game it self is closed source, but the engine is free to use and fully open source
 
user1182183
@BartekBanachewicz you know, games which use DirectX (half life has the option) they look for d3d9 dll and load it
 
Source is not open-source
 
Source engine is isn't it?
 
4:20 PM
you don't need an open source engine to mod a game
 
I know it's free to use
 
user1182183
It's like making a DLL without the need to inject it yourself
 
1 min ago, by Bartek Banachewicz
Actually any game basing on decent scripting language
 
You get the source code with the SDK, but you still can't distribute it or anything
It's not OSI license
 
@CatPlusPlus ah, that's where I got confused
it's one of those any one can have the code, but they have to come to us to get it sort of deals
 
4:21 PM
I don't really get the people who want to write mods instead of just writing games
 
user1182183
and DR2 is bad code too? (I mean, don't cmpare it to nowadays code but to 2k year)
 
what's DR2?
 
@BartekBanachewicz "I really love this game, but I wish it had this extra features"
 
Shut up about that stolen code already
 
user1182183
else I could try updating it to todays code.. DR2- Dark Reign 2
 
4:22 PM
@thecoshman okey. That I can understand. But there are people who change the game totally
 
user1182183
remember? "open source abandon ware - nurturing the next generation of game developers"?
 
doing what?
 
There's no such thing as abandonware
 
@BartekBanachewicz oh sure, but I guess they just learn how to make a small mod, then want to take it further, and stick to what they know. probably think it is easier then learning how to use a proper engine
any hoops, home time for me
see y'all
 
user1182183
@CatPlusPlus you guys are saying you forgot THIS ? ; o
 
4:24 PM
Jesus are you even listening
@thecoshman Modding a game and using an engine is pretty much the same, sans situations where the game wasn't designed for modding
Then you're just making shitty workarounds
 
@GamErix what is this?
 
my exam would have been a huge success!
If failing had been the objective ._.
 
@CatPlusPlus Jesus isn't here, so he probably ain't listening.
 
user1182183
@BartekBanachewicz do you really really really want to know?
 
@GamErix no.
 
4:26 PM
@melak47 lol
 
probably some shitty code
honestly, why should I care? Dude, I write games. I am not interested in stealing or modding or whateve.
 
> To clarify some stuff up I have to say thet the source code has been released by a Ex-Developer to me.
 
user1182183
Yes write games, Everyone can have creative ideas, but not the skill to do it xd
 
@CatPlusPlus i.e. stolen
 
That's what I've been saying
 
4:28 PM
@GamErix then become a designer
 
Like 200 times already
 
Yea, I'm totally supporting you on this one.
 
And "LGPL" :lol:
 
user1182183
@BartekBanachewicz i'm going to the KMA in the Netherlands, or Fontys in the direction Technology and Physics
 
user1182183
nothing to do with programming or games at all
 
4:29 PM
This code is still copyrighted by Activision so have fun sharing it on internet
 
user1182183
@CatPlusPlus I contacted them in several ways and they just don't mind responding to my emails
 
Ahahahah
 
@GamErix then why do you pollute this room with your crazy ideas
 
You're even on Wikipedia
 
@GamErix if they don't mind, what did they say?
 
4:30 PM
> n 2011, an unauthorized leak of the complete source code tree to the game was made to the Internet and posted to a Google Code repository with the uploader claiming it to be under an LGPL license. A Hacker News user received confirmation from the repository owner that this was in fact a leak and not an officially-sanctioned code release.[1] The leak also included headers and code from 3rd-party sources with licenses that explicitly forbid public disclosure and redistribution.
 
user1182183
@melak47 I said they don't mind responding so I don't have any responses. ;/
 
It's like torrentz for codez
 
No response is not a permission
 
@GamErix I would send you a picture of my middle finger, actually. Given that story.
 
what's the real danger for leaking source code? someone would duplicate it for their own purposes, or someone would use it to mod or break a game?
 
user1182183
4:31 PM
@BartekBanachewicz go ahead lol ; x
 
@GamErix ....huh? if they don't mind to respond, wouldn't they? so they must mind responding :p
 
@EindacorDS both.
 
They might be waiting until you're 18 before pressing charges :v:
 
user1182183
@melak47 oh sry, wrong usage of english words XD
 
4:32 PM
@BartekBanachewicz figured as much
 
user1182183
@CatPlusPlus I am -.-' Can't wait to see the charges
 
lol
 
Rumor: The PS4 version of Watch Dogs will cost 99$.
 
Rumour you heard, or rumour you are starting?
 
There's PS4?
 
4:33 PM
I'd give a shit if I gave a shit about Watch Dogs.
 
user1182183
@CatPlusPlus there will be
 
or the PS4 for that matter.
 
@DeadMG since when doesn't the puppy care about dogs? :D
 
The E3 video looked nice, if maybe not as unscripted as they claimed
 
the only game that I'm waiting for out of Montreal is more Deus Ex.
 
4:35 PM
maybe they'll call it Deux Ex? :3
 
@R.MartinhoFernandes Rumor I heard.
@CatPlusPlus Yeah, that's my fear: that it'll be scripted as fuck.
Because if not, then holy hell will that be some great sandbox fun.
 
It should be fun even if it's like half emergent as they promise
 
So. Who likes tab indentation?
 
@LightnessRacesinOrbit me! me!
 
But hey, Ubisoft Montreal. They know their sandboxes.
 
4:39 PM
I'm not buying into the hype though
I'll wait for player gameplay videos
 
I'll wait for the metascore.
 
Eh, metascore
 
@LightnessRacesinOrbit ...
 
I'll wait for RPS article and TB video
 
Emacs sucks! Which IDE do you guys use?
 
4:40 PM
It's a good indicator as long as you keep in mind that it's a four point scale.
 
@Neal you like
 
Metascore is mostly useless
 
Neal likes answering zero-effort questions
 
@BartekBanachewicz I guess?
 
@LightnessRacesinOrbit ah, you are just trolling
 
4:41 PM
which is incredibly disheartening
 
@LightnessRacesinOrbit VS :D
 
Speaking of RPS, did you see their reply to that Ars article about how PC FPSs are dead?
 
@BartekBanachewicz duh doy
 
@Neal that's much worse than Tabs
 
@BartekBanachewicz what is tabs?
 
4:41 PM
@Neal tab indentation
 
@BartekBanachewicz I am confused :-X
 
@LightnessRacesinOrbit I use butterflies.
 
@Neal nevermind
 
@BartekBanachewicz me is confuzzled
 
Xeo
Aw c'mon regex_replace, just work like I want you to. >_>
 
4:46 PM
@EtiennedeMartel Can't remember
 
so
let's see how hideously wrong immutable variables goes.
my personal money is on an LLVM type error.
 
@CatPlusPlus There.
 
> We did a bunch of ambitious things on Halo deliberately to reach out to people. We limited players to two weapons, we gave them recharging health, we automatically saved and restored the game – almost heretical things to first-person shooters at the time.
Yes limiting weapons is very ambitious
Thanks Bungie
You saved the genre
 
They did make the first half-decent console FPS experience.
 
I thought Rare made Goldeneye.
 
4:50 PM
@DeadMG Oh, right.
Although the controls sucked ass, but that's mostly because of the N64 controller.
(And Perfect Dark was better)
 
And then it infected PCs
 
Yeah, I find it weird when I play a PC shooter and, when I move my mouse, I feel like I'm pushing a thumbstick.
It's hard to explain with words.
 
@EtiennedeMartel Non-linear response?
 
Mouse acceleration
 
4:53 PM
@Collin Yeah. Like I'm dragging the crosshair or something.
 
Kill mouse acceleration with fire
 
Problem is, many games today are built for consoles because that's where the money is, and then hastily ported to PCs.
I played Darksiders the other day, and holy shit was that painful to play with a mouse and keyboard.
 
template <>
bool get<bool>(int idx = -1) { return lua_toboolean(m_LuaState, idx); }
> default argument not allowed
^ ? :(
 
What is up with contextual controls? Why, in order to perform some actions, do I need to hold down a key and then press another one?
I got a hundred fucking keys on my keyboard, can't I just press the fucking key?
 
There's little difference between get<bool> and get_bool y'know
 
4:54 PM
@BartekBanachewicz Can't you put it on the primary template?
 
You have a closed set of types probably anyway
 
@CatPlusPlus but the types these types can be converted to is infinite
 
Hmmmmm WHICH RED WIRE?!? I see two of them! Help! I only have like 13 more seconds @LightnessRacesinOrbit !! — Neal 2 mins ago
AHHH!
 
@R.MartinhoFernandes umm.. um? Will it "just work"?
I have to open C++ primer
 
@BartekBanachewicz So?
 
4:56 PM
Well... @Neal is dead. Oops.
 
@CatPlusPlus It's easier to build generic stuff on top, though.
 
Besides, you want something like a typeclass, not a specialised member function
 
@CatPlusPlus Y?
 
@LightnessRacesinOrbit ...
 
template <typename T> struct lua_type { static T from_lua(whatever_lua_uses_here); static whatever_lua_uses_here to_lua(T); }
 
4:57 PM
waaa i don't even
too fast
well, no
Lua types are "inside" lua
 
Then your get is lua_type<T>::from_lua(m_LuaState, idx); or whatever and you can extend it from outside for more complicated types
 
@Neal You're breaking the illusion.
 
i only deal with what C api gives me
 
Main() {
    str := "Hello, World!";
    Help() << str;
}
Help() {
    return cpp("<iostream>").std.cout;
}
 
I am basically making C api usable from C++ right now
 
4:58 PM
yay
now all I need to do is mutate it a bit
 
That's how you make it usable~
 
@LightnessRacesinOrbit He probably picked randomly and got it right.
 
Xeo
Narf, time to head home. See ya later.
 
Are you online yet
 
@R.MartinhoFernandes Oh. I actually didn't think of that ^_^
 
4:59 PM
Here's why I'm so busy:
4
 
@Xeo Pinky and the Brain is awesome.
 
@R.MartinhoFernandes I picked the shinier wire. That one is usually correct :-D
 

« first day (860 days earlier)      last day (4081 days later) »