Jump to content
MakeWebGames

dnenb

Members
  • Posts

    325
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by dnenb

  1. dnenb

    Email verification

    +1 for that. You can google "php email verification", Razor. I found some ok guides there. If you already have a "forgot password" system, you can use much of the same logic.
  2. dnenb

    Email verification

    I guess my way of doing it (you get your password via email) puts some people off since they can't start playing at once. But do it like this: You can't level up until you've verified your email. That way people can start playing at once, and they will verify if they like the game.
  3. dnenb

    Email verification

    Do it! I know for sure it stopped one guy from creating multiple accounts on my game, and it has probably stopped others as well.
  4. Thanks. That looks like the best choice so far.
  5. Which service did you use?
  6. I'm currently entertaining an offer on one of my games. Have you sold games in teh x,xxx-range before? How did you do the transaction? I'm curious about the payment specifically. Escrow? Thanks.
  7. 50 players online the last 24 hours isn't bad at all! How have you gotten your players? How many registrations per day now?
  8. Well, the code is simple enough. If you get to the default case in the switch, then $ir['tutorial_step'] has a value (if any) different than 1 or 2. Try echoing it out to see.
  9. Then $ir['tutorial_step'] doesn't have a value recognised. Did you add the field `tutorial_step` to the users table, as I said above?
  10. Thanks, but I'll code it myself if it doesn't already exist :)
  11. Has anyone here made a mod for player banks? Where players can open banks, and let other players apply for loans with a set interest? Tried searching around, but couldn't find anything.
  12. Glad you like it! :)
  13. I ended up doing this:   // rewarding players who have been in the same gang every 50 days $q = $db->query(" SELECT * FROM `users` WHERE `daysingang`%50=0 AND `daysingang`!=0 "); while($r = $db->fetch_row($q)){ event_add( $r['userid'], "You've been in your gang another 50 days! Congratulations. You've received $100,000 and 20 crystals.", NULL ); $db->query(" UPDATE `users` SET `money`=`money`+100000, `crystals`=`crystals`+20 WHERE `userid`=" . $r['userid'] . " "); }   :)
  14. Sure. I guess you could set a session variable when they register, and check if that exists when they log in. Or you could just check if "lastactive" has been set previously, and set a session variable for the tutorial if lastactive=0. Too many options :) But I like the way I did it, as it's easy to add a new tutorial step if there's a new feature in the game.
  15. Did you even glance at the code? :P It's for v2.
  16. Thanks again! Already have a field counting the number of days, so that's ok. I could do as you're suggesting Razor, but I was hoping there's something more efficient.
  17. dnenb

    query wont execute

    You should validate what you get from $_GET before using it in a query..!
  18. Nah, because the user should get the reward even though he/she doesn't log on that day. Edit: But thanks for the suggestion :)
  19. I'm gonna give players rewards for being in the same gang every 50 days. How would you do that? I could do it quite easily with an if-test in the users-update in the daily cron, but if I want to give them an event about it as well? How would you do it? Thanks!
  20. dnenb

    New Game :)

    Hah, maybe it's a typo? 1 and 4 and veeeery close to each other mon the numpad? :P But I doubt it, as the frontpage says the game has 87k active players (holy ****).
  21. Using PHP? Use mysql with PDO!
  22. dnenb

    Site Hacked

    Are you saying that's rushing things for a browser game? I disagree. Launch the game as soon as you can. The issues that arise will make you get to fixing them fast, and you'll learn something new every time. As a new developer you can't possibly read up on every single mistake you might make. http://www.codinghorror.com/blog/2009/12/version-1-sucks-but-ship-it-anyway.html If I misunderstood: Sorry. But that link is still worth reading.
  23. dnenb

    Site Hacked

    I have a player named that in my game. You're saying "he just" has access to other accounts?
  24. It isn't advertising like that. It's placing links in an active forum. Search engines loves that stuff.
×
×
  • Create New...