Jump to content
Sign in to follow this  
ronmage

Read from a dedicated game server

Recommended Posts

ronmage

So what I am trying to do it read from the command console of a dedicated server. I have tried a handful of ways but I show the last attempt I made. I get blank or ill read "0", even with text on the window.

 

#include <FileConstants.au3>
#include <MsgBoxConstants.au3>
#include <Constants.au3>

Global $pid, $Message

$pid = Run("C:\isr\Build\IR.exe -server", "", @SW_MINIMIZE , $STDERR_CHILD + $STDOUT_CHILD)

While 1
    $Message = StdoutRead($pid,True)
    if @error then exitloop
    ConsoleWrite($Message + @CRLF)
    Sleep(500)
WEnd

This is an Interstellar Rift game server. 

Share this post


Link to post
Share on other sites
JLogan3o13

@ronmage You seem, in the 6 years you've been here, to have missed reading the forum rules. I would suggest you read them now:

Quote
  • Launching, automation or script interaction with games or game servers, regardless of the game.

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.