Virtual Skipper Forum Index Virtual Skipper
Virtual Skipper - Official Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using the Guest List
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Virtual Skipper Forum Index -> Technical Issues
View previous topic :: View next topic  
Author Message
Camster
Moderator


Joined: 09 Dec 2005
Posts: 1435
Location: Scotland

PostPosted: 05 Sep 2008 11:42    Post subject: Using the Guest List Reply with quote

The Guest List is a way of allowing your mates to join a race you are hosting, even if the race is full. This can be helpful but there are some problems:
* If the total number of boats in the fleet is more than the spawn points available at the start line, some boats will spawn on the same place.
* Radar Bug. Some boats (usually towards the back of the fleet) do not appear on the radar of other boats. This may occur in fleets which contain more than the spawn points in the race, but I'm not certain.
* The total fleet can be much bigger than the course is designed for, depending on how many guest-listed friends join. You have to allow for this when you decide how many boats to create a race for.

Making a Guest List:
* Find the guestlist.txt file in My documents/32nd America's Cup/Config
* Open it with Wordpad (NOT Notepad).
* Make a copy for insurance.
* Change or replace the text in the file & save.

To help you start, here is an example of a fictional guestlist.txt file. You can just replace the fictional skippers with the names of your mates. Just add new boats as needed - a new line for each. Dont forget to use Wordpad because Notepad will not work; at least that is the case for me. You need to use the players' login names for this (these are the ones that can be seen on the 'report abuse' & 'kick' lists in the game).

<?xml version="1.0" encoding="utf-8" ?> <guestlist>
<player> <login>skipper1</login> </player>
<player> <login>skipper2</login> </player>
<player> <login>skipper3</login> </player>

</guestlist>
_________________
Sandy
Back to top
View user's profile Send private message Visit poster's website
euphoria
Vieux loup de mer


Joined: 06 Oct 2005
Posts: 565

PostPosted: 06 Sep 2008 10:21    Post subject: Reply with quote

Thanks for the tip, Sandy. Finally after 1.5 years, we know how to use the guestlist. You'll be on everybody's list now... Sourire

Harald
euphoria
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Very Crankie Yankee
Amiral


Joined: 05 Aug 2008
Posts: 347
Location: http://freeworldyachtclub.net

PostPosted: 03 Nov 2009 5:09    Post subject: Reply with quote

''

Last edited by Very Crankie Yankee on 04 Jan 2010 19:40; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
andynz
Moderator


Joined: 10 Nov 2005
Posts: 1063
Location: http://www.vys.co.nz

PostPosted: 03 Nov 2009 6:04    Post subject: Reply with quote

Very Crankie Yankee wrote:
Is there any way to view a login other than viewing the kick or ban menu?


Only by looking at the "Report Abuse" list on the same menu.

It also shows up after the event in the result.xls file in the results folder.
Back to top
View user's profile Send private message Visit poster's website
najevi
Capitaine


Joined: 20 Dec 2008
Posts: 248
Location: Gold Coast (Australia)

PostPosted: 03 Nov 2009 9:45    Post subject: Reply with quote

Very Crankie Yankee wrote:
Two Questions:

Is there any way to view a login other than viewing the kick or ban menu?

How much is a .txt file of "core player" logins / boat names worth? Mort de rire


If you play around with the script below you can probably discover lots of other trivia. As it stands it will list alphabetically all login names and show how many times each different boat name is used with a log in name.

Code:

# USAGE
# gawk -f users.awk Result_*.csv  | sort > users.txt
#
# optionally sort by the "count" column to identify those skippers you most frequently sail with
#
BEGIN {FS=","
    OFS=" : "}
{ boat[$4]=$3
  count[$4]++
    }
END {
    for ( b in boat ) {
        printf("%-22s  %5d %-30s\n",boat[b],count[b],b)
    }
   
}


Sample output (abbreviated)

Code:

