autostorage

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

dernis
Noob
Noob
Posts: 2
Joined: 23 Nov 2013, 08:14
Noob?: Yes

autostorage

#1 Post by dernis »

ist working but with error message about syntax. wots wrong?
automacro autostorage {
location aldebaran
weight < 49%
call storage
run-once 1
}

macro storage {
do autostorage
run-once 1
release autostorage
}
grimmy
Noob
Noob
Posts: 4
Joined: 19 Nov 2013, 07:49
Noob?: Yes

Re: autostorage

#2 Post by grimmy »

You don't need macro just to autostorage.
There's already function of it in the config. Just change itemMaxWeight/itemMaxWeight_sellOrStore to 49
dernis
Noob
Noob
Posts: 2
Joined: 23 Nov 2013, 08:14
Noob?: Yes

Re: autostorage

#3 Post by dernis »

I know, but a want go to town if im overweight and auto storage there.
grimmy
Noob
Noob
Posts: 4
Joined: 19 Nov 2013, 07:49
Noob?: Yes

Re: autostorage

#4 Post by grimmy »

If you set itemMaxWeight_sellOrStore to 49, you'll automatically do autostorage when your weight reach 49% without having to use macro.
jbauson
Human
Human
Posts: 20
Joined: 16 Apr 2008, 02:46

Re: autostorage

#5 Post by jbauson »

All replies are correct, if your autostorage in config.txt are configured, then you shouldn't have this problem.

Some config.txt entries that you might want to look at:

Code: Select all

storageAuto 1
storageAuto_npc prt_fild05 290 224
itemsMaxWeight 89
itemsMaxWeight_sellOrStore 49
itemsMaxNum_sellOrStore 99