Check out Amazon.com!

BlitzCoder WorklogsMain Worklogs Page
"Multiods UDP example game"
Owner: nullmind
Showcase Entry: None
Total Entries: 2
nullmind
Entry: 2
11/09/2002
10:50 PM
Hey all. Good to see someone is reading this :).

Ok, did a 'butt load' of stuff. I'll explain it all below!

Auto-Patcher. This is by far the coolest feature, and the most useful. I got extremly tired of making people download code, and binaries over and over.

Now, when you connect to the server, it will send you the URL to an update (depending on what version you have). Then, the client downloads it (via TCP streams to the 'web').

So, heres how it works. Client attempts to connect, has the wrong version, server sends them the URL, client downloads new patch, runs the patch (exits game). Now, its update to a newer version. So, it starts at "1.0", and lets say the current version is "1.2". The client will download the "1.1" patch, install that, then download and install the "1.2" patch. The patches are fairly small (80kb), and from a nice webserver (i download them horribly fast on my cable connection).

Why? Well, its alot easier. I'm using ClickTeam's patchmaker, because it offers good comprsesion with a win32 interface (and its a nice product, using the free version so everyone else can too.)

This is a very excellent method, I can add media files, change source and the binary (because it is open source). And it prevents the user from connecting with an invalid version. Although im not doing any fancy Checksumming, and a user could actually just change the file version in the source, its still good.
nullmind
Entry: 1
11/06/2002
02:28 PM
This is the log on the never ending network game im creating for the good of BlitzCoder. Firstly, it doesnt use BlitzPlay (as nice as it is), its strictly for the users who want to use UDP directly. It will (hopefully) be released with full client/server source. Yes folks, its Client/Server, i may re-code it to work Peer-to-Peer style.

Whao, should have added this log a long time ago. Oh well, here goes. I'll fill everyone in on whats already done, plans and other things critical to know at this time.

Already added:
--+ A Database type of system. It just stores users information on the server, so it can be located again the next time that user logs in. Stores passwords, and will eventually store the number of kills and accuracy.

--+ Movement and shooting code. Its using what i belive is called a 'Quadualigic' method at the moment, my feeble attempts to successfully add cubic splines havent worked yet. Now I've screwed it up pretty bad, the shooting code is out of sync. Im starting to get into enemy territory.

--+ Simple chat added. It has a 'leader' board that displays kills. But there arent many kills because i have to recode all that!
Copyright(c) 2000-2004, BlitzCoder. All Rights Reserved.

Plan software created by Krylar's Kreations