Defcon Demo just wont run (correctally)

Technical Support for all Defcon related issues

Moderator: Defcon moderators

User avatar
Ace Rimmer
level5
level5
Posts: 10803
Joined: Thu Dec 07, 2006 9:46 pm
Location: The Multiverse

Postby Ace Rimmer » Tue Jul 01, 2008 9:59 pm

darth nuker wrote:
frenchfrog wrote:I guess the hash token in an unsigned int printed as a signed int.
huh?

wiki, your friend wrote:In computing, signedness is a property of variables representing numbers in computer programs. A numeric variable is signed if it can represent both positive and negative numbers, and unsigned if it can only represent positive numbers.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Tue Jul 01, 2008 11:04 pm

Ace Rimmer wrote:
darth nuker wrote:
frenchfrog wrote:I guess the hash token in an unsigned int printed as a signed int.
huh?

wiki, your friend wrote:In computing, signedness is a property of variables representing numbers in computer programs. A numeric variable is signed if it can represent both positive and negative numbers, and unsigned if it can only represent positive numbers.

Not to be all pedantic and shit, but a "wiki" is a particular kind of mass editable document on the interwebs. Wikipedia is an pseudo-encyclopedia built using wiki technology, i.e. it is a specific wiki. If you are referring to Wikipedia, you should probably spell it out, as there are lots of wikis.

Also, since no one has really spelled this out, here is why it is negative: on a computer, numbers are stored in a certain number of bytes. Each byte contains 8 bits, and each bit can store either a 1 or a 0 (on or off). Let us say that you have allocated 1 byte for a number. Then you can store either a 1 or a 0 in each byte for a total of 2^8=256 total numbers (permutations of eight taken two at a time -- the first number can be one of two options, the second one of two options, &c.). So, for instance, you could easily store the numbers 0-255 -- this would be a positive integer. Now, suppose that you have need for negative integers, as well. We can take the first bit of the byte, and say that if it is 0, the number is negative, or if it is 1, the number is positive. So, now you can store 127 positive numbers, the number 0, and 128 negative numbers. However, you still might have the same pattern of bytes.

For instance, let us say that the byte is storing the following:

Code: Select all

0 0 1 1 1 0 1 0

If we tell the computer that the number is an unsigned integer, it assumes that the number is positive, an will interpret the number as 32+16+8+2 = 58. However, if we tell the computer that the number is a signed int, it will see the first digit, and consider the number to be negative (it actually comes out to be -58, in this case).

So, frenchfrog was saying that there is probably some value that Multiwinia is storing as an unsigned int (i.e. a positive integer), but which is being displayed/printed as a signed integer.

xander
User avatar
Ace Rimmer
level5
level5
Posts: 10803
Joined: Thu Dec 07, 2006 9:46 pm
Location: The Multiverse

Postby Ace Rimmer » Wed Jul 02, 2008 3:19 pm

xander wrote:Not to be all pedantic and shit, but a "wiki" is a particular kind of mass editable document on the interwebs. Wikipedia is an pseudo-encyclopedia built using wiki technology, i.e. it is a specific wiki. If you are referring to Wikipedia, you should probably spell it out, as there are lots of wikis.

Hehe, alright. I shall from henceforth spell out Wikipedia in it's entirety. :P
darth nuker
level0
Posts: 9
Joined: Wed Jun 18, 2008 8:44 pm

Postby darth nuker » Wed Jul 02, 2008 6:05 pm

I finally got defcon running, on my slow computer...

CA was the problem, but some reason, CA cant be installed, or the game wont run.

My xp recent ally spazed out, but after i fixed it, my mom put in CA, just as i was about to finally play, SAME ERRORS SHOW UP!!! i tried everything to disable CA, but nothing works. Do you know what ca could be blocking from defcon? servers, remote acess?

Return to “Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests