Browser Based MMORPG Games with PHP,MySQL and others

0b669597c28d64d55f4262799c155a9b
0
kid_4000 101 Dec 23, 2005 at 19:25

Hello,
I know PHP very well, and I want to implement my knowledge by developing a MMORPG game with PHP (+MySQL,HTML and others of course). But before, I would like to see your opinion about that:
1. What do you think about PHP based games generally?
2. What do you think about the advantages and the disadvantages by developing PHP based games?
3. What do you think I shall learn additionally to PHP,MySQL,HTML and JavaScript (that help me with the game, of course)?
4. If you have any tips or others..you’re welcome :lol:

Thank you very much.

21 Replies

Please log in or register to post a reply.

6cad28055d4af37574fe0d4064555e53
0
GroundKeeper 101 Dec 23, 2005 at 20:50

MMO sounds more like something interactive.. php is more turn based.. it would require some extension wouldn’t it?!

D7e6f7351b2b2e8bee27964ac843b1dc
0
Jynks 101 Dec 23, 2005 at 22:01

There are a few phpbb mods for roleplaying… … . charicter classes, skill development, items and battles….. all the code is for phpbb (a free bullitin board software) and as it is php you can read all the code directly might be a good place to start?

http://www.phpbb.com/phpBB/viewtopic.php?t=198579

http://www.phpbb-rpg.com/dload.php?action=category&cat_id=17&sid=329c3e3abc19e66b618716bc81f40f80

0b669597c28d64d55f4262799c155a9b
0
kid_4000 101 Dec 24, 2005 at 08:22

@GroundKeeper

MMO sounds more like something interactive.. php is more turn based.. it would require some extension wouldn’t it?!

Oh..I suppose it would…Do you have any idea about how to turn it into “something interactive”?

Jynks - I want to develope the game myself, and not with mods to PHPBB (or other bulletin boards)..

Ea1e202bbd97524308adb219c6c33a73
0
Methulah 101 Dec 24, 2005 at 11:33

To make it interactive, you would have to use Javascript or Flash. neither are particularly appealing to a PHP programmer (I know because I am one). I made an MMORPG using PHP/MySQL and it was turn based, but it allows for interaction.

Dc5ec1c9fbe152a00fdf92694c64e925
0
marksman 101 Jan 17, 2006 at 21:47

does any1 no where i can learn to create turn based games and learn PHP and MySQL

Ea1e202bbd97524308adb219c6c33a73
0
Methulah 101 Jan 18, 2006 at 00:22

to learn PHP and PHP/MySQL, the best place I have found is http://www.freewebmasterhelp.com/tutorials/.

Dc5ec1c9fbe152a00fdf92694c64e925
0
marksman 101 Jan 19, 2006 at 02:24

oh ok cool i wanna try to make a game like fallofnations if you want a link to it go to www.freewebs.com/area51rock and scroll down on the main page to find a link and then just sign up

Dc5ec1c9fbe152a00fdf92694c64e925
0
marksman 101 Jan 20, 2006 at 02:54

ok i dont really know PHP and MySQL very well ive been looking at it on that site in the link for freewebmastershelp but it hasnt helped me understand how to create my own codes and i need to find a way to create a turn based game if any of u have a place to learn PHP and MySQL then please tell me also if you have a turn based game on the internet based off of PHP tell me so i can see what you can do with PHP

Cff67041e0c439e1beefef7de6f864fe
0
Nodlehs 101 Jan 20, 2006 at 18:34

@marksman

ok i dont really know PHP and MySQL very well ive been looking at it on that site in the link for freewebmastershelp but it hasnt helped me understand how to create my own codes and i need to find a way to create a turn based game if any of u have a place to learn PHP and MySQL then please tell me also if you have a turn based game on the internet based off of PHP tell me so i can see what you can do with PHP

Methulah already gave decent link.
@Methulah

to learn PHP and PHP/MySQL, the best place I have found is http://www.freewebmasterhelp.com/tutorials/.

Dc5ec1c9fbe152a00fdf92694c64e925
0
marksman 101 Jan 20, 2006 at 21:17

yeah but i read it all and it doesnt say how to make your own things like if i wanted to put a sign in thing for a game in i havent found out how to do that and i read all the PHP and MySQL things

Dc5ec1c9fbe152a00fdf92694c64e925
0
marksman 101 Jan 20, 2006 at 21:19

and have any of you made a turn based game from PHP/MySQL if so and if its on the internet can you pots a link to it so i can see what you can do with PHP and MySQL

Cff67041e0c439e1beefef7de6f864fe
0
Nodlehs 101 Jan 21, 2006 at 00:49

You should probably look for more online tutorials or read a good book, pretty sure this one is decent.

http://www.amazon.com/gp/product/0672326728/qid=1137804547/sr=8-1/ref=pd_bbs_1/102-0175176-7883361?n=507846&s=books&v=glance

