Thread: Gamepayments Auto Donation Installation [ANY BASE][BETA]

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1 Gamepayments Auto Donation Installation [ANY BASE][BETA] 
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,017
    Thanks given
    1,499
    Thanks received
    1,967
    Rep Power
    4898
    Beta has been temporarily closed for newer members as we work towards officially launching. If you wish to obtain access to the beta please send me a PM.
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]
    • [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]


    1. [Only registered and activated users can see links. ]
    2. [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Banned

    Join Date
    Jun 2013
    Posts
    500
    Thanks given
    119
    Thanks received
    69
    Discord
    View profile
    Rep Power
    0
    The following code is for elvarg/OSRS PK

    Code:
    } else if(parts[0].startsWith("claim")) {
                new java.lang.Thread() {
                    public void run() {
                        try {
                        	final com.teamgames.gamepayments.GamePaymentsResponse gamepaymentsResponse = com.teamgames.gamepayments.Transaction.getResponse("GamePayment secret key", "Gamepayment username");
                            com.teamgames.gamepayments.Transaction[] transaction = gamepaymentsResponse.getTransactions();
                            if (!gamepaymentsResponse.getMessage().equalsIgnoreCase("SUCCESS")) {
                                player.getPacketSender().sendMessage(gamepaymentsResponse.getExtendedMessage());
                                return;
                            }
                            for (com.teamgames.gamepayments.Transaction transaction1 : transaction) {
                            	player.getInventory().add(new Item(Integer.parseInt(transaction1.productId), transaction1.quantity));
                            }
                            player.getPacketSender().sendMessage("Thank you for donating!");
                        } catch (Exception e) {
                            player.getPacketSender().sendMessage("Api Services are currently offline. Please check back shortly!");
                            e.printStackTrace();
                        }    
                    }
                }.start();
    		}
    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    nice


    Join Date
    Jul 2014
    Posts
    665
    Thanks given
    288
    Thanks received
    341
    Discord
    View profile
    Rep Power
    2952
    i remember when u very first (year+ ago) showed me the screenshots of this, glad its finally out.
    Reply With Quote  
     

  6. #4  
    Registered Member
    Join Date
    Jan 2018
    Posts
    135
    Thanks given
    139
    Thanks received
    10
    Rep Power
    58
    Thank you for all the hard work you put into this and for sharing better ways for game payments!
    Learning Java
    Reply With Quote  
     

  7. #5  
    Registered Member

    Join Date
    Jan 2019
    Posts
    90
    Thanks given
    44
    Thanks received
    17
    Rep Power
    126
    Whats different between this and the previous system everythingrs
    Reply With Quote  
     

  8. #6  
    Banned

    Join Date
    Jun 2013
    Posts
    500
    Thanks given
    119
    Thanks received
    69
    Discord
    View profile
    Rep Power
    0
    Quote Originally Posted by Tobi_ View Post
    Whats different between this and the previous system everythingrs
    This is a lot cleaner, register and have a look around the panel, that alone should show you the difference.
    Reply With Quote  
     

  9. #7  
    SiteTrec Hosting

    Project's Avatar
    Join Date
    Dec 2010
    Posts
    2,673
    Thanks given
    1,033
    Thanks received
    829
    Rep Power
    1072
    Quote Originally Posted by Tobi_ View Post
    Whats different between this and the previous system everythingrs
    This isn't for just RuneScape.

    Nice stuff Genesis!
    DDOS PROTECTED WEB & VPS AT AN AFFORDABLE COST
    Reply With Quote  
     

  10. #8  
    Banned

    Join Date
    Jun 2013
    Posts
    500
    Thanks given
    119
    Thanks received
    69
    Discord
    View profile
    Rep Power
    0
    Quote Originally Posted by Project View Post
    This isn't for just RuneScape.

    Nice stuff Genesis!
    Atm it's just being used for RSPS's, but Nelson mentioned that he built gamepayments to scale towards other games aswell.
    Reply With Quote  
     

  11. #9  
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,517
    Thanks given
    830
    Thanks received
    1,580
    Discord
    View profile
    Rep Power
    5000
    Looks really nice bro good job

    Quote Originally Posted by DownGrade View Post
    Don't let these no life creeps get to you, its always the same on here. They'd rather spend hours upon hours in the rune-server spam section then getting laid! ha ha!Its honestly pathetic i haven't seen so many lowlifes in my life its actually insane i wish that this section would just vanish its probably the only way to get these people out of the community...
    PLEASE BE AWARE OF IMPOSTERS MY DISCORD ID: 362240000760348683
    Reply With Quote  
     

  12. #10  
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,957
    Thanks given
    7
    Thanks received
    255
    Rep Power
    445
    Since you had the post removed, I will post it again. You will have to come up with a better way to call the API than in a thread that directly modifies the players information. Perhaps a micro service that checks for payments and updates a database for the server to query against.
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 1223
    Last Post: 03-09-2021, 04:00 AM
  2. Replies: 0
    Last Post: 06-10-2016, 06:49 PM
  3. Replies: 6
    Last Post: 07-26-2011, 02:57 AM
  4. Buying Auto Donate System PI base
    By viality in forum Help
    Replies: 4
    Last Post: 02-22-2011, 11:47 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •