Newsgroup: it.comp.giochi.simulatori
Titolo: - VIPER SERVER -





...non ho ancora capito se a Giuly sia arrivato 
questo testo........, cmq spiega come settare un server per giocarci con Viper. 
Per me e' ostrogoto, ma per qualcuno magari e' cappuccino e 
brioche......


 


Viper 
Racing
                       
Dedicated TCP/IP Server


 


                                
HOW-TO


 


                           
12 October 
1998
                             
Dave 
Broske
                          

ro...@mgiracing.com
                                 
MGI


 


    Hey, thanks for buying Viper Racing.  


 


---------------------------------------------------------------
    
OVERVIEW


 


    This "document" describes the use of the dedicated 
server, which
you can use to host multiplayer games over the internet.


 


    Disclaimer


 


    Of course, you'll probably want to have a FAT 
connection, because
each player/AI will use about 650 bytes/sec (including 
headers).  Per
client.  So, if you've got 8-players, let's see, 
that's 


 


    (8 clients) * (7 cars) * 650 bytes/sec == 36,400 
bytes/sec


 


    [7 cars, because you don't need to tell yourself where 
you are]


 


    So, just in case you wanted to know, you can't host a 
very large
game over a garden-variety internet account (2,880 
bytes/sec).
Two-player is about it.


 


    Caveat


 


    The Viper Racing dedicated server is a one-day hack, and 
this
will be obvious to you when you use it.  It's not even close to 
as
usable as the Quake servers.  Send feature requests and feedback 
to
feed...@mgiracing.com
.


 


---------------------------------------------------------------
    
RUNNING THE SERVER: the -dedicated flag


 


    Yep, just run -dedicated, and presto, you'll have a 
dedicated
server.  You can run this on any machine, even an NT 
box.  If you
have trouble with this, drop me a line at 
ro...@mgiracing.com
.  


 


---------------------------------------------------------------
    
SERVER CONSOLE: the commands


 


    end race
        
Ends the current race.  Is an unrecognized command otherwise.


 


    restart  

        Restarts the current race.  
Is an unrecognized command
        
otherwise. 
    
    [server configuration 
directives]
        You can also configure 
the server from the command line,
    using the same cheesy 
technique described below.


 


---------------------------------------------------------------
    
USING THE SERVER: chat-based configuration


 


    So, you've fired up the dedicated server, and everyone 
can
connect to it, because everything is working perfectly.  The 
clients
can choose the race options remotely.  The dedicated server 
scans the
chat messages and looks for anything it might be interested 
in.  Let
me repeat that; the server is remotely configured based on what 
the
chat messages contain.  This is how clients configure the server, 
by
chatting.  It's very weird and not necessarily very useful, but 
it
happened to be the easiest thing to implement. 


 


    Originally, the messages were scanned for phrases like 
"I prefer"
and "I like", so that if you typed


 


    "I prefer damage on reversed long track 3"


 


    this would change the appropriate options, and set the 
current
track to 3.  Although this was briefly amusing, it seemed a 
little
opaque, so we switched to


 


    server: <configuration directive>


 


---------------------------------------------------------------
    
CONFIGURATION DIRECTIVES


 


    Realism
        
"arcade", "intermediate realism", "simulation",


 


    Race 
Length
        "sprint", "short", "long", 
"insane",


 


    AI 
Strength
        "easy ai", "intermediate 
ai", "hard ai",


 


    Damage
        
"damage off", "damage on",


 


    Reversed
        
"forward", "reversed",


 


    Track
        
"track N" where N: {1..8}


 


    AI Car 
Count
        "aicars N" where N: 
{1..6}


 


---------------------------------------------------------------
    
TRACK NUMBERS


 


    1: Dundas
    2: Rock 
Island
    3: Silverdale
    4: Sunset 
Mesa
    5: Ridge Valley
    6: Castle 
Green
    7: Dayton
    8: Bemidji


 


---------------------------------------------------------------
    
AN EXAMPLE


 


    server: aicars 4 track 2 forward damage on hard ai


 


    A maximum of four AI cars 
    Rock 
Island
    Forward
    Damage 
On
    Hard AI
    Race Length is unchanged 
by this statement


 


---------------------------------------------------------------


 


    Good luck!


 


 



...SCUSATE...........







-- 
Posted from 
IDENT:pos...@mail.ctonet.it
 [212.110.160.100] 
via Mailgate.ORG Server - 
http://www.Mailgate.ORG