Script for sorting jewelry

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
User avatar
Tanya
Posts: 1796

Script for sorting jewelry

Post by Tanya »

Looking for this one...
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
User avatar
LUDENS
Posts: 1153

Re: Script for sorting jewelry

Post by LUDENS »

Use something like this just add your mods you want in. You will need to set the bag the jewelry to sort is on line one where 0x41888c05 is Your keep location on the lines with mods and your trash bag at 0x41b0e92b after else. 0x1f09 is rings 0x1086 is bracelets.

while @findtype 0xf50 'any' 0x41888c05
waitforproperties 'found' 1300
if @property 'Faster Casting' 'found' and @property 'Faster Cast Recovery' 'found'
moveitem 'found' 0x43730257 2073, 108, 7
elseif @property 'Hit Chance Increase' 'found' and @property 'Defense Chance Increase' 'found'
moveitem 'found' 0x43730257 2073, 108, 7
else
moveitem 'found' 0x41b0e92b 2072, 108, 7
endwhile
Discord - Dante#3037

Covering the world in cable didn't bring an end to war and suffering, Don't act suprised when it all comes apart if you try to do it again.

KojPro YouTube

Image

Image
Tanya likes this.
Top
User avatar
The Silvertiger
Posts: 4469

Re: Script for sorting jewelry

Post by The Silvertiger »

Are you looking to separate trash from nontrash or organize?
Never forget June 4th 1989!
Selling List & Vendor

"Screenshots will never be used as evidence but more of a reference tool for us to help in our investigations."
Tanya likes this.
Top
User avatar
Tanya
Posts: 1796

Re: Script for sorting jewelry

Post by Tanya »

Right, separate trash from nontrash :D
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
User avatar
The Silvertiger
Posts: 4469

Re: Script for sorting jewelry

Post by The Silvertiger »

Give me a list of mods and how many bags you want to use for keepers. Also 3 mod min or 4? Like 1/3 stat or 1/3 stat stat. Hci dci stat or hci dci stat stat. As a min?
Never forget June 4th 1989!
Selling List & Vendor

"Screenshots will never be used as evidence but more of a reference tool for us to help in our investigations."
User avatar
deathviper
Posts: 119

Re: Script for sorting jewelry

Post by deathviper »

