Results 1 to 6 of 6

Thread: Need help with a drop procedure

  1. #1
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default Need help with a drop procedure

    I've been trying to figure out something for doing a drop procedure, but I'm a bit lost.

    I am writing a silk thieving script, and I want it to drop the silk when it reaches 28(full inv). The idea that I have is to have it call my drop procedure using
    Simba Code:
    if InvFull then

    The core of the drop procedure is
    Simba Code:
    for i := 1 To 28 do
          begin
          if ExistsItem(i) then
            DropItem(i);
          end;

    Does this make sense or is there a more efficient way to do it?

  2. #2
    Join Date
    Dec 2011
    Location
    Ontario, Canada
    Posts
    1,735
    Mentioned
    5 Post(s)
    Quoted
    89 Post(s)

    Default

    Yes it makes sense and yes it should work (I say should because there is only one way to truly know if it works...test ) As for efficiency, I would say it is a widely used drop procedure that is quite effective.
    FEEL FREE TO PM ME ABOUT ANYTHING! Will help over Teamviewer...just ask!! "WITH A NEW QUESTION COMES A NEW CHALLENGE"
    Silentcore's AIO Service team !!! Pm me if you want questing done or service done or post on thread ofc

  3. #3
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Really? :O

    i would use something like

    Simba Code:
    ClickMouse2(false);
          WaitOption('Drop',250);

  4. #4
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lag will cause the dropping to go off slightly. It's a good idea to retry dropping until everything you need to drop is dropped.
    Current activity: Recovering from vacation
    - Nulla pars vitae vacare officio potest -
    SRL membership? Can I buy that?
    Scripts - AGS - SWF - WAR - EMS - W100S-EM
    If you need scripting help, you can pm me. Remember, if you need help you have to ask for it properly though

  5. #5
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    545
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    The easy way would be to use
    Simba Code:
    DropAll; // Drops all items in inventory.

  6. #6
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default

    *smacks head*

    Thanks for the input guys, I seem to do things the hard way before the easy way

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •