Posts: 14
Threads: 3
Joined: Sep 2005
Reputation:
0
As the title says I am looking for a way to run console commands from the internet. If that is not possible, is there a was i could do it with putty or something like that?
my srever:
windows XP pro
apache
php
is there a way to do this? for example, be able to change gravity from a page. A user can put a number in a feild then it submits it.
Posts: 14
Threads: 3
Joined: Sep 2005
Reputation:
0
the solution the owner of my clan came up with was to have bash files for it. but im not on linux, so does anyone know how to execute commands from a batch file? I could have a different file for each command and then execute them with php. Also I am not really interested in using someone else's script to do it. I am looking to write my own, but have no clue how to access the commands. So if there is a list of commands or a way to do them with a batch file let me know.
Posts: 14
Threads: 3
Joined: Sep 2005
Reputation:
0
*bump* comon guys someone has to have seen/ knows of a list of commands or figured out a way to run them with a batch file.
Posts: 367
Threads: 14
Joined: Dec 2004
Reputation:
0
Learn a programming language. There is no easy way to do it.
Posts: 14
Threads: 3
Joined: Sep 2005
Reputation:
0
wht would u recomend me learning then?
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
lol. i think this is something your going to have to research and learn on your own. you will have to learn about bat files, cmd prompt commands, if you have never even used dos, ms dos, cmd prompt whatever, then this probly isn't something you want to do.
and really. no where will you find a "list" of commands for a batch file, there the same as cmds for a cmd prompt, cuz batch files basically use the cmd prompt. and that list of cmds is virtually infinate.
Posts: 14
Threads: 3
Joined: Sep 2005
Reputation:
0
11-15-2005, 11:05 PM
(This post was last modified: 11-16-2005, 01:22 PM by blahblahblah.)
I am actually pretty experienced with windows dos/batch. I have a number of different things i use that i made. Also i figured something out. You can run commands fom this:
CALL path to srcds -sv_gravity 99999
But it opens up a new srcds every time. That is almost what i want. I will be able to exec each file with a different command in each with php.
EDIT: haha actually i just figured out that doesnt do anything just opens the cmd flashes the output then closes.
Posts: 14
Threads: 3
Joined: Sep 2005
Reputation:
0
i dont really know german... and the language flages at thetop dont work.
Also I was more looking for(the hlsw might do this but i couldnt read it) gravity. My origional plan was to make 1 batch file for grav 800 and 1 for 150
800:
CALL path to srcds -sv_gravity 800
150:
CALL path to srcds -sv_gravity 150
but that doesnt work. I wanted to try to make my own. So any help with thaT?
Posts: 4
Threads: 0
Joined: Nov 2005
Reputation:
0
The site comes up in english for me, and I dl the english version (from the german site)
Once installed you can issue any command.
Simply type sv_gravity 100 or whatever in the rcon section...