• 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
CoryG89

Web hosting for custom server code

5 posts in this topic

OK, so I have begun doing some network programming recently mostly with the Winsock2 API, but also doing equivalent things using the original BSD implementation to learn that as well. I have created some basic clients and servers and have ran these fine on my PC. In the server code I bind on my local ip and that is just fine, but I have been trying to figure this out: If I have a web hosting account somewhere (but do not physically have the server), is it possible for me to upload my custom server code to one of these accounts and have it run on that server? Or do I need physical access to the machine that my game server will be running on. If so is it possible to get a hosting account with a dedicated server and do this?

If I understand right, most web hosting accounts that you can get online will set you up on a shared server with serveral hosted accounts on each one. These servers are going to be running its own server software (likely HTTP), probably apache2 or something. I guess it is not possible for me to upload say a multi-client chat server to a hosted account like this?
0

Share this post


Link to post
Share on other sites
Typical web-hosting most likely doesn't let you run your server code. The ones running apache, php, mysql etc are specifically meant for hosting web-pages. What you are probably looking for is a virtual private server. Most of these are running virtual machines containing linux or bsd variants and you (normally) get remote root access. Edited by mrjones
0

Share this post


Link to post
Share on other sites
This is answered in detail in the FAQ for the forum, as well as multiple threads on the first and second pages.
In brief: You don't need physical access, but you DO need a "self-managed server" or "virtual private server" or similar hosting plan. Regular "web hosting" won't work.
0

Share this post


Link to post
Share on other sites
OK, thanks that is the answer I was looking for. Looks like something like that will run me about ~$60/month. I have a dual-boot system on my laptop, running both Windows 7 and Ubuntu 12.04. If I wanted to host it on my own linux box then there would be no need to install apache or anything like that. I can simply run the program from any location on my drive and keep it running hosting it on my own computer that way?
0

Share this post


Link to post
Share on other sites
[quote] I can simply run the program from any location on my drive and keep it running hosting it on my own computer that way? [/quote]

If you can make the program open a port and listen for connections, and make the machine stay connected to the internet, and make sure that external clients can get to the machine (firewalls, etc,) then yes, you are hosting the game. There's no magic needed in that particular part. It's what happens once users connect, and then once malicious users connect, that's interesting :-)
0

Share this post


Link to post
Share on other sites
[quote name='CoryG89' timestamp='1337972298' post='4943317']
OK, thanks that is the answer I was looking for. Looks like something like that will run me about ~$60/month. I have a dual-boot system on my laptop, running both Windows 7 and Ubuntu 12.04. If I wanted to host it on my own linux box then there would be no need to install apache or anything like that. I can simply run the program from any location on my drive and keep it running hosting it on my own computer that way?
[/quote]

You can easily get a $10/month non-managed VPS . You just have to install everything and configure it all with probably very minimal support apart from reboots.
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