Sql and web
This is more like question.
Is it possible to do a sql plugin what is connected to a web and say there is a litle insert box. If i enter in the box like mp_freezetime 0 then server changes the cvar throu this plugin instantly the cvar what i have selected. If it is possible somehow can someone to it ? Sorry for my bad englis :mrgreen: +karma for any helper :) |
Re: Sql and web
Google.com - WebMod
|
Re: Sql and web
Webmod sucks and as i have read it is a security risk.
But thantks anyway :) |
Re: Sql and web
This actually was a plugin I'm looking at creating, keep an eye out for it. Funny that you asked for it, because the reason I'm on right now is that I'm doing research for it. :P
|
Re: Sql and web
Oh nice to hear :)
|
Re: Sql and web
You can connect using PHP to the server via RCON ... and you can send whatever commands you like to the server directly without any plugins...
|
Re: Sql and web
like i know any php?
|
Re: Sql and web
Then learn something... either php or amxx, they have *relatively* the same scripting style, you can find scripts in php to send commands to a hlds server...
in amxx with sql it's more complicated... you need to reload the tables each X seconds... and also you need php knowledge (unless you manage your db another way...) it's easy to say, you just add cvars in a two colum table (variable and value as colum names for example), the server gets the cvars added and then deletes them (because it loaded them and you need them there no more...) but this method only gives you commands executed every X seconds (depending on plugin configuration, the task you set on what delay) rather than just sending a RCON command via php :) Like I said, just search on google for some scripts, you might find one already made by someone, strip some useless code out and you got yourself a command line web page :) so... bottom line... you must learn :) there aren't any "simple to use" things in scripting or programing :) |
Re: Sql and web
Quote:
|
Re: Sql and web
no, I don't... that's why I said:
Quote:
|
| All times are GMT -4. The time now is 02:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.