97211dbd910681e0468e14b49af6e9ef
0
deth4uall 101 Jan 24, 2006 at 21:01

How do you do the programming for stargatewars.com? I want mine to be like theirs…

065f0635a4c94d685583c20132a4559d
0
Ed_Mack 101 Jan 24, 2006 at 22:47

When using php as the backend, look into php’s socket server abilities. They allow you to connect to your php script via a socket from some custom client (i.e. flash or an app) and pass data back and forth. This does require more than php, but creates a truly interactive php backed game.

Ea1e202bbd97524308adb219c6c33a73
0
Methulah 101 Jan 28, 2006 at 10:08

Jah, also, the link I gave you gives you all you need to make a sign up form. For example, it shows you how to get data out of a form and stor it in a database. That is sign up right there. If you want to learn how to use cookies and session to allow players to log in, then I would recommend http://www.tutorialized.com/tutorials/PHP/1 as it provides a good list of tutorials. For more specific security/login ones, try http://www.tutorialized.com/tutorials/PHP/Security/1 or for what Ed Mack was talking about try http://www.tutorialized.com/tutorials/PHP/Flash-and-PHP/1. Hope it works out for you.

50510ab74e6bd609bf004c53f3cf7a2a
0
Nyzse 101 Feb 04, 2006 at 06:56

Flash would probobly be alot better option, once you learn one programing languge its not hard to learn others (although you also have ot learn all the gprahics stuff in flash ><). If you’ve ever programed forums then you probobly have alot of what it takes to make a turn based RPG. (so says a friend of mine who did his own online rpg, but it was basicly a clone of kings and knights or w/e that game was called where you had an army, and it got bigger the more people you got to click your link). and it makes sence that forums are alot like a turn based rpg (not really how it acts, but the logic required to do it).

Ea1e202bbd97524308adb219c6c33a73
0
Methulah 101 Feb 04, 2006 at 22:54

Oh hell yeah. All you really need is a PHP/MySQL reference book and you can quite easily create a browser based MMO game. It is quite fun and you can get results that are still impossible in interactive 3D.

5869064ffe7575fb3d93efd4f1a1d7d2
0
mattd8752 101 Feb 14, 2006 at 12:57

Good luck :) I am currently creating my own rpg, I also posted in these forums, but I am looking for someone experienced with flash.

5b31e88987f6b6680d8953f0c9049ede
0
vampraist 101 Feb 18, 2006 at 12:17

On the subject of MMO PHP games I would like to direct anybody interested to a game I have written in PHP using a MySQL database.

It is a roleplay game set in the 1920s using the background of Lovecraft’s Mythos. The game is entirely browser based, a kin to the old text driven MUD games though incorporating 2D graphics.

http://www.cthulhunation.co.uk

I hope this isn’t too off topic but I thought I’d show any interested that PHP games can indeed be fun to make!

1b2c9238dbc89ca63bc453b6de805534
0
azoundria 101 Apr 18, 2006 at 16:54

I don’t know why everyone has such trouble creating interactive MMORPGs with PHP. What is the problem with having the able to explore the world, or do whatever and then what they did is saved somehwere and other players can see it as they click around. Or the alternative is to use AJAX and make things real time if that is necessary.

25a03a09475cc50dc4b724289232233a
0
Josh1billion 101 Apr 18, 2006 at 20:54

I’ve written a couple of online RPG’s like that in PHP/MySQL (one was launched; the other wasn’t ever completed enough to be launched), so I can give you a lot of important information. :)@kid_4000

Hello,
I know PHP very well, and I want to implement my knowledge by developing a MMORPG game with PHP (+MySQL,HTML and others of course). But before, I would like to see your opinion about that:
1. What do you think about PHP based games generally?
2. What do you think about the advantages and the disadvantages by developing PHP based games?
3. What do you think I shall learn additionally to PHP,MySQL,HTML and JavaScript (that help me with the game, of course)?
4. If you have any tips or others..you’re welcome :) Thank you very much.

  1. They’re fun to write and server costs are low. You can also easily add advertisements to generate some revenue, and/or have a paid membership feature. However, don’t depend entirely on ad revenue because that’s a risky business– make sure you choose the right ad service (Clicksor, Google AdSense, or whatever else) and make sure your ads work properly.

  2. Server costs are extremely low (and can be free, actually.. there are many free PHP/MySQL-enabled hosts at www.clickherefree.com , but not all of them are reliable). One disadvantage (compared to a client/server application-based MMORPG) is that it might be easier to hack, so you should keep security in mind (make your admin passwords long and random, and have some sort of flood detection to prevent brute-force logging in).

  3. That’s about all you need. Well, graphic design is also helpful (for drawing monsters, etc.).

  4. Check out the open-source online mini-RPG KillMonster. You can build your game off of that like I did.

Another tip: look up the image generation routines. You could do like I did and create an in-game map system where the player’s sprite is displayed and other players are displayed (with their names over their heads). That was cool. :)