Forums » General

So What's My Standing With You? Let's ask PFStat!

«12
Aug 22, 2005 Celkan link
About the new feature:

This feature requires that you have, in your wgaf.cfg file, aliases that correspond to each type of standing that exists in your stats file. The working format is as follows: You are (a) <blah> (±standing) etc.

The script will cut out everything after the "(" first, then remove all of the spaces. After that, it cuts off the first six letters (which in our case amount to Youare), leaving blah or ablah. This means that for every different "blah" or "ablah" that you could get as a result from the script's parsing, you need to have an alias along these lines in wgaf.cfg:

alias blah "msg %target% <Insert message that is relevant to standing level 'blah' here>"

I also recommend overwriting the tenth hail in the hail suite to use this syntax:

alias hail10 "hailstd; wait 2 pfshail"

The alias pfshail will be aliased automatically by the script when you activate the hail, so there's no need to worry about that needing to be aliased prior to running VO.

Anyway, enjoy!

EDIT: Current user list: Miharu, Nerde Verde, Mark McDoogle, Martin, The Noid, Faceless, Tason-Ba, and Seta Ralel.
Aug 22, 2005 LeberMac link
I wanna do this, so... I'm gonna need some hand-holding.
Do we have to enter all alts by hand?

I'll try to be ingame tonight to discuss.
Aug 23, 2005 Celkan link
I think I can answer both forms of that question from here.

Form 1: If you mean alts of other players, it's not necessary as when another player queries the script and is not in the database they are autmatically added. Of course, you have to go in and change their value from the default setting--PFStat ships with the default setting set to neutral (+0)--you can change it to anything you like. But yes, you do have to go in and add people manually if you want to avoid that.

Form 2: If you mean your own alts, PFStat currently doesn't have a feature that allows for a seperate list for each of your characters (and the ability to switch between them while in the game). It's coming Soon™. ;)

That enough hand-holding? I should be ingame later on. Gotta eat something first though :P

Miharu
Aug 23, 2005 Beolach link
Are you still only sending it to people who email you? /me is way too lazy to write an email.
Aug 23, 2005 Celkan link
You can leave your email here. It's just a way of avoiding those email address-sniffers. I'd still rather you email me because then it makes my life easier when I want to email everyone updates. >.< it gets painful.

Besides, I'd accept as little as "PFStat please! <charactername>" as the body of your message. :P
Aug 25, 2005 Celkan link
eeep. For the time being, direct all requests directly to Nerde Verde--he needs to drop his email somewhere in here--we had some router trouble at home, so I've been without internet while dad gets everything reset/fixed/etc (He doesn't want me to be online while he's fixing it, so he's only got his XP box online, which I'm "borrowing" for the moment.)... hopefully I'll be back online in a day or two.

Miharu

PS: Yes, this is the reason I "suddenly and inexplicably" vanished from the game on Tuesday. Stupid router... *grumbles*
Aug 25, 2005 greengeek link
Sorry to hear about the connection troubles, Miharu. In the meantime, if the VO cravings get too strong, grab a paper bag and take slow, deep breaths ;)

Anyway, for anyone else interested in the PFS script, you can drop me a line at nerdeverde AT viperguild DOT com. Miharu and I will coordinate any new additions to the user list when she gets back online and get the next batch ready to go. Some new features and bug fixes are in the works, so stay tuned.

--Nerde
Aug 25, 2005 yodaofborg link
Hmmm, i might write a script, of course, anyone messaging me would be replied with *You are KOS, you will be shot at* so its much simpler :)
Aug 25, 2005 greengeek link
I got your script right here:

/alias "hail" "+shoot1"

Enjoy
Aug 26, 2005 Celkan link
... Theoretically, I'm back.

Any of you who had emailed me prior to my previous post--I'll send you a copy anyway. See you all ingame.

Miharu
Sep 02, 2005 Celkan link
Hey guys! Time for an update.

Not much is new, but we fixed a few annoying things.

Changes from 1.1b to 1.1.1b:
-Fixed the annoying funny-character-borked-me-up bug. Yay!
-Reduced the script's CPU load. (Syntax streamlining, etc.)

Known Bugs:
- Find anything? Email it to us pronto!

Next?
- Multiple character functionality
- Standing changes within Vendetta Online client

Current users: Miharu, Nerde Verde, Mark McDoogle, LeberMac, RelayeR, Tason-Ba, Faceless, Calder, Martin, The Noid, Seta Ralel
Oct 18, 2005 Celkan link
I know we've been a while without an update.

We've got another version "ready" to go--Nerde and I are just smacking out some bugs on my end that we seem to be unable to get rid of.

In other news, I've written an Automator workflow that does the following:

- Finds errors.log.*
- Copies errors.log (and its contents) to Applications/Vendetta Online/Logs.
- Renames copy to the following format: VO_Session_Year/Month/Day_SecondsAfterMidnight.txt

Please note this workflow does not trigger on the exit of VO. YOU must run it when you quit VO. I am working on making an applescript to automate that part. Anyone else is welcome to take a stab at that.

You can download this workflow, named VOLogger, at http://makchuga.itanialliance.com/download/ . Right (or control) click on the file named "VOLogger.app/" and save the file to disk.

VOLogger will NOT run on any Windows or Linux machine, nor will it run on any OSX machine running a version prior to 10.4.

*The only catch is that this script assumes that you've got the Vendetta application bundle in a subfolder named "Vendetta Online" in your Applications folder on your hard drive. In order for this workflow to um... work, you need to set the Vendetta bundle's path to the following: "/Applications/Vendetta Online/vendetta.app"

EDIT: I have updated the workflow application to do the job without any handholding--it will simply do the job, spit out any errors if there are any, and quit afterwards. The original version made you click ok for each step of the process.
Oct 19, 2005 nuthou5e link
ok, wtf am I doing wrong?