---timan---                 2 ---timan---                   
-_comodoro_-_arg_-          3 -_comodoro_-_arg_-           
-64-                        6 -64-                         
-carla-                     2 -carla-                       
-spido                      1 $00fspido$00f*$fff*$f00*     
......                      2 Blue Devil                   
_____________comando       18 _komandor_                   
_____________demon          1 Demon RUS                     
_____________topcha         2 $fffTo$00fpc$f00ha$fff(R$00fU$f00S55)-$s$i$wYSR
____pasha                   1 $s$i$fffpavel$00f{74rus}$f00ysr
____pasha                   3 $s$i$888PA$fffr$00fu$f00s$888*ysr 74*
____pasha                   4 $i$fffPavel$00f(rus 74)$f00ysr
____pasha                   5 $s$i$888PA$fffr$00fu$f00s$888*AYC*
___lithinoi_______          1 ___lithinoi_______           
:
naish                       4 naish                         
najevi                     10 $93cvsk.wikia.com             
najevi                     50 $c93vsk.wikia.com             
najevi                     78 $c93$nvsk.$ff0wikia$g.com$m   
najevi                    407 $C93najevi                   
najevi                    441 $c93najevi                   
nandocavalli                9 nandocavalli                 
nano1971                    6 Ivanhoe E-2                   
:
zurek                       4 zurek                         
zvonko_cro_35_              1 zvonko-IOM-CRO35             
zvonko_cro_35_              3 Jelacic-IOM-CRO35             
zythogale                   1 zythogale                     
zythogale                   9 $00fzyt$fffhog$f00ale         
zyx                         6 zyx ischia                   
zzzip                       7 ..zzzip..


or sort by count to see your frequent opponents...
Code:

:
   35 munjo                   _14munjo                     
   36 gusbrag_ita_            $s$f00GUSBRAG (ITA)$0F0"OV$FFFER$F0040"
   36 teamancors              $00dLazy$b00.$ff0se           
   37 marcao                  /|\/|\ IO /|\/|\             
   39 pmac_nz                 Pmac (vys)                   
   39 xboxnz                  xboxnz                       
   40 ziggyger                Ziggy$n$000'$f00'$ff0'       
   41 cferrari                conjuro                       
   41 philipw                 $F90co$FA0ldc$FB0his$FC0el $FD0vsk$FE0a n$FF0zl
   42 tailawaggin             $w$foof.o.n.c                 
   42 tartan4400              $0f0~$f00$w$iSN$fffA$00fKE$0f0$nDoc~$fffayc$f0056
   43 jfguigui                $000JF$fffGUIGUI.$000B$fffZ$000H
   47 teamancors              Lazy                         
   50 mihailescu              Micky                         
   50 najevi                  $c93vsk.wikia.com             
   62 tokisvirtual            Cesar $0ff/$fff/$0ff/ $z     
   78 najevi                  $c93$nvsk.$ff0wikia$g.com$m   
  407 najevi                  $C93najevi                   
  441 najevi                  $c93najevi


enjoy!
Back to top
View user's profile Send private message Visit poster's website
Very Crankie Yankee
Amiral


Joined: 05 Aug 2008
Posts: 347
Location: http://freeworldyachtclub.net

PostPosted: 03 Nov 2009 15:20    Post subject: Reply with quote

''

Last edited by Very Crankie Yankee on 04 Jan 2010 19:40; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
admiral
Amiral


Joined: 27 Oct 2003
Posts: 334
Location: Nederland

PostPosted: 03 Nov 2009 16:02    Post subject: Reply with quote

The alternative for "password protected" races is to
have like 50 spawn points, 1-2 competitors and your guestlist.

