
oxidati0n
Members-
Posts
564 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by oxidati0n
-
Re: PUB Thanks thats a nice contribution. +1 :)
-
Re: log name changes lol.
-
Re: Proxy Deny Script[free] yeah four or five servers but they have around 200+ proxy sites (right?) yeah so there all shared. :)
-
Re: log name changes Database is always the best way to store information. If you lock a page then the file only visits the page if it has a lock then it applies nothing. So basicly your easier to use db than files for storage. Plus if you know your stuff DB data can be a WHOLE lot easier!
-
Re: Proxy Deny Script[free] No Proxy Servers are used through one whole system, so they'll own a few proxies with advertisements (making there cash) so basicly there all shared. That is what they proberly have but it's all shared. One goes down -> All does!
-
Re: How to Setup PayPal Instant Payment Notification - Free! no you dont. If that credits through "donatordone.php" its an easy exploit, but PayPal IPN has one way, the right way :> lol. It connects and posts which nobody can do at the same time unless making a donation, forcing it to make a dp to the user. :> easy IPN by Paypal. so i advise you dont let donatordone.php credit a donation but normally a table in mccodes v1 for any donations is auto-made, so that'll make the donations be notified that have been credited. ;)
-
Re: How to Setup PayPal Instant Payment Notification - Free! Sorry decepti0n for asking people to give me force because i'm posting something to help. Was i begging? Dunno lol. mdshare posted it? Well if he did I posted my own because so many people are nudging to get one? If mdshare posted one why are they all asking for one Arson posted "Need a Auto-Creditor. Willing to Pay" BreakingLight posted "Need a IPN" and other people.. I don't know where i stand. I removed people from giving me force so everybodys happy. :)
-
Altough some coders cannot do this..I thought i would offer to setup one. The full manual written by PayPal, Inc. - https://paypal.com/ipn Otherwise here : 1. Login Into your PayPal and do the following a) wait till you have logged in and click "Profile" b) Click "Instant Payment Notification Preferences" c) Set it on then change link to your PayPal IPN file - "http://yoursite.com/ipn_file.php" d) make sure its set. 2. Open your server interface client (to most of you - cPanel or DirectAdmin) a) create a file called ipn_file.php File Details WARNING: This is only the confirmation file, You must make sure it credits for the right donation, Only the confirmation of the donation has been made. <?php session_start(); /*----------------------- PayPal Instant Payment Notification Made by PayPal - Copyright PayPal Communications/Payment Solution Systems, Inc. Modified for DBS engine by oxidati0n/ Nick. -------------------------*/ // CONFIGURATION - MUST BE EDITED $paypal_email="Your PayPal Email"; // Must be your PayPal // CONFIGURATION - END if(! $_SESSION['userid'] ) { exit("You must be logged in [url='login.php']Login Here[/url] "); } // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } // post back to PayPal system to validate $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Content-Length: " . strlen($req) . "\r\n\r\n"; $fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30); // assign posted variables to local variables $item_name = $_POST['item_name']; $item_number = $_POST['item_number']; $payment_status = $_POST['payment_status']; $payment_amount = $_POST['mc_gross']; $payment_currency = $_POST['mc_currency']; $txn_id = $_POST['txn_id']; $receiver_email = $_POST['receiver_email']; $payer_email = $_POST['payer_email']; if($payment_status != "Completed") { die("I'm sorry the payment did not come through"); } if($reciever_email != $paypal_email) { die("You have sent to wrong email. Bad luck. Open a PayPal Ticket in the Resolution Centre."); } if(!eregi($_SERVER['HTTP_HOST'], $item_name)) { die("Wrong Server"); } if(!eregi("DP", $item_name)) { die("You must order a Donator Pack, fool!"); } if(!$item_number) { die("Incorrect donation"); } $userid=str_replace(array($_SERVER['HTTP_HOST'],"|","DP"),array("","",""), $item_name); if($userid != $_SESSION['userid']) { die("Wrong and Incorrect donator."); } if (!$fp) { // HTTP ERROR } else { fputs ($fp, $header . $req); while (!feof($fp)) { $res = fgets ($fp, 1024); if (strcmp ($res, "VERIFIED") == 0) { // check the payment_status is Completed // check that txn_id has not been previously processed // check that receiver_email is your Primary PayPal email // check that payment_amount/payment_currency are correct // process payment } else if (strcmp ($res, "INVALID") == 0) { // log for manual investigation if($item_number == 1) { //-- DP one - what do you get? } else if($item_number == 2) { //-- DP two - what do you get? } else if($item_number == 3) { //-- DP three - what do you get? } $e_server=str_replace("www.","", $_SERVER['HTTP_HOST']); mail($payer_email,"Payment Completed - Your Game Name","Hello Your Payment to $e_server was completed and you was credited your $payment_amount donation, So we hope you can donate again and hope PayPal IPN has made your donation a whole lot easier. PayPal IPN service and Your Game Name Team, Regards, Owner ","From: owner@$e_server"); // Send a confirmation email to the Primary email of the payer } } fclose ($fp); } ?> 3. make sure your paypal donate file is fixed a) edit all paypal donates to this NOTE: Change to donation and dont remove There you go..Theres a working PayPal Instant Payment Notification System.. A Normal coder should know that ;) Thanks, Nick.
-
Re: [mccode] Poker Script for v1 My bad, At first i was going to use cards, but its a 4 hour job to get it exact, And i'm really not in the mood for something that long and just give it away, So i removed cards at last minute, Sorry for any inconvience - You can rename it to BlackJack or Go-Fish if you like ;)
-
Re: Proxy Deny Script[free] Could Try /* PROXY BLOCK */ /* -- By DeathStar -- DK Codes */ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) || ($_SERVER['HTTP_USER_AGENT']=='') || ($_SERVER['HTTP_VIA']!='')){ $_IP = $_SERVER['REMOTE_ADDR']; $_SCRIPT = $_SERVER['SCRIPT_NAME']; $_TIME = time(); $q = mysql_query("SELECT * FROM `proxy_ban` WHERE `pb_ip` = '$_IP'"); if( ! mysql_num_rows($q)) { mysql_query("INSERT INTO `proxy_ban` (`pb_id`, `pb_ip`, `pb_filename`, `pb_time`, `pb_userid`, `pb_times`) VALUES ('NULL', '$_IP', '$_SCRIPT', '$_TIME','$userid','1');"); } else { mysql_query("UPDATE `proxy_ban` SET `pb_times` = `pb_times` + '1' WHERE `pb_ip` = '$_IP');"); } die("<center>[b]<h3>Error</h3>You are currently using a Proxy Server or a Invalid Internet Provider, If this is a honest mistake contact Your Internet Provider Or the Game Owner[/b] [url='javascript:history.back();']Back[/url] [url='javascript:window.close();']Close Window[/url] (A confirmation may popup for IE6+ users) </center>"); } SQL - PhpMyAdmin Client Compatibility: CREATE TABLE `proxy_ban` ( `pb_id` INT( 11 ) NOT NULL AUTO_INCREMENT, `pb_ip` VARCHAR( 255 ) NOT NULL, `pb_filename` VARCHAR( 255 ) NOT NULL, `pb_time` VARCHAR( 255 ) NOT NULL, `pb_userid` INT( 11 ) NOT NULL, `pb_times` INT( 11 ) NOT NULL, PRIMARY KEY (`pb_id`) ) TYPE=MYISAM ; Deathstar can take all credit =P For the logs in admin function can be deathstars job :P
-
Re: SQL querys dont get you.. :S
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** true buts its the best i can do without SQL
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** they cant. i put it as if($_POST['chips_use'] > 0 and -11111111111111111111111111 doesnt go >0 so nothing happens ;) Always one step ahead of ya :P lol
-
Re: Best Sites To Advertise On ;) Spot On. Current Circulation Spread : 71,345 sites Current Views Last 7 days : 147,144,716 views from unique users Current Clicks Last 7 days : 71,716,661 clicks [Reset] from a mate whos advertising via Google AdWords, for the best results, got to Google AdWords ;)
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** true. Like i said its not exact poker with cards, It uses just chips atm :P but very addicting.
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** ;) Nice.
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** no ill be making CHIPS and they use CHIPS in casinos lol chips are worth money lol ;)
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** Well not exactly money, What do you win at a casino? Cash not monkey nuts :P So i'm making it like a free online poker if you get what i mean. No hassle, Just copy and paste code and done, no sql ;) I'm not being funny, I'm just explaining that you can add crystals instead of cash but all casinos/poker are used by cash. ;)
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** It does either 1) When you run out of chips 2) You have had over 350 turns (changable at the config) ;) Thanks for using, Remember all i ask is +1 ;)
-
Re: ***FREE POKER SCRIPT FOR MCCODES V1*** yeah sure, ill do it another time ;) Still tired over this one lol.