all that I can get to download is the stupid html.

Running 10.4.2
Oct 19, 2005 Harry Seldon link
That server isn't set up to download .app files. Hrm. Well, I would download the Automator script from http://makchuga.itanialliance.com/download/VOLogger.app/Contents/MacOS/VOLogger and save that as an automator file, and compile it into my own program, or maybe set up cronjobs to do it.

Miharu, .zip it! There's a built in finder zip utility! Right click VOLogger.app, and click "Make Archive of VOLogger".
Oct 19, 2005 Celkan link
I'll do that now...

Done!

Find it at http://makchuga.itanialliance.com/download/VOLogger.zip
Oct 19, 2005 Red_Corsair link
is this for windows XP to?
Oct 19, 2005 greengeek link
The VOLogger thing is only for Mac OS X 10.4, since it requires the Automator feature. It should be fairly simple to make a DOS shell script that could do the job for Windows users, but I'm a bit rusty on that front.

PFStat should be usable on Windows XP, provided that you install Cygwin, since it needs a Bash shell in order to do it's thing. Again, I haven't used it in a long time, so I'm not too sure how easily this could be accomplished.
Oct 19, 2005 Beolach link
For Linux users, this is the vendetta.sh bash scripy I run to play VO. It does essentially the same thing as VOLogger, saving a copy of errors.log. Along with that, it also checks whether there have been any changes to the wgaf.cfg or config.ini configuration files, and if there have been changes then it saves a copy of the new config file. It assumes the vendetta executable was installed to ~/.vendetta/

#!/bin/bash
cd ~/.vendetta
./vendetta

# After exiting, save a copy of the errors.log file
cp errors.log logs/`date -u +%Y%b%d.%H.%M.%S`-errors.log

### After exiting, check if the configuration files have changed,
### and if they have, save a backup of the new file.
if ! [[ -e ~/.vendetta/.wgaf.cfg-num ]]; then
echo 0 > ~/.vendetta/.wgaf.cfg-num
fi
if ! [[ -e ~/.vendetta/.config.ini-num ]]; then
echo 0 > ~/.vendetta/.config.ini-num
fi

WGAFCFGNUM=`cat ~/.vendetta/.wgaf.cfg-num`
CFGININUM=`cat ~/.vendetta/.config.ini-num`

if [[ $((WGAFCFGNUM)) == 0 ]]; then
#echo "First wgaf.cfg file."
if ! [[ -d ~/.vendetta/config ]]; then
mkdir ~/.vendetta/config
if [[ $? != 0 ]]; then
echo "~/.vendetta/config is not a directory and could not be created."
exit 1
fi
fi
cp ~/.vendetta/wgaf.cfg ~/.vendetta/config/wgaf.cfg-$WGAFCFGNUM
echo $((WGAFCFGNUM+1)) > ~/.vendetta/.wgaf.cfg-num
else
if [[ $((WGAFCFGNUM)) > 0 ]]; then
#echo "WGAFCFGNUM: $WGAFCFGNUM"
sort ~/.vendetta/config/wgaf.cfg-$((WGAFCFGNUM-1)) > tmp-old-wgaf.cfg
sort ~/.vendetta/wgaf.cfg > tmp-new-wgaf.cfg
diff -bB tmp-old-wgaf.cfg tmp-new-wgaf.cfg &> /dev/null
DIFFRESULT=$?
if [[ $((DIFFRESULT)) == 1 ]]; then # There are some differences, so save the new config
#echo "wgaf.cfg differences found!"
cp ~/.vendetta/wgaf.cfg ~/.vendetta/config/wgaf.cfg-$WGAFCFGNUM
echo $((WGAFCFGNUM+1)) > ~/.vendetta/.wgaf.cfg-num
#else
#echo "No wgaf.cfg differences found!"
fi
rm tmp-old-wgaf.cfg tmp-new-wgaf.cfg
fi
fi

if [[ $((CFGININUM)) == 0 ]]; then
#echo "First config.ini file."
if ! [[ -d ~/.vendetta/config ]]; then
mkdir ~/.vendetta/config
if [[ $? != 0 ]]; then
echo "~/.vendetta/config is not a directory and could not be created."
exit 1
fi
fi
cp ~/.vendetta/config.ini ~/.vendetta/config/config.ini-$CFGININUM
echo $((CFGININUM+1)) > ~/.vendetta/.config.ini-num
else
if [[ $((CFGININUM)) > 0 ]]; then
#echo "CFGININUM: $CFGININUM"
sort ~/.vendetta/config/config.ini-$((CFGININUM-1)) > tmp-old-config.ini
sort ~/.vendetta/config.ini > tmp-new-config.ini
diff -bB tmp-old-config.ini tmp-new-config.ini &> /dev/null
DIFFRESULT=$?
if [[ $((DIFFRESULT)) == 1 ]]; then # There are some differences, so save the new config
#echo "config.ini differences found!"
cp ~/.vendetta/config.ini ~/.vendetta/config/config.ini-$CFGININUM
echo $((CFGININUM+1)) > ~/.vendetta/.config.ini-num
#else
#echo "No config.ini differences found!"
fi
rm tmp-old-config.ini tmp-new-config.ini
fi
fi
###
###
Oct 28, 2005 greengeek link
Announcing PFS Version 1.5b "Better Late Than Never!"

New features, including status changes from inside the VO client.
Fewer Bugs (That we know about)!
More ways to show everyone exactly what you think about them (Without resorting to weapons fire)!

Instructions and detailed changelog included.

Get it at: http://makchuga.itanialliance.com/download/PFS.zip
Dec 02, 2005 yodaofborg link
It wasnt me...