View Full Version : Browser Based MMORPG Games with PHP,MySQL and others
kid_4000
12-23-2005, 12:25 PM
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.
GroundKeeper
12-23-2005, 01:50 PM
MMO sounds more like something interactive.. php is more turn based.. it would require some extension wouldn't it?!
Jynks
12-23-2005, 03:01 PM
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
kid_4000
12-24-2005, 01:22 AM
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)..
Methulah
12-24-2005, 04:33 AM
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.
marksman
01-17-2006, 02:47 PM
does any1 no where i can learn to create turn based games and learn PHP and MySQL
Methulah
01-17-2006, 05:22 PM
to learn PHP and PHP/MySQL, the best place I have found is http://www.freewebmasterhelp.com/tutorials/.
marksman
01-18-2006, 07:24 PM
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
marksman
01-19-2006, 07:54 PM
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
Nodlehs
01-20-2006, 11:34 AM
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.
to learn PHP and PHP/MySQL, the best place I have found is http://www.freewebmasterhelp.com/tutorials/.
marksman
01-20-2006, 02:17 PM
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
marksman
01-20-2006, 02:19 PM
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
Nodlehs
01-20-2006, 05:49 PM
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
deth4uall
01-24-2006, 02:01 PM
How do you do the programming for stargatewars.com? I want mine to be like theirs...
Ed Mack
01-24-2006, 03:47 PM
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.
Methulah
01-28-2006, 03:08 AM
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.
Nyzse
02-03-2006, 11:56 PM
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).
Methulah
02-04-2006, 03:54 PM
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.
mattd8752
02-14-2006, 05:57 AM
Good luck :) I am currently creating my own rpg, I also posted in these forums, but I am looking for someone experienced with flash.
vampraist
02-18-2006, 05:17 AM
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!
azoundria
04-18-2006, 10:54 AM
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.
Josh1billion
04-18-2006, 02:54 PM
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. :)
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 (http://www.chipmunk-scripts.com/page.php?ID=16). 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. :)
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.