• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Demx

server hosting

5 posts in this topic

hi,

i was wondering what kind of solution is best for server hosting of a online game( let's suppose a rpg with max 100 players). I found this
https://manage.togglebox.com/index.php?/cart/cloud-virtual-datacenter/&step=0

which is 10$ a month and provides 1 TB of bandwidth. Is this a reasonable way of hosting or not ?
thanks for answers and merry christmas smile.png

Also i have a doubt on TCP/IP send.. when you send a packet are you sending any additional information that you must consider when calculating bandwidth..
for example if i have this:

struct
{    
    int8_t msg;    
    int8_t id;    
    int8_t x;    
    int8_t y;
}

And i send it will it be only 4 bytes ?

Thanks

Edited by Demx
0

Share this post


Link to post
Share on other sites
Also i have a doubt on TCP/IP send.. when you send a packet are you sending any additional information that you must consider when calculating bandwidth..
IP packet is about ~20 bytes and TCP adds another ~20 bytes. So, if your data sent (not buffered) is 4 bytes then the bandwidth cost is over 44 bytes.

http://en.wikipedia.org/wiki/TCP/IP_model#Layers_in_the_Internet_protocol_suite
0

Share this post


Link to post
Share on other sites
Also i have a doubt on TCP/IP send.. when you send a packet are you sending any additional information that you must consider when calculating bandwidth..
IP packet is about ~20 bytes and TCP adds another ~20 bytes. So, if your data sent (not buffered) is 4 bytes then the bandwidth cost is over 44 bytes.

http://en.wikipedia.org/wiki/TCP/IP_model#Layers_in_the_Internet_protocol_suite

ok, so the return value from the send() method only tells you how much data has been sent not the real amount ?

0

Share this post


Link to post
Share on other sites

Virtual hosts are known to be very jittery. A cheap, shared, virtual host like that will likely decide to not run your VM for a second or more at a time, then come back and run it for a little while, then switch it out again, ...

Text-mode games, turn-based games, and very slow-paced RPGs without real-time movement will probably work fine in that environment, assuming you have enough RAM and CPU for whatever your client load is.

I would not worry about the networking limit exactly. If you are worried about overages, simply measure the amount of data that has gone out through your network interface every hour, and once you get to 950 GB, shut down the game until the next month.

Also note that the hoster will count *all* packets that go in and come out, not just your application data. Anyone doing a ping, or running a port mapper, or a DDoS, or looking for web servers, or the Google indexer, or DNS, or any other networking data also counts. Thus, if you're worried about the networking limit, again, monitor this at the network device level, not application level.

0

Share this post


Link to post
Share on other sites

You should really develop the game first, and worry about this later. The answer is broadly "you don't care".

 

Once your game is mostly working, you can work with your playtesters on different types of hosts to determine which gives the best experience, and go from there. Or something.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0