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.

UE3 - UDK How to send info to a visual basic program?

Discussion in 'Programming' started by marco208, Nov 15, 2009.

  1. marco208

    marco208 New Member

    Joined:
    Nov 14, 2009
    Messages:
    8
    Likes Received:
    0
    Hi,,

    I would like to make a program for UT3 that sends the data to MyProgram,,

    However,, I dont know how to get the info like: Ammo, Health, Time, ect

    Is there a way to do that with Uscripting?

    I tried memory reading, but I got stuck at finding the static-address/pointer...

    So,, Could someone help me with:

    How to find static-address for: Ammo, Health, Time, ect..
    or
    Sending Ammo, Health, Time, ect. from UT3 to MyProgram)

    Please?

    Greets, Marco
     
  2. Zur

    Zur surrealistic mad cow

    Joined:
    Jul 8, 2002
    Messages:
    11,717
    Likes Received:
    4
    Attempting to read memory is a difficult exercice and is usually the domain of hackers that have spent months learning the ins and outs of an OS. If you're attempting to create a hack, this is the wrong place to ask.

    However, if this isn't the case, try using TCPLink instead. You can relay all the information to a Visual Basic program using Winsock.

    http://wiki.beyondunreal.com/Legacy:TcpLink

    Here is some source code with a demo using Winsock for a chat service. I'm not sure if HTTP is relevant but I included it anyway.
     

    Attached Files:

    Last edited: Nov 15, 2009
  3. marco208

    marco208 New Member

    Joined:
    Nov 14, 2009
    Messages:
    8
    Likes Received:
    0
    Hi,

    Thnx for your reply,,

    No, I'm not making a hack,, ( well.. yes i do because im still hacking the game for information??? )

    I'm trying to make a application that shows the info from UT3 and send it to MyProgram which sends it to Logitech G15 Keyboard,,

    I will take a look at your stuff right now :D


    Thnx,
    Greets, Marco

    Ps. Lowl where is the cheat line? :lol: ( speed edit? :rolleyes: )
     
  4. marco208

    marco208 New Member

    Joined:
    Nov 14, 2009
    Messages:
    8
    Likes Received:
    0
    I don't get how I could get the health by using TCPlink...

    Could you help me, Please?

    Greets, Marco
     
  5. Zur

    Zur surrealistic mad cow

    Joined:
    Jul 8, 2002
    Messages:
    11,717
    Likes Received:
    4
    You need to create a TCPlink class that sends the health value to your program listening on Winsock. Of course, if you're playing online this won't be possible since clientside code can't be executed.
     
  6. marco208

    marco208 New Member

    Joined:
    Nov 14, 2009
    Messages:
    8
    Likes Received:
    0
    Hmm,, Sounds hard,, Is there a sample or something?

    Do you mean I must make a script inside UT3?

    I'm sorry,, I never programmed something with UT3... So i don't understand it yet :p...

    greets,
    Marco
     
  7. Zur

    Zur surrealistic mad cow

    Joined:
    Jul 8, 2002
    Messages:
    11,717
    Likes Received:
    4
    Yes. However, if what you want to achieve is to have a program retrieve values while on a server, this sounds risky. I imagine you're trying to get values to display on a logitech g15 keyboard.
     
    Last edited: Nov 16, 2009
  8. marco208

    marco208 New Member

    Joined:
    Nov 14, 2009
    Messages:
    8
    Likes Received:
    0
    Yes, it's for the lcd,, I have done it displaying the ammo,, Too bad this didn't happend me for the health value address T-T

    I don't know but if u got a G15 I could send you a program for ammo,,

    But the TCPlink Protocol sounds much easier to do then finding the memory addresses,, But me, as a Noob in programming, don't know anything about C++, C, C# & UScript... just what I need, I dont know... T-T

    Maybe i'm just doomed to keep seaching the whole memory xD,,

    Thanks again for trying to help me with this :D,,
    I really appreciated that,,

    When u need me or a VB6 programmer, I will :D The only thing I can do xD

    Greets,
    Marco
     
  9. Zur

    Zur surrealistic mad cow

    Joined:
    Jul 8, 2002
    Messages:
    11,717
    Likes Received:
    4
    I guessed as much. Normally there should be a module provided with a game to display information but it seems that the lcd on the g15 is considered as a gimmick more than anything.

    I'd be very interested in any code you have that displays information outside of ut3. I hadn't understood that you'd actually managed to get information from memory. I only know operating systems from a theoretical point of view and there seems to be a few hurdles before you can access information like that. In fact, it shouldn't be possible if memory protection was done properly.

    TCPLink is one option that's been brought up since UT2003 removed any possibility of writing native libraries. It makes it possible to communicate outside the game on localhost/127.0.0.1 or to a distant server. However, unreal games have a minimum of security and running code like that on a client is something that shouldn't be possible since it gives a way to hook scripts into the game with the possibility of controlling player input and displaying information that shouldn't normally be there. It's also a good way to get banned off a server if detected although I've heard that UT3 is designed such that making effective anticheats is an even more difficult task that it was previously (don't quote me on that though).

    If you've managed to get one variable, I'd continue that on that route. Just take into account that your program might break if it's installed on another Windows OS that doesn't manage memory in the same way.

    My e-mail: iamfearless@gmail.com
     
    Last edited: Nov 16, 2009
  10. marco208

    marco208 New Member

    Joined:
    Nov 14, 2009
    Messages:
    8
    Likes Received:
    0
    I sended you an email with the stuff about the ammo memory,, (I though the email was for that?)

    Just begon wondering, why you are intrested in the address?
     

Share This Page