Thread: EverythingRS Auto Donation Installation [ANY BASE]

Page 26 of 32 FirstFirst ... 162425262728 ... LastLast
Results 251 to 260 of 318
  1. #251  
    Registered Member
    Join Date
    Jan 2016
    Posts
    161
    Thanks given
    26
    Thanks received
    2
    Rep Power
    11
    Thanks for this!
    but how i can make it to claim more than one item, like a complete set?

    Thanks again
    Reply With Quote  
     

  2. #252  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,807
    Thanks given
    1,483
    Thanks received
    1,932
    Rep Power
    4860
    Quote Originally Posted by EXE Gamer View Post
    Thanks for this!
    but how i can make it to claim more than one item, like a complete set?

    Thanks again
    Search for

    Code:
    for (com.everythingrs.donate.Donation donate : donations) {
    In the for loop you can add custom code. So replace the current for loop with one similar to this but customized to how you want it. Note: It's important to replace / customize the for loop, and not just place this one in without deleting the old one. This is an example of how you can customize the code in order to be able to add sets or ranks.

    Code:
    for (com.everythingrs.donate.Donation donate : donations) {
    
        // Check for a custom product id
    
        switch (donate.product_id) {
    
            // Let's use item ID 4151 as an example (Abyssal Whip)
            case 4151:
                /* Add custom code */
    
                // Give the abyssal whip to the customer
                c.getItems().addItem(4151, 1);
    
                // But lets also give them a partyhat with the abyssal whip
                c.getItems().addItem(1040, 1);
    
                // Lets also send a custom message with the Abyssal Whip
           
                c.sendMessage("You received a free partyhat with the abyssal whip!");
    
            continue; // Important, do not use break; or return; as you do not want to exit the for loop or the method incase the customer has purchased multiple products.
    
            // Let's use item ID 1050 as an example (Santa Hat)
            case 1050:
                /* Add custom code */
    
                // Give the Santa Hat to the customer
                c.getItems().addItem(1050, 1);
    
                // Lets also give the customer 10m coins with this purchase
    
                c.getItems().addItem(995, 10000000);
        
                // Lets also send a custom message with the Santa Hat
    
                c.sendMessage("You have received a Santa Hat and 10,000,000 coins!");
    
            continue; // Important, do not use break; or return; as you do not want to exit the for loop or the method incase the customer has purchased multiple products.
    
    
        }
    
        c.getItems().addItem(donate.product_id, donate.product_amount);
    
        c.sendMessage("Thank you for donating!");
    }
    • [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  
     

  3. #253  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,807
    Thanks given
    1,483
    Thanks received
    1,932
    Rep Power
    4860
    Bump!
    • [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  
     

  4. #254  
    Registered Member
    Join Date
    Jan 2016
    Posts
    161
    Thanks given
    26
    Thanks received
    2
    Rep Power
    11
    anyone give me codes for 718?
    Reply With Quote  
     

  5. #255  
    Registered Member
    Join Date
    Jun 2016
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Very nice but i'm having some problems with the store. I've already posted 2 reports on the website. About 2 different things. If you've seen them you dont need to respond to this comment
    Reply With Quote  
     

  6. #256  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,807
    Thanks given
    1,483
    Thanks received
    1,932
    Rep Power
    4860
    Bump!
    • [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  
     

  7. #257  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,807
    Thanks given
    1,483
    Thanks received
    1,932
    Rep Power
    4860
    Bump!
    • [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  
     

  8. #258  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,807
    Thanks given
    1,483
    Thanks received
    1,932
    Rep Power
    4860
    Bump!
    • [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  
     

  9. #259  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    3,807
    Thanks given
    1,483
    Thanks received
    1,932
    Rep Power
    4860
    Bump!
    • [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  
     

  10. #260  
    Registered Member
    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    14
    Posts
    4,335
    Thanks given
    940
    Thanks received
    655
    Rep Power
    2933
    Quote Originally Posted by Genesis View Post
    Bump!
    Like, are you allowed to bump all your threads at once?
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

Page 26 of 32 FirstFirst ... 162425262728 ... LastLast

Thread Information
Users Browsing this Thread

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

Similar Threads

  1. EverythingRS Hiscores Installation [ANY BASE]
    By Genesis in forum Tutorials
    Replies: 190
    Last Post: Yesterday, 08:58 PM
  2. EverythingRS Voting Installation [ANY BASE]
    By Genesis in forum Tutorials
    Replies: 284
    Last Post: Yesterday, 08:56 PM
  3. MotivoteRS Installation Tutorial [ANY BASE]
    By funkE in forum Tutorials
    Replies: 147
    Last Post: 02-19-2019, 11:40 PM
  4. Replies: 58
    Last Post: 12-25-2011, 12:16 AM
  5. Replies: 13
    Last Post: 12-25-2008, 09:54 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •