Toribash
Original Post
Names
Lately, whenever someone posts a replay, it seems the names are replaced by the generic "tori" and "uke."

Is this intentional?


Edit: okay, I just checked and it doesn't always happen. So it must be an error.
Last edited by Million; Jun 25, 2007 at 04:40 AM.
actually 1mil, all 2.6 beta replays all seem to show Tori vs Uke...

The old 2.5 replays show the correct names.
"Splint Chesthair" - Is my real name.
The reason is probably because 2.6 saves names in replays differently than in 2.5

If opened in notepad, a replay setup in 2.5 looks like

"#!/usr/bin/toribash
#made with toribash-2.5
VERSION 8
FIGHT 0; bleh2 [Guru]Mosier uke
AUTHOR 0; [Guru]Mosier
NEWGAME 0;500 10 0 0 0 2 175 1 0 classic 0 0 100 0 0"


Whereas a replay in 2.6 looks like
"#!/usr/bin/toribash
#made with toribash-2.6-beta2
VERSION 8
FIGHTNAME 0; bleh
BOUT 0; [Guru]Mosier
BOUT 1; uke
AUTHOR 0; [Guru]Mosier
NEWGAME 0;500 10 0 0 0 2 100 0 0 classic 0 0 100 0 0 2 1 0 2"

Notice how 2.6, instead, the player names are shown seperately with bout # next to them...

It probably shows tori and uke since the replay saved in 2.6 and opened in 2.5 since 2.5 doesnt recognize the new formatting style, so it just defaults to tori and uke
Originally Posted by mosier View Post
The reason is probably because 2.6 saves names in replays differently than in 2.5

If opened in notepad, a replay setup in 2.5 looks like

"#!/usr/bin/toribash
#made with toribash-2.5
VERSION 8
FIGHT 0; bleh2 [Guru]Mosier uke
AUTHOR 0; [Guru]Mosier
NEWGAME 0;500 10 0 0 0 2 175 1 0 classic 0 0 100 0 0"


Whereas a replay in 2.6 looks like
"#!/usr/bin/toribash
#made with toribash-2.6-beta2
VERSION 8
FIGHTNAME 0; bleh
BOUT 0; [Guru]Mosier
BOUT 1; uke
AUTHOR 0; [Guru]Mosier
NEWGAME 0;500 10 0 0 0 2 100 0 0 classic 0 0 100 0 0 2 1 0 2"

Notice how 2.6, instead, the player names are shown seperately with bout # next to them...

It probably shows tori and uke since the replay saved in 2.6 and opened in 2.5 since 2.5 doesnt recognize the new formatting style, so it just defaults to tori and uke

That happens so that we are able to save replays with spaces without screwing up the players' names.
(15:43) <Drakhir> Zaarock: everything is useless.
(15:43) <Blam> Drakhir: Including your penis