(a map can't have too many spawn points)

It 'll make pretty sure only your guests can enter your race without,
the need for them to know the password.

It works well accept for the part where you need all the logins...
but any system that can collect result files should also be able to
produce a guest list. If you need help on the latter feel free to contact me.

There are already various tools that create xls, xml or html from result files at the various community websites.....
Back to top
View user's profile Send private message
najevi
Capitaine


Joined: 20 Dec 2008
Posts: 248
Location: Gold Coast (Australia)

PostPosted: 03 Nov 2009 17:21    Post subject: Reply with quote

sort and gawk are unix commands so to use the above script (users.awk) you'll need a shell/command window that is able to interpret gawk and sort. If you google gnuWin32 then you ought to find such a shell which you can launch from within windows.

There are many ways of skinning this cat. If you aren't familiar with awk then I daresay VBA or some windows script could do the same job in as few lines.

<copied from wiki>
If the above command line does not work for you then it simply means that the unzip and gawk commands have not yet been installed on your windows box. To install them:

1. Paste the following URLs into your browser address input field:
* http://gnuwin32.sourceforge.net/downlinks/gawk.php
* http://gnuwin32.sourceforge.net/downlinks/unzip.php
2. then, allow the download of
* gawk-3.1.6-1-setup.exe
* unzip-5.51-1.exe
3. then, run those two install files (as administrator)
4. After this initial setup retry the DOS command line given above.


Last edited by najevi on 08 Nov 2009 5:43; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Very Crankie Yankee
Amiral


Joined: 05 Aug 2008
Posts: 347
Location: http://freeworldyachtclub.net

PostPosted: 03 Nov 2009 17:47    Post subject: Reply with quote

''

Last edited by Very Crankie Yankee on 04 Jan 2010 19:40; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
admiral
Amiral


Joined: 27 Oct 2003
Posts: 334
Location: Nederland

PostPosted: 03 Nov 2009 17:57    Post subject: Reply with quote

Sourire somehow i think using my RandR or Mattai's excel macro's are a little more doable..

Just grab any list containing vsk-ids in a column. Import the html, xls, xml, table column with the vsk-id in to excel add '<player><login>' in a field before the id's and in a field after the id '</login></player>' use the copy down to do this for all rows. Export the 3 columns with <player><login>, vsk-id, </login></player> as txt. Cut and paste from the txt into the guestlist between <guestlist> and </guestlist>

Done.

BTW 1: same method works for any decent spreadsheet software.
BTW 2: in the spreeadsheet you could combine various lists, order, delete sort rowwise etc.

For an example of a html table:
http://www.vivarace.de/randr/externallist.php?LNR=67
(be warned the vsk-login is only the first part of the ID field)


Last edited by admiral on 03 Nov 2009 18:15; edited 1 time in total
Back to top
View user's profile Send private message
Very Crankie Yankee
Amiral


Joined: 05 Aug 2008
Posts: 347
Location: http://freeworldyachtclub.net

PostPosted: 03 Nov 2009 18:05    Post subject: Reply with quote

''

Last edited by Very Crankie Yankee on 04 Jan 2010 19:41; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
admiral
Amiral


Joined: 27 Oct 2003
Posts: 334
Location: Nederland

PostPosted: 03 Nov 2009 18:29    Post subject: Reply with quote

i dare say it's not the script your asking about but more like what can you do with a unix console Sourire basically you can find, sort, filter and manipulate any data wherever it is (as long as you have access and rights).

What can you do with a shell script? Answer anything you could do with any series of shell commands being basically, anything and everything.


Cheers Sourire

@mike read on here, and take it from there Sourire
http://linuxcommand.org/learning_the_shell.php


Last edited by admiral on 03 Nov 2009 18:41; edited 1 time in total
Back to top
View user's profile Send private message
Very Crankie Yankee
Amiral


Joined: 05 Aug 2008
Posts: 347
Location: http://freeworldyachtclub.net

PostPosted: 03 Nov 2009 18:33    Post subject: Reply with quote

''

Last edited by Very Crankie Yankee on 04 Jan 2010 19:41; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Very Crankie Yankee
Amiral


Joined: 05 Aug 2008
Posts: 347
Location: http://freeworldyachtclub.net

PostPosted: 03 Nov 2009 20:36    Post subject: Reply with quote

''

Last edited by Very Crankie Yankee on 04 Jan 2010 19:41; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
admiral
Amiral


Joined: 27 Oct 2003
Posts: 334
Location: Nederland

PostPosted: 03 Nov 2009 22:59    Post subject: Reply with quote

actually you could make a shell script or in windows terms a batch file 'something.bat' which would take some self made guest list with the empty player tags, strip those, replace the guestlist in your vsk directory do whatever you want and then launch vsk, and when when you close vsk run through your resultfiles and add those vsk-id's that you did not have in your guestlist yet then, and do what ever else you want....like producing a html file upload that to a webserver, send your grandmother a fax. that you be there for diner 30 minutes after the last race resultfile was saved etc. etc.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Virtual Skipper Forum Index -> Technical Issues All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Anti Bot Question MOD - phpBB MOD against Spam Bots
Blocked registrations / posts: 140776 / 0