🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

DruinkJournal

1,237 comments
557 entries
Advertisement
Evil Steve
July 14, 2006
Untitled
Sit on my face, and tell me that you love me.....

Et c etc.

I fear that I may have had slightly loo much sherryJack./


Part 1: Partf opne
Part 2: PLrat2

Audio maintainence: Audio maINTAInanc3e.
Drums: "Ka-boom-boom-chi!

"I once had a laser exposed at me an it nearly blew my arm off..."



Greetings from Amazo…
263 views
Evil Steve
July 13, 2006
Untitled
Ok, the sound stuff is a bit harder than I thought. I can't even get a single note playing properly. Finding the frequencies was easy though. So I played with it a little bit and came up with this. Feel free to debug my code or tell me where I'm going wrong here:

//=================================…
235 views
Evil Steve
July 12, 2006
Untitled
I made my sound classes all nice and OOPY today, and then decided I need smart pointers, since I'm implementing reference counting right, left and center. I also figured I'd write my own smart pointer class, just for the exercise really. And it's working pretty well. The only problem is, I have to …
235 views
Evil Steve
July 10, 2006
Untitled
I fixed the problem with my sprites - I forgot to change the texture coordinates. It was using (0,0) to (1,1) on a 4096x4096 texture. I'm surprised it showed up as it did...

Anyway, the good news is that I fixed it. The bad news is that it sucks at performance [smile]
Without much modification, I was…
238 views
Evil Steve
July 10, 2006
Untitled
I don't know why I found this so funny. I got some work done to the sprite-based background, and it "works". I mean, it compiles, but it looks like this:

I got some funny looks for bursting out laughing...

