RE: More problems with the bank
Posted: 7/31/2000 4:01:49 AM
By: Comfortably Anonymous
Times Read: 1,518
0 Dislikes: 0
Topic: Raid on the Forest of Horrors
Parent Message
Somehow I got the money back. Strangely do not know how but
I think the problem is that it exists 2 different  values for the amount you hold and the bank and
the shops somehow use a different variable.


Just go thorugh the code and fix it.

Silvatica
Rating: (You must be logged in to vote)
Discussion View:
Replies:

RE: More problems with the bank
Posted: 7/31/2000 4:01:49 AM
By: Comfortably Anonymous
Times Read: 1,518
0 Dislikes: 0
Topic: Raid on the Forest of Horrors
It was an effect of me changing the game to do all data displays via direct database queries. I had previously been storing a lot of player data in the session object (Which was being badly abused by Lander), but have changed to code to always update your database record immediately and to display all data based on your database record, versus the session variables.

The bank was properly updating your database record when depositing or withdrawing money, but was then trying to use the old session-based variables when displaying your new balance information, thus showing inaccurate data.
Rating: (You must be logged in to vote)