Jump to content
MakeWebGames

Coly010

Members
  • Posts

    912
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Coly010

  1. Move the Ad By: code out of the while loop Use a separate database call to make get the ad data.
  2. omg.. a few days away from this forum and I come back to this. No harm [MENTION=69823]jcvenom[/MENTION], i thought you would have known how to store data from the db into an array, especially when you pull data from the database it is moreless in an array already... I seriously don't understand how you have managed to get client work if you don't know that. But with that said I'm gonna try help you. You have a table in db for emojis, set it up something like this: | emoji_tag | emoji_img | | ----------- | ------------ | | =) | smile.gif | etc then in PHP you want to use your mysqli functions to receive the data from the database   $i = 0; $q = mysqli_query($c, "SELECT * FROM emojis"); while($r = mysqli_fetch_assoc($q)){ $emojis['tag'][] = "/".$r['emoji_tag']."/"; $emojis['src'][] = "<img src='".$r['emoji_img']."' />"; $i++; }   It's as simple as that... (which is actually a bit more complex than needs be, its just so you can set the array up how you want it, which may help with your replacing as you'll see below) then I'd suggest preg_replace like: preg_replace($emojis['tag'], $emojis['src'], $message);   This is untested and I'm not sure if it would work, but you get the idea.
  3. If (weapon_type == "melee"){ // ignore ammo code } else { // do ammo code } Somewhat pseudo code in nature
  4. Exactly, also the market really isn't great for them anymore. The likelihood of an owner making any money back from the time and money spent on the creation of the game really depends on if they manage to grab an user base. And there's a number of users out there who prefer to play the same style of game over and over, with a few theme / style changes here and there. But then you get the users that only look for one thing. Uniqueness. What makes your game stand out from the crowd, what unique style of gameplay can you offer me. So realistically it's finding the balance between both of these, good market research and marketing and an owner who is passionate about their game that will lead to success in a PBBG game these days
  5. I don't even look at signatures normally..
  6. They are a business, businesses need cash flow to stay afloat, they'll do it in the ways they see most profitable. Some may weigh up the ethics of it, some may not. More people will download a game that is free despite having ads in it than a game that is paid (unless it's a clear cut winner)
  7. Kyle still runs it
  8. Time to control Bobo is a bit glitched: [ATTACH=CONFIG]2206[/ATTACH] [ATTACH=CONFIG]2207[/ATTACH] Time didn't count down, unlimited control basically. iPhone 5c , iOS 9
  9. I would say every 10 levels, or maybe start it at 5 and as the levels get a bit more difficult, make it maybe 10, increase depending on difficulty because if you're gonna die a lot then ads are gonna come up frequently and are gonna get very annoying, but don't get me wrong, I understand the need for them to be there as well. You just don't want a user walking away from your game because of the ads
  10. I like it but the frequency of the ads full screen ads are annoying.
  11. It's been a hell of a long time since I've seen you on here, how's the game going? It must be up a good number of years at this stage.
  12. All you've really missed is the numerous times [MENTION=69823]jcvenom[/MENTION] has publicly apologised. Some people trying to sell games Some people trying to sell games that are ripped copies Some people accusing people of owning unlicensed copies Some people announcing projects that don't seem to have been finished. [MENTION=71663]IllegalPigeon[/MENTION] and [MENTION=71587]~Rob0t[/MENTION] have come along to rip **** up it seems. [MENTION=68711]KyleMassacre[/MENTION] has to delete a lot of spam. So. The usual really
  13. I'm popular enough amongst my age group in my location of Northern Ireland. Everyone generally thinks I'm a really nice person and a lot of people ask me to come out with them and ask me to come to parties etc. As for sports, I used to play golf and football (soccer) regularly. I was great at soccer, not so good at golf, but I enjoyed it. I'm getting back into soccer after two years out. I'm not as fit as I used to be, but I can still sprint the pitch with the ball at my feet mighty fine.
  14. I thought that was a good sales pitch. Customer asks for something , offer them something better.
  15. Get him to look at Sniko's Panther: https://github.com/Script47/PantherSkeleton/tree/master/Skeleton%200.6 it would be a better bunch of code for him to learn with.
  16. If you redo your code taking into consideration what [MENTION=71587]~Rob0t[/MENTION] said then the code and mod will be much better :) but it is a good attempt :!
  17. Thanks for clearing that up :) I didn't even think about Select when I wrote the post
  18. It's not the fact that dropping a table via sql injection on a site you down own, run or work on is silly, it's illegal for christs sake. Do a bit of research. And apologising doesn't make it right. It also doesn't matter if it works or not. It's still an attempt. It's like going to facebook and trying to drop the user table there. You'd get jailed and sued. There's a difference between malicious hacking and ethical hacking. What you have done is malicious, what IP has done is ethical. They haven't forced any loss of data, they've made light to an exploit. If you were being ethical you wouldn't drop the table. You would maybe change your own data, or add a new column, sonething that won't **** up the app.
  19. He doesn't even know about the Computer Misuse Act... He thinks attempting to gain illicit access to a person's server / database is ok and perfectly legal. He thinks being popular amongst his mates makes him God's gift. He's using terms like "battyboys", "wastemen" and "pagan" to refer derogatorily about a person. He's completely ignorant to the fact that there is a certain degree to what you must care about what people think about you. Professionally to say the least. He's not even 18 yet. He has no concept of a real job or professional life. He's gonna get really far in life I'd imagine.
  20. Yeah yeah whatever
  21. [MENTION=69823]jcvenom[/MENTION] you've now lost all your respect. Brilliant job! You're fantastic at getting people to like you. I can confirm that ebenezer is his name so it was him that tried to inject some sql.
  22. You must be using $_GET[] to set your type and amount which is never a good idea, if you can't post the data then do as MagicTallGuy said , store the data in sessions. It's not completely fool proof though I don't think.
  23. Don't like the table borders. everything else seems ok
  24. not going to lie, i like the layout and theme. I know its bootstrap but its not the default theme so yeah +1 for that at the very least, havent really tried playing the game tbh
  25. Create a mobile site just, use mobile specific layout and css, then using js redirect the user to the mobile site if they using a mobile device. Or use bootstrap properly, use the correct containers etc
×
×
  • Create New...