SA-MP Forums Archive
Play online using command line - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Play online using command line (/showthread.php?tid=98492)



Play online using command line - peterspliid - 21.09.2009

Hey, tbh I only think developers can answer this question. How do I join a server only by using gta_sa.exe? (without using samp client). I have it installed of course, but I want to go to a server directly from gta_sa.exe. I need the parameters.

For example:
Код:
"C:\Program Files\Rockstar Games\GTA San Andreas\gta_sa.exe" 'IP' 'Port' 'nickname'



Re: Play online using command line - shady91 - 21.09.2009

why not just use the client?


Re: Play online using command line - peterspliid - 21.09.2009

Quote:
Originally Posted by Shady91
why not just use the client?
Because I'm boarding student, and their internet have restrictions. The only way to bypass it is to use proxy which only works if I launch the .exe file through another program. Hard to explain, please just help


Re: Play online using command line - brett7 - 21.09.2009

if it block the process name change it


Re: Play online using command line - peterspliid - 21.09.2009

Quote:
Originally Posted by brett7
if it block the process name change it
Would you mind answering the questing in the first topic please? I know what I'm talking about


Re: Play online using command line - shady91 - 21.09.2009

Quote:
Originally Posted by peterspliid
Quote:
Originally Posted by brett7
if it block the process name change it
Would you mind answering the questing in the first topic please? I know what I'm talking about
sorry i dont no i never tried but maybe someone who noes this sort of thing may see this topic and answer you but i dont think may people enter sa mp like that


Re: Play online using command line - Klutty - 22.09.2009

The code that you try with will not work.

As you are starting the Singleplayer game, and try to connect to a server with that.


Re: Play online using command line - Ya8l04n1k - 22.09.2009

1. Download and install ASI Loader
2. Rename samp.dll to samp.asi
3. Launch gta_sa.exe with this parameters:

-d start debug mode (ignores other parameters)
-c start sa:mp in net mode
-h host ip address
-p host listen port
-z host password (if needed)
-n nickname


For example: gta_sa.exe -c -h 127.0.0.1 -p 7777 -n NoObie
4. ???????
5. PROFIT!


Re: Play online using command line - Pload - 23.09.2009

Quote:
Originally Posted by Ya8l04n1k
1. Download and install ASI Loader
2. Rename samp.dll to samp.asi
3. Launch gta_sa.exe with this parameters:

-d start debug mode (ignores other parameters)
-c start sa:mp in net mode
-h host ip address
-p host listen port
-z host password (if needed)
-n nickname


For example: gta_sa.exe -c -h 127.0.0.1 -p 7777 -n NoObie
4. ?
5. PROFIT!
I've tried this exact method setting up the parameters and using the ASI loader to inject samp instead of the browser. It gets up to the message showing "Connecting (MY SET IP:PORT)" and then sits there. Does anyone know if this works or I'm doing something wrong?