Code Example #6 - UT3 Logging Essentials

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

Below is the library that my team and I use for our UT3 Development. Please feel free to enjoy as well.

All you have to do is include the uci file

`include ({PackageName}/Classes/LibraryMessage.uci)

LibraryMessage.uci

// Macros for easy calling of Library_Message functions.
 
`define GetObjectMethodPrefix() self $ "." $ GetFuncName() $ ": "
 
`define ClientMessage(message) class'LibraryMessage'.static.ClientMessage(self, `message)
`define DebugMessage(message) class'LibraryMessage'.static.DebugMessage(self, `GetObjectMethodPrefix() $ `message)
`define LogMessage(message) class'LibraryMessage'.static.LogMessage(`GetObjectMethodPrefix() $ `message)

Read the rest of this entry »

Posted on July 19th, 2008 by Bob in Game Development

Code Example #1 - Per File Execution Testing

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

In my projects i often come across or up with cute pieces of code that i think may be interesting to others. Instead of hoarding i will be posting them (possibly in sub pieces) so you can take part in the fun.

Todays Fragment: Per File Execution Testing

You can use this piece of code to test the file being executed and perform unit testing or output debug information as necessary. It can also, as is being used here, be used to redirect the user away from executing this page.

if ($_SERVER['SCRIPT_FILENAME'] == __FILE__)
{
    header('Location: http://gneupaste.gneu.org/');
    exit;
}

I dont think the exit is entirely necessary, but it may be dependent upon the server’s configuration.

Posted on April 6th, 2008 by Bob in Web Development

Debugging Backwards in Time

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...


Direct Link to Google [3897010229726822034]

Posted on January 22nd, 2008 by Bob in Application Development, Inspiration, Misc. Video, Web Development

GneuManager Milestones screaming into view…

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

I have had a very significant weekend to report about, namely in regards to GneuManager, but also a quick note about another of my projects. I got a couple emails this fine day asking about GneuManager being used, publicly, and I am letting you all know here and now that I intend to keep GneuManager Free to use for as long as the net allows. I have no plans to monetize it as of yet, and actually find the subject a bit revolting, however, I recognize that there need to be some means to pay for the site and all of the time that I put into these things, so be aware that in the future some of the apps I build may become monetized.

Read the rest of this entry »

Posted on March 18th, 2007 by Bob in Web Development