Log in

View Full Version : send a command to game over external programm.


HH_schwarze_8
10-14-2010, 07:05 AM
Hello,
I made a small programm in VB.net for our admins to generate server commands.
For now the input in 1946 is realized over copy&paste.
I would like to send those commands directly to the chat line.
I tried to use sendkeys command in VB.net to send the commands but it fails to open the console over shift+TAB.
If I leave the console in the game open (manually pressing shift+TAB) the input works.
I also tried to send over the console.cmd a chat line but it fails too...

Could someone please tell me the right way to solve this problem? It would help us a lot..

markjeggar
10-04-2012, 06:43 PM
Hello,
I made a small programm in VB.net for our admins to generate server commands.
For now the input in 1946 is realized over copy&paste.
I would like to send those commands directly to the chat line.
I tried to use sendkeys command in VB.net to send the commands but it fails to open the console over shift+TAB.
If I leave the console in the game open (manually pressing shift+TAB) the input works.
I also tried to send over the console.cmd a chat line but it fails too...

Could someone please tell me the right way to solve this problem? It would help us a lot..

Try to send to through sockets. try the following website http://csharp.net-informations.com/communications/csharp-socket-programming.htm its the basics of socket programming.

jeggar.