Jump to content
Sign in to follow this  
ronmage

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)
    Sleep(500)
WEnd

This is an Interstellar Rift game server. 

Share this post


Link to post
Share on other sites

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

 


"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!

Share this post


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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...