Jump to content

[0.3a-c] - External RCON.


Guest PlayON

Recommended Posts

External RCON

Informatii

Dupa cum stiti, din versiunea 0.3a sau 0.3b, nu mai stiu sigur, functia RCON a fost scoasa din client.

Am sa va arat cum sa faceti un RCON simplu pentru un anumit sever. Foarte simplu!

Pasul 1: Cautati unde v-ati instalat San Andreas.

Pasul 2: In folderul cu San Andreas creati un fisier prin notepad

Pasul 3: In fisier scrieti urmatoarele:

[x]rcon.exe [iP] [PORT] [RCON]

Exemplu

[x]rcon.exe 192.168.1.0 7777 Inna

Pasul 4 Apasati pe File > Save As

Pasul 5 La nume salvati asa RCON.bat <-Neaparat sa fie .bat!

Pasul 6 La Save as type: selectati All Files

Pasul 7 Asigurati-va ca s'a creat un fisier RCON.bat in folderul vostru cu San Andreas

Pasul 8 Deschideti RCON.bat si v-at conectat ca RCON la serverul cu IP si PORT respectiv!

Puteti face un shortcut pe desktop pentru a usura conectarea.

Pentru nelamuriri va rog sa postati aici.

Link to comment
Share on other sites

Nu poti, doar cel care tine serverul poate vedea.

Daca stii php poti sa faci sa vezi ca o pagina web care sa afiseze continutul din server_log.

<?php
	$ftp_host = " "; //put the ip / hostname to your ftp here
	$ftp_user = " "; //put your login here
	$ftp_pass = " "; //put your password here
	$serverlog = "IP-ul Serverului-Port/samp03/server_log.txt";

	$con = ftp_connect($ftp_host) or die("Couldnt connect to your ftp (check your settings!");
	ftp_login($con, $ftp_user, $ftp_pass);
	ftp_get($con, "slog.txt", $serverlog, FTP_ASCII);
	ftp_close($con);

	$file = fopen("slog.txt", "r");
	$bans = fread($file, filesize("slog.txt"));
	echo nl2br($bans);
	fclose($file);
	unlink("slog.txt");

?>

E codul de la  Ban List de pe sa-mp.com ...

http://www.freegamemods.com - Cea mai buna arhiva cu moduri pentru simulator games.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.