New Unity3D Networking eBook and Tutorial with Code Samples

I’m happy to announce I’ve officially completed my eBook and it’s now available for download from my blog.

http://www.3dmuve.com/3dmblog/?p=201

In my eBook you will learn about such things as Master Game Servers, Game Servers, TCP/IP vs UDP/IP, Game Matching and Game Lobby Services, Instantiating Network Objects, Animating Networked Objects, Synchronizing a level and objects across clients, Problems with Firewalls and Routers and how to overcome them with NAT Punch Through, and a whole lot more.

NOTE: If anyone has problems downloading the eBook please be patient. I am working diligently with paypal and my hosting provider to figure out the issue, but I promise you as soon as I receive your email confirmation from paypal on the purchase I will immediately forward the eBook to you in the email supplied with the purchase. Thank you for your support an I apologize for any inconvenience.

If you aren’t able to download just drop me an email at larry.grant@3dmuve.com and I’ll send it out. I don’t want to clutter up the forum with issues, I’d rather save that for your feedback on the eBook itself. :slight_smile:

NOTE 2: I believe the download issues are resolved.

A few people have indicated a problem unzipping the contents. For anyone who’s already received a copy of the eBook, if that happens please try 7zip. I’ve changed the download to use winzip going forward to hopefully provide more compatibility. Please let me know if you experience any issues.

Solved, ty.

Yokil,

I’m sorry for the inconvenience. There was a security setting with PayPal that was preventing download of unverified PayPal users. I think I have the issue resolved, but please let me know your personal email address and I’ll send you a direct copy of the eBook. If you can just forward me the actual PayPal email receipt then I can correctly update the system and send you a copy back. I really appreciate your patience and I believe the problem has been resolved.

You might also try returning to the website and trying to download it again from the purchase history tab across the top. I just looked and the system indicates all transactions completed successfully.

hello, i am Iranian. and PayPal is not available in Iran. How can I purchase the book?

Hi,
Same error here “You do not have permission to download this file”

Purchase confirmation page says,
“Thank you for your purchase!” and its has the download link, but cannot download…

Maybe it is because paypal email was different from the site registration email?

Solved, ty.

Sorry to everyone for the inconvenience with downloads. I think I’ve sent everyone a direct copy of the eBook at this point. I plan on updating the paypal plugin I’m using on my Wordpress site, but until I do, just continue to email me directly and I’ll be sure to send the eBook asap. Thanks for your patience in this matter and I appreciate all the support.

Do me a favor and LIKE my fan page on facebook, I’m trying to build up followers: http://www.facebook.com/3dmuve

Hi,
Sorry for strange question, but what networking does this use: Unity standart networking, photon, or smartfox? And another question :does this supports unity mobile (android, IOS)

Thanks.

Augustas.

This is not a strange question at all, it’s the type of questions I’d like to see on the thread. This is 100% Unity Standard Networking and has been tested with both versions 3.x and 4. As far as I know it would work on Android, but I’ve only tested it on PC and MAC. If there is interest in Photon or Smartfox let me know and maybe it’ll be a future eBook.

Larry

Thanks got the file!

ps. For some reason winrar was unable to open the project zip file, but 7zip works fine.

Thanks, I have bought it :slight_smile:

augasur, any problems with the download, or did it work ok for you? I made a configuration change which I’m hoping worked?

Hi,

Yes everything worked, I got the file. I have read a bit the PDF, but I haven’t time to test the packages, I am looking forward to test it, but now I have another project to do, so as soon as I will test it, I will post the results. :slight_smile:

Howdy, I’m interested in buying the eBook, but I’m extremely uncomfortable with entering my PayPal information directly onto your site. If there was a way for it to forward the information to paypal, I would be willing to buy it. Seems a little sketchy to me honestly, just having the icon above a couple input fields.

You aren’t entering your paypal information on my site. You are entering a name ane email address for my contact list, then it forwards you to paypal’s site to properly login for payment.

Hi All.
I got this ebook . and just can say it’s awesome. very cool. I Love this Book and I love it’s author. Unfortunately my English is very bad and I cant show how I feel. this book is a very good point to start learning about unity networking for beginners. and also a good thing to improve networking abilities for Advenced.
Thanks Larry

how come you are not selling the book on the asset store? then not many people would have to worry about paypal

I have submitted the eBook to the asset store but I’m still waiting their acceptance. Also, the lowest price you can set something in the asset store is $2, not .99 cents. Hopefully in a few days it’ll be your choice where to buy and what to buy. I’m not trying to make money on the eBook, not for .99 cents, but any little bit helps cover the costs for the website itself and other supplementary costs.

Just pickup your E-book.
And yes if you make one for Photon i’ll be very interested.
jay

I do discuss authoratative servers a little bit, but I mostly focus on what I coined the “Hybrid Server.” The authoritative server performs all the logic for all networking related tasks. This is ok, but it relies on a much more powerful server and if done purely would also slow down the responsiveness.

Instead I discuss a variation where each client owns it’s own decisions for the objects it owns. For example if player A shoots player B, both clients will detect the collision, and both clients could play a collision effect, but only player B’s client would perform the damage processing as it was player B getting hit. Player A who performed the shooting doesn’t detect the hit then tell B to apply damage, instead B only applies damage when it detects something hit it.

In Appendix A when the spear is thrown it performs a little more authoritative processing in that the client throwing the spear then asks the Game Server to actually perform the throw, so the GS then owns the spear.

Also the GS will own all non player objects such as power ups, etc…

Hope that helps.