Side-meny:

* åpner nytt vindu

 

januar 2009
m ti o to f l
« des    
 1234
567891011
12131415161718
19202122232425
262728293031  

Kategorier

Arkiv

Søk etter:

Meta

tdroller

d + -

Result :

Downloads

Siste innlegg

Siste kommentarer

Band

Profilsider

Venner

RSS torden.org

RSS Gjengendex

Tore helps die-rollers everywhere!

Download tbatches.zip (~8kb)

Yo fellow batch-nostalgics. I’m releasing my slightly embarassing batch programs in a .zip pack for you to enjoy. If I make more batch programs, I can add them to this archive and reupdate this post.

As you may know, I’ve been trying to get into php and when doing so, I started programming random-number generators as an excercise. To make something slightly more interesting than just generating random numbers, I turned them into die-rollers and random draws from decks of cards. Who has a use for die-rollers and card-drawers? Why, roleplayers of course!

Instead of php, I’ve written these in batch because they’re easier to use for those who know “cmd”. Some of these batches will be very handy for tabletop roleplayers who forget their box of dice or for people who just want to get back into batch programming and need some examples to look at.

Here’s an introduction of my batch-files :

TDOMT.BAT - Tore’s Deck of Many Things

This is my most embarassing program so far and it simulates draws from a Deck of Many Things. You specify before you start how many draws you intend to make.

TDROLLER.BAT - Tore’s Die-Roller

This program simulates die-rolls. It can roll an X amount of dice with Y amount of sides. You define X and Y yourself. You can also add a bonus to the rolls and see the individual results for each roll.

TSROLLER.BAT - Tore’s Stat-roller

Forget about the deck of many things, this is far worse! This program rolls character stats for a Dungeons & Dragons character, compatible with AD&D, D&D (3rd ed) and D&D 3.5. Possibly 4th edition as well, but I don’t know!

It rolls 4d6 dice, then subtracts the die with the lowest value for all scores.

TRANDOM.BAT - Tore’s Random Number Generator

This simply gives you a random value between 1 and X where X is defined by you (%1).

 

Basically, if you don’t know how to use one of my files, just try and call it in prompt and add “?” or “/?” as the %1 value. Then you should get instructions on how to use that file.

To download, just click here or follow the link at the top of the post. Enjoy my batches!

Kommentarer

Kommentar fra tore
Tid 25. august 2008 klokken 00:05

Just in case you’re really clueless about how to use these, here are some simple instructions.

First, unpack the files to somewhere you’ll find’em. Easy peasy! Then :

On your windows computer, click to open the start menu and then select “run” or possibly “search”. In the text-box, write “cmd”. That opens up a command window with a nice prompt you can write commands in. Navigate to the files with the “cd” command like this :

cd c:\path\to\tores\batches

to look at the content of the folder, simply type “dir”. To run one of the files, just write it’s name - for example “tdroller” (.bat extension doesn’t have to be included). If you don’t know how to use the file, you can try calling the file and add ? or /? - like this :

tdroller /?

And that’s it! Leave a comment if you have any problems.

Skriv en kommentar