SAMP.exe - Parameters -
Dfoglalo - 22.05.2014
Hi,
Fisrt: sorry for my bad English.
So, I saw a topic about the SAMP.exe's paramteres, but it isn't help for me. I'd like connect to server without open samp.exe's interface. Formery I've got paramters, that work. But nowdays doesn't work, with SAMP 0.3z.
The best option is: with paramters I can give the server IP, PORT, and the player's name, but is it enough, if I can give the server's IP and it's PORt, because I edit the name in registry.
So, if anyone knows these parameters, please describe in a comment.
Thanks in advance for any help,
Dfoglalo
Re: SAMP.exe - Parameters -
Alex Magaсa - 22.05.2014
use this on web-browser:
samp://yourip
ort. - If you mean this.
Re: SAMP.exe - Parameters -
Dfoglalo - 22.05.2014
Formery I use this, but I hate it, because if I use this, the SAMP.exe opens a windows, and offer three options:
- Add server to favourites
- Connect to server
- Cancel
And I now looking for paramters, which are connect to server without open any windows. So I'd like the client starts immediately with the given IP address.
Re: SAMP.exe - Parameters -
Alex Magaсa - 22.05.2014
Quote:
Originally Posted by Dfoglalo
Formery I use this, but I hate it, because if I use this, the SAMP.exe opens a windows, and offer three options:
- Add server to favourites
- Connect to server
- Cancel
And I now looking for paramters, which are connect to server without open any windows. So I'd like the client starts immediately with the given IP address.
|
Hmm, i think that's not possible ! :/
Re: SAMP.exe - Parameters -
Dfoglalo - 22.05.2014
I think it, too. :/
Plus information: if I remember correctly, these old parameters are work long ago:
Code:
-c -h 11.22.33.44 -p 1234 -n "Name"
But nowdays if I use this, the name doesn't work, and I connect to localhost (127.0.0.1) instead of to given IP address (11.22.33.44).
Re: SAMP.exe - Parameters -
Kirollos - 22.05.2014
AFAIK the parameters are:
Code:
samp.exe [host]:[port] [password]
but i am unsure about player name.
Re: SAMP.exe - Parameters -
Dfoglalo - 22.05.2014
Kirollos,
Really that simple?
Really that simple!
Thank you very much.
Oh, and the player's name isn't problem, because:
Quote:
Originally Posted by Dfoglalo
I edit the name in registry.
|
http://en.wikipedia.org/wiki/Windows_Registry
...and my English is not so bad according to these.
Re: SAMP.exe - Parameters -
Whitetiger - 22.05.2014
don't put " around nick name, or it won't work, don't know why ur connecting to localhost though
Code:
-c -n nick -h host -p port -w password
I know that it works for sure, and tested it, if you do the parameters in that order.
Re: SAMP.exe - Parameters -
Dfoglalo - 23.05.2014
I tested with " and without ", too. But none of them worked. And now tested your code in my server, but it doesn't work, too. With your code the player's name change to "(0)" with " and without ", too. But it also ture that the server doesn't got password.