[Bug Report]Vendors buy my items but I don't receive money.

Post » Wed May 30, 2012 5:22 pm

Hello dear Bethesda!

Firstly, I'm sorry for my english! Here is my issue: When I'm trading with a vendor who has 32768 or more gold, when I sell item, the vendor accepts my item but doesn't give me money for it, in other words they are getting my items for free. :(
But if a vendor has less than 32768 of gold, he/she buys my items without any problems (I receive the money).

Of course my character is strong enough to kill almost any vendor in Skyrim, but I don't want problems with town guards and also don't want to reduce vendors population, if I kill all of them who will buy my items? :smile:

I hope this issue will be fixed with next game update.
User avatar
Lily Something
 
Posts: 3327
Joined: Thu Jun 15, 2006 12:21 pm

Post » Wed May 30, 2012 1:58 pm

That's the limit of a signed int. Interesting...
User avatar
Shannon Marie Jones
 
Posts: 3391
Joined: Sun Nov 12, 2006 3:19 pm

Post » Wed May 30, 2012 8:14 am

Yeah, I know. Actually it is limit of signed __int16 (short). But why the developers limited this? Of course in non-modded Skyrim this is not a problem. But if you have mod like Perk Point Potion (very expensive potion), you can't get your money back by selling unnecessary items, after you bought the potion.
User avatar
{Richies Mommy}
 
Posts: 3398
Joined: Wed Jun 21, 2006 2:40 pm

Post » Wed May 30, 2012 7:11 am

Yeah, I know. Actually it is limit of signed __int16 (short). But why the developers limited this? Of course in non-modded Skyrim this is not a problem. But if you have mod like Perk Point Potion (very expensive potion), you can't get your money back by selling unnecessary items, after you bought the potion.

It's actually the limit defined for INT_MAX in limits.h as dictated as the minimum value in the standard. :wink:

I'm guessing they forgot a check or something.
User avatar
Kit Marsden
 
Posts: 3467
Joined: Thu Jul 19, 2007 2:19 pm

Post » Wed May 30, 2012 8:06 am

It's actually the limit defined for INT_MAX in limits.h as dictated as the minimum value in the standard. :wink:
Just to make things clear.
1. By saying "But why the developers limited this?" I meant why they restricted the vendors gold field with 16-bit integer, why they didn't make it 32-bit integer.
2. I don't know in which "limits.h" file you found INT_MAX = 32768, maybe 30 years old file, since old 16-bit DOS times? But in Visual C++ 2010 INT_MAX = 2147483647 (0x7FFFFFFF). :cool:

BTW. 32768 is 0x8000 and in signed 16-bit integer context it's -32768, which can't be INT_MAX.

And please stop offtop.
User avatar
ijohnnny
 
Posts: 3412
Joined: Sun Oct 22, 2006 12:15 am


Return to V - Skyrim