Garrulous Glaahk mistica Posted May 12, 2005 Share Posted May 12, 2005 while playing A3 i sold pachtar's plate mail to a guy in remerton. after returning to sell him some more stuffs, i found out that pachtar's plate mail was on sale with no price tags. when i clicked on it once, my cash balance went to -34047 ish. but, clicking it twice gave me a cash balance of 30000+ I wisely invested the money and got experience from Zang. well, people who wants to see this themselves should try it too. i AM not sure how this thing works, though. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Alorael at Large Posted May 12, 2005 Share Posted May 12, 2005 The guy in Remerton (that isn't the name of a town in A3, though, is it?) must be an infinite reseller. Sell anything to him and you can buy it back many times. I guess the high price tag causes a glitch where it will let you buy it even if you can't afford it. Seems strange, but that's all I can think of. Then the integer variable limit (±32757) makes your total wealth do odd things as the numbers wrap around. It happens frequently in E3 at least. —Alorael, who doesn't see how that could result in a wealth of -34047, which is outside INT range. Maybe you misremember or maybe it's something else entirely. Quote Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted May 12, 2005 Share Posted May 12, 2005 Possibly because the max gold is 15000 in A3, as I recall. That means that the negative values go far higher than the positive values. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Alorael at Large Posted May 13, 2005 Share Posted May 13, 2005 Possibly, but E3 caps at 30000 and discards any excess. I figured A3 was given a much larger buffer because of all the negative money fun. —Alorael, who is no expert with C++, which may not even be the language used to code A3. But there isn't any numeric variable smaller than an int and still large enough to hold a value of 15000, is there? Quote Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted May 13, 2005 Share Posted May 13, 2005 I don't think Jeff put in the gold cap because of any solid technical programming reason, though. I think he just set a number. I mean, it was 9000 in A1 and A2, I think. Quote Link to comment Share on other sites More sharing options...
Garrulous Glaahk Timber-Wolf Posted May 13, 2005 Share Posted May 13, 2005 Its 15000 in Avernum 2 Quote Link to comment Share on other sites More sharing options...
Garrulous Glaahk PantherShadow Posted May 13, 2005 Share Posted May 13, 2005 The 9000 in A1 is is correct, though. (I remember because it made training blademaster a long, slow process...) Quote Link to comment Share on other sites More sharing options...
Garrulous Glaahk mistica Posted May 14, 2005 Author Share Posted May 14, 2005 sorry, the place is Bremerton. hey, I found out that adding to that money makes it go down to 15000. If I buy experience from zang, however, the value remains the same. the glitch however can also happen with the black halbeard. I eventually made up 6 more levels (thanx to zang)and also kitted all my teammates in Pachtar's plate mail Quote Link to comment Share on other sites More sharing options...
Kyshakk Koan kuc Posted May 28, 2005 Share Posted May 28, 2005 Bugs which allow obvious game exploits should not be laughed about, they should be patched. =/ Quote Link to comment Share on other sites More sharing options...
Unflappable Drayk stranger Posted May 28, 2005 Share Posted May 28, 2005 Patches are rare. Quote Link to comment Share on other sites More sharing options...
Garrulous Glaahk -silver- Posted May 28, 2005 Share Posted May 28, 2005 as per C/C++, 'int' is defined to be "up to the compiler author but at least 2^32". short is similar with a 2^16 minimum (+32767 to -32768 for signed short). many modern compilers just treat short as equal to int, though, and make both 2^32. 'long' is always 2^64. However, as Kelandon said, I don't think any of that is relevant to the gold limit. I think JV just pulled a number out of his... well, anyway. there you go. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.