Download
(10 Kb)
Download
Updated: 05/11/15 04:41 PM
Pictures
File Info
Updated:05/11/15 04:41 PM
Created:04/09/15 06:33 PM
Monthly downloads:28
Total downloads:3,629
Favorites:1
MD5:
Categories:Discontinued & Outdated, Discontinued & Outdated
FCO Guild Bank Stack Split
Version: 0.0.5
by: Baertram [More]
FCO Guild Bank Stack Split
Current version: 0.0.5

If, after you clicked "Split" in the context menu, the split dialog will not show (it sometimes takes up to 5 seconds!): This is because other ppl are playing witht he same guild bank and the item needs some time to get transfered to your local inventory! So just be patient please and don#t try to split it again after 1 second!

The changelog was moved to the appropriate panel, because Minion will finally be able to show the changelog correctly too. Plesae click on the blue text "Changelog" inside Minion's addon popup.

Information:
Due to the game's guild bank limitations there could sometimes appear an error and the split stack dialog won't be shown. But the items were removed from the guild bank to your local inventory (withdrawn).
So you'll find the total stack inside your inventory then! Just split it there as usual and put the rest back to the guild bank. Afterwards the split dialog at the guild bank should work as wished again.
It depends on the guild bank's availability and how often and how much users use the bank at the same time.

FCO Guild Bank Stack Split brings you an approach to use the stack split popup dialog also at your guild bank.
You will be able to split a stack, keep the split amount in your inventory and transfer the base stack back to the guild bank automatically.
  • Right click your items in the guild bank and choose "Split", where it is possible
  • The item will be transfered to your inventory and the split dialog will be opened
  • Choose how you wish to split the item
  • If you accept the split dialog the item will be split into your inventory and kept there
  • If you decline the split dialog the item will be transferred back to your guild bank


Chat commands:
Code:
/fcoguildbankstacksplit
/fcogbss
Possible parameters:
delay <milliseconds>.<2 decimals>: Change the delay between you clicked the "split stack" context menu entry and the split dialog shows. Standard value is 150ms. A higher value may prevent the "Split stack aborted" message as many players use the guild bank at the same time.

Minimum value: 0
Maxmimum value: 5000
If you just use "delay" it will show you the current delay in the chat.

Example:
/fcogbss delay 250.43
This will change the delay after you clicked the context menu "Split stack" and the split popup dialog is shown to 250.43 milliseconds.

/fcogbss delay
This will show you the current delay value into the chat


Many thanks to the following people:
-Harven for the Stack split slider addon. I've implemented some of your code lines in here to provide compatibility with your added functions (multi split e.g.)

How to use this addon?
-You need to have at least 2 free slots in your local inventory
-Open the guild bank and go to the withdraw panel
-Right click an item stack and choose "Split"
-The items will be transferred into your inventory
-The split dialog will appear
-Choose how to split the items and accept or decline it

If you accept the new split stacks will be in your inventory and the base stack will be transferred back to your inventory.
Example: Split 40 potions from 180. 140 will get back to your guild bank automatically.
This DOES NOT work if you use Harven's Stack Split Slider and you have activated the Multisplit checkbox!

If you decline the old 1 stack will be transferred back to the guild bank


Ideas for new features
-Add keybinding to split items

Known bugs
-None so far

Please report any further bugs via my author portal bugs panel. Thanks.
Thx for your interest.

Thanks to:
-My parents

Donation
If you like to you can send me some comments, ideas, wishes, items or even ingame gold to Player "Glacies" on the EU server. I'm happy about any feedback!
0.0.5
-Added chat command /fcogbss delay <milliseconds>.<2 decimals>
Change the delay in milliseconds after which the split popup dialog will be shown (after you clicked the context menu entry).
Standard value: 150
Minimum value: 0
Maximum value: 5000

A higher value could help if you get the error message "Split stack aborted". Or just close the guild bank and talk to the NPC again.

0.0.4
-Fixed the error message always appearing. The game wasn't fast eough for my message :-)
It shouldn't appear anymore more or only in real rare cases (slow game, many people messing with the same guild bank).
If the split dialog won't show directly after you clicked "Split stack" this is due to other people working with the same guild bank. Please be patient, it could take up to 10 seconds until the guild bank is responsive again (standard ESO!). So just wait for the dialog to appear.
Don't try to "hammer" the split stack !!!


