open.mp forum
[Server] server launcher help - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] server launcher help (/showthread.php?tid=704)



server launcher help - unbelievable_10 - 2019-07-09

i want to put in this code server password so when player connects through button that launcher (.exe) writes password for him

Code:
[color=#000000][size=small] ? ? ? ?private void button1_Click(object sender, EventArgs e)

? ? ? ?{

? ? ? ? ? ?System.Diagnostics.Process.Start("samp://75.127.13.245:7780");

? ? ? ?}
[/size][/color]


RE: server launcher help - Markski - 2019-07-10

You'll likely need a memory hook to detect and fill the password dialogue. I doubt there is a safe way to do this.


RE: server launcher help - Toretto - 2019-07-11

Been able to make a custom server launcher by installing sampcmd by BigETI to the client, then sending the command with the needed arguments. (Won't work in other systems except Windows)


RE: server launcher help - BigETI - 2019-07-11

There is a solution written in C# that launches GTA San Andreas and injects samp.dll to the newly created process. It can be found inside the SAMPLauncherNET aka. CSL source. sampcmd in the other hand is just a CLI tool that launches San Andreas Multiplayer without samp.exe.