• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] server launcher help
#1
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]
  Reply
#2
You'll likely need a memory hook to detect and fill the password dialogue. I doubt there is a safe way to do this.
  Reply
#3
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)
  Reply
#4
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.
[Image: github-samp-icon.png]
  Reply


Forum Jump: