Difference between revisions of "Talk:Replay file"

From Worms Knowledge Base

Jump to: navigation, search
(Sry)
(sign the unsigned)
Line 2: Line 2:
 
here is a part of my program that reads replays :
 
here is a part of my program that reads replays :
  
                case 0x08:
+
case 0x08:
                    xx = waReplay.readDWord();
+
    xx = waReplay.readDWord();
                    zz = waReplay.readDWord();
+
    zz = waReplay.readDWord();
                    frame = xx;
+
    frame = xx;
                    ms = frame*2;
+
    ms = frame*2;
                    d = ms % 100;
+
    d = ms % 100;
                    c = (ms % 6000 - d)/100;
+
    c = (ms % 6000 - d)/100;
                    b = (ms % 360000 - c * 100 - d)/6000;
+
    b = (ms % 360000 - c * 100 - d)/6000;
                    a = (ms % 21600000 - b*6000 - c * 100 - d)/360000;
+
    a = (ms % 21600000 - b*6000 - c * 100 - d)/360000;
                    sprintf(time,"[%02d:%02d:%02d.%02d] ",a,b,c,d);
+
    sprintf(time,"[%02d:%02d:%02d.%02d] ",a,b,c,d);
                    xx *= 2;
+
    xx *= 2;
                    printf("\n%s",time);
+
    printf("\n%s",time);
                    printf("%d",xx);
+
    printf("%d",xx);
                break;
+
break;
  
It works perfectly, and the time is on 4 bytes, NOT one !!!
+
It works perfectly, and the time is on 4 bytes, NOT one !!! <small>—Preceding [[w:Wikipedia:Signatures|unsigned]] comment added by [[User:Robi|Robi]] ([[User talk:Robi|talk]] • [[Special:Contributions/Robi|contribs]]) 00:47, 28 February 2008 (UTC)</small><!-- Template:Unsigned -->
  
 
:After your edit, I reverted the page because you ended accidentally deleting a huge chunk of it. I tried to re-insert the information you added afterwards, but it's likely I missed a bit. If you check out the edit you originally made, you'll notice that most of the "Releasing of a power-managed weapon" section is missing, and the remainder of the article is formatted incorrectly. Trying to solve it manually was too much work, so I just hit the revert button. Please put back in any valid information that got lost. Sorry about that. --[[User:Melon|Melon]] 08:23, 28 February 2008 (MST)
 
:After your edit, I reverted the page because you ended accidentally deleting a huge chunk of it. I tried to re-insert the information you added afterwards, but it's likely I missed a bit. If you check out the edit you originally made, you'll notice that most of the "Releasing of a power-managed weapon" section is missing, and the remainder of the article is formatted incorrectly. Trying to solve it manually was too much work, so I just hit the revert button. Please put back in any valid information that got lost. Sorry about that. --[[User:Melon|Melon]] 08:23, 28 February 2008 (MST)
  
== Sry ==
+
== Sorry ==
 
+
Oh i see, my fault, didn't see it, all my apologies, i edited the page, it should be okay now :) <small>—Preceding [[w:Wikipedia:Signatures|unsigned]] comment added by [[User:Robi|Robi]] ([[User talk:Robi|talk]] • [[Special:Contributions/Robi|contribs]]) 15:32, 28 February 2008 (UTC)</small><!-- Template:Unsigned -->
Oh i see, my fault, didn't see it, all my apologies, i edited the page, it should be okay now :)
+

Revision as of 01:19, 8 November 2009

Hey I don't get it, Melon, why do you remove my correct informations ???!! (the ones about the checksum part) here is a part of my program that reads replays :

case 0x08:
    xx = waReplay.readDWord();
    zz = waReplay.readDWord();
    frame = xx;
    ms = frame*2;
    d = ms % 100;
    c = (ms % 6000 - d)/100;
    b = (ms % 360000 - c * 100 - d)/6000;
    a = (ms % 21600000 - b*6000 - c * 100 - d)/360000;
    sprintf(time,"[%02d:%02d:%02d.%02d] ",a,b,c,d);
    xx *= 2;
    printf("\n%s",time);
    printf("%d",xx);
break;

It works perfectly, and the time is on 4 bytes, NOT one !!! —Preceding unsigned comment added by Robi (talkcontribs) 00:47, 28 February 2008 (UTC)

After your edit, I reverted the page because you ended accidentally deleting a huge chunk of it. I tried to re-insert the information you added afterwards, but it's likely I missed a bit. If you check out the edit you originally made, you'll notice that most of the "Releasing of a power-managed weapon" section is missing, and the remainder of the article is formatted incorrectly. Trying to solve it manually was too much work, so I just hit the revert button. Please put back in any valid information that got lost. Sorry about that. --Melon 08:23, 28 February 2008 (MST)

Sorry

Oh i see, my fault, didn't see it, all my apologies, i edited the page, it should be okay now :) —Preceding unsigned comment added by Robi (talkcontribs) 15:32, 28 February 2008 (UTC)

Personal tools