Anyone know how to setup a server with irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
psydox
Posts: 9
Joined: Sun Mar 29, 2009 4:29 pm

Post by psydox »

I'm not an expert but here's what I think.

Irrlicht can be use to create the client and any programming language can be use to create the server (vb, java, c, c++, c#, python, you name it).

Here's the function of a server in its simplest form.

1.)LISTEN
2.)PROCESS/MAKE DECISION
3.)UPDATE PLAYERS

It's more complicated on mmo's, as what our buddy bitplane said on his post. But that serves as a basis. There are helper libraries out there to make things simpler (e.g. Raknet, SDL_net).

Here's what you must do first, create a chat program with your programming language of choice, hey! not YM or mIRC! I mean SIMPLE Chat Program that can send and receive ALPHANUMERIC Characters. When you succeed! CONGRATULATION! That is your first step for success ^_^

Go to http://www.devmaster.net/articles/mmorp ... /part1.php and read the Eternal Lands MMO Postmortem. I'm sure it will help you on your MMO development adventure. They use SDL_Net for networking.
Eigen
Competition winner
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:

Post by Eigen »

I'm still baffled why everybody who's new to gamedev wants to make a MMORPG .. :shock: Aargh! Makes me want to punch someone. And I'm not an angry person, it's just that ignorance annoys me.
You just finished with your beginners C++ tutorial and know how to write text to console window? Yeah, you're a programming god! Just kidding. It doesn't mean you're ready to write a MMORPG. Not even slightly. Being proficient in a chosen language is just one step of writing a game. You also need to realize how to structure your game and that's something you best learn by trial and error.

PLEASE, start small and you'll see how much work needs to be done for even a small game like Tetris. I know what I'm talking about. I started in QBasic writing simple number games and then moved on to old-school 2d adventure games which used simple scripting. But even then it took me months to finish my game.

Step out of the herd and have the guts to make something else. You're not laughed and pointed at if your first game is a tic-tac-toe. Quite the opposite. It's shows that you're aware of the current level of your skills and abilities. You'll learn more that way than you can imagine.

Of course, all this has been said thousands of times before and what's the result? :wink:
If you fail, nobody cares. You've got no one else to blame but yourself. This goes out to all the next-big-MMORPG-failures, not just this topic. So do whatever you wish.

The human's inability to learn from others mistakes is amazing, to say the least.
sparkart
Posts: 8
Joined: Mon Jun 01, 2009 4:35 pm

Post by sparkart »

http://video.google.com/videosearch?q=s ... e&resnum=4#

That piece of turd serviced 100+ players simultaneously without lag issues.

The Mana World services 100+ players simultaneusly without lag issues.

Honestly, it isn't that difficult.


bitplane, I am not talking about a simple turn based mmo. I am talking about an mmo where players can register, login, move, chat, attack monsters, etc. It is easier than you guys make it sound.


All you need to understand is this:
-Create Connection
-Receive/Send Message(s).
-Process based on messages received.
-Go back to step 2.
Post Reply