updates??

Blitz3D Forums/Blitz3D Beginners Area/updates??

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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:
; 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
End
gives 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.