pmcmurry
Head Administrator
Global user
Registered: 07-2003
Posts: 383
|
|
Reply | Quote
|
|
I want to see die rolls
Mike Pranno: "One thing that could have been helpful would have been to have a log of all
die rolls in the game dumped to a text file. Something like. "SW Damage -
[6]". That would allow the user/tester to ensure that everything is
working as expected."
--------------------
I guess I am not looking so much for the precision of rolls, but the presence of functional errors. For instance, airmen "disappearing" during the course of a mission. Bear in mind that the emulator is now much more complex than it originally was. It is good practice to use common modules and functions, and that is something I've tried to do. As a result, the randomization functions are used by more than just the mission form, where the mission log is located. I could change the randomization functions to accept a switch which cause the roll to be logged only if the mission form was active, but then I would probably need to change the every instance of a call to a randomization function. (And there are hundreds.) Probably causing additional bugs in the process. And it would take a lot of time to code, then test on my end. It will also the end of August before it was released.
Or I could spend my time fixing functional errors.
--------------------
But if anyone else would find this useful, I will add it to the list.
|
|
Aug/2/2004, 20:10
|
|
mcpranno
Registered user
Global user
Registered: 06-2004
Posts: 6
|
|
Reply | Quote
|
|
Re: I want to see die rolls
Why can't this functionality reside in the randomization call itself? All it would take at that point is some sort of switch (on/off).
|
|
Aug/12/2004, 9:05
|
Send Email to mcpranno
Send PM to mcpranno
|
mcpranno
Registered user
Global user
Registered: 06-2004
Posts: 6
|
|
Reply | Quote
|
|
Re: I want to see die rolls
quote: pmcmurry wrote:
I guess I am not looking so much for the precision of rolls, but the presence of functional errors.
--------------------
I guess a better question, then, would be "At what point does precision get revisited?"
|
|
Aug/12/2004, 9:17
|
Send Email to mcpranno
Send PM to mcpranno
|
pmcmurry
Head Administrator
Global user
Registered: 07-2003
Posts: 383
|
|
Reply | Quote
|
|
Re: I want to see die rolls
It could not reside solely in the randomization function(s) for the reasons outlined in my previous message: There would not necessarily be a place to the result to be written to.
Also, there is not one function. And the rolls are not merely 1d6 or 2d6, but could be any number of "sides" from 1d2 to 1d10917. (No, I am not kidding: See the tail number thread.)
|
|
Aug/14/2004, 9:56
|
|
pmcmurry
Head Administrator
Global user
Registered: 07-2003
Posts: 383
|
|
Reply | Quote
|
|
Re: I want to see die rolls
One thing that any user could do, if they have VB on their PC, is to start the program, attach the debugger to it, set some breakpoints, then continue. Thus viewing the roll values at wherever the breakpoints are set ...
|
|
Aug/14/2004, 10:04
|
|