Page 1 of 1

Empty inventory of team

Posted: Wed Mar 21, 2018 1:00 pm
by Fugo
One of the big issue we all have is with full inventorys

Instead of turning drops out, i figured a way to auto sell the 32 first items of the inventory (check before there is nothing you want to keep)

The sell key on my game config is set up on F7

Code: Select all

hotkey ( NumpadPlus ) // Test vendre tout l'inventaire quand le vendeur est select
{
ClickMouse ( Lbutton  853 283 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 303 )
wait (50)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 318 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 334 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 352 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 370 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 385 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 404 )
wait (150)
ClickMouse ( Lbutton  1013 318 ) // page 2
wait (150)
ClickMouse ( Lbutton  853 283 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 303 )
wait (50)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 318 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 334 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 352 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 370 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 385 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 404 )
wait (150)
ClickMouse ( Lbutton  1013 345 ) // page 3
wait (150)
ClickMouse ( Lbutton  853 283 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 303 )
wait (50)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 318 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 334 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 352 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 370 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 385 )
wait (150)
Key ( F7 )
wait (150)
ClickMouse ( Lbutton  853 404 )
wait (150)
ClickMouse ( Lbutton  1013 368 ) // page 4
}
A bit long but it seems to work

Re: Empty inventory of team

Posted: Wed Mar 21, 2018 11:42 pm
by Rob
Very nice!

Re: Empty inventory of team

Posted: Fri Jan 29, 2021 1:02 am
by hardscrabble
I am new to mojo and posted scripts has hastened my learning as well as forum. fugo post has saved me time writing this script which he gets the credit as all I did was take care of stacked items if you wish to sell them also. I left test in there so I could see what was going on testing errors. I like that feature.

hotkey ( NumpadPlus ) // sell 1-5 bags 7 slots each
{
wait (400)
ClickMouse ( test Lbutton 1013 292 ) // target bag one
wait (400)
ClickMouse ( test Lbutton 853 283 ) // 1 spot one
wait (400)
Key ( Shift S ) // default sell
wait (700) // any lower it may appraise
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 303 ) // 2
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 318 ) // 3
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 334 ) // 4
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 352 ) // 5
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 370 ) // 6
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 385 ) // 7
wait (400)
Key ( Shift S ) // default sell
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 404 ) // 8
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 1013 318 ) // page 2
wait (400)
ClickMouse ( test Lbutton 853 283 ) // 1 spot one
wait (400)
Key ( Shift S ) // default sell
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 303 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 318 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 334 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 352 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 370 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 385 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 404 )
wait (400)
Key ( Shift S ) // default sell
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 1013 345 ) // page 3
wait (400)
ClickMouse ( test Lbutton 853 283 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 303 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 318 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 334 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 352 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 370 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 385 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 404 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 1013 368 ) // page 4
wait (400)
ClickMouse ( test Lbutton 853 283 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 303 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 318 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 334 )
wait (400)
Key ( Shift S )
wait (600)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 352 )
wait (400)
Key ( Shift S )
wait (600)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 370 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 385 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 853 404 )
wait (400)
Key ( Shift S )
wait (700)
ClickMouse ( test Lbutton 630 429 ) // yes all quantity
wait (400)
ClickMouse ( test Lbutton 884 14 ) // target character button 2 hide
}

Re: Empty inventory of team

Posted: Fri Jan 29, 2021 1:25 am
by hardscrabble
DETETING items not sold. once I had that figured out to sell with stacked items I decided to delete items that cant be sold. this one took longer to make even though I had a good example from selling. I had to work with timing as it sometimes hit appraise if it was too short.
Remember it assumes you don't have button 2 of character page not up if not it will hide it. if youn dont want to delete from certain character then have button 2 up. it will hide it but will still click screen. I left test in there so I could see what was going on testing errors. I like that feature.
Image 007.png
Image 007.png (124.78 KiB) Viewed 3396 times

Re: Empty inventory of team

Posted: Fri Jan 29, 2021 8:21 am
by Rob
Thanks a lot for posting those. It's nice to see somebody using "test". I don't know why your images aren't getting displayed.

Re: Empty inventory of team

Posted: Fri Jan 29, 2021 8:50 am
by hardscrabble
that is an image but dont know how to to make and put in smaller box. my first time taking a scrolling image in an attempt tonpost like many do.

Re: Empty inventory of team

Posted: Fri Jan 29, 2021 9:02 am
by Rob
If you want to email them to me, I'll attach them to the posts. rob@mojoware.org

Re: Empty inventory of team

Posted: Thu Feb 04, 2021 12:07 am
by hardscrabble
numerbpad- is defailt take screen shot. i wonder how many screenshots i took?

Re: Empty inventory of team

Posted: Sat Mar 20, 2021 7:34 pm
by hardscrabble
i reccomend a cancel button just in cace you hit it by mistake or see something you dont want to sell lol. you cant control cursor for duration of script.