Post Reply
5 posts • Page 1 of 1
I'm not entirely sure whether or not this is a bug, but for some reason, I'm not making any interest from my bank.
I know i should have made some interest by now, since I've had 10000 gold in my bank account since June 14 in-game time, and It is now June 30 in-game and my money is still at exactly 10000, without me removing or adding anything to it in 16 days. The reason it may not be working (and why I think this might not necessarily be a bug), is because I'm at the part of the main quest where:
[+]
I'm no longer exactly in "good standing" with erothin, e.g. I've already been arrested by (and escaped from) the chancellor, and am now helping the monestary/cahbaet. however I'm also pretty sure that shouldn't have this affect on my bank account, since none of the guards in erothin are hostile, and the shop keepers all still sell to me (I haven't tested putting more money in the bank, but that should be working too, right?)
If I guess correctly, I should have made atleast 600 gold by now (the current interest rate is 2%), if not more, because of my partnership agreements. that, however brings me to my second question, which is about partnership agreements. Which box do you put them in to make them work? I've tried putting them in the account box (the one with money) but that didn't seems to work at all, even after 4 days (I'm not entirely sure if that is when the money from partnerships is added either, it doesn't say). so I moved them to the safe and secure storage chest, with all my other stuff, but that was atleast 8-10 days ago, and like i said, my money has not gone up at all. Is it possible i broke the bank account functionality by added items to the account box, which should only have money in it, or is it more likely a bug? any answers would be great, it is quite annoying to have a none functioning bank account.
Thanks a lot. The mistake was me using a short variable for something that can exceed 32767. Will be fixed in the next patch.
The bug is triggered when your money in the bank times the time you spent between two visits of the bank is > 32767, so if you want to use the bank before the next update, you should come back each 3 days or more often.

The agreements go into your account box.
Thank you, thats very helpful. But can I ask what you mean by "visit"? Do I merely have to walk into the bank, or do I have to talk to the bank manager, or should I put money into or take it out of the bank? I only ask this be cause I'm not really sure what you mean by short variables and the like (I've done some modding, but never scripting). If you don't mind telling me what actually resets the time between visits, I could probably better understand how the script works. Even if you can't though this will most likely solve my problem, so thanks again for the help.

P.S. Absolutely stunning mod, by the way. I don't think I've said that anywhere yet, but it is definitely the best mod I've ever played, for any game.
Walk into the bank. It's a script running on an object in the bank - as you might know, scripts on objects run only when you are in the same cell as the object.
A short variable is a 16-bit approximation to an integer:
CSWiki wrote:
Short is an integer format that uses 16 bit for data.

The highest bit is the sign, so the variable ranges from -2^15 (-32768) to 2^15-1 (32767)
My script used a short variable for the interests; this is not a problem per se (interests shouldn't be >32767 normally), but the computation of the interests had some too-high intermediate results, resulting in a negative interest rate.

A week ago I've noticed pretty much the same mistake in a Morrowind script.
Well, i think that is better to hickjack this thread instead of creating a new one.

Anyway my problem is that the quest didn't started after I have depositated the gold, simply it isn't in the list of the active quest. Anyway the deposit is making some interests because when I open the lockbox it says interest gained xxx but it show for so short time that I can't understand how much I have gained.

How I can solve the problem?
Post Reply
5 posts • Page 1 of 1