Jump to content
MakeWebGames

sniko

Members
  • Posts

    2,210
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by sniko

  1. Hey there, I wanted to be creative, other than coding, so i travelled to my graphics area of my head and came up with this; Uploaded with ImageShack.us The first link on the main menu, "Home" shows a on-hover effect. Please leave comments, any sort of comment will be much appriciated - sniko
  2. Second one is better
  3. So your main directory doesn't get cluttered up, you may wish to put the images in a separate directory.
  4. Impressive stuff, Awesome stuff, Very coool
  5. Looks good, is it integrated with a website, or is it just an image?
  6. Looks awesome, well done
  7. Look at the function name. then the function you are using....get_rank already exists, then you are getting another function to return the rank.
  8. $mult = $r['level'] * $r['level']; $chance = min(($ir['crimexp']/$mult) * 50 + 1, 95); if(rand(1,100) < $chance) { $gain = $r['level'] * 5; Basically, My Level: 2 Crime Exp: 50 So, $mult = 2 * 2; //4 $chance = min((50/4) * 50 + 1, 95); //~626 So, if the random generated number is below ~626 they succeed (The random generated number would be between 1 and 100)
  9. Firstly, quote the variables, for example   $r['username'] = "<font color = red>$r['username']</font>";   And second, i don't understand the issue
  10. I see, Anyway, Both ways will work, in theory, gurpreet and my own
  11. No need for a cron in my opionion, do: in a new column on the users table do, last attacked and enter the hour using the date function then in a seperate column do all the users they have attacked within the hour, search through that column using explode() and see if their userid appears 5 times then display the message "you cannot attack [username] within the hour, 5 times". Then create an if statement in header/globals.php, if($ir['lastattacked'] != date('g')) ... then reset the values to null on both columns. Thats what i would do ;) - sniko
  12. Thanks DJK
  13. Thanks Renkia, Much appriceated
  14. Yea, contact me on MSN and ill TV it you
  15. @spydre452: Thanks @CJ: Nope, if you require them, contact me on MSN
  16. Fat americans is mainly a sterotype, not all americans are
  17. @David, its more like the the myHammer.com raiting system, as seen on the television advertisement.
  18. It would require a lot of edits in some files to insert their inputs into a database, So you could just log a massive money/crystal increase or a change in staff posisition.
  19. The SQL's are in the zip file.
  20. I may just do that, depends what the demand is for Lite.
  21. Thanks All
  22. Thanks all, and i didn't get that error on my Localhost, thanks David for replying about the error, i was asleep. Anyway Enjoy
  23. Thats alright, It may have answered other peoples questions too
  24. Reference of the Code, this has been created on the source of mccodes version 2
  25. No Problem, everything is working to the amount of testing that i've done, if you find any flaws, just PM/MSN me
×
×
  • Create New...