My browser game in PHP

Page 1 of 3 123 LastLast
Results 1 to 15 of 38
  1. #1
    Valued Member Addablo is offline
    MemberRank
    Jan 2009 Join Date
    147Posts

    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.


    picture hosting
    Last edited by Addablo; 29-05-13 at 08:01 PM.


  2. #2
    Extremely Salaried Member cinos11 is offline
    MemberRank
    Jun 2008 Join Date
    In your monitorLocation
    416Posts

    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 "

  3. #3
    Valued Member Addablo is offline
    MemberRank
    Jan 2009 Join Date
    147Posts

    Re: My browser game in PHP

    Quote Originally Posted by cinos11 View Post
    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

  4. #4
    Pessimistic Ass@%&! Monolith is offline
    MemberRank
    Jan 2008 Join Date
    DallasLocation
    2,301Posts

    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 :))

  5. #5
    Valued Member Addablo is offline
    MemberRank
    Jan 2009 Join Date
    147Posts

    Re: My browser game in PHP

    Quote Originally Posted by Monolith View Post
    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 View Post
    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.

  6. #6
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    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)

  7. #7
    Valued Member Addablo is offline
    MemberRank
    Jan 2009 Join Date
    147Posts

    Re: My browser game in PHP

    Quote Originally Posted by Eronisch View Post
    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 :)

  8. #8
    Custom Title Enabled George SS is offline
    LegendRank
    Oct 2005 Join Date
    3,281Posts

    Re: My browser game in PHP

    You must enter only a-z 0-9 A-Z allowed
    Register failed
    No matter what username or password I try.

  9. #9
    C# Programmer Jax is offline
    MemberRank
    Dec 2009 Join Date
    1,030Posts

    Re: My browser game in PHP

    Quote Originally Posted by mucski View Post
    No matter what username or password I try.
    The exact same error, I'm receiving too.

  10. #10
    Valued Member Addablo is offline
    MemberRank
    Jan 2009 Join Date
    147Posts

    Re: My browser game in PHP

    Quote Originally Posted by Jaxter View Post
    The exact same error, I'm receiving too.
    Quote Originally Posted by mucski View Post
    No matter what username or password I try.
    Sorry :p fixed :).

  11. #11
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts

    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.

  12. #12
    Valued Member Addablo is offline
    MemberRank
    Jan 2009 Join Date
    147Posts

    Re: My browser game in PHP

    Quote Originally Posted by Ron View Post
    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.

  13. #13
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: My browser game in PHP

    Maybe look into HTML5 features for more of a "game" experience?

  14. #14
    Hello! NubPro is offline
    MemberRank
    Dec 2009 Join Date
    C:\DesktopLocation
    1,592Posts

    Re: My browser game in PHP

    Better design and javascript implement please?
    your register script is highly annoying

    Wrong Username or Password back
    Code:
    Wrong Username or Password <a href="index.html">back</a>
    see the hyperlink issue? try it yourself

  15. #15
    Proficient Member rapa is offline
    MemberRank
    Jun 2006 Join Date
    RomaniaLocation
    158Posts

    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



Page 1 of 3 123 LastLast

Advertisement