[Help]Ep awards on payment

10/17/2010 02:57 Andrew1991#1
Anyone got a script that connects to db so when u buy eps and when u login u have the eps that u bought ?? or example how to do it thats if theres a way :P
10/17/2010 07:06 ~WARNING~#2
its not the easiest thing to code, but it is possible, i had a similar script for my old server but i don't feel like giving it out as i might use it in the future.
10/17/2010 09:43 magewarior2#3
Aslo like DemonPower EO, they have script that you automatic get the ep amount you donated (1380,13800,2700,27000)


Quote:
Originally Posted by UnbeatenRs2 View Post
its not the easiest thing to code, but it is possible, i had a similar script for my old server but i don't feel like giving it out as i might use it in the future.
where is the hard part ?
10/17/2010 10:01 PraDevil[ELITE]#4
Quote:
Originally Posted by magewarior2 View Post
where is the hard part ?
im just guessting the hard part are on payment method..from web server to another web server:D
10/17/2010 16:24 Andrew1991#5
will PHP Toolkit for PayPal v0.51 work ???
10/17/2010 19:06 PraDevil[ELITE]#6
u can make a paypal buy,donate blah3 button..then set on the button people will go to the secret URL that they will know the address..so i though the hard part only on html/php coding..
10/17/2010 20:03 .Ash#7
if(everyone thinks its too hard > 1)
cout<<"Use a template from another Game such as Maplestory :P and convert it to EO"<<endl;
10/17/2010 20:17 ~WARNING~#8
its all basicly MySQL queries and php coding which is quite simple to code
10/17/2010 20:39 DEADP00L#9
Quote:
Originally Posted by SpongeBox View Post
if(everyone thinks its too hard > 1)
cout<<"Use a template from another Game such as Maplestory :P and convert it to EO"<<endl;

orrrr you can look into Browser Based games as well such as PrisonStruggle.com and such
10/17/2010 20:52 PraDevil[ELITE]#10
Quote:
Originally Posted by ~*Dibiase*~ View Post
its all basicly MySQL queries and php coding which is quite simple to code
yes..its really easy to put ep on character by using php..but the porblem is to hide the URL address or use some action..i take example "RapidShare..you have wrote the real address to get the file u need to download..but it always say u cant download it on this URL.."something like that..lol

my bad english -.-
10/18/2010 02:11 .Ash#11
This is why i don't like Eudemons Online :/ it cant be updated/customized because you actually need the whole dang file where if its Java, Sky is the limit.

System.out.println("OMG JAVA!!!");
10/18/2010 02:27 ~WARNING~#12
Quote:
Originally Posted by SpongeBox View Post
This is why i don't like Eudemons Online :/ it cant be updated/customized because you actually need the whole dang file where if its Java, Sky is the limit.

System.out.println("OMG JAVA!!!");
agreed.

if(elitepvpersisthebest) {
elitepvpers = ownage;
} else {
anyothersite = noob;
}
10/18/2010 02:33 King_Arthur#13
Quote:
Originally Posted by SpongeBox View Post
This is why i don't like Eudemons Online :/ it cant be updated/customized because you actually need the whole dang file where if its Java, Sky is the limit.

System.out.println("OMG JAVA!!!");
Huh? What?

This is really starting to go off topic here guys considering this isn't a very EO PServer Hosting-ish question to begin with. The OP needs to make/get a payment system then run whatever code he can and end up with a query with two variables. One with the player name (given by the user when he pays) and the amount to give (based on the amount donated). Once that is done pass the query with the values to the mysql server that looks like
Code:
UPDATE cq_user SET emoney = (emoney + 1234) WHERE name = 'MyUberName';