Jump to content
MakeWebGames

Coly010

Members
  • Posts

    912
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Coly010

  1. I'm also waiting on a reply [MENTION=71308]Just Ace[/MENTION]
  2. I've done a massive shared housing mod in the past, i have a lot of experience doing it. I'll PM you
  3. I think paid mods not being sold by Cold B are the last thing on his mind tbh.
  4. Because they don't care enough to put the time into fixing their site.
  5. Or use a ternary operator to check if the value is greater than one?   echo ($timeVal > 1 ? "s" : "");
  6. I was gonna suggest nodejs for real-time actions but I wasn't sure if that was what you wanted or not :) I have a question about mixing PHP and nodejs if you care to answer? If i have my node server operating on port 8080 with socket.io installed and set up, on my Apache runs on port 80 I belive. So going to mydomain.com techniqually takes me to mydomain.com:80 . My nodejs server is running therefore on mydomain.com:8080 . Does the usual <script src='/socket.io/socket.io.js'></script> connect and send requests to the nodejs server on port 8080, or is there more to it?
  7. Nah I like the brick background. The colours match well with the UI. As for the bottom, I think the bar at the bottom of the page, with the expandable stats/levels/inventory may be better. Have them open a dialog box which loads the content with Ajax. That way of you have links on a menu on the left they will be more gameplay focused. In that sense your bar at the bottom could have icons for mail, notifications, user settings, chat. Also, if your modules/gameplay sections don't require a lot of page loads, wherein they use Ajax to update the page the user is on, then you might think about having the page check for new mail and notifications etc every so many seconds after page load.
  8. It could be legitimate, but there's just something about it that seems dodgy.
  9. Try this: var a = { b: 230000, c: myFunc }; function myFunc(){ var b = "derp"; $.get("a.php", function(data){ return data; } }   Done on my phone quickly and untested
  10. [MENTION=65100]W3Theory || Peter[/MENTION]
  11. Its similar to a game I'm planning at the moment. Looks amazing! The graphics are really good. Looks promising, keep us up to date [MENTION=64684]Dayo[/MENTION]!
  12. Mind saying how in case anyone else has the same issue?
  13. It shouldn't matter if I'm on mobile or not. Even css for desktop applications should still load correctly on a mobile, it would just be unresponsive. The layout and font should still work fine.
  14. It does not even load right....[ATTACH]2109[/ATTACH]
  15. "Little" LOL Good effort though
  16. Why are you "arguing" about whose wheel of fortune he should use or whether you should release it or not? If you want to release it then go for it. Yeah, there could be two different approaches to how the same feature was made, but hey, it's programming, that's what happens. Arguing maybe too strong a word.
  17. I'm not sure if he would even know what you're talking about to be honest, no harm to him. He just wont do the work to learn what's going on.
  18. you had to be that guy didnt you :( I'm also missing the $ before it.... so...
  19. while(!-BRAIDZ-_understands){ ?> I'm sorry but I am going to sound like an ass here but I feel it's for your own good. i don't see what is so confusing about this, coly and sniko have helped you immensely and have pretty much given you almost a fully functional system here. If you understood the way PHP works regardless of Framework/Script you would have this done by now. The reason you are not understanding what is being offered to you is because you refuse to try to learn, expect people to do it for you so you can copy/paste and expect it to work. But guess what? It's not going to happen. You can't troubleshoot because you have no clue to what is actually going on in your script. This is all basic stuff and nothing out of the ordinary. Please se take the time to read the documentation that has been provided to you and learn it <?php }
  20. It was better than nothing :P [MENTION=68406]-BRAIDZ-[/MENTION] You need to look at articles, videos or the php documentation. You will not learn what each keyword, function or statement actually does without it. You are literally shooting yourself in the foot by refusing to look at anything. I know you said it was confusing, but its going to be. Also, using mccodes to try learn php is a big no no. Mccodes is php in its worst possible form. Following what [MENTION=65371]sniko[/MENTION] has posted From php.net : http://php.net/manual/en/tutorial.php http://www.homeandlearn.co.uk/php/php.html http://www.codecademy.com/en/tracks/php as for your problem. You need to learn to read your code: echo "You have collected ". number_format($ir["amount"]) ." Bottles of Beer, you have ". number_format($ir["brewed_beer"]) ." left"; $ir['amount'] doesnt exist.... it should be $_POST['amount'] also, do you have a cron running anywhere that sets brewed_beer to 0?
  21. For one, your variable: $_POST['brewed_beer'] shouldn't exist, change that to $ir['brewed_beer']. Now if you want to check whether they are trying to collect more: if($_POST['amount'] > $ir['brewed_beer']){ // error }   Also there is a difference between teaching yourself and asking everyone for the next step. Teaching yourself involves reading tutorials, articles and language documentation. http://www.w3schools.com/php/default.asp That has good tutorials on the basics of php, they are not videos. Learning language is going to be complicated to start off with until you've done it a few times. Learning by asking everyone else what is wrong or what to do next is only going to get you so far, and your going to be constantly doing it
  22. Think of a variable like a box. You put something into the box. You write a name on the box. Anytime you need what's in the box you go and find the box with that name. in code: // Put the string "item" into the box. $box = "item"; // Get the string from the box echo $box;   Have you dived into php without actually reading any tutorials or documentation on it?
  23. I'm not getting into another public discussion, so I've messaged you, but you need to learn to read my posts properly.
  24. He said in a different topic that he uses a mobile editor , so I don't think he'll be able to tabulate his code
  25. Also, if you use an editor, save the file, then upload the file, overwriting the existing one. Don't copy and paste it into the online code editor. To me it seems you may have an encoding format problem.
×
×
  • Create New...