//Sorting Jewelry for Deathviper
//unsetalias 5ModRing
//unsetalias 4ModRing
//unsetalias 4ModSort
//unsetalias 3ModRing
//unsetalias 1ModRing
//unsetalias HCI
//unsetalias LRC
//unsetalias LMC
//unsetalias '2FCR1FC'
//unsetalias 'MR'
//unsetalias 'EP'
//unsetalias "SSI'
//unsetalias TrashBag
if not @findalias '5ModRing'
promptalias '5ModRing'
endif
if not @findalias '4ModRing'
promptalias '4ModRing'
endif
if not @findalias '4ModSort'
promptalias '4ModSort'
endif
if not @findalias '3ModRing'
promptalias '3ModRing'
endif
if not @findalias '1ModRing'
promptalias '1ModRing'
endif
if not @findalias 'HCI'
promptalias 'HCI'
endif
if not @findalias 'LRC'
promptalias 'LRC'
endif
if not @findalias 'LMC'
promptalias 'LMC'
endif
if not @findalias '2FCR1FC'
promptalias '2FCR1FC'
endif
if not @findalias 'MR'
promptalias 'MR'
endif
if not @findalias 'EP'
promptalias 'EP'
endif
if not @findalias 'SSI'
promptalias 'SSI'
endif
if not @findalias 'TrashBag'
promptalias 'TrashBag'
endif
//@setalias '3mod' 0x42f9ed42
if @findtype 0x108a 'any' 'backpack' or @findtype 0x1086 'any' 'backpack'
//Ring and Bracelets
//if not @findalias '2FCR1FC'
// promptalias '2FCR1FC'
//endif
// if not @findalias '3FCR1FC'
// promptalias '3FCR1FC'
//endif
if @injournal 'world will save'
while not @injournal 'world save complete'
endwhile
@clearjournal
endif
@removelist 'modcount'
@createlist 'modcount'
if @findobject 'found' 'any' 'backpack'
waitforproperties 'found' 5000
endif
if @property 'mana regeneration' 'found' == 2
pushlist 'modcount' 'mr'
endif
if @property 'enhance potions' 'found' >= 20
pushlist 'modcount' 'ep'
endif
if @property 'swing speed increase' 'found' >= 5
pushlist 'modcount' 'ssi'
endif
if @property 'chivalry' 'found' >= 8
pushlist 'modcount' 'chivalry'
endif
if @property 'magery' 'found' >= 8
pushlist 'modcount' 'magery'
endif
if @property 'spririt speak' 'found' >= 8
pushlist 'modcount' 'ss'
endif
if @property 'necromancy' 'found' >= 8
pushlist 'modcount' 'necromancy'
endif
if @property 'evaluating intelligence' 'found' >= 8
pushlist 'modcount' 'ei'
endif
if @property 'healing' 'found' >= 8
pushlist 'modcount' 'healing'
endif
if @property 'parrying' 'found' >= 8
pushlist 'modcount' 'parrying'
endif
if @property 'tactics' 'found' >= 8 and @property 'anatomy' 'found' >= 8
poplist 'modcount' 'tactics'
endif
if @property 'hit chance increase' 'found' >= 5
pushlist 'modcount' 'hit'
endif
if @property 'defense chance increase' 'found' >= 5
pushlist 'modcount' 'defense'
endif
if @property 'faster cast recovery' 'found' >= 2
pushlist 'modcount' 'fcr'
endif
if @property 'faster casting' 'found' >= 1
pushlist 'modcount' 'fc'
endif
if @property 'lower mana cost' 'found' >= 4
pushlist 'modcount' 'lmc'
endif
if @property 'lower reagent cost' 'found' >= 8
pushlist 'modcount' 'lrc'
endif
if @property 'strength bonus' 'found' >= 5
pushlist 'modcount' 'str'
endif
if @property 'intelligence bonus' 'found' >= 5
pushlist 'modcount' 'int'
endif
if @property 'dexterity bonus' 'found' >= 5
pushlist 'modcount' 'dex'
endif
if @property 'physical resist' 'found' >= 8
pushlist 'modcount' 'physical'
endif
if @property 'fire resist' 'found' >= 8
pushlist 'modcount' 'fire'
endif
if @property 'cold resist' 'found' >= 8
pushlist 'modcount' 'cold'
endif
if @property 'poison resist' 'found' >= 8
pushlist 'modcount' 'poison'
endif
if @property 'energy resist' 'found' >= 8
pushlist 'modcount' 'energy'
endif
if @property 'luck' 'found' >= 75
pushlist 'modcount' 'luck'
endif
if @property 'lower reagent cost' 'found' >= 12 and @property 'dexterity bonus' 'found' >= 5
poplist 'modcount' 'dex'
endif
if @property 'lower reagent cost' 'found' >= 12 and @property 'intelligence bonus' 'found' >= 5
poplist 'modcount' 'int'
endif
if @property 'lower reagent cost' 'found' >= 12 and @property 'strength bonus' 'found' >= 5
poplist 'modcount' 'str'
endif
if @property 'lower reagent cost' 'found' >= 12 and @property 'energy resist' 'found' >= 14
poplist 'modcount' 'energy'
endif
///
///
///sort
if list 'modcount' <= 1
sysmsg '1mod'
if @property 'enhance potions' 'found' >= 30 or @property 'mana regeneration' 'found' == 2
sysmsg 'Mule' 88
moveitem 'found' '1ModRing'
pause 550
else
moveitem 'found' 'TrashBag'
sysmsg 'TrashBag'
endif
//
//
//
elseif list 'modcount' <= 2
sysmsg '2mod'
if @property 'lower reagent cost' 'found' >= 14 and @property 'lower mana cost' 'found' >= 4
sysmsg 'Mule' 88
moveitem 'found' 'LRC'
elseif @property 'lower reagent cost' 'found' >= 14 and @property 'mana regeneration' 'found' == 2
sysmsg 'LRC' 88
moveitem 'found' 'LRC'
pause 550
elseif @property 'faster cast recovery' 'found' >= 2 and @property 'faster casting' 'found' >= 1
sysmsg '2FCR1FC' 78
moveitem 'found' '2FCR1FC'
pause 550
else
moveitem 'found' 'TrashBag'
sysmsg 'TrashBag'
endif
//
//
//
elseif list 'modcount' == 3
sysmsg '3mod' 52
if @property 'hit chance increase' 'found' >= 5 and @property 'enhance potions' 'found' >= 20
sysmsg 'Mule' 88
moveitem 'found' 'HCI'
elseif @property 'hit chance increase' 'found' >= 5 and @property 'defense chance increase' 'found' >= 5
moveitem 'found' 'HCI'
pause 550
elseif @property 'hit chance increase' 'found' >= 5 and @property 'swing speed increase' 'found' >= 5
moveitem 'found' 'SSI'
pause 550
elseif @property 'lower reagent cost' 'found' >= 14 and @property 'lower mana cost' 'found' >= 4
sysmsg 'Mule' 88
moveitem 'found' 'LRC'
elseif @property 'lower reagent cost' 'found' >= 14 and @property 'mana regeneration' 'found' == 2
moveitem 'found' 'LRC'
pause 550
elseif @property 'faster cast recovery' 'found' >= 2 and @property 'faster casting' 'found' >= 1
moveitem 'found' '2FCR1FC'
pause 550
else
moveitem 'found' '3ModRing'
sysmsg '3ModRing'
endif
//
//
//
elseif list 'modcount' == 5
sysmsg '5mod' 34
moveitem 'found' '5ModRing'
pause 550
elseif list 'modcount' >= 4
sysmsg '4+mod' 34
if @property 'mana regeneration' 'found' == 2 and @property 'lower reagent cost' 'found'
sysmsg 'LRC & MR'
moveitem 'found' 'LRC'
elseif @property 'hit chance increase' 'found' >= 5 and @property 'enhance potions' 'found' >= 20
sysmsg 'HCI Potions' 34
moveitem 'found' 'HCI'
elseif @property 'hit chance increase' 'found' >= 5 and @property 'defense chance increase' 'found' >= 5
moveitem 'found' 'HCI'
pause 550
elseif @property 'lower reagent cost' 'found' >= 14 and @property 'lower mana cost' 'found' >= 4
sysmsg 'LRC LMC' 34
moveitem 'found' 'LRC'
elseif @property 'lower reagent cost' 'found' >= 14 and @property 'mana regeneration' 'found' == 2
sysmsg '4+mod' 34
moveitem 'found' 'LRC'
pause 550
elseif @property 'faster cast recovery' 'found' >= 2 and @property 'faster casting' 'found' >= 1
moveitem 'found' '2FCR1FC'
pause 550
elseif @property 'enhance potions' 'found' >= 15
moveitem 'found' 'EP'
pause 550
elseif @property 'mana regeneration' 'found' == 2 and @property 'lower mana cost' 'found' >= 4
if @property 'strength bonus' 'found'
sysmsg 'HPI LMC & MR'
moveitem 'found' 'LMC'
elseif @property 'dexterity bonus' 'found'
sysmsg 'Stam LMC & MR'
moveitem 'found' 'LMC'
elseif @property 'intelligence bonus' 'found'
sysmsg 'Mana LMC & MR'
moveitem 'found' 'LMC'
else
sysmsg 'LMC & MR'
moveitem 'found' 'LMC'
endif
elseif @property 'mana regeneration' 'found' == 2 and @property 'strength bonus' 'found' >= 4
if @property 'stamina increase' 'found'
sysmsg 'Stam HPI & MR'
moveitem 'found' 'LMC'
elseif @property 'intelligence bonus' 'found'
sysmsg 'Mana LMC MR'
moveitem 'found' 'LMC'
else
sysmsg 'HPI & MR'
moveitem 'found' 'LMC'
endif
elseif @property 'mana regeneration' 'found' == 2 and @property 'dexterity bonus' 'found' >= 5
sysmsg 'Stam & MR'
moveitem 'found' 'MR'
elseif @property 'mana regeneration' 'found' == 2 and @property 'intelligence bonus' 'found' >= 5
sysmsg 'Mana & MR'
moveitem 'found' 'MR'
elseif @property 'mana regeneration' 'found' == 2
sysmsg 'MR only'
moveitem 'found' 'MR'
elseif @property 'lower reagent cost' 'found'
if @property 'lower mana cost' 'found' >= 4 and @property 'strength bonus' 'found' >= 3
sysmsg 'LRC LMC & HPI'
moveitem 'found' 'LRC'
elseif @property 'lower mana cost' 'found' >= 4
sysmsg 'LMC & LRC'
moveitem 'found' 'LRC'
elseif @property 'strength bonus' 'found' >= 3
sysmsg 'HPI & LRC'
moveitem 'found' 'LRC'
else
sysmsg 'LRC Only'
moveitem 'found' 'LRC'
endif
elseif @property 'lower mana cost' 'found' >= 4 and @property 'strength bonus' 'found' >= 4
if @property 'dexterity bonus' 'found' >= 5
sysmsg 'HPI LMC & Stam'
moveitem 'found' 'LMC'
elseif @property 'intelligence bonus' 'found' >= 5
sysmsg 'HPI LMC & Mana'
moveitem 'found' 'LMC'
else
sysmsg 'HPI & LMC'
moveitem 'found' 'LMC'
endif
elseif @property 'lower mana cost' 'found' >= 4
if @property 'dexterity bonus' 'found' >= 5 and @property 'intelligence bonus' 'found' >= 5
sysmsg 'Stam Mana & LMC'
moveitem 'found' 'LMC'
elseif @property 'dexterity bonus' 'found' >= 5
sysmsg 'Stam & LMC'
moveitem 'found' 'LMC'
elseif @property 'intelligence bonus' 'found' >= 5
sysmsg 'Mana & LMC'
moveitem 'found' 'LMC'
elseif @property 'Lower Mana Cost' 'found' >= 4
sysmsg 'LMC Only'
moveitem 'found' 'LMC'
endif
elseif @property 'strength bonus' 'found' >= 5
if @property 'dexterity bonus' 'found' >= 5 and @property 'intelligence bonus' 'found' >= 5
sysmsg 'HPI Stam & Mana'
moveitem 'found' '4ModRing'
elseif @property 'dexterity bonus' 'found' >= 5
sysmsg 'HPI & Stam'
moveitem 'found' '4ModRing'
elseif @property 'intelligence bonus' 'found' >= 5
sysmsg 'HPI & Mana'
moveitem 'found' '4ModRing'
else
sysmsg 'HPI Only'
moveitem 'found' '4ModRing'
endif
elseif @property 'dexterity bonus' 'found' >= 5 and @property 'intelligence bonus' 'found' >= 5
sysmsg 'Stam and Mana'
moveitem 'found' '4ModRing'
elseif @property 'dexterity bonus' 'found' >= 5
sysmsg 'Stam only'
moveitem 'found' '4ModRing'
elseif @property 'intelligence bonus' 'found' >= 5
sysmsg 'Mana only'
moveitem 'found' '4ModRing'
else
sysmsg 'Resist Only'
moveitem 'found' 'TrashBag'
endif
else
sysmsg '4Mod'
moveitem 'found' '4ModRing'
endif
endif
pause 550
sysmsg '-' 72
The Silvertiger and Tanya like this.
Top
User avatar
Tanya
Posts: 1796

