Man I’ve been coding all day. Well not coding. More grafting.
When Valve broke GMod the other day they’d changed an interface that no-one was really using. But GMod was. The fix was simple, update the header file. Done.
But then another bug appeared. They’d also changed the format of the particles. GMod was using the old loading code, which meant a lot of particles weren’t totally working. I’d normally have said “fuck it, next update” but the particles were all spawning at 0,0,0 in the middle of the world, forming one huge super particle that knocked the frame rate down to under 5fps.
So the fix to this was to include the new particles.lib. But then it turned out that Valve’s source control server was having problems so I used the file from the the SDK. But I hadn’t merged with Valve’s code since February so there were a few other headers and stuff that needed updating. But I managed to sew it all together and throw it out.
After the patch people reported that the files had invalid Lua. Like it was overwriting the file but leaving the end of the file still there, resulting in a load of spazz at the end. I haven’t experienced this myself but people have been telling me my code is wrong and from what they’ve pasted it looks like that’s the case. I dunno though.
Today I merged with Valve’s latest code. Which turned out to be a mission and a half because once I’d done it was crashing almost randomly. In the end, after about 10 hours wrangling with it I think it was because I hadn’t deleted some files that Valve had deleted, so it must have been getting a wrong/moved header or some shit. I dunno, it’s working now so fuck it all in the ear.
Wow sounds like a lot of work.
Great work Garry :D
3rd
Garry you got a lot to do there :P
Good job.
I did my post wrong was supost to be garry you had a lot to do there :P
For anybody who gives a crap, the updated files seem to be in SVN already. Yay. :D
Good job Garry!
“it’s working now so fuck it all in the ear.”
Will do.
Consider it ear-fucked.
“dunno, it’s working now so fuck it all in the ear.”
I love you xD
Good job. :3
I see you’ve had a successful day, unlike me. :(
Garry, ear fucker extraordinare!
I did this the other day; that is porting my mod to the new Episode Two code base. And yeah, I still used the 2006 code. Porting was hell to get working with the automatic merge tools, they just screwed things up endlessly. Then I tried manually but failed. In the end I decided to just use their code and reimplement mine. Then it still didn’t work and … two days later I was trying to fix the Alyx code, so the behaviors work, which I need to get the strider working, which I needed for the strider-busted, which was required for the Hunter. And so on.
My conclusion is: Merging is painful. But it’s worth the effort once it’s done.
Keep going at it Garry.
I’m glad I’m not the one responsible for what a couple of million people pay 10 bucks for.
And the blog still looks like shit. The one you used two versions older than this one was the best.
Stfu Lootskin. Dick.
Fuck it in the ear made me lol.
Keep up the good work.
wow youve been busy
18th!
Cool cool cool
Sounds like a nightmare. Good job, I guess.
On a similar note… now that the particle editor is actually working, I’m thinking there’s less need for Lua binds for the actual particle engine and more for ways to create and control predefined effects. Info_particle_system entities are irritating to work with and kind of unreliable… and spawning extra crap to do visuals feels unpleasantly GM9-y. Of course, stability and working-tude of GMod takes precedence, but people are increasingly making cool stuff with the particle editor and being able to use such things easily in scripts would be a real boost.
“I dunno, it’s working now so fuck it all in the ear.”
hilarious
Fuck it in the ear.
EAR RAEP SADFACE
Wow that must be hard work.
Which ear?
BOTH.
Screw this shit in the ear, please fix the load times.
There is no problems with load times for me poopsock :)
I only have a gig of addons and it takes me 3 minutes to start a single player game. That is a problem. With no addons its under 15 seconds. WTF IS GOING ON HERE CHUCK?