Talk:Replay file

From Worms Knowledge Base

Jump to: navigation, search

Checksum

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)

Self-contradiction

In the Actions section, it says:

"For example, the action 1E corresponds to the left arrow ; the action 21 to the down arrow. If the active worm is in the third team, the frame will look like "02 1E 03 21 03" (New frame, pressing left and pressing up)."

Another similar contradiction can be found in the table:

Code Arguments Action Example
1E Left arrow (In all its in-game usages) 02 1E 02 21 02 : Player 2 had Up-Left pressed in that frame.
1F Right arrow
20 Up arrow (In all its in-game usages)
21 Down arrow

Explorer09 13:13, 30 December 2009 (UTC)

Question

Is the replay file capable of showing the weapons of each team? I think it would be nice to click with the right button of the mouse and see the weapons of that team that is now playing on that round. If the team waste ammo it can be seen clicking the right buttom. FoxHound 06:10, 10 June 2010 (UTC)

Personal tools