Jump to content

Read from a dedicated game server

Recommended Posts

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)

This is an Interstellar Rift game server. 

Link to post
Share on other sites
  • Moderators

@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:

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


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...