Forums » Bugs
/navroute save happiliy overwrites files.
don't do "/navroute save vendetta". :-)
and could we have a seperate directory for navroutes to avoid this problem?
and could we have a seperate directory for navroutes to avoid this problem?
lol.
I'm sorry terjekv, I just find that funny. Its the kind of thing that you know is serious, but you just have to laugh at it anyhow.
I'm sure the devs will fix it.
lol
I'm sorry terjekv, I just find that funny. Its the kind of thing that you know is serious, but you just have to laugh at it anyhow.
I'm sure the devs will fix it.
lol
A seperate subdirectory exclusively for saved navroutes would also make the suggested "/navroute list" easy to implement, I believe.
well, it's not like I _did_ /navroute save vendetta. I've worked as a unix sysadmin long enough to think "hmmm..." when I see "filename" used as a parameter. :-p
what I _did_ do however was to make the game files unwriteable for my user account. I do however doubt that to be a fix we can expect normal users to do, especially when updates come along.
what I _did_ do however was to make the game files unwriteable for my user account. I do however doubt that to be a fix we can expect normal users to do, especially when updates come along.
haha, that's funny. If I move the default directory, then everyone's current saves won't work anymore. I guess I should have it check to see what it's overwriting when it overwrites something and only let it overwrite previous navroutes.
Couldn't you change "/navroute save" to use a new subdirectory, and "/navroute load" to look first in the new subdirectory, and if there's no file w/ that name, then it looks in the current default?
Or perhaps you could use an extension? IE: .rte. So /navroute save "name" will save a file called name.rte, and /navroute load "name" will look for a file called name.rte. Then tell people to change all their files? Or make /navroute "load" look first for the .rte, then for the un-extensioned.
Id like to have em in a subdir eitherway, as my vendetta directory is already a mess =p, maybe just say "hey, if you want your old routes to work, you have to a) move them, or b) do them again =p"
one can easily recognize navroutes in the Vendetta directory (if one is to allow updating only navroutes, one has to anyway). this means that one can move them to a proper place with a one-off check. and this is a good thing for the future, the root directory is a mess already. :-/
I'd also love for the screencaps to be in a directory for themselves.
I'd also love for the screencaps to be in a directory for themselves.
> I'd also love for the screencaps to be in a directory for themselves.
I made a vendetta.sh shell script that moves my errors.log & screenies to a subdirectory, adding a date & time to the filenames.
I made a vendetta.sh shell script that moves my errors.log & screenies to a subdirectory, adding a date & time to the filenames.
#!/bin/bash
WD=`pwd`
cd ~/.vendetta
for f in *.tga
do convert "$f" "$(basename "$f" .tga).jpg"
done
rm -f *.tga
mkdir images-`date +%F`
mv *.jpg images-`date +%F`
cd ${WD}
Put in cron.weekly for best results.
WD=`pwd`
cd ~/.vendetta
for f in *.tga
do convert "$f" "$(basename "$f" .tga).jpg"
done
rm -f *.tga
mkdir images-`date +%F`
mv *.jpg images-`date +%F`
cd ${WD}
Put in cron.weekly for best results.
I think it'd be fine to change /navroute [and the screenshot command, for that matter] so that they now use a subdirectory. It'll disrupt a few players, until they learn of the change, but the sooner you implement it, the fewer players would be inconvenienced. Of course I'm also hoping that a separate folder will make it easier for you to implememt a "/navroute list" command -- I'd like that.
Yep.
I made VO save navroutes into a ./navroutes directory and append .navroute to the end of the filename.
It will still be able to load current navroutes.
I also implemented a /navroute list function that works with both ways.
The directory and extension are transparent to the player.
I made VO save navroutes into a ./navroutes directory and append .navroute to the end of the filename.
It will still be able to load current navroutes.
I also implemented a /navroute list function that works with both ways.
The directory and extension are transparent to the player.
go ray. :)
That's gonna be nice. :)
I wish VO would save it's files elsewhere than next to the application (in case of Mac, that falls within the applicaiton bundle). This is not very safe or wanted on multi-user systems.
I'd ratter to be able to specify a base path somewhere. Or at least have Vendetta save it's files in ~/ somewhere.
I'd ratter to be able to specify a base path somewhere. Or at least have Vendetta save it's files in ~/ somewhere.