Archive for June, 2006

Uploaded T.I.P. “Supposedly”; Version 0.2

- Fully implemented the Preserve Score feature. I’ve removed the cg_preservescore command and have only left the server-side g_preservescore, which is set to 1 by default. Players can now reset their score by using the new resetscore command, which instantly resets, or deletes, a player’s score.

- Added some new media and removed other unnecessary media. The T.I.P. banner is now all over the place (Will be ‘fixed’ later).

- The death messages are now randomized, and consist of one of the following (Notice that the suspect and victim are left out, to avoid redundancy, you can fill them in in your head I think…):

–”was disrupted by”
–”was owned by”
–”was pwned by”
–”never saw it coming from”
–”was shot by”
–”was gibbed by”
–”was fragged by”
–”was buried in the grave by”
–”left this world thanks to”
–”was sent flying by”

So, those will appear instead of the boring old “was railed by”, also, the death by falling message has been changed to:

–”got owned by gravity”

but you won’t see it unless you turn on fall damage (Default: Turned off), with the new command g_falldamage.

There’s more features to come, this is just one new version. I think I might’ve even left out a couple of new features…sorry.

SVN Support

Okay, well yesterday I did one of the dumbest things in my whole Computer Expert Career (:P). I had just finished implementing the Preserve Score feature, and I realized that my whole ‘environment’ was at C:\Desktop\instagib. Yes, C:\Desktop, I created a folder called Desktop which was to act as my back-up Desktop folder for huge files, and I never moved it back. So all was going great yesterday, just great. I even started to read up on how to make videos so I could record a video and convert to avi so that you guys could check it out. Anyways, so while I was doing all sorts of other things, I decide to drag my whole instagib folder to the desktop, so that I wouldn’t have to click the shortcut continiuosly. It says that one of the files are being used by another program so it couldn’t finish the transfer, and so I click okay. And since I always copy those types of things instead of drag, I had thought it was a copy, so I delete the folder on the desktop thinking it’s an incomplete copy. The stupid thing was that I did the whole thing over again, I tried to drag the folder, got the error, and re-deleted the newly partially complete transfered folder. I’m then kind of stressed out at the error, not that I deleted the source, because at the time I hadn’t realized I was deleting the source hard copy. And since, being the efficient, organized person that I am, I Empty the Recycle Bin. Halfway through the process, I realized everything in a split second and click cancel, but it was already too late. I tried various Recovery programs, but the attempt was futile. So now I’ve re-installed myself with a source archive I luckily burned onto a CD two days ago, so now development is two days behind. I’ll have to re-implement a couple things such as:

-preserve score
-remove unnecessary media
-remove media registers (blood, gib)
-rename cleanq3 > tip
-create tip logos

Anyways, now I’ve got SVN (Subversion) and it’s working great. I’m completely new to it though. Check out the repository here [ http://svn.jorgepena.be/websvn ]. Anyways, gotta go.

Preserve Score

Currently I’m working on making the preserve score feature configurable. This feature will allow the player to preserve his or her score when switching teams. I’d created two cvars, g_preservescore and cg_preservescore. g_preservscore should be the server-side configuration variable. If set to 0, it will forcefully disallow the feature of preserving the score to all of it’s clients (Players). If set to 1, it will forcefully make all the clients preserve their score. And if set to 2, then the client, or player, has the decision on whether or not to preserve their score. So if g_preservescore is set to 2, then the player will be able to decide on that with cg_preservescore, if set to 0, the player wishes not to preserve their score. If set to 1, they will preserve their score.

Currently I’m in the process of trying to fix this. I’ve already implemented the cvars and the cvar handling, however in g_cmds.c, I’m not allowed to access client-side cvars, so I’m in the process of setting it with bit flags CVAR_USERINFO | CVAR_ARCHIVE and will access it through UserinfoKey. Hope all goes well.