vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   lost money in the bank (https://vborg.vbsupport.ru/showthread.php?t=74742)

dethfire 02-26-2005 08:29 PM

Quote:

Originally Posted by Zachery
Untill someone can give us some conclusive evidance, we have not been able to reproduce this error

How can we do this?

Zachery 02-26-2005 09:35 PM

Quote:

Originally Posted by dethfire
How can we do this?

Be able to recreate the problem on an unhacked board constantly

proxx 02-27-2005 08:40 PM

I am not able to replicate the problem. (but had a few users report this)

For example, user reported lost points. I looked in the users history and see that there was a deposit for X bucks into the bank. However bank doesn't show any funds anymore. Then I tried to deposit some more, however these funds are showing fine.

Is the bank deposit amount stored in "uttstore_bankdata" column?

One thing that looks a little strange is some data that is in this column ..... I see a date 12-31-1969 ... is this ok?

for example:
Code:

a:6:{s:12:"firstinsertd";s:10:"12-31-1969";s:12:"firstinsertt";s:8:"06:00 PM";s:7:"updated";s:10:"12-31-1969";s:7:"updatet";s:8:"06:00 PM";s:6:"amount";i:9;s:10:"updatetime";i:1109542308;}

Link14716 02-27-2005 09:36 PM

No, it isn't. It'd probably send the interest calculator into one hellish loop that would probably manage to screw something up. Running a loop x times where x is the amount of days since January 1, 1970 isn't a good thing.

EDIT: Actually, updatetime is the only one that really matters, and it seems correct. The others seem to be bugs, though.

radicaledward 03-12-2005 06:09 AM

Alot of the members on my site have been reporting the same problems as well. The situation is a bit different in our case because we have an additional custom shop built on top of the uShop/uCash system. However, I think I have managed to work out what is happening:

1. User goes to bank to make a withdraw
2. User types in amount that they want
3. The script removes the money from the bank, but the money in pocket stays the same
4. User complains to me to fix the bank script

Based on what I have observed it seems to happen when they withdraw all of their money, but doesn't necessarily happen that way all of the time. As far as I know there have been no cases of money disappearing from the bank in situations where a withdraw was not initiated, but I could be wrong.

Zachery 03-12-2005 11:49 AM

Quote:

Originally Posted by radicaledward
Alot of the members on my site have been reporting the same problems as well. The situation is a bit different in our case because we have an additional custom shop built on top of the uShop/uCash system. However, I think I have managed to work out what is happening:

1. User goes to bank to make a withdraw
2. User types in amount that they want
3. The script removes the money from the bank, but the money in pocket stays the same
4. User complains to me to fix the bank script

Based on what I have observed it seems to happen when they withdraw all of their money, but doesn't necessarily happen that way all of the time. As far as I know there have been no cases of money disappearing from the bank in situations where a withdraw was not initiated, but I could be wrong.

As I asked in the other post, what version of uCS are you running?

Link14716 03-12-2005 03:30 PM

The money in the pocket does not stay the same, but the amount shown is incorrect without a refresh. That has been fixed for the next release.


All times are GMT. The time now is 10:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01278 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete