Announcement

Collapse
No announcement yet.

Detecting Connection Status

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Detecting Connection Status

    I have a basic main menu running with buttons, one connects to local, one to remote (an address and port i predetermine) and one is single player. When i try to connect to a server that doesnt exist i want it to time out and allow me to handle that.

    I have created a game instance and set it in maps and modes. then in my widget i cast to it and try to call a variable that is set editable:
    http://puu.sh/mwdQV/dcf37e1e7c.jpg

    Then to test if im getting anything i run a check for network failure and set a string based on the result:
    http://puu.sh/mwdYq/e4c2cc5bc4.png

    The variable is set at default "ok" and that is what i show when i try to connect to a server that isnt running, which it should not do. It is casting just fine however the network failure event is not firing at all. it never actually detects a network failure and never sets the variable... What am i doing wrong?

    #2
    no one has any idea?

    Comment

    Working...
    X