(This isn't strictly an NWScript question, but I ran across it whilst mucking with a scripting project to sort items in bags in the PC's inventory and I am guessing scripters are as likely to know this as anyone... And, honestly, though I try to give a bit of detail below, this may be an FAQ.)
I have encountered an issue when using the "Save Character" feature (from the Options Menu) when a player has a PC logged on a server. If the PC has too much stuff in his inventory, the save seems to fail. The "Export request sent. Waiting for reply..." message shows in the log, but the "Your character was exported successfully." message never appears and the BIC never appears in the client's localvault. I have attempted the export and waited several minutes with no luck.
As far as I can tell, aside from the export not finishing, the game is mostly working fine at both ends. E.g. the client and server seem okay; all of the items in inventory are usable, barter-able, etc. and the player can log off and relog and not lose anything. But, since a player can't open inventory while the export is working, if he ever closes his inventory, eventually the client crashes when the player tries to open it.
The failed export seems very much related to the number of items in the inventory, though I cannot be sure if it is also related to the number of bags/containers (and likely how many items are in those bags) or just the total number of items. The testing PC had many bags/containers which were mostly full. At somewhere between 40 and 50 bags, the export failed. I didn't do a total count of inventory items, but the number of items in 45 bags was about 900 when the export succeeded and there were over 1000 items in about 51 bags when it failed. Given that there were about 70 other items (not bags and not in bags) in the inventory, suspicion naturally turns to a 1024 item limit somewhere in the mix.
But, that could be a red-herring. There could be some other limit. Or, it could just be a timeout causing the export to fail. Or. something else entirely.
BTW, I should clarify that there doesn't seem to be any issue with the PC in question being stored on the server vault, at least not that I saw. The same PC whose export failed with 50ish bags didn't lose any items when re-logging.
So, does anyone know what the "Save Character" export limit is, as is relates to inventory? Any knowledge or pointers about this are appreciated.