That's easy updating the media side of the game. Just download the new media files using the old file names and your program will automatically load them.
I think you need to look into sending/receiving TCP Streams.
this code:
Depending on the update info the server sends back, download the appropriate files.
I think you need to look into sending/receiving TCP Streams.
this code:
; OpenTCPStream/CloseTCPStream Example Print "Connecting..." tcp=OpenTCPStream( "www.blitzbasic.com",80 ) If Not tcp Print "Failed.":WaitKey:End Print "Connected! Sending request..." WriteLine tcp,"GET <a href="http://www.blitzbasic.com" target="_blank">http://www.blitzbasic.com</a> HTTP/1.0" WriteLine tcp,Chr$(10) If Eof(tcp) Print "Failed.":WaitKey:End Print "Request sent! Waiting for reply..." While Not Eof(tcp) Print ReadLine$( tcp ) Wend If Eof(tcp)=1 Then Print "Success!" Else Print "Error!" CloseTCPStream tcp WaitKey Endgives you an idea of what you need to do to communicate with the web server. (I don't know much about how to get the server to communicate back, networking isn't my thing)
Depending on the update info the server sends back, download the appropriate files.