I'm using 2.06 and plugin 2.02.
I found the function @storamount doesn't work. Definitely I have the item in the storage. But it always return -1. And I also found sometimes it fails to use "storage add". It appears the syx error.
twRO Free | macro: fail to @storamount / storage
Moderators: Moderators, Developers
-
- Noob
- Posts: 8
- Joined: 05 Sep 2008, 06:44
- Noob?: Yes
-
- Spam Generator
- Posts: 499
- Joined: 04 Apr 2008, 09:30
- Noob?: No
- Location: Melbourne, City of beer and awful sushis
Re: twRO Free | macro: fail to @storamount / storage
more info would be helpful here I'd say.
Make Openkore Awesome. Join the team.
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: twRO Free | macro: fail to @storamount / storage
If i recall right, this occurs when your storage hasn't been opened in the session before yet.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
-
- Noob
- Posts: 8
- Joined: 05 Sep 2008, 06:44
- Noob?: Yes
Re: twRO Free | macro: fail to @storamount / storage
The following is my macro. It works fine with 2.05.
do talknpc 146 89 c r1 n
pause 1
do storage add @inventory(AAA) 25
pause 1
do storage get @storage(BBB) 10000
pause 1
do storage close
pause 1
do p AAA @storamount(AAA) units
and it always return "AAA -1 units"
do talknpc 146 89 c r1 n
pause 1
do storage add @inventory(AAA) 25
pause 1
do storage get @storage(BBB) 10000
pause 1
do storage close
pause 1
do p AAA @storamount(AAA) units
and it always return "AAA -1 units"
-
- Spam Generator
- Posts: 499
- Joined: 04 Apr 2008, 09:30
- Noob?: No
- Location: Melbourne, City of beer and awful sushis
Re: twRO Free | macro: fail to @storamount / storage
have you discussed this at the macros section?
Make Openkore Awesome. Join the team.
-
- Noob
- Posts: 8
- Joined: 05 Sep 2008, 06:44
- Noob?: Yes
Re: twRO Free | macro: fail to @storamount / storage
Nope, I thought it should be posted in bug reports.
I'm going to post it in Macro pluggin section.
I'm going to post it in Macro pluggin section.
-
- Testers Team
- Posts: 106
- Joined: 04 Apr 2008, 21:53
- Noob?: No
- Location: Asia
Re: twRO Free | macro: fail to @storamount / storage
Code: Select all
macro debugIt
Storage opened.
Inventory Item Removed: Yggdrasil Seed (1) x 1
Inventory Item Removed: Glistening Coat (0) x 1
[macro][log] Item Yggdrasil Seed = 5 units
[macro][log] Item Glistening Coat = 1780 units
Storage logged
[macro][log] Yggdrasil Seed = -1 units
[macro][log] Item Glistening Coat = -1 units
Code: Select all
macro debugIt {
$A = Yggdrasil Seed
$B = Glistening Coat
do c @storage
pause 1
do storage add @inventory($A) 1
do storage add @inventory($B) 1
pause 1
do storage get @storage($B) 1
log Item $A = @storamount($A) units
log Item $B = @storamount($B) units
pause 1
do storage close
pause 1
log $A = @storamount($A) units
log Item $B = @storamount($B) units
}
try to log it before storage closed.
so it not a bug.