0.0.3
-Workaround: Sometimes the withdraw from the guild bank works but the withdrawn item won't get a slotControl :(
I don't know why and I tried to avoid it but it still happens, even if you rebuild the total backpack inventory afterwards like standard ESO does it (for only 1 item! wow ZOS, quite overpowerd imo).

If this happens you'll see an error message now and the stack will be moved back to the guild bank. Please just try to split it again then. if it doesn't work, switch guild bank tabs to deposit and back to withdraw, this should help.

0.0.2a
-Fixed: Context menu entry was sometimes not shown inside the context menu rectangle. Should be fixed now.

0.0.2
-Added feature: If you split an item stack the base stack will be transferred back to your guild bank again now.
Example: Split 40 potions from 180. 140 will get back to your guild bank automatically.

This DOES NOT work if you use Harven's Stack Split Slider and you have activated the Multisplit checkbox!
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Uploader
Date
0.0.4
9kB
Baertram
04/30/15 03:26 AM
0.0.3
9kB
Baertram
04/29/15 10:50 AM
0.0.2a
9kB
Baertram
04/26/15 09:31 AM
0.0.2
10kB
Baertram
04/10/15 12:35 PM
0.0.1
9kB
04/09/15 06:33 PM


Post A Reply Comment Options
Unread 07/01/16, 07:35 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
It's outdated as there is no way to fix the problem with a good solution
You'll always get the error message now and I can't find a way to get around this.
Seems to be internal guild bank handling "before lua" and thus no chance to get into this.

It also depends on the city where you use the guild bank, the amount of players around you, your network speed and ping, your package loss, etc.

Too many factors to make the addon work properly and no time to test and dig into it deeper.

Originally Posted by QuadroTony
this addon outdated because its hard to fix? mby smthing changed last patches and it
must work again?
Report comment to moderator  
Reply With Quote
Unread 06/30/16, 09:19 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
this addon outdated because its hard to fix? mby smthing changed last patches and it must work again?
Report comment to moderator  
Reply With Quote
Unread 05/26/15, 04:05 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Could be. If I find time and the will I maybe look at roomba's code how it determines the new stacked stuff in your inventory and sends it back to the guild bank.
Maybe it helps.

Edit:
Roomba is doing it exactly like i do. The only difference is:
I need the slotControl for the split dialog to work. Roomba just needs the slotIndex so the item can be stacked and moved back.
In some circumstances the slotControl is not build correctly. I think it is because the inventory just refreshes EVERY slot as a new item gets into the list. it takes some time and depends on several things:
-Another item gets added
-Another items gets removed
-Some addon stacked the items automatically
-etc.

So I'm not able to fix this or improve this currently. It works sometimes, and it doesn't sometimes.
I only noticed: If I only use a few addons it works more often so I guess other addons that "crawl" the inventories can be the reason why it doesn't always work.
If I disable all other addons I can use the split dialog for about 20+ times without getting the error message.



Originally Posted by QuadroTony
well i am at Cyrodiil now and no1 using the banker atm, its only one for all location

but still 500ms not enough for me
even 1500 lol
with 3000 im able to do one split only, all rest become unavialable too

mby the matter not in the delay?
Last edited by Baertram : 05/26/15 at 05:07 AM.
Report comment to moderator  
Reply With Quote
Unread 05/24/15, 01:43 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
Currently I got the problem that even 5 seconds of waiting for a stack won#t work anymore if too many people are in the same region working with any guild bank (not even your guild bank)...
well i am at Cyrodiil now and no1 using the banker atm, its only one for all location

but still 500ms not enough for me
even 1500 lol
with 3000 im able to do one split only, all rest become unavialable too

mby the matter not in the delay?
Last edited by QuadroTony : 05/24/15 at 01:49 PM.
Report comment to moderator  
Reply With Quote
Unread 05/21/15, 04:31 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
btw how Roomba addon doin it? it mooving stacks from bank to hero and back very fast even if the bank is crowded
Report comment to moderator  
Reply With Quote
Unread 05/18/15, 12:40 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
I was able to rebuild the bug where the wrong stack part was returned to your bank.
If you got a 200 stack + and extra stack with less than 200 (e.g. 30):