I presume the texture coordinates are off, it looks like it's only sampling the first texel. I'…
244 views
Evil Steve
July 10, 2006
Untitled
Yes, well, clearing the Z-buffer properly would help. I found that I was clearing the Z-buffer when I begin the scene, then rendering my map. And the map was writing to the Z-buffer (Which it shouldn't). So, I just disable Z-writes when rendering the map. I'll change that in a bit when I get the sp…
242 views
Evil Steve
July 09, 2006
Untitled
I've started work on my sprite manager. I figure it should be more efficient thn ID3DXSprite, because I can use a larger vertex buffer, since I'll be doing almost entirely 2D, and also because that way I don't have to keep calling Begin() and End(), and I'll just render the whole lot once a frame.

I…
245 views
Evil Steve
July 07, 2006
Untitled
The DDS (DirectDraw Surface) format is nice and the texture tool is really nice too. I never knew how simple it was to do something as simple as adding an alpha channel to a texture. You can do that in litterally 3 clicks of the mouse.

Anyway, what have I done today. Work, obviously, but I'll get ra…
402 views
Evil Steve
July 07, 2006
Untitled
TEH MMORPG!!1 Client now compiles, and runs nicely. There'll be 3 main primitives supported at the engine level; Sprites, alpha blended sprites and maps. A map uses the same code I was using before - It holds onto a texture sheet, etc etc. I'll briefly re-cap that, because the most of the rest of t…
220 views
Evil Steve
July 06, 2006
Untitled
I can't believe how horrible the code for my MMORPG client was. I'm trying to re-jigg it just now, and spent yesterday and the day before doing the same. It now has a state machine at it's core, and a nice scene manager in it.
I've also re-designed the way rendering is done (Goes via the scene graph…
234 views
Evil Steve
July 03, 2006
Untitled
Hmm, I just spent the past 2 hours buggering around on Amazon.co.uk, ordering random CDs. Someone pointed me at some preview MP3s for "Razed In Black", so I thought "Ooh, I like. I'll get 3 CDs" :/ This was about the same time I realised Assemblage 23 have 4 other albums I haven't heard. Click. Tha…
276 views
Evil Steve
July 01, 2006
Unt1t13d
This was an edit to my previous post, but I thought it deserved it's own post so...

Chicks are insane. So, I mentioned "The Internet Random" a few days ago. She was/is very nice. She pretty much stopped talking to me at the start of this week, so I thought "Ok, fine. She's decided she has no interes…
270 views
Evil Steve
July 01, 2006
Ow.

Ow.

Note to self: Don't throw yourself off of a pavement into what you think is a hedge without checking it is actually a hedge and not a 12 foot drop into nowhere.

Here's a picture:
215 views
Evil Steve
July 01, 2006
Woo, MVP again
Well, I was re-nominated for the Microsoft MVP award this year. This year, I can arrange for up to 4 letters to be sent out saying how awesome I am. This letter is so cheesy, I've requested a copy for myself. Linky.
I particularly like the "share our excitement with you" and "joins a stellar group o…
274 views
Evil Steve
June 30, 2006
My cat causes paper jams
"Whuzzat?"

(Yeah, I have a lot of Game Programming Gems books. And yeah, I haven't got around to putting the box for my camera away)

A closer look


Lets remove some paper...


...and climb in again


End result:


Competition: Guess what the text on the page in the last image says. Winner gets a cookie and ++ra…
288 views
Evil Steve
June 29, 2006
Kitties!
Ok, dcower complained I don't have enough pictures in my journal. Pictures of socket code isn't really that interesting, but I'll hopefully have some new screenshots in a week or 2.

In the mean time, have some pictures of our cats. Biscuit is the ginger one, Ninja is the black one, and Squiggle is t…
254 views
Evil Steve
June 29, 2006
Lololol SendMessage
I had a pannic attack on the train this morning because I thought my socket code was borked again. It turns out that it's because I was logging fro several threads at once. I had a nice critical section to stop the output getting corrupted, but I was using SendMessage() to send a log message to the…
199 views
Evil Steve
June 28, 2006
Nearly...
I didn't get a chance to do more coding on the way home yesterday due to the train being totally packed and me having to stand most of the way home. I did however get it nearly all done on the way in this morning, which is good. I didn't implement thread sorting, since I need have a think about how…
202 views
Evil Steve
June 27, 2006
.pindrop
It's all quiet in here, everyone's gone off to lunch, but I want to get this shitting socket code done.

I got a new PC at work today (yaaaaay). This one has 3 times the amount of memory and is about 2.5 times faster. On the plus side, it's faster. On the minus side, it means I'll be on GDNet less, s…
254 views
Evil Steve
June 26, 2006
Hangovers are bad
I got ever so slightly drunk on Saturday, after consuming about 4 times my own body weight in various alcoholic beverages. Then spent most of Sunday recovering before being "dragged" out at 7 to the get food and go to the cinema, which was fun. Would have been more fun if I wasn't half dead though.…
335 views
Evil Steve
June 23, 2006
Sockety stuff
Ok, my socket code compiles now. Not only does it compile, but it seems to work correctly with read, write and close handling. I still need to fix the thread load balancing a bit, but that's not too important.
I also need to test my send() code. I tried it via telnet on localhost, and I was able to …
241 views
Evil Steve
June 23, 2006
Hnng
The shitting bus was late this morning (or more than 5 mins early), causing me to miss the 8:30 train. Then the shitting 8:45 train was cancelled. Bugger. Oh well.

I got a reasonable amount of work done on the train, I still have a few bits and bobs to do to get it working though. I might get it com…
327 views
Evil Steve
June 22, 2006
GOOGLE KNOWS TOO MUCH
I was told in TA (Which doesn't exist) to ask Google. So I asked "Dear google, who is Pandy from TA? I know his name is Andy something, but I don't know his second name. What is it?".
First result: SONGS TO WEAR PANTS TO
Second result: Naked Blog

What the hell?
321 views
Evil Steve
June 22, 2006
Ok, I really give up with IOCP now
I'm officially giving up on IO Completion Ports for now. I may come back to them later when I have more code done, but for now they can bugger off.
I'm still going for the multithreaded way though, but using WSAEventSelect() and waiting on 64 events (63 sockets + 1 "signal" event) per thread. That s…
251 views
Evil Steve
June 21, 2006
More IOCP woe
Ok, so I have my socket code working to accept clients, and handly reading data.
And already it's becomming a fucking mess.

A socket can be killed from both sides of the socket manager - the network layer by the client disconnecting, and the API layer but the code calling CSocket::Disconnect(). I'm a…
258 views
Evil Steve
June 21, 2006
Woo, lappy
Ok, my laptop was working fine after being fully charged. After using it for 45 mins, it's down to 46% battery, which is around what I expected. So it's charging now.

Two annoying things about using the laptop on the train - the tables are just too far away to be able to sit back in the seat and typ…
238 views
Evil Steve
June 20, 2006
Game Programming Gems 6 == Teh doen
I finished Game Programming Gems 6 on the train this morning. Which sucks because I don't have anything to do on the way home now. I need to decide if I want to use my lappy or read Game Scripting Mastery on the train. I think I'll give my lappy a go and see if it can cope with being run for an hou…
367 views
Evil Steve
June 18, 2006
Moo

Moo

Ukh, I don't want to go to work tomorrow... It's 00:40, and I'm drunk-ish. The train doesn't play nicely with my hungover-ness.

I started work on a Game Design Document for THE MMORPG!!1, I decided that it needs one. I got as far as a table of contents until I realised that Open Office was about to …
262 views
Evil Steve
June 16, 2006
Leaky
Something is leaking palettes and I don't know what. I blame the engine. I've been debugging this for 2 hours today (Another hour and a half till I give up), and about4 hours yesterday.
*scream*

In other news, I'm still no closer to getting my socket code working. I've got two choices:

  • Fallback to som…
244 views
Evil Steve
June 15, 2006
Yes yes, I'm an idiot...
I found why my pointer was null. I released it and set it to null when the login server times out. How do I know when it times out? Because m_timeLoginServerTimeOut > time(NULL). But I forgot to reset m_timeLoginServerTimeOut after releasing it. So the condition was met during the next loop. Whe…
265 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
12 Followers
15 Entries
12 Followers
johnhattan
Programmer
1,277 Entries
48 Followers
ApochPiQ
Generalist
628 Entries
43 Followers
dgreen02
Generalist
338 Entries
55 Followers
Advertisement