Page 1 of 2

Setting up organizer in UOS

Posted: May 16th, 2020, 3:10 pm
by Pkstylez
Having issues with the organizer. my miner will recall back and should be grabbing ore, gems etc to unload into chest and he just gets stuck since i dont have the move item into container setup up correctly. Anyone have a copy paste of what those lines should look like? or a tutorial? Im currently running the magery miner, then i tried to splice in the unload gems and ore section of the Fire beetle and update the Item ID but....didnt work.
I dont know how to write these but if this is where im currently stuck

Re: Setting up organizer in UOS

Posted: May 16th, 2020, 3:54 pm
by Gargl Kark
// organizer to put up ore
organizer 'Ore' 0x42530b34 0x415e2e04
while organizing
endwhile

Notes
1. line calls the organizer named "Ore", first Serial is source container, second is target container. You'll want to change these
2. and 3. line reads in plain language "while organizing do nothing" and ensures that, well, the char does nothing while organizing (i.e. the action queue comes to a halt)

Re: Setting up organizer in UOS

Posted: May 16th, 2020, 4:52 pm
by Pkstylez
i cant seem to get the ID right
// organizer to put up ore
organizer 'Ore'
movetype 0x4047cc5c '0x4317c0bb' 'backback' (0 0 0) 0 40
while organizing "while organizing do nothing"
endwhile
this is what it looks

Re: Setting up organizer in UOS

Posted: May 16th, 2020, 5:21 pm
by Gargl Kark
it should look more like this:

Code: Select all

    organizer 'Ore' 0x42530b34 0x415e2e04
    while organizing
    endwhile
you don't need the movetype stuff, and you don't need anything between line 2 and 3

Re: Setting up organizer in UOS

Posted: May 16th, 2020, 6:06 pm
by Pkstylez
looks like this now,
// organizer to put up ore
organizer 'Ore' 0x42530b34 0x415e2e04
while organizing
endwhile
// get ingots if low
if counttype 0x1bf2 0 'backpack' < 20
useobject 'IngotsSource'
pause 1000
movetype 0x1bf2 'IngotsSource' 'backpack' (0 0 0) 0 40
pause 1000
endif
says, profile Ore not found

Re: Setting up organizer in UOS

Posted: May 16th, 2020, 8:03 pm
by Gargl Kark
ok, go to tab Agents > Organizer, then > New, and name it "Ore", then put in there what you want to drop off.

I will be offline now, but feel free to post here.
Also, there should be a documentation.pdf somewhere in your UOS folder to help you out.

Re: Setting up organizer in UOS

Posted: May 17th, 2020, 4:26 pm
by Pkstylez
ok i found the agent it looks like this:
movetype graphic source destination x y z color amount range
looks like a lot of info to modify there...

Re: Setting up organizer in UOS

Posted: May 17th, 2020, 6:02 pm
by Pkstylez
scratch that.i found the agent section and figured it out looks like this now
organizer 'Ore' 0x42920bd8 0x45eb2e7a
while organizing
endwhile
i made the agent, and when i hit play it works. in the UOS part when he recalls back for drop off it asks to target source container again, and before i can do that he recalls back to mining spot.

Re: Setting up organizer in UOS

Posted: May 17th, 2020, 6:42 pm
by Pkstylez
Ok got that part figured out lol.
so after playing with it, its working but the only problem is i need a mana check after the recall home part. How and where can i add a mana check in this script to prevent recalling before i have double mana available to come back?

Re: Setting up organizer in UOS

Posted: May 17th, 2020, 6:52 pm
by The Silvertiger
while mana < [insert your number]
endwhile

it's a pause basically:

while mana < 14
endwhile
useobject 'mining book 1'

Re: Setting up organizer in UOS

Posted: May 17th, 2020, 6:54 pm
by Gargl Kark
pls also check for that documentation.pdf
it should be in the UOS folder.

Re: Setting up organizer in UOS

Posted: May 17th, 2020, 7:00 pm
by The Silvertiger
^^^ it's so useful. I also encourage you to look at other scripts and make macros for doing simple things to become familiar with the language.

Re: Setting up organizer in UOS

Posted: May 17th, 2020, 7:14 pm
by Pkstylez
thank you ill look at it and try to learn more.
u guys are super helpful.

Re: Setting up organizer in UOS

Posted: May 21st, 2020, 6:53 am
by Pkstylez
update...
so its running pretty smooth minus a coupe things.
He gets back to the house seems to be random...and gets stuck there and is trying to mine from the drop box.
other than that its running pretty smooth.

Re: Setting up organizer in UOS

Posted: May 21st, 2020, 8:38 am
by The Silvertiger
you need some pauses probably or to extend the current pauses