-Take the 30 stack completely to your local inventory by double clicking it e.g.
-Split the 200 stack afterwards with this addon (let's say 75 meant for the inventory and 125 back to the guild bank)
-The 75 will be returned back to the guild bank afterwards

It might be even reproducable if you already got another stack in your inventory as you just split the same item at a guild bank.

It seems that the game itsself is not able to determine the "correct" stack to return then. It is just scanning the inv for the correct item and quality etc. but not the stack size as it seems.

I couldn't find a solution so far but I'll try if I can change something so it works.

Currently I got the problem that even 5 seconds of waiting for a stack won#t work anymore if too many people are in the same region working with any guild bank (not even your guild bank)...
You'll have to close the guild bank and reopen it so it works better again (for about 7 splits and then repeat...)

Originally Posted by Baertram
Never happend to me so far. Maybe the same weird stuff like the non reacting guild bank if many ppl use it at the same time.
I'll try to rebuild that bug and test it.

Edit:
I'm not able to rebuild this :-(

But I'm able to rebuild the error message you got, now.
It happens to mee if at least 1 other guild mate is using the bank and/or I had tried to split at least more then 5 stacks. In most times it was even more then 8. But I'll get the error message "Split aborted" too then.

I'll need to close the bank totally and talk to the NPC again. Afterwards it works normally in 8/10 cases.

Originally Posted by QuadroTony
ye i wanna withdraw 68 carrots but it withdrasw 52 for example

Report comment to moderator  
Reply With Quote
Unread 05/11/15, 04:41 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
0.0.5

Chat commands:
Code:
/fcoguildbankstacksplit
/fcogbss
Possible parameters:
delay <milliseconds>.<2 decimals>: Change the delay between you clicked the "split stack" context menu entry and the split dialog shows. Standard value is 150ms. A higher value may prevent the "Split stack aborted" message as many players use the guild bank at the same time.

Minimum value: 0
Maxmimum value: 5000
If you just use "delay" it will show you the current delay in the chat.

Example:
/fcogbss delay 250.43
This will change the delay after you clicked the context menu "Split stack" and the split popup dialog is shown to 250.43 milliseconds.

/fcogbss delay
This will show you the current delay value into the chat
Report comment to moderator  
Reply With Quote
Unread 05/11/15, 08:16 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Never happend to me so far. Maybe the same weird stuff like the non reacting guild bank if many ppl use it at the same time.
I'll try to rebuild that bug and test it.

Edit:
I'm not able to rebuild this :-(

But I'm able to rebuild the error message you got, now.
It happens to mee if at least 1 other guild mate is using the bank and/or I had tried to split at least more then 5 stacks. In most times it was even more then 8. But I'll get the error message "Split aborted" too then.

I'll need to close the bank totally and talk to the NPC again. Afterwards it works normally in 8/10 cases.

Originally Posted by QuadroTony
ye i wanna withdraw 68 carrots but it withdrasw 52 for example

Last edited by Baertram : 05/11/15 at 04:28 PM.
Report comment to moderator  
Reply With Quote
Unread 05/11/15, 07:42 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
ye i wanna withdraw 68 carrots but it withdrasw 52 for example

Report comment to moderator  
Reply With Quote
Unread 05/04/15, 05:24 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
This happens if many ppl ackt with the guild bank or many ppl just are near to you.
Try to use the guild bank in a non-crowded aread (no main capital cities !) and you'll see it speeds up most of the time!
I think it's a server issu with many ppl playing at high peak time.

You could try this, maybe it helps:
1. Open the file FCOGuildBankStackSplit.lua
2. Go to line 255
You'll see this line:
Lua Code:
  1. zo_callLater(function()  FCOGuildBankStackSplit_CheckWhatToDo(slotIndex, currentItemName) end, 100)
3. Change the 100 to a higher value, maybe 150, then 200, then 250

I hope it helps for you. Start with a high value like 500 ms and then go down to lower values until it doesn't work anymore. This way you can easily test if it works at all (I hope it will as it does for me with even 100 ms...)

It will look like this then:
Lua Code:
  1. zo_callLater(function()  FCOGuildBankStackSplit_CheckWhatToDo(slotIndex, currentItemName) end, 500)

4. Save the file
5. /reloadui ingame
6. Test if it works now

This value 100 is the milliseconds to wait before the slotControl will be checked.
250 ms is 1/4 second, so it shouldn#t make any difference for waiting this time. The split dialog will open a bit later :-)
If this helps for you I can implement a chat value to set this ms value dynamically.

Maybe I find another solution which works better in the future. This damn slotControl of the withdrawn item should be created faster.
Perhaps I can change that PreHook into a PostHook so my functions will be called AFTER everything else was done by other addons (unsing PreHook at EVENT_SINGLE_INVENTORY_SLOT_UPDATE) and standard ESO code.

Originally Posted by QuadroTony
i have a good pc, 8-core =)
not bad for this game
if you want i can do teamviewer conversation with you and you will test this addon on me
mby smthing wrong with my provider

