-
My browser game in PHP
Hello all, I just made a game ( for a school project ) in php. If you guys wanna check it out and give me some hints with improvement and so on I will appreciate.
Here is the link: Page 1
Future Updates:
(The updates are under tests on a local server. They will be realeased one by one soon enough)
- Instant battle results in quests changed. You will see the battle results just after the completion bar quest finish, there is also a timer. So when you make a quest a loading bar will appear. When the loading bar finish to load the quest is complete a confirmation reward screen appear and you can take another quest. If you go back when you make the quest the reward and battle results will be calculated but you won't be able to take another quest until the previous one is finished.
- New work system. You will be able to work for 2 hours for 200g. If you have to go somewhere and you can't do quests this will be a good way to make money. BUT NO EXPERIENCE. When you work you can't get any other quests.
- More items on shop will be available. Like hats, rings, more weapons/armors.
- New pvp. This time the enemies will be real players. Still no rewards.
- New gamble system.
- Mount system: Mounts will be used to reduce waiting time for quests.
- Level max will change to level 100.
Graphics ( NEED HELP ) :
I want to make a new look for the main city. A gif where clouds on the sky will move and the stars or sun shine. Also I want to replace the tavern also where in that gif 2/3 npcs to can click on each one :). If someone is really good in photoshop / flash / animation and wish to help me out with the design please PM me or add bogdan_wing@yahoo.com or skype: bogdan_wing
Screenshot.
http://s3.postimg.org/6z6kl7c8z/interfata3.jpg
picture hosting
-
Re: My browser game in PHP
Decent game.
Some improvements:
-Don't make each map a new php page, just put it all on the same php script,
then use includes/switches so you can just have it called within a php query string.
Ex: eldertales.hostei.com/game.php?map=woods
-Sanitize your login details, i was able to make a character containing ' and "
-
Re: My browser game in PHP
Quote:
Originally Posted by
cinos11
Decent game.
Some improvements:
-Don't make each map a new php page, just put it all on the same php script,
then use includes/switches so you can just have it called within a php query string.
Ex: eldertales.hostei.com/game.php?map=woods
-Sanitize your login details, i was able to make a character containing ' and "
Thanks for the reply, I did sanitize now the register page.
I will put all on the same php script soon enough
-
Re: My browser game in PHP
Link is dead.
And I find it strange you can code in php but cant even figure out how to
A: Post in the correct section IE: Coding Paradise or Gaming sections.
B: Embed a picture. (Nevermind...you fixed it :))
-
Re: My browser game in PHP
Quote:
Originally Posted by
Monolith
Link is dead.
And I find it strange you can code in php but cant even figure out how to
A: Post in the correct section IE: Coding Paradise or Gaming sections.
B: Embed a picture. (Nevermind...you fixed it :))
Well those sections have less views.. I think.
Link works for me tough it's hosted on 000webhost.
And I think I can post everything I want in this section :p .
Quote:
Originally Posted by
cinos11
Decent game.
Some improvements:
-Don't make each map a new php page, just put it all on the same php script,
then use includes/switches so you can just have it called within a php query string.
Ex: eldertales.hostei.com/game.php?map=woods
Thanks again for this info. I did change it like this with less connections now the speed really improved. ^_^ I appreciate.
-
Re: My browser game in PHP
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/a7237247/public_html/reg.php on line 121
Free Web Hosting
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
-
Re: My browser game in PHP
Quote:
Originally Posted by
Eronisch
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/a7237247/public_html/reg.php on line 121
Free Web Hosting
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
fixed, please try again :)
-
Re: My browser game in PHP
Quote:
You must enter only a-z 0-9 A-Z allowed
Register failed
No matter what username or password I try.
-
Re: My browser game in PHP
Quote:
Originally Posted by
mucski
No matter what username or password I try.
The exact same error, I'm receiving too. :P:
-
Re: My browser game in PHP
Quote:
Originally Posted by
Jaxter
The exact same error, I'm receiving too. :P:
Quote:
Originally Posted by
mucski
No matter what username or password I try.
Sorry :p fixed :).
-
Re: My browser game in PHP
Let me know if you want something other than a shitty free host, I can put you on one of my servers free of charge.
-
Re: My browser game in PHP
Quote:
Originally Posted by
Ron
Let me know if you want something other than a shitty free host, I can put you on one of my servers free of charge.
Nice, thanks for the offer. I would love to but not now. I must find someone to make some animations/gifs for me, so the game will look better.
-
Re: My browser game in PHP
Maybe look into HTML5 features for more of a "game" experience?
-
Re: My browser game in PHP
Better design and javascript implement please?
your register script is highly annoying
Quote:
Wrong Username or Password back
Code:
Wrong Username or Password <a href="index.html">back</a>
see the hyperlink issue? try it yourself
-
Re: My browser game in PHP
make an automatic redirect from register to login, it would be easier for the users. I suggest you take a good look at this open source game Dragon Knight and analyze it, before you can continue with yours
-
Re: My browser game in PHP
Quote:
Originally Posted by
rapa
make an automatic redirect from register to login, it would be easier for the users. I suggest you take a good look at this open source game
Dragon Knight and analyze it, before you can continue with yours
It's good but this game.. like mine.. miss that good "game" experience.. you know graphics.. some gifs animations.. make the game more dynamic. The games are different in some ways.. they have that map.. I have different explore system. The battle is almost the same :p.
Quote:
Originally Posted by
NubPro
Better design and javascript implement please?
your register script is highly annoying
Code:
Wrong Username or Password <a href="index.html">back</a>
see the hyperlink issue? try it yourself
fixed that link.
-
Re: My browser game in PHP
-
Re: My browser game in PHP
-
Re: My browser game in PHP
I don't know wether this is your final install of the game or not. But I would advice you to get some sort of professional hosting if you're going to open this game to public (when it's ready to receive players). However, the game itself looks cool. I am using a 1280 x 800 monitor atm, and the map is too huge for my screen, so you probably want to resize the picture to make it smaller.
The idea is cool. I'm not a fan of JavaScript messageboxes, especially not when they open each time I visit an area. However, I like the idea behind the game, and I think you can turn it into something fun.
One last thing. I think that you shouldn't make actions like "rest" an own page. Like you have
http://eldertales.hostei.com/game.php?map=home
and you have
http://eldertales.hostei.com/game.php?map=rest
it should be like ?map=home&action=rest (for example)
-
Re: My browser game in PHP
HP: -16
What? I died and had -11 HP, went to fight, died again and now I got -16. How is this even possible?
-
Re: My browser game in PHP
Quote:
Originally Posted by
Schematic
HP: -16
What? I died and had -11 HP, went to fight, died again and now I got -16. How is this even possible?
I didn't put yet any death penalty but I will and when I put it, you won't be able to make any quests until you revive. And now yes.. it's possible to fight dead but you won't win and your life will be "-".
-
Re: My browser game in PHP
skype: jorda13456 add me ill help you
-
Re: My browser game in PHP
Quote:
Originally Posted by
WizCoder
skype: jorda13456 add me ill help you
umm I just have yahoo.
-
Re: My browser game in PHP
It's a decent game, definitely took some time to set up.
Problems I noticed in my 5-minute session:
The links for exploring the woods and crafting are broken.
I was walking around the village with -32hp.
The wait time for quests and healing is ridiculous.
the email "emailemail" passed in the registration.
You only have Yahoo.
-
Re: My browser game in PHP
Quote:
Originally Posted by
Chris
It's a decent game, definitely took some time to set up.
Problems I noticed in my 5-minute session:
The links for exploring the woods and crafting are broken.
I was walking around the village with -32hp.
The wait time for quests and healing is ridiculous.
the email "emailemail" passed in the registration.
You only have Yahoo.
The links for exploring the woods and crafting don't work because I didn't made any of them... they are "game expansion" that's why the links are broken.
Yes you are able to walk around village with -32 hp because I didn't made any penalty yet. When I will put that then the character will be able to stay just at house.
Well the time is 2 minutes for quests and 15 minutes for heal. Didn't had any other quests idea without letting the player spam the quest. Maybe I will add a time for each quest.
Yet I didn't concentrate on that register thing. I just put that register so users can register and check the game out. It's not public and I don't think I want to make it public until I have a designer who can make some animations for me and so on :).
Thanks for checking my game :D.
-
Re: My browser game in PHP
Quote:
Originally Posted by
Gruntilda
You can now disable the hints. On the navigation bar near Game.
-
Re: My browser game in PHP
Every time I check the site its down.
-
Re: My browser game in PHP
Quote:
Originally Posted by
Ron
Every time I check the site its down.
I will change the host. To another temporary one but better :p.
-
000webhost is free and reliable from my experience
Sent from my DROID BIONIC using Tapatalk 4 Beta
-
Re: My browser game in PHP
Quote:
Originally Posted by
Chris
000webhost is free and reliable from my experience
Sent from my DROID BIONIC using Tapatalk 4 Beta
That's the host it's right now and it seems it don't work well I don't know why, I used 000webhost before and it worked very well. Anyway now I updated the link on the first page. And the old one will redirect. Until I fully finish the game and maybe release it I will host it on my server :p. Now it should work faster and more stable for most of us.
I will fix more things as you guys find improvements, and I will try to update it and make the game interesting. Any ideas are very welcome.:thumbup:
-
Re: My browser game in PHP
Quote:
Originally Posted by
Chris
000webhost is free and reliable from my experience
Sent from my DROID BIONIC using Tapatalk 4 Beta
Nice Joke Chris
-
Didn't even notice it was on 000webhost. I have had good experiences with them in the past though.
Sent from my DROID BIONIC using Tapatalk 4 Beta
-
Re: My browser game in PHP
Quote:
Originally Posted by
Chris
Didn't even notice it was on 000webhost. I have had good experiences with them in the past though.
Sent from my DROID BIONIC using Tapatalk 4 Beta
Yeah I actually have a website with 000webhost currently and literally every 5 minutes it feels like their being ddosed. I've had my account there since 2008 and no problems in the past either but now they suck temporarily.
If anyone has any good host suggestions let me know.
-
Re: My browser game in PHP
Future Updates:
(The updates are under tests on a local server. They will be realeased one by one soon enough)
- Instant battle results in quests changed. You will see the battle results just after the completion bar quest finish, there is also a timer. So when you make a quest a loading bar will appear. When the loading bar finish to load the quest is complete a confirmation reward screen appear and you can take another quest. If you go back when you make the quest the reward and battle results will be calculated but you won't be able to take another quest until the previous one is finished.
- New work system. You will be able to work for 2 hours for 200g. If you have to go somewhere and you can't do quests this will be a good way to make money. BUT NO EXPERIENCE. When you work you can't get any other quests.
- More items on shop will be available. Like hats, rings, more weapons/armors.
- New pvp. This time the enemies will be real players. Still no rewards.
- New gamble system.
- Mount system: Mounts will be used to reduce waiting time for quests.
- Level max will change to level 100.
Graphics ( NEED HELP ) :
I want to make a new look for the main city. A gif where clouds on the sky will move and the stars or sun shine. Also I want to replace the tavern also where in that gif 2/3 npcs to can click on each one :). If someone is really good in photoshop / flash / animation and wish to help me out with the design please PM me or add bogdan_wing@yahoo.com or skype: bogdan_wing
-
Re: My browser game in PHP
-
Re: My browser game in PHP
I can help with making the clouds if you still need help. I made my first using game Adobe Flash with moving clouds.
-
Re: My browser game in PHP
Quote:
Originally Posted by
Preview
Try again please :). It should work 100% now.
Quote:
Originally Posted by
Kudzo
I can help with making the clouds if you still need help. I made my first using game Adobe Flash with moving clouds.
Yes help on graphic part would be awesome. I don't know much about making animation and those sort of things. How can we start? Should I send you some photos with cities and you try to make them more dynamic? Just tell me. Thanks in advance.
-
Re: My browser game in PHP
Quote:
Originally Posted by
Addablo
Try again please :). It should work 100% now.
Yes help on graphic part would be awesome. I don't know much about making animation and those sort of things. How can we start? Should I send you some photos with cities and you try to make them more dynamic? Just tell me. Thanks in advance.
Contact my Skype : Creative.Kudzo