Re: Script for sorting jewelry

Post by Tanya »

wow thanks!
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
User avatar
deathviper
Posts: 119

Re: Script for sorting jewelry

Post by deathviper »

You may have to tweak it for what your looking for, everyone does it different.

Once you set your alias(s) up for your bags it should sort. I always look through my trash bag b/c I am paranoid or might see something that I might want to keep.
User avatar
Calvin
Posts: 5686
Location: UK

Re: Script for sorting jewelry

Post by Calvin »

ya lazy bastard lol

i mean it's kinda pro, but fkin hell man, not even looking through your items..
your GUI might as well be this:
Image
User avatar
Tanya
Posts: 1796

Re: Script for sorting jewelry

Post by Tanya »

you mean my list? lol
what are these shortcuts?
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
User avatar
Calvin
Posts: 5686
Location: UK

Re: Script for sorting jewelry

Post by Calvin »

it's notepad++

i just mean the level of automation is so high it makes me wonder why they bother putting graphics into the game

you guys are gonna be seeing the matrix soon :P
holy shit im walking around in a world full of neos xD
Demon Fire likes this.
Top
User avatar
Tanya
Posts: 1796

Re: Script for sorting jewelry

Post by Tanya »

Calvin wrote: i just mean the level of automation is so high
http://www.uogdemise.com/community/view ... f=10&t=129
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
User avatar
Tanya
Posts: 1796

Re: Script for sorting jewelry

Post by Tanya »

Calvin wrote: i mean it's kinda pro, but fkin hell man, not even looking through your items..
Calvin wrote:ya lazy bastard lol
lol
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
User avatar
Calvin
Posts: 5686
Location: UK

Re: Script for sorting jewelry

Post by Calvin »

im pretty sure MB is a professional scripter...
User avatar
Calvin
Posts: 5686
Location: UK

Re: Script for sorting jewelry

Post by Calvin »

it becomes a different game, just be aware of that... that's all rly
Post Reply