Jump to content
MakeWebGames

dbeckerton

Members
  • Posts

    60
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

dbeckerton's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hmmmmmmmmmmmmmmmmmmmmmmmmmmm just trying to think
  2. it doesnt seem to be working instead it still allows the user to have the items even without the 100 crystals, :(
  3. i cannot seem to find where to add the line to take 100 crystals from the user for using the daily random item giver can anyone implement it for me, code is shown below, im sorry for all the issues im having only new to this stuff <?php include_once('globals.php');   $sql = "SELECT * FROM `random_items` WHERE `user` = '{$ir['userid']}'"; $run = mysql_query($sql, $c) or die (mysql_error()); if (mysql_num_rows($run) == 0) { $amount = mt_rand(4); echo '<p>You have Recieved ' . $amount . ' </p> <p>The items you have been given, are:</p> <ul>';   $sql = "SELECT `itmid`,`itmname` FROM `items` WHERE `itmbuyprice` < 9000 AND `itmbuyable` = 1 ORDER BY RAND() LIMIT $amount"; $run = mysql_query($sql, $c) or die (mysql_error()); while ($item = mysql_fetch_assoc($run)) { echo '<li>1x ' . htmlentities($item['itmname'], ENT_QUOTES, "UTF-8") . '</li>'; item_add($ir['userid'], $item['itmid'], 1); }   echo '</ul>'; } else { echo '<p>You have already claimed your free items today.</p>'; } $h->endpage();
  4. thankyou everyone :) when i actually get better at this which hopefully will be soon ill provide help as well to anyone that needs it thanks
  5. Ill try to explain it a little better, well basically i am trying to make afeature that almost works like a random card pack , so the user spends 100 crystals on this card back which contains 6 random items within the game in which they will receive for spending the 100 crystals
  6. i just need to figure out a code that charges the user say 100 crystals for the random items and using a specific 5 random items
  7. thankyou guys now ill just complile it cheers big help
  8. dont worry mate ive thought about it quite well, i did economics at a-level, im sure ill figure out a system
  9. i was planning for it to be a whenever you want it kind of thing! :) if you get me
  10. I was hoping someone could spend just a few minutes helping me or possibly giving me a code, i want to have some type of link that a user can click in which it costs say 100 crystals and a user gets 5 or 4 or whatever amount of Random items from the game is this possible and could someone help me do this
  11. like the ideas, although the login page could do with a little spice as it seems very boring and out of place
  12. looks a little simple and grey i think you need to make some sections stand out a little more
  13. its all about a good idea and working on it hahaahh :P but first you got to have a good idea and then have the time to implement it :P which is where is fault
  14. Hello everyone, i use Programmes such as photoshop cc and after effects cc and etc, if anyone would like developments such as templates, video developments, professional video openers and etc i am happy to offer my services for little cost (Paypall) but you will find me great value for money, SIMPLE Video OPENER, Simple login templates   Cheers
  15. I have decided to give away all my modifications
×
×
  • Create New...