[GUIDA] Creare un proprio "server" (griglia) con OpenSimulator

Stato
Discussione chiusa ad ulteriori risposte.

silver96

Utente Silver
11 Gennaio 2009
14
2
0
60
Ultima modifica:

--------------------------------------------INTRO--------------------------------------------


Salve a tutti, e benvenuti alla guida da me creata per creare (stupido gioco di parole :asd:) un proprio "server" di second life, ovvero una griglia, tramite OpenSimulator, il simulatore grafico OpenSource utilizzato anche da SL. Premetto che questa guida verrà tenuta in aggiornamento, dato che anch'io sono tutt'ora nuovo in questo settore. Premetto inoltre che le parti di questa guida scritte in Blu saranno probabilmente sistemate e aggiornate quanto prima possibile. Pronti? Cominciamo!



--------------------------------------------AGGIORNAMENTO 1--------------------------------------------

  • Aggiornate versioni di OpenSim da 0.7.0.1 a 0.7.1.1
  • Tradotti ulteriori comandi console
  • Sono riuscito a far funzionare la griglia multiplayer. Necessito di alcuni tester per collaudarla, poi passerò alla distribuzione della relativa guida.


--------------------------------------------REQUISITI--------------------------------------------


  • File di OpenSim
  • Un po' di Pazienza

    /!\IMPORTANTE/!\: Per il momento la guida è scritta per aprire una griglia SOLAMENTE in locale (standalone), successivamente, appena avrò sperimentato personalmente, scriverò come aprire una griglia pubblica; pertanto, questi requisiti sono temporanei, dato che una griglia pubblica necessiterebbe di un sistema per connettersi da Pc a Pc, cosa che sto tutt'ora sperimentando.



--------------------------------------------PROCEDIMENTO--------------------------------------------
(WINDOWS)

  1. [*]Estrarre il contenuto dell'archivio in una cartella
    [*]Entrare nella cartella bin e rinominare il file Opensim.ini.example in Opensim.ini
    [*]Aprite il file Opensim.exe; nel caso vi si chiudesse immediatamente, anziche Opensim.exe, aprire il file Opensim.32BitLaunch.exe
    [*]Dopo essere apparse alcune scritte, vi chiederà alcune cose:
    ~ New region name - Il nome del primo terreno (regione) del server
    ~ Region UUID - L'UUID (ID Unico - Unique ID, ID che differisce di regione in regione e di oggetto in oggetto; in OpenSim ogni cosa ha un UUID); vi conviene prendere quello già creato automaticamente, premendo invio
    ~ Region Location - Le coordinate del terreno sulla griglia (Indicare COORD_X,COORD_Y). Di base, conviene lasciare 1000,1000 , ma se volete, potete settare numeri a piacere; tenete conto, però, del fatto che questi valori non sono indicati in metri o km, bensì in Posizioni sulla Griglia: se si vuole che due terreni siano adiacenti, bisogna settarli su 1000,1000 e l'altro su 1000,1001 o 1001,1000 o qualunque altra combinazione possibile cambiando solo di 1 la coordinata; pertanto, due terreni settati come 1000,1000 e 2000,1000 non saranno vicini, ma al contrario lontanissimi
    ~ Internal IP address - Sto ancora cercando di capire esattamente a che serva, comunque premete invio per lasciare quello di base
    ~ Internal port - Porta per connettersi al server. Probabilmente dovrete sbloccarla dal Firewall e eventualmente anche dal Router. Di solito si lascia la 9000 come da Default
    ~Allow alternate ports - /!\ATTENZIONE!/!\ Quest'opzione è buggata, non attivatela o rischiate di buggare il server
    ~ External host name - Lasciate l'opzione di Default. Devo ancora capire esattamente a cosa serva anche quest'opzione
    ~ Master Avatar UUID - Premte invio, per lasciare l'UUID del vostro avatar come da Default
    ~ Master Avatar first name - Nome del vostro Avatar
    ~ Master Avatar last name - Cognome del vostro Avatar
    ~ Master Avatar sandbox password - Password del vostro Avatar

    [*]Perfetto, ora abbiamo configurato la "base" del server. Ora per loggare, basta creare un collegamento all'.exe del client di SL, e modificarne le proprietà adeguatamente. Create un collegamento a SecondLife.exe
    [*]Ora click destro->Proprietà e modificate il campo Destinazione, aggiungendo, a fine riga, il seguente codice:
    Codice:
    -multiple -loginuri http://127.0.0.1:VOSTRA_PORTA
    (Ovviamente al posto di VOSTRA_PORTA dovrete mettere la porta settata prima, che di Default è 9000)
    [*]Ora potete loggare al vostro Server con Nome e Cognome dell'Avatar settato precedentemente, e con la relativa Password. Il gioco, internamente, è identico a Second Life, solo che per il momento avrete solo una piccola isola, e in più la valuta sarà disattivata, percui potrete caricare file e immagini sul server senza spendere niente.




--------------------------------------------PROCEDIMENTO--------------------------------------------
(Linux)


