Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting > EO PServer Guides & Releases
You last visited: Today at 10:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Auto Donation Script (paypal)

Discussion on [Release] Auto Donation Script (paypal) within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
[Release] Auto Donation Script (paypal)

Hi All

i finaly got my script ready and it is ready to be released

i know some users asked about a auto donation reward script and finaly there is a script that can do that

this is what the script can do
  • Reward VIP level
  • Reward Ep ( or any other currency in emoney)
This is what you can edit on the script
  • own server name ( will be on header and on the buttons )
  • own rewards ( up to 5 rewards for vip and for credits = 10 in total)
  • a Serial (yes , it is montly based)
specs of script
  • CURL need to be installed ... that is all
  • Edit the donate.php file ... that is all you need to edit (it is a lot )
  • get a valid serial from
  • instand reward after payment ( paypal ipn )

so now we got those information , lets start to show the script

you can find a demo and the file on

i can provide free trial serials if you like or you can test out the demo

the script got 2 versions , a version with a footer link ( copyright powerchaos ) and a version with out a footer link

the script can be used in iframe (paypal opens in new window on google chrome)

and for the users who are wondering , yes the script is encoded but does not need "special" software to read exept for curl (is installed on most hosts )

below you can find the readme back

Code:
Dear user
Thank you for using powerchaos donation script

to be able to use the script you need to have a few things

first you need to have CURL enabled

if you got a firewall , please open port 443 to be able to make a secure connection to paypal (https)
with out those things the script will not work

