Page 4 of 4

Re: Razor Auto Sort loot macro 2.0

Posted: Mon Apr 27, 2015 4:33 am
by ReptilianLover
OK. As promised, here are my files. I changed my sorting template to do one file, it is called "Auto Sort.macro". In the zip file, it also contains the templates that I use to generate the files.

I use a very simple macro substitution language, here are the specifics:
@@ are local variables:
I pull them dynamically from SQL calls
They can only be used within the template they are defined in

!! are global variables:
I pull them dynamically from SQL calls as well
They can only be used from any template once defined

^^ denotes a SQL call:
It will ALWAYS have variables to hold field values
I loop through each record in the record

?? is a conditional:
It uses boolean logic to evaluate defined variables
If it does not pass, the file is not executed

## is a file template substitution:
I will cascade through these to generate the final file

My macro uses a single organizer agent (10), they are nested to check for bin too full failures.
If I fail (item not found/too far away) I cancel the target.
I do switch off the Queue Target option in Razor.
Template-Sort is the first template file.

The language/programming is ugly, lol, it was a one day hack to create...
I hand generate my Keep/Crap/Identification templates because I didn't want to spend the time error checking the iteration pointer on the recordsets (item bins are nested).
I suppose I can clean it up, but, you know.


My setup is:
15 sort bins on the North
15 crap bins on the West
3 Keep bins on the South
1 Identification bin on the East
I have 2 more bins on the East that I use for various stuff prior to loading the sort bins.

A 15 bin sorter will get me through a 100 MIB run without sorting.
I do not turn the crap into resources, i sell everything.
I leave items in my keep bin for my main char to ID and move to my treasure room location.

Included in the zip file is the picture of my setup, the template files (if you would like to generate your own renderer, or just to see the raw code easier), the ID's of the items to put in your Organizer-10 slot (this file uses Organizer 10), and the ID's of my keep/crap/identification bins so you can do your own global substitution if you want to use this.

File will stay for 30 days...go!
http://tempsend.com/A1F1E8B959

Re: Razor Auto Sort loot macro 2.0

Posted: Mon Apr 27, 2015 3:02 pm
by inkognito
Real wizards sort their loot attended without any automated help.

Re: Razor Auto Sort loot macro 2.0

Posted: Mon Apr 27, 2015 3:09 pm
by Capitalist
inkognito wrote:Real wizards sort their loot attended without any automated help.

Re: Razor Auto Sort loot macro 2.0

Posted: Mon Apr 27, 2015 4:57 pm
by Dunder Mifflin Inc
Capitalist wrote:
inkognito wrote:Real wizards sort their loot attended without any automated help.

This must be your problem. Your at the computer 24/7 sorting loot manually instead of being outside and excersising!

Re: Razor Auto Sort loot macro 2.0

Posted: Mon Apr 27, 2015 7:47 pm
by ReptilianLover
BTW. If anyone wants to make their own templates and have me generate them that COULD be possible. Donations would be accepted! If I need to actually change the rendering engine that I won't do for free...

SQL code I could write as long a requirements are clearly defined.