WORK IN PROGRESS



--------------------------------------------MODIFICHE--------------------------------------------
VIA CONSOLE

Quando lanciate il file Opensim.exe/Opensim.32BitLaunch.exe aprite la cosiddetta console, che possiede dei comandi propri. Questi comandi hano determinati effetti, che tradurrò un po' per volta:
Codice:
 ======= General Help Commands =======

alert <first> <last> <message> - Manda un messaggio al giocatore Fisrt Last
alert general <message> - Manda un messaggio a tutti
backup - Persist objects to the database now
bypass permissions <true / false> - Bypass permission checks
change region <region name> - Cambia la regione selezionata dalla console
clear assets - Pulisce la cache degli assetti
command-script <script> - Esegue uno script di comandi
config get <section> <field> - Mostra l'opzione "section" del campo "field"
config save - Salva la configurazione attuale
config set <section> <field> <value> - Imposta un'opzione di configurazione
create region - Crea una nuova regione

create user [<first> [<last> [<pass> [<x> <y> [<email>]:]]]] - Crea un nuovo utente (solo in modalità standalone)

debug packet <level> - Abilita il debugging dei pacchetti (non testata)
debug permissions <true / false> - Abilita il debugging dei permessi (non testata)
debug scene <cripting> <collisions> <physics> - Abilita il debugging delle scene (non testata)
delete-region <name> - Elimina una regione
dump asset <id> <file> - dump one cached asset
edit scale <name> <x> <y> <z> - Change the scale of a named prim
export - Execute subcommand for plugin 'export'
export-map [<path>]: - Save an image of the world map
fcache assets - Attempt a deep scan and cache of all assets in all scenes
fcache clear [file]: [memory] - Remove all assets in the file and/or memory cache
fcache expire <datetime> - Purge cached assets older then the specified date/time
fcache status - Display cache status
force permissions <true / false> - Force permissions on or off
force update - Force the update of all objects on clients
help [<command>]: - Get general command list or more detailed help on a specific command
help export - Get help on plugin command 'export'
help terrain - Get help on plugin command 'terrain'
help tree - Get help on plugin command 'tree'
kick user <first> <last> [message]: - Kick a user off the simulator
kill uuid <UUID> - Kill an object by UUID
link-mapping [<x> <y>]: <cr> - Set local coordinate to map HG regions to
link-region <Xloc> <Yloc> <HostName>:<HttpPort>[:<RemoteRegionName>]: <cr> - Link a hypergrid region
load iar <first> <last> <inventory path> <password> [<archive path>]: - Load user inventory archive. EXPERIMENTAL
load oar <oar name> - Load a region's data from OAR archive
load xml [-newIDs [<x> <y> <z>]:] - Load a region's data from XML format
load xml2 - Load a region's data from XML2 format
login disable - Disable logins to the simulator
login enable - Enable logins to the simulator
login status - Display status of logins
modules list - List modules
modules load <name> - Load a module
modules unload <name> - Unload a module
monitor report - Returns a variety of statistics about the current region and/or simulator
quit - Quit the application
remove-region <name> - Remove a region from this simulator
restart - Restart all sims in this instance
save iar <first> <last> <inventory path> <password> [<archive path>]: - Save user inventory archive. EXPERIMENTAL
save oar <oar name> - Save a region's data to an OAR archive
save prims xml2 [<prim name> <file name>]: - Save named prim to XML2
save xml - Save a region's data in XML format
save xml2 - Save a region's data in XML2 format
set log level <level> - Set the console logging level
set terrain heights <corner> <min> <max> [<x>]: [<y>] 
    Sets the terrain texture heights on corner #<corner> to <min>/<max>,
    if <x> or <y> are specified, it will only set it on regions with a matching coordinate.
    Specify -1 in <x> or <y> to wildcard that coordinate. Corner # SW = 0, NW = 1, SE = 2, NE = 3.
set terrain texture <number> <uuid> [<x>]: [<y>] - Sets the terrain <number> to<uuid>,
    if <x> or <y> are specified, it will only set it on regions with a matching coordinate.
    Specify -1 in <x> or <y> to wildcard that coordinate.
   Terrain texture 0 is beach/underwater and the number increases with elevation.
   A typical arrangement might be sand for 0, grass for 1 and 2, and stone for 3.
show assets - Show asset data
show connections - Show connection data
show info - Show general information
show modules - Show module data
show neighbours - Shows the local regions' neighbours
show queues - Show queue data
show ratings - Show rating data
show regions - Show region data
show stats - Show statistics
show threads - Show thread status
show uptime - Show server uptime
show users [full]: - Show user data
show version - Show server version
shutdown - Quit the application
sun - Usage: sun [param]: [value] - Get or Update Sun module paramater
terrain - Execute subcommand for plugin 'terrain'
tree - Execute subcommand for plugin 'tree'
unlink-region <local name> or <HostName>:<HttpPort> <cr> - Unlink a hypergrid region

======= export commands =======
export save - Saves the named region into the exports directory.
export save-all - Saves all regions into the exports directory.