after this is done , open the donate.php file and EDIT the following lines as requested (follow the comment , it start with // )
to make it easy , here is a example config page

//////////////////////////////////////////////////////////////////////////////////////////
///// Copyright PowerChaos Company /// Created at 23/12/2011 // http://powerchaos.com ///
/////////////////////////////////////////////////////////////////////////////////////////

//fill in your serial number that you got from http://donate.powerchaos.info
$serial = "123456789"; // Here we need your serial , a invalid serial will prevent the script from working

//Database info
$host = "localhost"; // your host ... -> mostly localhost or 127.0.0.1
$username = "root"; // Your User that can acces the database -> mostly root
$password = "test"; // Your user password -> mostly test
$vipdata = "account"; // Your ACCOUNT database to be able to reward vip level -> mostly account or my 
$gamedata = "my2"; // Your GAME database , to reward credits -> mostly my or my2

//fill in your paypal adress
$paypal = ""; // ofcourse your paypal email adress ... or you do not going get a single donation
$server = "PowerChaos Example Page"; // Change this to your server name ... it will be on the header and on the button

//fill in your currency , you can choose from this currency's : AUD , EUR , GBP , USD , CAD
$currency = "EUR"; // most cases is this USD

//fil in your Prices for VIP level
$vipitemvalue1 = "10"; // optional , leave it emty if you do not like to use it
$vipitemvalue2 = "20"; // optional , leave it emty if you do not like to use it
$vipitemvalue3 = "30"; // optional , leave it emty if you do not like to use it
$vipitemvalue4 = "40"; // optional , leave it emty if you do not like to use it
$vipitemvalue5 = "50"; // optional , leave it emty if you do not like to use it

//fill in the Vip Level Names (the name it shows to the client like vip level 1 ) 
$vipitemname1 = "10 euro for vip level 1"; // optional , leave it emty if you do not like to use it
$vipitemname2 = "20 euro for vip level 2"; // optional , leave it emty if you do not like to use it
$vipitemname3 = "30 euro for vip level 3"; // optional , leave it emty if you do not like to use it
$vipitemname4 = "40 euro for vip level 4"; // optional , leave it emty if you do not like to use it
$vipitemname5 = "50 euro for vip level 5"; // optional , leave it emty if you do not like to use it

//fil in your Vip Level , numbers only as this is the vip level reward they get (vip level 1 = 1 )
$vipitemreward1 = "1"; // optional , leave it emty if you do not like to use it
$vipitemreward2 = "2"; // optional , leave it emty if you do not like to use it
$vipitemreward3 = "3"; // optional , leave it emty if you do not like to use it
$vipitemreward4 = "4"; // optional , leave it emty if you do not like to use it
$vipitemreward5 = "5"; // optional , leave it emty if you do not like to use it

//fil in your Prices For Credit Rewards
$credititemvalue1 = "1"; // optional , leave it emty if you do not like to use it
$credititemvalue2 = "2"; // optional , leave it emty if you do not like to use it
$credititemvalue3 = "3"; // optional , leave it emty if you do not like to use it
$credititemvalue4 = "4"; // optional , leave it emty if you do not like to use it
$credititemvalue5 = "5"; // optional , leave it emty if you do not like to use it

//fill in the Credit Names (the name it shows to the client like 1 EP ) 
$credititemname1 = "1 euro for 100 ep"; // optional , leave it emty if you do not like to use it
$credititemname2 = "2 euro for 200 ep"; // optional , leave it emty if you do not like to use it
$credititemname3 = "3 euro for 300 ep"; // optional , leave it emty if you do not like to use it
$credititemname4 = "4 euro for 400 ep"; // optional , leave it emty if you do not like to use it
$credititemname5 = "5 euro for 500 ep"; // optional , leave it emty if you do not like to use it

//fil in your Credit Rewards, numbers only as this is the Credit reward they get (1 credit reward = 1 )
$credititemreward1 = "100"; // optional , leave it emty if you do not like to use it
$credititemreward2 = "200"; // optional , leave it emty if you do not like to use it
$credititemreward3 = "300"; // optional , leave it emty if you do not like to use it
$credititemreward4 = "400"; // optional , leave it emty if you do not like to use it
$credititemreward5 = "500"; // optional , leave it emty if you do not like to use it
//////////////////////////////////////////////////////////////////////////////////////////
///// Copyright PowerChaos Company /// Created at 23/12/2011 // http://powerchaos.com ///
/////////////////////////////////////////////////////////////////////////////////////////

The serial you buy will be avaible for 30 days , after 30 days you need to buy a new serial to be able to use the script again
you can easy get a serail with 1 single button from http://donate.powerchaos.info
each serial can be used only 1 time , if it expire is it expired and a new serial need to be used (protection system)
the serial can be easy replaced by replacing the numbers ( 123456789 )

$serial = "123456789";

serials are not bound to accounts , it can be free used where you like to use it , or can be sold to other users if you like ...
you are free to do with the serial what you like to do as those serials only works for 30 days

we offer 2 kind of serials at current momement , more kind of serials can come with time
the first kind serial ( 3 EURO / M ) contains a backlink to powerchaos company and is located in the footer ( it looks like "© PowerChaos Company 2011" ) 
The second kind of serial ( 5 EURO / M ) does not contain that backlink

the script is encoded for security reasons , do you need extra functions for any kind of reason
feel free to contact me and i can provide those customisations for you for a certain price
customitation get only charged if you like to have it unic (price depends if you like it encoded or not) 
it will be done for free if it can be released in the main script

instalation of the script will be done for free in case you can not install it , but certain information is needed
------
*SERIAL ( http://donate.powerchaos.info )
*acces to the database of the GAME SERVER (username/pass)
*username of the user who can acces the GAME and ACCOUNT databases on the server
*Password of the GameServer
*is it hosted localy ( on vps) or remote ( on http://dehost.org for example)
-----
Please email above information to  and the instalation will take time in the next 24 hours

if support is needed , feel free to contact  for the needed support
support will be provided free of charge as long it contains a valid licence 

for bug reports , please send a bug report to 

Thank you
enjoy the script
Greetings From PowerChaos Company
http://powerchaos.com
the script can be downloaded from (always latest version) or from this forum as atachment



so enjoy this script
Greetings From PowerChaos
Attached Files
File Type: zip donate.zip (13.0 KB, 355 views)
PowerChaos is offline  
Thanks
7 Users
Old 12/24/2011, 02:17   #2
 
Marcus*'s Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 614
Received Thanks: 1,243
wrong section power shoulda been in releases but other then that nice work
Marcus* is offline  
Old 12/24/2011, 03:06   #3

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
Thank you
i posted it here so it get a few views , almost no1 is reading the release section so now i just wait until eoin move the topic :P

Greetings From PowerChaos
PowerChaos is offline  
Old 12/25/2011, 02:40   #4

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
for the users who like to test it

here is a free serial that can be used until 1 januari 2012

the serial is the backlink free version ( copy powerchaos company will not be shown in footer)

Code:
101698377157940202117077554481688440830624844659
enjoy this x-mass gift

Greetings From PowerChaos
PowerChaos is offline  
Old 12/25/2011, 22:59   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 188
Received Thanks: 65
After the payment succeed... what should my player do.. do they need just relog or go to certain npc and claim it
haizamlee is offline  
Old 12/26/2011, 07:22   #6

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
the player should just relog

the data get added directly to the database
the ep can provide a problem with older databases (message server) that got the checksum enabled (for credit reward) but mainly its just a relog and it will be fine

in case the character is not able to login anymore , just change the ep back to the old value and he will be able to login , then i need to customise the code to reward a ep card instead (or like the system my database use , a change in database to reward ep cards after relog)
but that means that some actions need to be added to cq_action to to be able to provide the automatic ep card reward


ps: for the curl just follow the quote
Quote:
Originally Posted by founded by google on a forum
First go to the PHP directory and copy the following libraries to the windows/system32 dir.



ssleay32.dll
libeay32.dll


Open the PHP.INI file and remove the ; from extension=php_curl.dll. If this entry is not there, just copy add it.

Reboot your machine to load and you are good to go.
Greetings From PowerChaos
PowerChaos is offline  
Old 12/26/2011, 07:31   #7
 
idlemonkey's Avatar
 
elite*gold: 540
Join Date: May 2009
Posts: 1,593
Received Thanks: 591
Im can think of a few good uses for this hmm
idlemonkey is offline  
Old 02/11/2017, 20:49   #8
 
elite*gold: 0
Join Date: Nov 2016
Posts: 60
Received Thanks: 12
site not working anymore
balongskie123 is offline  
Old 02/11/2017, 21:36   #9

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
it is a realy old script ( one of the first i made xD )
you can find the latest full script on

its a full control panel
but it can contain some bugs , as i do not work on that anymore
a other version can be found at , in the www folder should be a other version of the control panel ( probaly more updated , but adjusted for 2 servers on a single webpage xD )

Enjoy

Greets From PowerChaos
PowerChaos is offline  
Reply


Similar Threads Similar Threads
[HELP] Donation PHP Script
09/15/2011 - Flyff Private Server - 9 Replies
<?php <div style="text-align: center;"> if(isset($_POST)) { if (preg_match('//',$_POST)) { die (' <font color="red">Dein Benutzername enthält unerlaubte Zeichen</font> ');
[RELEASE][On Request] Donation Script
01/28/2010 - Dekaron Private Server - 8 Replies
Some one asked for a donation script, but i totally forgot who a donation script for Dekaron here it is ... Viewing donation_mysql.rar - DKundergroud.org File Database Just edit all files to your needs its a basic page, no css, no layout, clean and simple (like zombe script's :D )



All times are GMT +1. The time now is 10:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.