Jump to content
MakeWebGames

daveaite

Members
  • Posts

    311
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by daveaite

  1. Re: Counting (nr game) 2154
  2. Re: [MOD] V2 User Theme Changer [55% Complete] Sounds pretty good, i'd like to see the end product when complete.
  3. Re: Counting (nr game) 2151
  4. Re: One Big Code! <?php
  5. Re: Guess the next poster Noooooooo danger boy?
  6. Re: Delete Users Normally if you delete all users the IDs carry on as normal..... say you had 300 players and you deleted them all and there was only ID 1 left not deleted, when another user signs up they won't be ID 2 there'll be ID 301 so it skips 300 IDs still, I think he means re-starr the IDs from 2+ again.
  7. Re: Delete Users I think he means and reuse the user IDs? because just deleting them seems easy enough to do :|
  8. Re: Counting (nr game) 2138
  9. Re: Counting (nr game) 2136
  10. Re: Counting (nr game) 2134
  11. Re: Counting (nr game) 2132
  12. Re: Counting (nr game) 2127
  13. Re: Counting (nr game) 2123
  14. Re: Counting (nr game) 2119 - Oh.
  15. Re: Counting (nr game) 2117 :?
  16. Re: [mccode v2] Donator Packs To Items When did this become a topic about auto crediting?
  17. Re: [mccode v2] Donator Packs To Items Which bit?? IPN which bullseye posted or the packs to items that I posted?
  18. Re: [mccode v2] Donator Packs To Items All I did to make my auto crediter work was take the original mccodes ipn_donator.php and took out:   // check the payment_status is Completed if($payment_status != "Completed") { fclose ($fp);die(""); }   Because payment can usually take around 1 week so it would credit 1 week after purchase, and if it wasn't a real payment i'd tan their ass :evil:
  19. Re: [mccode v2] Donator Packs To Items Thanks for the positive comments so far guys :-D
  20. Re: Counting (nr game) 4124
  21. Re: Counting (nr game) 4122 - As if, it took about a year to get to 2100 and you get us to 4121 that quick, haha.
  22. The amount of people that cannot be bothered searching the forums and keep posting asking for this is getting annoying, there is too many people that just cannot be arsed.... So here it is TESTED and works.... 1. Make an item Called Donator Pack 1 or what ever you want it to be called, lets say, the cheapest you have. Just an item with no functions or anything. 2. Find in inventory.php:   } print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); print "</td><td>[[url='iteminfo.php?ID={$i[']Info[/url]] [[url='itemsend.php?ID={$i[']Send[/url]] [[url='itemsell.php?ID={$i[']Sell[/url]] [[url='imadd.php?ID={$i[']Add To Market[/url]]"; if($i['effect1_on'] || $i['effect2_on'] || $i['effect3_on']) { print " [[url='itemuse.php?ID={$i[']Use[/url]]"; }   There may be something after that but add it under that anyway, this is what to add UNDER the code above:   if ($i['itmid'] == ITEMIDHERE) { print " [[url='dpuse.php?ID={$i[']Use[/url]]"; }   BE SURE TO CHANGE "ITEMIDHERE" TO THE ID OF YOUR DONATOR PACK ITEM. 3. Make a file called dpuse.php and add the code in it:   <?php include "globals.php"; $_GET[iD] = abs((int) $_GET[iD]); if(!$_GET[iD]) { echo '<h2>Oops</h2>Invalid use of file'; } else { $i=$db->query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_id={$_GET[iD]} AND iv.inv_userid=$userid"); } if(!$db->num_rows($i)) { print "<h2>Oops</h2>Invalid item ID"; } else { $r=$db->fetch_row($i); if($r[itmid] == ITEMIDHERE) { $db->query("UPDATE users SET donatordays=donatordays+30 WHERE userid=$userid"); $db->query("UPDATE users SET money=money+0 WHERE userid=$userid"); $db->query("UPDATE users SET crystals=crystals+0 WHERE userid=$userid"); $db->query("UPDATE userstats SET IQ=IQ+120 WHERE userid=$userid"); echo '<h2>Donator Pack</h2>You have used your donator pack!'; } item_remove($userid, $r['inv_itemid'], 1); } $h->endpage(); ?>   ONCE AGAIN BE SURE TO CHANGE "ITEMIDHERE" TO THE ACTUAL DONATOR PACK ITEM ID AND CHANGE THE VALUES OF THE DONATOR DAYS,CRYSTALS,CASH,IQ TO THE AMOUNT YOU WANT.   That wasn't very hard was it..... Now please stop asking for things like this when other versions of this are around the forum.
  23. Re: [v2]donator packs to items I have this add me on msn @ [email protected] if you want it.
  24. Re: in need of hosting PM if you want free hosting, unlimited features......
  25. Re: Counting (nr game) 2112
×
×
  • Create New...