1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Send strings from UT using TCP

Discussion in 'Programming' started by Telemacouk, Oct 2, 2001.

  1. Telemacouk

    Telemacouk New Member

    Joined:
    Sep 28, 2001
    Messages:
    2
    Likes Received:
    0
    Hi All,

    To start off, I'd like to say that I am relatively new to UnrealScript. So apologies beforehand if I am not "accurate" with the terminology and/or the question(s) are too simple.

    As a part of my dissertation, I am trying to develop a prototype in which I want to hook up Unreal to a PROLOG system on Linux via a 'C' program running on the Linux machine that receives the messages.

    The Linux stuff is doing the job. I have also got a small UnrealScript (a sub-class of TCPlink) to receive messages and spawn "objects" in the world when running an Unreal in client-server mode. That is, I can "spawn" the outcome of my Prolog System (PS) when I run PS as a client of UT server.

    However, my goal is that I'd like the player to interact with the map (i.e grab a Decoration) and as a result of that interaction (i.e moving sth) send a string to my C program and spawn the outcome in the map.

    Well, I've been trying just to send messages from Unreal to my C program but to no avail. In the attachment you'll find the code of a small class that I've been using to try to send messages and the server.log.

    I guess my questions are:
    -Does anyone have experience on sending strings from UT?
    -Has anyone any idea about what's the best way (approach) to achieve what I want?

    This is a completely non-profit request, and you will be acknowledged (credited for your contribution) in my dissertation and in anything that comes out of it, for any help that you can provide.

    Perhaps, my questions are a bit open-ended but any help you can provide is greatly appreciated.

    -Telemaco
     
  2. Telemacouk

    Telemacouk New Member

    Joined:
    Sep 28, 2001
    Messages:
    2
    Likes Received:
    0
    server.log
     

Share This Page