Can demorecord hold a programers's note?


Ashcraft

 

Posted

Like other things, like semicolons, or double backslashes, or a single quote- is there anything in demo record that would allow you to turn it into a programmer’s note? There were plenty of times I didn’t want to remove a line, or just make a note on the demo record… is there such a thing? Is there a character that will make the game ignore the line?


 

Posted

You can use the NUL command and put your comments (in quotes) in the arguments portion.


 

Posted

I've not experimented with it, but it'd be something easy enough to try. I don't have time to try this before I head out for work (ungodly early today, ugh), but I'll take a crack at it when I get home.

Michelle
aka
Samuraiko/Dark_Respite


Dark_Respite's Farewell Video: "One Last Day"
THE COURSE OF SUPERHERO ROMANCE CONTINUES!
Book I: A Tale of Nerd Flirting! ~*~ Book II: Courtship and Crime Fighting - Chap Nine live!
MA Arcs - 3430: Hell Hath No Fury / 3515: Positron Gets Some / 6600: Dyne of the Times / 351572: For All the Wrong Reasons
378944: Too Clever by Half / 459581: Kill or Cure / 551680: Clerical Errors (NEW!)

 

Posted

No, no. He's talking about 'commenting' out a section like you do in HTML code where you put in a line or double slash or something that tells the code/browser/whatever "Hey, I'm keeping this information here for a reason, but don't use this as part of the code of the page".

Michelle
aka
Samuraiko/Dark_Respite


Dark_Respite's Farewell Video: "One Last Day"
THE COURSE OF SUPERHERO ROMANCE CONTINUES!
Book I: A Tale of Nerd Flirting! ~*~ Book II: Courtship and Crime Fighting - Chap Nine live!
MA Arcs - 3430: Hell Hath No Fury / 3515: Positron Gets Some / 6600: Dyne of the Times / 351572: For All the Wrong Reasons
378944: Too Clever by Half / 459581: Kill or Cure / 551680: Clerical Errors (NEW!)

 

Posted

Actually, just about any character should work if you stick it on the front. The game ignores lines it can't parse. I would use something like a ~ or some other character that isn't likely to show up in the demo. Then you can use search and replace to get rid of all of them easily.

As usual, make a COPY of the demo and work with that, just in case!


 

Posted

Oh. I see now. I guess you could also move the original command code into the arguments field, and then set the command to NUL.


 

Posted

~ sounds good to me


 

Posted

Night_Vista, don't forget to post how it turns out when you're done. I was so zonked yesterday when I got home that I passed out and slept for twelve hours, and completely forgot to take a crack at this myself.

Michelle
aka
Samuraiko/Dark_Respite


Dark_Respite's Farewell Video: "One Last Day"
THE COURSE OF SUPERHERO ROMANCE CONTINUES!
Book I: A Tale of Nerd Flirting! ~*~ Book II: Courtship and Crime Fighting - Chap Nine live!
MA Arcs - 3430: Hell Hath No Fury / 3515: Positron Gets Some / 6600: Dyne of the Times / 351572: For All the Wrong Reasons
378944: Too Clever by Half / 459581: Kill or Cure / 551680: Clerical Errors (NEW!)

 

Posted

Wow, I figured one funky character and it's going to ignore.. but not so!!!

~0 56 MOV EMOTE_HI 0 -emote worked
'0 56 MOV EMOTE_HI 0 -emote worked
;0 56 MOV EMOTE_HI 0 -emote worked
//0 56 MOV EMOTE_HI 0 -emote worked

I was determined to break this thing without changing too much of the line.

>0 0 56 MOV EMOTE_HI 0 -emote DID NOT WORK
I figured the extra zero would throw off the index but the > would make it easier to find.

so adding >0 to the line will disable it.


after thought:
Maybe this would be safer so you get rid of ALL of what you used to disable it:
>0< 0 56 MOV EMOTE_HI 0

The following harmed nothing in the demorecord (that I noticed)
>0< This is a note