Results 1 to 4 of 4

Thread: Rcon

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2009
    Posts
    121

    Rcon

    Hello!

    I have project to do it.

    Project name RCON.

    I created form, where is showing RCON of status (offline/online logged), log, etc.

    How do i make it RCON work with that program?

    I have rcon.exe and with that running must be:

    notepad.exe > saving as startrcon.bat
    Code:
    @echo off
    color 3f
    cls
    CD "C:\Program Files\Rockstar Games\GTA San Andreas\"
    cls
    set /p A="Server IP: "
    cls
    set /p B="Server port: "
    cls
    set /p C="Server RCON password: "
    cls
    start rcon.exe %A% %B% %C%
    But how do put that into VB? Thanks!

    This works:
    Code:
    Process.Start("C:\Program Files\Rockstar Games\GTA San Andreas\rcon.exe", TextBox1.Text + " " + TextBox2.Text + " " + TextBox3.Text)
    Last edited by Matuu; Oct 3rd, 2010 at 12:00 PM.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    May 2009
    Posts
    121

    Re: Rcon

    Help????? :S

  3. #3
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Rcon

    Are you saying you want to create a .bat file like the one you showed us at runtime?
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 2009
    Posts
    121

    Re: Rcon

    I want it create:

    If i press Button1, then RCON.exe shows up, but i dont want it show.

    And i want it program prints from rcon.exe and getting text to program.

    Like:

    Code:
    Process.Start("C:\Program Files\Rockstar Games\GTA San Andreas\rcon.exe", TextBox1.Text + " " + TextBox2.Text + " " + TextBox3.Text)
    RCON.exe

    RCON connected to the (ip) : (port)...

    then checks it Label2.Text = "CONNECTED"

    How do it? :S

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width