======= terrain commands =======
terrain load - Loads a terrain from a specified file.
terrain load-tile - Loads a terrain from a section of a larger file.
terrain save - Saves the current heightmap to a specified file.
terrain fill - Fills the current heightmap with a specified value.
terrain elevate - Raises the current heightmap by the specified amount.
terrain lower - Lowers the current heightmap by the specified amount.
terrain multiply - Multiplies the heightmap by the value specified.
terrain bake - Saves the current terrain into the regions revert map.
terrain revert - Loads the revert map terrain into the regions heightmap.
terrain newbrushes - Enables experimental brushes which replace the standard terrain brushes.
    WARNING: This is a debug setting and may be removed at any time.
terrain stats - Shows some information about the regions heightmap for debugging purposes.
terrain effect - Runs a specified plugin effect
terrain flip - Flips the current terrain about the X or Y axis
terrain rescale - Rescales the current terrain to fit between the given min and max heights

===== tree sub-commands =====
tree active - Change activity state for the trees module
tree freeze - Freeze/Unfreeze activity for a defined copse
tree load - Load a copse definition from an xml file
tree plant - Start the planting on a copse
tree rate - Reset the tree update rate (mSec)
tree reload - Reload copse definitions from the in-scene trees
tree remove - Remove a copse definition and all its in-scene trees
tree statistics - Log statistics about the trees


An AID for finding Troublespots in your OpenSim instance is to set logging levels. This method will only give you a log level ON SCREEN and NOT in the bin\OpenSim.log File.

set log level [<level>]
Example: set log level ERROR
Valid Values = ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF
Default Value = INFO

E questo per il momento è tutto, cari utenti di Cheatforge.net .
Saluti, Silver96~
/!\ NOTA/!\ - Questa è solo una guida di base, su come aprire una griglia in modalità "Standalone", presto posterò, editando questa guida, metodi, trucchi e consigli su come modificare la nostra griglia ^^

P.S. = Spero di non aver violato alcuna regola, legge o Copyright: OpenSim è OpenSource, percui non credo di essere nel torto. In caso contrario, siete pregati di farmelo sapere, in modo che elimini il tutto il più presto possibile, in modo da non arrecare danni alla Community.
 
Grazie.. Se ho capito bene è un retrosever di SL?
A me non funge.. Per OpenSim.exe li chiude tutti.. Anche quello a 32bit..
Forse perchè ho Win7 :(
 
Finalmente qualcuno che ha provato xD
Sì, in pratica è per fare un tuo "Retro-Server" di SL.
Ohi, per la cosa dell'Opensim.exe, ti dico che anche io ho Win 7 (64 bit) ma usando il 32 mi funge...
Può darsi che abbia sbagliato io qualcosa nella guida... Aspetta che controllo xD
Edit: Mi sembra di avere messo il procedimento corretto... Che versione di Win7 hai? (32 o 64 bit?)
 
emh xD ma quando loggo dice "you need to enter both the first name and last name,ecc!"

--- Aggiornamento Post ---

ah no adesso dice un'altra cosa
login failed
Sorry! we couldn't log you in.
please check to male sure you entered the right
*Account name
*Password
...

--- Aggiornamento Post ---

risolto funza :rulzz:
 
Rieccomi qui, a distanza di circa un anno dalla prima stesura della guida. Scusate per questo periodo di inattività, ma avevo praticamente abbandonato il forum. Sto riscaricando or ora OpenSimulator, in modo da riprendere i miei test. Mi scuso inoltre per i vari problemi nella creazione della propria griglia che avete riscontrato e che non ho potuto risolvere. Nel caso ci siano alcuni volenterosi volontari, disposti ad aiutarmi nella sperimentazione, sarei più che contento di ricominciare a lavorare su OpenSim.

P.S.: dato che ricomincerò a tenere d'occhio la guida, potrò fornire i famosi aggiornamenti relativi alle funzioni e alla griglia multiplayer.

Silver96~
 
Ho un Paio di Domande, 1° Quando rinomino il File "OpenSim.ini.example" devo sostituirlo con quello già esistente? Se si mi si chiude il Launcher di OpenSim... 2° Mi daresti il link del download di SecondLife.exe? 3° Quando cambio la destinazione mi dice che non ha trovato il percorso che ho inserito.
 
ciao, purtroppo esistono milioni di guide su internet , ma ognuna è diversa, e ognuna non va bene per un altro.
Non si capisce niente, chi fa partire opensim32lunch e chi opensim.exe , chi modifica all'interno delle cartelle e chi no , chi modifica ip e chi lo lascia cosi, chi modifica le coordinate perchè pare che sotto a 8000 ci sono problemi di teletrasporto e chi lascia settato a 1000, ma possibile che le guide non funzionano per un altro ? le ho provate tutte arrivo ad un punto che mi dice ip does not match ip for registerd region, assurdo, è 1 settimana che sto sopra.
 
Stato
Discussione chiusa ad ulteriori risposte.