i often see the guild bank retrieving items forever when i look into them
and i need switch back and forth between guild to at least see all items in the bank
Report comment to moderator  
Reply With Quote
Unread 05/03/15, 07:41 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
i have a good pc, 8-core =)
not bad for this game
if you want i can do teamviewer conversation with you and you will test this addon on me
mby smthing wrong with my provider

i often see the guild bank retrieving items forever when i look into them
and i need switch back and forth between guild to at least see all items in the bank
Report comment to moderator  
Reply With Quote
Unread 05/03/15, 07:27 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
As you choose to split the item gets withdrawn to your local inventory. If it gets there an event will be triggered by the game (event single inventory slot updated). I use this one to see if the item is created in your inventory.
Afterwards I'll check the name and some other stuff against the withdrawn item's data. If it's the same I get the slotIndex of the item in your inventory.
This works very well with all items.
But if I like to call the split stack dialog now I need to use the slotControl data, containing the objects of the inventory item.
Sometimes the game did not build this slot control directly after the event single slot inventory update was fired. So I was waiting for 150 ms here. It worked with my PC and addons very well (and I got a 5 year old CPU ).

I'll see if increasing the ms will do the trick. I tried to rebuild the slotControl manually already but this didn't work. So if this doesn't help you need to download an older version and live with the lua error message maybe. It seemed to work more often then for you?

Maybe someone else got another idea how to generate the slotControl or wait for it to be generated by standard ESO properly. But I don't want to prouce a deadlock waiting for something that maybe never will happen correctly (due to standard ESO).
Standard ESO ist updating the total inventory if you withdraw 1 item Could have been done in other ways too imo.
Maybe this is why they didn't implement the stack split at guild banks :-)

Originally Posted by QuadroTony
latency 110-150
only 1 addon active



but not forever
sometimes, like 1 per 10 attempts - i can do split

i push gently, NOT hammer the button

i cannot split worms
at all
and some other stack of items too
Report comment to moderator  
Reply With Quote
Unread 05/02/15, 02:18 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
latency 110-150
only 1 addon active



but not forever
sometimes, like 1 per 10 attempts - i can do split

i push gently, NOT hammer the button

i cannot split worms
at all
and some other stack of items too
Last edited by QuadroTony : 05/02/15 at 02:18 PM.
Report comment to moderator  
Reply With Quote
Unread 05/02/15, 01:39 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Hm, could be because of the latency or your amounts of addons all messing around with the bank and inventories
Its working very well for me.
Please try to disable all other addons and see if it works then (just as a test).
I think it must be something about latency and inventory items manipulated, or slotControl created.

Originally Posted by QuadroTony
i have latest version
the same issue - i cannot split anything
is that related to the latency?
all items loaded fine, i w8ting for bank itinialisation

latency like 100-200
Report comment to moderator  
Reply With Quote
Unread 05/01/15, 06:58 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
i have latest version
the same issue - i cannot split anything
is that related to the latency?
all items loaded fine, i w8ting for bank itinialisation

latency like 100-200
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: