Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cash Question Details »»
Cash Question
Version: , by trackpads trackpads is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-25-2005 Last Update: Never Installs: 0
 
No support by the author.

Hey!

Great hack but I have a question. Does it use the $vboptions[uttpoints_pointtable] variable or is it coded to access the uttpoints field directly?

The reason is that I am thinking of renaming my points field to something else (namely 'money') and I worried it will effect the RPG. Since Ucash supports different names it just depends on the settings of each hack that supports Ucash.

If it does use the uttpoints table could I just search and replace it with the name of my new 'money' field?

Thanks in advance for you help,

-Jason

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-25-2005, 11:24 PM
PolyMarauder's Avatar
PolyMarauder PolyMarauder is offline
 
Join Date: Sep 2004
Location: gamingartist.com
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure how much help I can be but from what I understand of what you plan on doing (which is very similar to what I plan on doing) I noticed in the RPG manual the following variables.

$rpgcash - Display the amount of money a user has in his/her pocket (not in the bank) Cash: $$rpgcash Cash: $1200

$rpgbank - Display the amount of money a user has in the bank
Bank: $$rpgbank Bank: $1500

$rpgmoney - Display the total amount of money a user has between the bank and his/her pocket

So it looks like they are pulling off the points table to me. Now I am not sure if the name variable has anything to do with the points variables, but then again I am a noob with all of this stuff so no clue really but I am curious as well.
Reply With Quote
  #3  
Old 01-26-2005, 11:22 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As of v2, it is hardcoded to use the ´uttpoints´ field from the ´user´ table, but for v3 I plan to use the $vboptions for fetching the same points table as the uCS does.

To do this yourself, you would need to open almost every single RPG .php file and manually weed out every place that this is set - I myself do not even know as I haven't started on doing this yet.

//peace
Reply With Quote
  #4  
Old 01-26-2005, 01:57 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
As of v2, it is hardcoded to use the ?uttpoints? field from the ?user? table, but for v3 I plan to use the $vboptions for fetching the same points table as the uCS does.

To do this yourself, you would need to open almost every single RPG .php file and manually weed out every place that this is set - I myself do not even know as I haven't started on doing this yet.


//peace
Thanks!

I ended up actually just making Pets work with Ucash. Now I am happy

Thanks again!

-Jason
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:04 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.04082 seconds
  • Memory Usage 2,230KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete