Hm... Don't know what happened. I see that I wrote on the first post that that should work but you are right, there is no mention of the option. Maybe I meant to add it but didn't get around to it. I don't remember. I'll look into it.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
I'm not against the idea but it's hard to implement it properly. I think the reason I didn't do it is because there was no way to identify which item was removed from the box. Anyway, here are my thoughts.
1. You can't assume that a refill will follow an empty. A user might just want to use right click to empty. I think whether it does a refill or empty should depend solely on if the box is empty or not. So if it's not empty, remember the items and empty it. If it's empty and a previous empty was saved then restore them.
2. Although we can assume items wont move during fusing it is possible the items get used so they no longer exist. For example, say you have some weapons and armor in your magicbox that you intend to fuse. After you empty your magic box and do your fusing those items might be replaced with mana stones. Your changes will refill the magic box with the mana stones. So I think it should check to see if the items in the bag slots are still the same item before putting it back in the magic box.
3. Ideally it would be nice if it could handle items being moved in the bags and still return the right items back to the magic box. Unfortunately at the moment there is no way to 100% identify an item. This seemed strange to me. There has to be a unique id of some sort to uniquely identify an item. So I had a look at the item structure and I found that the 3rd integer seems to be unique and moves with the item. So if we remembered these 3rd integers then we could do a search for them and restore them from where ever they were moved to. A bit of work though.
4. I think it would be nice if a user can just start fusing and it empties the magic box like it does now and then at the end they can right click the Fusion button to return whatever was removed from the magic box. So when fusing starts it should check to see if the magic box is empty. If not it should use your function so it remembers the items instead of the standard empty function.
What do you think?
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Is it possible to get a version of your userfunction which is working with Fusion addon v.1.06 ?
Versions 2+ are very laggy for me and doing a manastones is taking too much time than with 1.06 ;/
I could post an older version but I don't know which version goes with 1.06. When using the current fusion userfunction do you get any error messages? What doesn't work?
Edit: Never mind. I found comments in the userfunction indicating which was the first one that required 2.0 of the addon. I've added version 0.3 to the first page. That's the last one to support 1.06.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.