Jump to content
MakeWebGames

Octet

Members
  • Posts

    149
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Octet

  1. Ok, I've been ill for the past week so I haven't been able to do any work on my project, but I've just finished a new design for the site which is a lot cleaner and is flexible. You shall need to ignore the slightly... derpy look of the medieval pageboy ... my drawing skills aren't the best. The pageboy image shall change to in game screen shots once I have that done, but until then I shall just leave him and his lack of hair on the page. [ATTACH=CONFIG]532[/ATTACH]
  2. All it is doing is checking two variables, for example it is checking whether the variable $hacker is equal to $stafflogin. So if someone logs into the staff login then compare it against the array $hacker['knownHackers'] and if it matches then display the message.
  3. Oh why, oh why do they make it so complicated :(
  4. Thanks, and no. I'm going to be creating my own, well... that is the plan. I am going to start by creating it specifically for Defender of Kingdoms and then I shall extract and refine it so I can 'universally' re-use it.
  5. Thanks, So it looks like SESSION Cookies are ok, which is a rather large relief...
  6. Octet

    Php books

    There is a good one from 2009 which also covers Javascript but more importantly MySQL meaning you can combine the PHP and MySQL together to do some rather cool stuff. http://www.amazon.co.uk/Learning-MySQL-JavaScript-Step---Step/dp/0596157134/ref=sr_1_1?ie=UTF8&qid=1341254117&sr=8-1 Hard copy and Kindle Addition so no problem with an internet connection. It covers all the basics and fairly moderate to advance stuff so it isn't bad, especially for the price.
  7. Thanks for those links, they are helpful. Website and internet laws always annoy me, they never seem to be clear and there seems to be no international standard. I am not going to be accepting Personally Identifiable Information so I don't need to be a registered data controller, copyright and user generated content is going to be my biggest problem but I've spoken to a lawyer and they said that the most suitable thing to do considering the wide variety of laws is to just make sure you can be contacted and that way if someone wants something taken off the site you can. I think the best way to go is just to stick to common sense and follow as best as you can (such as not collecting PII, and making sure you provide contact information), from what I gather there has been no court case where a small website has gone to court over such matters.
  8. Thanks, If I'm not mistaken, I think new legislation by the UK government state that you are now required to make websites more accessible, with providing translation options being one of them?
  9. Ok, In case anyone is following this thread or is interested, I have finalised the story line, modified the names a bit and worked out how I shall do the game play. I have also managed to get onto Photoshop and so I have been able to do my design for the index page, the graphics aren't the best as I'm not an artist but hopefully you can see what it is supposed to be. More shall come, and I shall keep this thread updated for anyone interested. [ATTACH=CONFIG]514[/ATTACH]
  10. Thanks, looks like it should do the job but I haven't tested it yet! Thanks again, really helpful.
  11. Thanks, looking forward to seeing it. As I say, the intro looks very good but you where a bit 'suspicious' to start with so you would need to rebuild trust again.
  12. I am creating my purchasing system for my game at the moment, but I am struggling on a part of it and wondered if any of you could offer me some guidance? The problem I am facing is adding X amount onto a value but if that means it goes over Y then only add up to Y. The player shall purchase a piece of food that shall raise their health by 20 (with 100 being full health), how do I make it so that if the current health value is 90 then it won't go to 110 e.t.c. So far I have:   <?php session_start(); mysql_connect ("localhost", "root", "") or die ("Couldn't Connect to Server"); mysql_select_db ("Defender_of_Kingdoms") or die ("Couldn't Find Database"); $Purchase = mysql_real_escape_string($_POST['Purchase']); $Username = $_SESSION['Username']; $Money = mysql_query ("SELECT * FROM Character_Data WHERE Username = $Username"); while ($Results = mysql_fetch_array($Money)) { /* Purchase of Meals */ if($Purchase = "Peasant") { if($Results['Silver'] >= 20) { $Withdraw = $Results['Silver']; $Withdraw = $Withdraw - '20'; $Stamina = $Results['Stamina']; /* HELP - ADD TO STAMINA BUT NO FURTHER THAN 100 */ $Health = $Results['Health']; /* HELP - ADD TO HEALTH BUT NO FURTHER THAN 100 */ mysql_query ("UPDATE Character_Data SET Silver = $Withdraw WHERE Username =$Username"); } die (Header ('Location: ../Errors/Money.php')); } } ?>   I hope you understand and that you shall be able to understand me. I don't want the player to be able to gain more than 100% health or stamina through eating. (I haven't tested the above code so it might spit out some errors) Thank you
  13. We fully understand you can't open the game at the moment, and no one is asking you to but you must have at least one or two screen shots of the game? You claim it to be 88% completed?
  14.   I agree, you haven't shown us enough to prove that you can be trusted. At least show us some screen shots of the actual game, the intro looks very professional but that doesn't mean the game is going to be?
  15. Very interesting point. I suppose I also do a bit of this, I however need a base to start from, I can't just jump straight into it. Once I know what it shall look like, such as creating the design and graphics then I shall be able to see how it shall all work. This also helps when I need to test something, I like to see it with the graphics as that shall be the final product, this way I know if it looks good or whether it needs changing. Making the graphics first means I can implement them immediately and I can see straight away what is and isn't going to be suitable.
  16. Besides all the points everyone else has made, and the apparent deceit... your project is 88% complete (according to the website) which means you have already done over 3/4 of the work without funding. What could you possibly need $5000 for? Even if you did need it, no one is going to pay $5000 for something that we have barely seen anything about, especially when the only benefit is to 'chat with you in private'.
  17. Hehehe, so true... so true.   I think I would agree with this, once I see how it looks I can happily move on with it, also this probably saves time in the long run as you don't need to keep adjusting the design.
  18. I would find that just too strange, I would be able to see what to do next and would probably make a load of mistakes.
  19. I'm just wondering whether it is only me or whether others find the same issue. I am working on my game project, I have completed all the planning but I 'need' to use photoshop to create the front page. I can't access that until Sunday afternoon and now I feel as if I cannot do any more work on my site or game because I haven't done that bit yet. Is it just me that has to work in a specific order or cannot concentrate or do others face similar issues?
  20. Hello, I would just like to share the project I am going to be working on for the next couple of months (ignore the one I posted in my 'Introduction', that idea was dead in the water before it even started). The game is called, 'Defender of Kingdoms' and is your classic style Fantasy RPG Persistent Browser Based Game set in the medieval era (so nothing new), written in HTML, CSS and PHP with a MySQL database on the side. The game focuses on the Kingdom of Foraoise Glas, which is a rough translation of 'The Kingdom of the Green Forest' into Irish because Irish words seem to sound more mystical. The story line is as follows (see if you can recognise which play by William Shakespeare the general idea is set on), the kingdom is seperated by an ever raging war between two brothers who are constantly attempting to better each other and be the 'man of the house' after their father was killed in a war. The brothers are called 'Brother Saibhir Ceann' (translated as The Wealthy One) and 'Brother Cliste Ceann' (translated as The Intelligent One). When the player enters the game, they are placed into one of these sides and all members of that side work together to build a stronger Kingdom. The player shall have the ability to design and build their 9X9 plot of land with defenses to defend against enemy players (people on the other brothers side). That player can then also attack people on the other side to gain additional gold, silver and points which can be used to further develop their kingdom. The attack shall be automated, but is as follows: -The victim can always attack the attacker until such defenses have been destroyed. -The attacker shall always begin to attack the outer wall. -The level of the victims defenses shall depend on which order they are attacked in (level 1 shall be attacked after the wall, level 2 defenses mean that the attacker goes to the next lowest building prior to the defenses (giving them twice as long to try and destroy the attacker), level 3 is the same but giving the victim three times as long and so on...) The attack is taken in turns, and simply minuses the damage points away from the structures health until either side is destroyed. If the attacker wins then they receive 50% of what it cost to build the items they destroyed of which 10% goes to the brother (you shall see why soon). If the victim wins then they receive 50% of what the attacking army cost to build of which 0% goes to the brother. A player may not attack an enemy base if their health is less than 50% to which they must buy food from a community tavern on either brothers side to recharge (develops a more social aspect to the game). Each day, the player receives a fixed amount of money from the brother depending on how many attack points they have, and they must be logged in to receive this (hopefully shall keep players returning and gives an incentive to attack other players).   That is pretty much it, rather long post so I don't blame you if you didn't bother to read through it all (and I congratulate you if you managed to understand how it works, I admit my explanation is rather poor and confusing). If you would be able to give me any tips, suggestions or advice I would be most appreciative and I shall post some screen shots soon.
  21. Fantastic looking tools! I've started downloading them but due to a slow internet connection they shall take an hour to finish (excluding install time). I'm surprised, and slightly concerned about the 'free' aspect of it... may just be me but a company doesn't give away something, and especially not something worth so much, for free without some kind of draw back. I shall download them anyway and see what happens, brilliant find and thanks for sharing a_bertrand.
  22. Very nice point, I think you have hit the nail on the head. Now I think about it more, I would class my project as a success if it works but that doesn't mean it shall be popular. As Henry Ford stated, 'a business that makes nothing but money is a poor business.'
  23. To me, success on a game or website can either be measured on two things: -The Sentimental Aspect- If people enjoy the game/website then I suppose you could consider it as a success, as you have completed your objective or creating something that members of the public enjoy. -The Business Aspect- You could also rate success on the business side (which I prefer to go with), if your website or game has a high traffic it proves both the sentimental aspect and brings in a source of income. Personally, if you have a high traffic flow that includes returning visitors then I would class it as a success.
×
×
  • Create New...