Jump to content
MakeWebGames

Coly010

Members
  • Posts

    912
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Coly010

  1. Havent used this mod, but from looking at that, i'd assume it might be something to do with LIKE DATE_FORMAT(NOW(), '%Y-%m-%d %k') however, that saying, it could be the part where it actually prints the users to the page where the error is occuring
  2. then you'll probably need to go to the database and turn it off through that, there should be some column in a table telling your game it is in maintenance, change the value of it
  3. sounds good :)
  4. its not, from forum sig and from profile pic i can make myself admin as long as you view the page. your crystal market is not secured either. I'll help you secure the game if you want, for a very small fee, a lot smaller than a lot of other freelancers are on here. If you have private messages turned off turn them on, and send me one if your interested
  5. if this is just default mccodes, which it seems to be have you protected against sql injection?
  6. That'd what I'm trying to say, a user coming onto your game, that has never played a mccodes game before goes to the shops in the city they are in, and see's nothing. They gonna think the game is unfinished, which it does seem to be. You need more planning, and to put a lot more effort into this game
  7. So you think its acceptable to just turn to a user and be like, awk sure there's shops elsewhere
  8. Also, you have no shops?
  9. You realise that the success of your game will depend on its gameplay and uniqueness compared to other mc codes games?
  10. Your 16? *Sarcastic clapping* I'm 17. Your self-taught? *sarcastic clapping* same here. Same goes for a lot of other people on here. That's generally how your expected to learn to code. I know that comes across as mean, but you need to see the reality here. There's an 18 year old in England, created an App called Summly (think that's what it was) secured £500k investment (not 100% on that value). Anyway, Yahoo bought his app for something like a million dollars. He was 16 when he published the app, he was self taught in Xcode. (iOS dev language). Never, ever expect sympathy from fellow developers cause of age. Just a heads up. My point was that you gave your client a login which doesn't use external pages, everything is done through JavaScript. He didn't ask for this. I know I've told you to through free things in, that's so well and so good, but when he gets complaints from users that can't use the site, he has every right to come back and complain to you that you did something that he didn't ask, which PREVENTS possible users from getting into his site. It's different if your free extra adds to the value, but with the possibility of it preventing people from using the page, then it calls into question if you should add it when yor not asked to. I recently made a post about getting feedback on this forum in a different thread. A guy was asking for feedback on his layout, we gave him feedback on every single aspect of his screenshot. Same goes for you. When you post something on here you need to expect that your going to get feedback and criticism on a lot more than your asking for. Get used to it, and appreciate it, it's all valuable, and you'll certainly learn a thing or two.
  11. For someone starting off I dont get this attitude. You should be trying to build your reputation up a bit, and throwing in a few free extras that add value to the service your providing. It'll also set you apart slightly. It'll look good when you go to attract more clients. I agree with points that both [MENTION=50378]Guest[/MENTION] and [MENTION=69823]jcvenom[/MENTION] are making. I'd be more on the side of Guest though, because I would want to provide my client with something that will accommodate for all users. But I also hate it when the client doesn't give me enough information but expects me to just know what they want.   [MENTION=69823]jcvenom[/MENTION] , you tell us in your first post that you added your no external pages technique as a bonus for the client, so what's wrong with giving the client an alternative, just in case. Also, what's wrong with external pages? As you said your image slider works with javascript I have a really old school workaround for that. it involves using external pages though :P create an image gallery file then using frames split it into two. the top will be the image in its full size. the bottom frame will have the thumbnails of the images. surround the images with links to a file that displays the full sized image, just target the top frame with the link. Iframe this image gallery file into your screenshots page.
  12. he has a point. For a project that I'm working on (which has been set to the side for now) I use javascript and jquery a lot, so have had to consider what to do if a user disables it. One of the best solutions is what [MENTION=50378]Guest[/MENTION] has stated, another is redirect them to a mobile site that doesn't use javascript. Finally the one I find most comical is Facebook's approach:
  13. "best" way, no. What [MENTION=70654]Jax[/MENTION] has been saying is correct. 99.9% of the time you do need to type check. You can never 100% fully secure a site, but that in mind you can take precautions. The way to avoid writing lines and lines of code over and over is to create a function then pass your input to it. However be aware that with programming there are a lot of times you need to write that bit extra to secure your code. [MENTION=70654]Jax[/MENTION] , I understand what you're saying, the point I'm trying to make is that if a hacker was attempting to input a malicious query into the request then my function just converts it to an int, which is no longer as malicious. So in the case of a string "abcd" being entered when a user transfers money to another user, it'll simply send them a value of 0 money. Not too bad. If the game is set up so that money is an int, then a user trying to send 99.999999999 money will end up sending 99 money. not too bad again. Your array example throws me a bit, because they could have a string in the first element and a number in the second. my function as far as i'm aware will always return 1 for an array, which again isn't too malicious but still not what I would want. I have checks if someone tries to send 0 of anything and prevents them of doing it. I also have checks to prevent a user from sending more than they have so if the user has 0 money and a hacker inserts an array it'll still fail. To me personally the function works for my needs as I have the other checks that are needed. Your octal value example, returning 75 again in a game situation isn't overly malicious as most users wont understand the difference between decimal and octal and will most likely be looking to actually input 75.
  14. So tell me, why does it not? If you try input a string into that function, it'll return 0. Eg, "hello" returns 0 if you input a number you get a number. Eg "90" will return 90 if you input a decimal you get an int. Eg "45.6" will return 45 I'd like to know your reasoning behind saying that this will not sanitise any form on input when you are expecting a positive input
  15. if your using is_int() with input then your need to convert your input string to an integer before hand, in which case you'll know its an int?
  16. You haven't offended anyone :) I know the way you normally are because of when I tried (and i failed lol) to help you with your zoom problem. I hope I didn't sound mean in any of my posts, I was only intending to make you aware of how you sounded. [MENTION=69823]jcvenom[/MENTION] , you don't need to try to impress people with how you write a post. When writing a post, write it in such a way that your comfortable writing it, your work will impress for you :)
  17. No, take a look: http://php.net/manual/en/function.ctype-digit.php the period ( . ) is not considered a digit so it will return false apparently However, if your variable is already an integer, then using ctype_digit() will be extremely unreliable. The example given on php.net:   <?php $numeric_string = '42'; $integer = 42; ctype_digit($numeric_string); // true ctype_digit($integer); // false (ASCII 42 is the * character) is_numeric($numeric_string); // true is_numeric($integer); // true ?>
  18. [MENTION=69823]jcvenom[/MENTION] Reading your first post, and your replies to what people have said, what Sim has said, that's how you made me feel by the time I finished reading it. There's a difference in being confident and cocky. Confidence is good, cocky isn't, it borderlines arrogance, and I would never want to work with someone who is arrogant. Reign yourself in a bit. You might have got £70 from your first freelance job, there's people here that have made a hell of a lot more. What you have done is good, I wont take that away from you, it's just your attitude in this thread isn't the greatest. Good Luck with your next client :)
  19. You should realise by now that there is more than one way to do something in programming :)
  20. You have a lot of code there, surely this will do the same to make sure you have a positive integer? if you want negative, just remove the abs().. function test_num($var){ $no = abs((int) $var)+0; return $no; } if(isset($_POST['var']){ $no = test_num($_POST['var']); if($no >= $min && $no <= $max){ // do something } else { // do not } }
  21. You don't have to no, I'll agree with that, but what difference is it really going to make, its not exactly going to set you apart from him. What he means is where is tha AJAX side to this? jQuery and AJAX are separate things. AJAX is mainly about sending requests asynchronously to the server and interpreting the results so you can update parts of the page or show certain things based on certain criteria, such as a search box that populates a <div></div> with results as a user types their search query, eliminating more and more results with every keypress. You say you have a clever technique that loads all the pages and then it doesn't refresh. That isn't very difficult, I did the same thing with the Login / Register page I have posted recently on here. All it requires is to set up a <div> for each page. Give it an ID relevant to the page in question. Using css set the display: none; for each of the pages/divs that you don't want to show. For the page you are showing, Give it a class: class='active_page' Next you set up an onClick="" event for each of your links in the navigation.   Here comes the jQuery: Find the element with the active_page class : var active = $(".active_page"); Hide the element with: active.hide(); Remove the class from that element: active.removeClass("active_page"); Add the active_page class to the page your showing: $("#page").addClass("active_page"); Show the page: $("#page").show();   simplez. I get your starting to do freelance, kudos to you for that and I hope you do get the clients you're looking for, but please don't be uptight about programming techniques etc. Think about it, if every programmer was like you and didn't share their methods, how on earth would you for one have learned how to program and two anyone else learn how to program. Knowledge is supposed to be passed on, hence why we have education systems.
  22. Awesome, looking forward to it
  23. I must look into LEAST() and GREATEST() and see how they can help me, maybe in other situations.
  24. Yeah well I've gone through some of my posts and realised I need to start doing something to improve my reputation to match my skillset. Back when I first joined this forum I was a complete noob around 13 years old when it came to coding/design/text based games , but I've learnt so much since then and I'm trying to convey that I have improved /: so I'm putting the time and effort into all of my posts to try and give advice in an understandable way. People rush to prestige for the status and the leaderboards, you get players that enjoy doing that so you can have those features in your game to suit those players but I wouldn't force these features on all members
  25. Gonna reiterate this point. A game, text based or not, is a game. What makes you play a console game? Things like CoD or Halo? Its the gameplay. If the gameplay in those games wasn't up to scratch they wouldnt be major titles in teh gaming industry. Same goes for a text based game. You need to give your users something that they can enjoy playing, something that isnt just the same thing that they are always playing. For me, this is where a storyline comes in so well. You set up a story, you give users a bit of background on it and then you let them play through the story. make it as complex as you want, but for me personally, even just having standard Mccodes Crimes changed to suit your storyline wont be enough. A proper questing/campaign system, although difficult and time consuming can be the difference in your game being a major success and or it failing. Put the time and effort into it. Set it up so that you can expand the storyline easily enough from an admin panel. Prepare expansions and then that gives users something to look forward to. If your storyline features factions of some kind, let users choose which side they want to be on, and incorporate that into your game play. You can also think about adding easter eggs into your game, "hidden" things that can be found, and doing so will reward the user with something whether its items or a title or recognition. Make them level specific if you have to so that users can't just do them from day one. That's my thoughts anyway.
×
×
  • Create New...