in questa guida impareremo a creare un server per GTA IV MP (Multiplayer).
REQUISITI:
✓ Avere GTA IV Installato.
✓ Avere installato la patch 1.0.7.0 (non inferiore) - Download Link
✓ Avere una buon anima ed un po' di pazienza ^^
COME PROCEDERE:
Dopo aver verificato/installato i requisiti, scarichiamo il client, e file server (Della IV-Multiplayer).
Si installa il client, in modo tale da poter giocare online da GTA; dopodichè si scaricano i file server
e gli si mettono in una cartella a piacere sul desktop. Ora per giocare ci sono 2 strade da poter scegliere:
A) Giocare con gli amici in una rete locale (LAN) tramite un programma chiamato Hamachi (Download link);
B) Aprire 3 porte del router per giocare con gli amici senza programmi esterni;
Una volta scaricato il file server dal sito, avrete principalmente 3 file importanti.
*ivmp-svr.exe : Eseguibile da cui startare il server. ATTENZIONE: Il server sarà online quando esso è in esecuzione e basta!
*settings.xml : File di configurazione del server, dove verrà impostato il tutto.
*file vari : Gli altri file non serve una descrizione, non sono da eliminare ma non c'è da editarli.

PRIMA COSA DA FARE:
Aprire il file settings.xml e editare SOLO i valori scritti qua sotto in VERDE:
Quote
<!-- Port the server will listen on -->
<port>9999</port>
<!-- Port the webserver listens on -->
<httpport>9998</httpport>
<!-- An external webserver that you host your files on, can be either the server's name or IP -->
<!-- httpserver>example.com</httpserver -->
<!-- Maximum number of players the server will support (Max 32) -->
<maxplayers>METTI IL NUMERO DEI GIOCATORI MASSIMI (ES 30)</maxplayers>
<!-- Maximum number of vehicles the server will support (Max 65534) -->
<maxvehicles>METTI IL NUMERO DELLE AUTO CHE POSSONO ESSERE SPAWNATE (ES 200)</maxvehicles>
<!-- Password clients will have to enter to connect -->
<!-- password>SE DESIDERI METTERE UNA PASSWORD AL SERVER AL POSTO DI "None" METTI LA TUA (ES 1234)</password -->
<!-- Allow the server to be queried -->
<query>true</query>
<!-- Add the server to the master list -->
<listed>true</listed>
<!-- The hostname players will see -->
<hostname> NOME DEL SERVER </hostname>
<!-- The address the server will bind to -->
<!-- hostaddress>127.0.0.1</hostaddress -->
<!-- Toggles frequently called events which has impact on CPU usage -->
<frequentevents>false</frequentevents>
<!-- Toggles the network nametags from GTA IV to nametags from IV:MP(GUI) -->
<guinametags>false</guinametags>
<!-- Toggles the headmovement sync -->
<headmovement>true</headmovement>
<!-- The scripts the server will load and run -->
<script>cp.nut</script>
<script>whisper.nut</script>
<script>namecheck.nut</script>
<script>runcode.nut</script>
<script>indicators.nut</script>
<script>busdriver.nut</script>
<!-- The scripts the client will download and run -->
<clientscript>scoreboard.nut</clientscript>
<!-- clientscript>webbrowser.nut</clientscript -->
<!-- The resources the client will download and used by clientscripts -->
<!-- clientresource>ivmp.png</clientresource -->
<!-- The modules the server will load and run -->
<!-- For windows: -->
<!-- module>Sample.dll</module -->
<!-- For linux: -->
<!-- module>Sample.so</module -->
</settings>
ATTENZIONE: Cambia SOLO i valori detti, altre modifichie apportate potrebbero compromettere il funzionamento del server stesso. Per modificare la porta e/o il richiamo degli script chiedi qua sotto
Una volta modificati i parametri a piacere, si può salvare il file ed avviare il server tramite il file ivmp-svr.exe, dove vi apparirà una finestra DOS con delle scritte molto simili a queste:
Quote

[20:58:55]
[20:58:55] ====================================================================
[20:58:55] IV:MP 0.1 RC2 Windows Server
[20:58:55] Copyright © 2009-2012 IV:MP Team
[20:58:55] Port: 9999
[20:58:55] HTTP Port: 9998
[20:58:55] Query Port: 10136
[20:58:55] Max Players: 5
[20:58:55] ====================================================================
[20:58:56]
============ Loading Resources ===========
[20:58:56] Squirrel 3.0 stable
[20:58:56] Port = 9999
[20:58:56] cp.nut sucessfully loaded
[20:58:56] Successfully loaded 7 resources (0 failed).
[20:58:56]
====================================================================
[20:58:56] [Master List] Posting server to server list.
[20:58:56] [Master List] Server posted to server list successfully!
Ora il server è pronto! Per fare entrare i vostri amici dovete aver scelto una delle due strade sopra elencate ovvero A o B e continuare in questo modo:
A) Se hai scelto hamachi, crea una nuova rete dandoli un nome, e fai entrare i tuoi amici in essa. Quello che devono fare loro è andare sul tuo utente hamachi che si vede all'interno della rete e fare "Copia IPV4".
Una volta fatto c'ò basta avviare il client IV:MP e una volta nella schermata home andare in "Quick Connect" e mettere l'IP appena copiato + la porta.
Es. "111.111.111.111:9999" -> La porta è di standard 9999, si consiglia di non cambiarla. (I ":" Stanno come riferimento dopo l'IP di usare quella porta che segue)
B ) Se preferisci aprire le porte del router, devi andare nella pagina di gestione, in port mapping ed aprire le seguenti porte:
*9999
*9998
*10136
Una volta aperte, chi vuole connettersi basta che vada nella lista dei server (sempre dal client IV:MP) e si connetta al tuo server. in questo modo non serviranno programmi esterni.
(Può essere anche usato il "Quick Connect")
Spero che questa guida sia semplice, con pochi errori, e l'abbiate capito.
Se avete problemi chiedete pure, son qua per aiutarvi.
Chiedo di mettere la guida in risalto.
---------------------
Buon Game,
Fabio.
Messaggio modificato da owerpowa il 28 gennaio 2013 - 15:08