Source code

Code Downloads

  • The source code for version 1.3.13 is available here
  • The source code for version 2.0.7 is available here
  • The source code for version 2.1.6 is available here
  • The source code for version 2.2.7 is available here

Sourceforge

I also have a Sourceforge page at sourceforge.net/projects/dd-manager/. This contains the latest versions of the code.

Documentation

As documentation for any code is important and I have started to create documentation for D&D Manager, it is included with the source code in the html directory but is also available for viewing online here, (updated 17th June 2008).

2 Comments

  1. I was recompiling the source code for the runTestWithBonus in ERGeneralMethods, so it displays not only “Success” but the actual rolled total, because sometimes (as a PC) the DM doesn’t tell us what the individual DCs are, so I wanted a quick section to run the addition, and not the 2 or 3 seconds…. “Spell craft check, 12+9… plus the this-or-that, etc etc” and just spit out a number.

    I however realized that the most recent version of the source code on the website is 2.2.7; could you post 3.0 and perhaps include a version (with or without Success/Failed) what I’ve sketched out below in future versions?

    I love your software, btw. Great stuff. If you want a UI upgrade, I am the Principal of a startup web development and design company, and I’d be happy to help out with the design of a new UI and putting it through the paces of the Builder. (I’m just getting started with Cocoa, but I know my way around linking and whatnot inside the Interface Builder.)

    ERGeneralMethods

    ll. 518-21
    +(NSString *)runTestWithBonus:(int)bonus
    forDC:(int)dc{
    int dieRoll=[RandomNumbers randomIntUpTo:ERStandardRoll];
    int rollTotal = dieRoll+bonus;

    ll. 528-544
    }else{
    if(dieRoll+bonus>=dc){
    //succeeds
    if(bonus>=0){
    return [NSString stringWithFormat:@”Rolled %d+%d = %d”,dieRoll,bonus,rollTotal];
    }else{
    return [NSString stringWithFormat:@”Rolled %d-%d = %d”,dieRoll,-bonus,rollTotal];
    }
    }else{
    //fails
    if(bonus>=0){
    return [NSString stringWithFormat:@”Rolled %d+%d = %d)”,dieRoll,bonus,rollTotal];
    }else{
    return [NSString stringWithFormat:@”Rolled %d-%d = %d)”,dieRoll,-bonus,rollTotal];
    }
    }
    }

Leave a Reply

Your email address will not be published. Required fields are marked *