Hey, Quick and simple question.. How would I get the player to download an Array from a peer (Array object), or download the file.
Printable View
Hey, Quick and simple question.. How would I get the player to download an Array from a peer (Array object), or download the file.
Create a fastloop in mmf, and send all the data in the array to the other peer ;)
I did that but it doesn't load them all, It loads a few blocks every time I reload the frame of 2 clients. I was thinking that was becauase it's 2 fast. it's tryna send like 1200 messages in like 5 seconds, I could do without fastloops but then it would take alot longer to load.
I'm in the process of making an example, but it seems Jamie made a mistake with some of the names of some of the expressions... I'm working around it atm.
EDIT: Here is the example. It does not actually work, I just wrote code that *should* work; it is meant to show you the concept of it.
@LB
Thanks but, I had to change it from sending to peer to sending to channel otherwise nothing happened. But then now it just constantly loads for the peer, it's been trying to load the app for like 10 minutes now and idk if it will eventually load or it will just do nothing.
As you can see in this here picture, It constantly is loading. I don't know if it's the level array it's loading or there's something wrong with my code.
http://c0066373.cdn2.cloudfiles.rack...com/JRF22w.png
How would I know? I just made example code of your request:The implementation is all up to you. And in your picture I do not see it 'constantly loading', rather, I see that it either did not send the new array, or did not load the new array after it was done sending. Like I said, my code is JUST sending the array, it does not handle anything else like setting up the transfer or saying when it is done. You have to do all that yourself because you understand how your game works and I don't ;)Quote:
Originally Posted by dcrew
I did exactly that, it is loading for the peer. If you look closely into the picture you will see that the peer client has "not responding" because it's trying to load too much.
Hm, I will look over my code then...sorry for not seeing that before, the forums shrink images but when they do that they don't have a click to enlarge feature.
EDIT: I'm not sure what it could be. More specifically, are you using a string or number array?
number array, and if this is not a possible way, would there be a way for a person to download from another person to do it that way.