Ashus.ashus.net

Full Version: Call Of Duty: PHP RCon 2.40 EN++
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Are you going to be adding any more features to this for Black Ops?
no.
I have the new version for some time now, I use it (with around 30 other people) for CoD 4.
It works great, the only downside is that it is a bit slower. But that isn't really a major issue.
Is there a way to take out certain commands from the rcon drop down?
For example the SAY command? Can it be commented out on some line on some file?
Go to the map: PHP_Rcon\commands
And open the .txt file of the game you are using. Remove what you want Smile

Or don't you mean that?
Moustache Wrote:Go to the map: PHP_Rcon\commands
And open the .txt file of the game you are using. Remove what you want Smile

Or don't you mean that?
Thanks!

d3sync

xD hello

I really like and enjoy your tool although i have some issues that i m trying to sort out.
I can't seem to figure out how to enable the map change ability on the limited users (0 group) it only shows the player list.
Also i would like to make a suggestion to add MySQL support on one of the future releases it will make things much easier and with more customazation options.
For now i have found a way around and use MySQL only for the users using a while loop and grabing the data inside the "list_of_users[]" array xD which sometimes bugs out.

Keep up the good work!
d3sync:
No, that would produce a bunch of problems for existing users. You can implement PHP Rcon into your existing web system. Modify init.inc.php, include your required login validatiion script and modify $admin_name or these:
Code:
$_SESSION['sess_rcon_appdir'] = getcwd(); // static to the instance, has to be the system working dir of php rcon root
$_SESSION['sess_rcon_lang'] = 'en';
$_SESSION['sess_rcon_rights'] = 1; //2=limited
 
You may need to disable $_SESSION['sess_rcon_appdir'] checking in validate.inc.php as well.
I have a small suggestion, if you think it is useful enough you can add it of course Smile

If you have a command with %m in it. That there won't be a pop up box, but a drop down menu (like the punkbuster screenshots part) right above (or under) the players list. And that we can fill in the message there. So there won't be any problems with pop up blockers. Or in my case: xfire ingame web browser does not support those pop up boxes but it does support a drop down menu like the punkbuster screenshots.

d3sync

Well i used another way to do it by importing the list of the users through users.inc.php
Code:
$dbname = "dbname_e1071";
$con = mysql_connect("localhost","dbuser_e1071","dbpass");
if (!$con) { die('Could not connect: ' . mysql_error()); }
mysql_select_db("dbname_e1071", $con);
$result = mysql_query("SELECT user_name, user_rconpass, user_rconsuspend FROM e107__user FULL JOIN e107__user_extended ON user_id = user_extended_id WHERE user_class LIKE '%7%'");
while($row = mysql_fetch_array($result)) { if($row['user_rconsuspend'] == 0) {  $list_of_users[] = $row['user_name'] ." ". $row['user_rconpass'] ." 1 en"; } }
mysql_close($con);
The above code can work on e107 CMS by adding 2 user extended fields the 'user_rconpass'(default: NULL) and the 'user_rconsuspend'(default: 0)
It will check the e107__user table and FULL JOIN it with the e107__user_extended to create a list of the usernames that are members of user_class "7"
Unfortunately i couldn't figure out a way to do the same to limit the access to the server for each user_class i tried to do smth similar to the servers.inc.php but didn't work xD The only way i could think will take me a lot of modifications >
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39