Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Send Net Message Memblock, Bitmap, Image, Sound, Mesh

Author
Message
TechLord
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: TheGameDevStore.com
Posted: 10th Oct 2007 12:10
Hey guys, I desire a little more detail on these interesting network messages. From what I understand, these messages can be used to transfer files to other players on the network similar to ftp. Can someone confirm this?
Eevil Weevil
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location: Wherever you are, I wil follow
Posted: 10th Oct 2007 19:37 Edited at: 10th Oct 2007 19:42
Yes. I hate one word posts
[edit] More detailed: Just imagine every file under the 'Multiplayer section', for every word ' game', replace it with 'work'. The complete opposite, in this case is more appropriate, coz:

make net game - make network

basically setting up a game, is just setting up a transmission. So if you want multiplayer with your friends, just connect with their IP address (find out on [whatismyip.com]) and then set up a game.
Sorry, a little rushed.
[/edit]

Excuse me. Yes you. Stop reading my siggy! It is private. Stoppit! Now! I'll kill you! Bleurgh! Go away or I'll format your C-drive! You are dead! I am dead! Yes! Ahem.
TechLord
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: TheGameDevStore.com
Posted: 10th Oct 2007 21:21
Eevil Weevil, Thanks for the reply. I've written a chat server/client program and ready to move on to my next step in the development of my MMO. Just looking for a little more detail on the Net messages above to grasp the full context of their use.

Eevil Weevil
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location: Wherever you are, I wil follow
Posted: 10th Oct 2007 23:58 Edited at: 10th Oct 2007 23:59
Well good luck in your MMO, whatever type it is.

Excuse me. Yes you. Stop reading my siggy! It is private. Stoppit! Now! I'll kill you! Bleurgh! Go away or I'll format your C-drive! You are dead! I am dead! Yes! Ahem.
TechLord
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: TheGameDevStore.com
Posted: 11th Oct 2007 00:14
Awe shucks. No more details on the Net messages Memblock, Bitmap, Image, Sound, Mesh?
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 11th Oct 2007 01:15
If you want to send loaded media, use either one of these commands to turn it into a memblock:



And then this to send the memblock to a player:



If you want to send actual files, then you need to load the file into a memblock first, so you'd do something like this:



If you want information on the structure of bitmap/image/sound/mesh memblocks, look at the DBP documentation.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
TechLord
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: TheGameDevStore.com
Posted: 11th Oct 2007 03:10
Thank you very much Benjamin.

Login to post a reply

Server time is: 2024-11-15 09:13:34
Your offset time is: 2024-11-15 09:13:34