Added: 1 year ago
From: prof89
Views: 875
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (18)

Sign In or Sign Up now to post a comment!
  • May I have this code please?

  • @CharlesVI

    Sure, give me a second

  • @prof89 Thank you. I think i got it.

  • @CharlesVI

    Here -- dropbox.com/s/13izs0eft92u4pm -- scroll down and take the .RAR or just browse around

  • pls give me your code :)

  • @Zer0TAT

    Hey, Give me like a day and i'll dig it up.

  • respect can i download it anywhere

  • @BennixD3107

    I'll send you the code ,, i have a "much" better version now which supports much easier data-transfer and it is almost simpler implementation

    i will PM you

  • Did you follow any tutorials to create this or could you make a tutorial? There isnt many good ones around for XNA that dont use windows live. Im trying to get a basic XNA networked game running but having trouble finding where to start, any suggestions?

  • @deanobajeo

    No other tutorials than "make a chat client in C#".

    I can give you the code from this example and point out the relevant parts (networking). But it is NOT good to go for a game yet. There is no handling for errors and such things.

    If you still want it send your email in a PM :)

    Basic structure otherwise is: - server has got a list of clients (id) - server has 1 thread for sending messages every 1 second (positions in a string) - 1 thread for receiveing messages - continously

  • @deanobajeo

    follow up from last comment ..

    - client has a list of "simulated/ghost-clients" (saves position)

    - 1 thread for sending input to server continously

    - 1 thread for receiving the server messages. Here it updates its position and the ghost-clients positions.

    I think is am using UDPServer (C#-class) and Basic threads (easy implementation (bad i guess but it works fine as of now))

  • Nice, did you code it yourself? Impressive!

  • @Robber7

    Thanks, and yes it is coded by myself. Not very much error-handling and such things though.

  • DAMNIT

  • FIRST!!!!

  • @prof89 noob lool

  • Frist!!11!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more