Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 68 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : MODSonline
Category: General
General chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: [C++] Simple Rcon Tool
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: General
Posted: Tuesday, Nov. 29, 2011 11:37 am



Made this little program when i was bored...
It's all written in C++ using Visual ++ 2005 Express.

You can send two types of commands.
a) RCON - Rcon commands and dvars. (xff\xff\xff\xff rcon password command)
Code:
Host.SendCommand( RCON, "say ^2This message was sent to the server via ^3simple rcon tool ^7:)" );


b) OTHER - Get info commands. (xff\xff\xff\xff command )
Code:
Host.SendCommand( OTHER, "getinfo BXi" );

Additionaly you can grab message from server using
ReceiveMessage() function.
Code:
// option 1:
char *msgBuff = Host.ReceiveMessage( false );
// option 2:
Host.ReceiveMessage( true );



Files in RAR:
Quote:
main.cpp
host.cpp
host.h
shared.h
SimpleRcon.exe
readme.txt

EXE is virus-free but i suggest you scanning it again :P

DOWNLOAD SOURCE CODE

I have uploaded it for everybody to learn some cool stuff and you can do whatever you want with this but you cannot forget to credit me.

@off:
Someone please stick this thread so it won't be lost.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : MODSonline : General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»