Thread: [All Revision] BMT Micro Auto Donation Script

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 [All Revision] BMT Micro Auto Donation Script 
    SOLUTIONS118 FOREVER

    Shaqattack118's Avatar
    Join Date
    Feb 2013
    Posts
    873
    Thanks given
    1,433
    Thanks received
    434
    Rep Power
    120
    This is a tutorial on how to setup my bmtmicro auto donation system.

    A thank and rep++ is appreciated!
    Download Post: http://www.rune-server.org/runescape...ml#post4845064

    On to the tutorial!

    What will i need?
    A web host
    Basic knowledge in java
    Logic?

    Once you've downloaded the files, you will need to setup a database and save the information in a notepad for future reference.

    Open up phpmyadmin, and select the database which you've just created.
    Find the import button on the page


    Hit browse, and locate your SQL file



    Scroll down then hit Go.

    Once this is done, upload the website files to your web host.
    Then you will need to go into ./bin/settings.php and configure it.



    Now in order to add products to this system, you will need the url to the product, and a name for your product.
    You will need to setup products on bmtmicro.

    Go to bmtmicro and login. Once you've done that, follow these pictures.



    Fill this form out


    Then scroll to the bottom



    IPN URL: http://website.com/path/to/files/bin/ipn.php

    Example: http://runescape.com/donate/bin/ipn.php
    Assuming my website is runescape.com and the files are uploaded in the ./donate folder.



    Save the product.
    Now we need the product url, and the product id.



    Scroll down to find the url


    The product id:


    Now go back to settings.php and fill out the details in the file using the example

    format:
    [spoiler]array(
    'pid' => "ID HERE",
    'url' => "URL HERE",
    'name' => "NAME HERE"
    ),[/spoiler]

    That's it for the website side!

    Server side is a bit more complicated as it may vary depending on the revision of your server

    Basic Implementation:

    Put the DonationManager.java class in your server files.
    To access it, you will need to use this code:

    new DonationManager(player).start();

    To distribute the items server side, find the switch statement and follow the format:

    [spoiler]/* Example:
    * case <productId>:
    * giveitems
    * break;
    */

    Example:
    case 89901:
    p.addItems(995, 200000000);
    break;[/spoiler]

    You will need to enter the database details in the DonationManager class as well. If your database is on a different host than your server is being hosted on, you will need to add your servers ip address to the remote sql of your website.

    You might need to change:
    The package
    The client/player import
    The username variable
    The parameters for DonationManager
    Example: public DonationManager(Client p)
    The player variable

    Credits for the tutorial:
    Me

    There is no substitute for hard work. - Thomas A. Edison

    Attached image


    Vouches : 160
    Reply With Quote  
     


  2. #2  
    Banned

    Join Date
    Oct 2014
    Posts
    379
    Thanks given
    31
    Thanks received
    77
    Rep Power
    0
    Wonder why theree's no replies,
    Thanks alot Shaq
    Reply With Quote  
     

  3. #3  
    Registered Member
    Andys1814's Avatar
    Join Date
    Feb 2013
    Posts
    974
    Thanks given
    688
    Thanks received
    455
    Rep Power
    727
    atleast raw envy can't sell it anymore now.
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member Jumper's Avatar
    Join Date
    Aug 2013
    Posts
    721
    Thanks given
    19
    Thanks received
    103
    Rep Power
    63
    sad to see this released

    oh well, now bmt will get overused and ban rsps from using their services
    and we'll move onto the next one....
    Reply With Quote  
     

  6. #5  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    Quote Originally Posted by Jumper View Post
    sad to see this released

    oh well, now bmt will get overused and ban rsps from using their services
    and we'll move onto the next one....
    doubt it.
    Reply With Quote  
     

  7. #6  
    SOLUTIONS118 FOREVER

    Shaqattack118's Avatar
    Join Date
    Feb 2013
    Posts
    873
    Thanks given
    1,433
    Thanks received
    434
    Rep Power
    120
    Quote Originally Posted by Ken Services View Post
    Wonder why theree's no replies,
    Thanks alot Shaq
    No problem and i wonder the same thing.

    Quote Originally Posted by Trystan View Post
    atleast raw envy can't sell it anymore now.
    Ikr

    Quote Originally Posted by Jumper View Post
    sad to see this released

    oh well, now bmt will get overused and ban rsps from using their services
    and we'll move onto the next one....
    From the looks of it, it won't get overused for now. This thread has received little attention.

    There is no substitute for hard work. - Thomas A. Edison

    Attached image


    Vouches : 160
    Reply With Quote  
     

  8. #7  
    SOLUTIONS118 FOREVER

    Shaqattack118's Avatar
    Join Date
    Feb 2013
    Posts
    873
    Thanks given
    1,433
    Thanks received
    434
    Rep Power
    120
    More feedback would be appreciated!

    There is no substitute for hard work. - Thomas A. Edison

    Attached image


    Vouches : 160
    Reply With Quote  
     

  9. #8  
    Donator

    KoopaCodes's Avatar
    Join Date
    Jul 2014
    Posts
    542
    Thanks given
    87
    Thanks received
    86
    Rep Power
    88
    Hey, do you mind just posting a reply with some type of page that shows when the items are added and what they look like on the page.
    Reply With Quote  
     

  10. #9  
    SOLUTIONS118 FOREVER

    Shaqattack118's Avatar
    Join Date
    Feb 2013
    Posts
    873
    Thanks given
    1,433
    Thanks received
    434
    Rep Power
    120
    Quote Originally Posted by Torpedo View Post
    Hey, do you mind just posting a reply with some type of page that shows when the items are added and what they look like on the page.
    What do you mean?

    There is no substitute for hard work. - Thomas A. Edison

    Attached image


    Vouches : 160
    Reply With Quote  
     

  11. #10  
    Boolean


    Join Date
    Feb 2014
    Posts
    733
    Thanks given
    91
    Thanks received
    22
    Rep Power
    253
    Could we get a demo page? Thanks though.
    Reply With Quote  
     

Page 1 of 2 12 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. [All Revision] BMT Micro Auto Donation Script
    By Shaqattack118 in forum Downloads
    Replies: 10
    Last Post: 10-26-2015, 08:45 PM
  2. Buying Fixed Auto Donate Script [$20]
    By TaterMater in forum Buying
    Replies: 2
    Last Post: 12-09-2012, 07:34 PM
  3. 2Checkout AUTO Donation Script!
    By All3n in forum Tutorials
    Replies: 14
    Last Post: 04-01-2012, 03:58 PM
  4. [$50] Auto Donation Script
    By Armo in forum Requests
    Replies: 8
    Last Post: 03-23-2011, 07:36 PM
  5. [$50] Auto Donation Script
    By Armo in forum Requests
    Replies: 0
    Last Post: 03-22-2011, 11:52 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
  •