vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   Currency Problem (https://vborg.vbsupport.ru/showthread.php?t=79962)

|Jordan| 04-15-2005 04:02 PM

Currency Problem
 
I'm having a problem with currency. Currency gained in battles doesn't get added to a users inventory. In the documentation in admincp it says to rename the points field to 'fieldX' where x represents the corresponding field number in mysql table. But in the RPG option, in that points entry, it says it should be the same as ucshop hack. So which is it?

Also, there is something wrong with my user profile field table, with stuff not creating and displaying properly; could that have an ill desired effect?

Revan 04-15-2005 05:35 PM

You mean cash earned from bets?
And the manual is outdated, don't listen to it :p

|Jordan| 04-15-2005 06:31 PM

Yes, cash earned from bets.

Revan 04-16-2005 08:47 AM

It works here, I'll run some more tests later though.

|Jordan| 04-16-2005 04:55 PM

Thanks ;)

Revan 04-17-2005 04:29 PM

Nope, it works just great.
And it is not because of the development being done on those files, as the reward system has not been tampered with.
Maybe both parties didn't confirm the end of the battle, or maybe your members are trying to con you into giving them compensations, who knows ;)

|Jordan| 04-18-2005 01:47 AM

How does one gain more money? Also, what table is money stored in (i want to give some of my members money) Is it the same field as ucshop?

Revan 04-18-2005 11:27 AM

Yes, the RPG should be set to use the same points field as uCS. If it is not, then there's the answer to your problems.
You gain money in whatever way you have your uCS set up to gain money.
The only way to gain money in RPG is to win the lottery, or wager on a battle.


All times are GMT. The time now is 08:42 AM.

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.02914 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete