Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Bank Addon for Lesane store hack Details »»
Bank Addon for Lesane store hack
Version: 1.00, by Blue2000 Blue2000 is offline
Developer Last Online: Jul 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-07-2002 Last Update: Never Installs: 48
 
No support by the author.

This was requested on my site. and also lots of times here.

The problem was that they was a bank hack out but not one that works with the store hack.

So i have reconfiged the root, mem and jessie ( https://vborg.vbsupport.ru/showthrea...threadid=38118 ) bank hack to work with Lesane's Store hack (https://vborg.vbsupport.ru/showthrea...highlight=bank )

I hope that they dont mind but i think it will be used more now anyway due the the fact that in lesanes store they is a way to make money.

Big thanks out goes to the above people for making the 2 hacks

I cant help but keep adding things to this hack Lesane great job you did with it

Another good point is becourse of the fact that once you put money in the bank it then cant be robed from other members of your board (well if you have rob addon installed)


information on how to install and DB changes r in the zip below.

BRING ON THE CASIO :P

Show Your Support

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

Comments
  #2  
Old 06-08-2002, 07:06 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about adding a small fee to use the bank? i mean, if everyone puts their money into the bank til neded then the rob hack is useless

would be even better if the fee was a % of how much u had in there
Reply With Quote
  #3  
Old 06-08-2002, 07:16 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you want that its do

in Bank.php find

$userbankmoney=floor($userbankmoney*(pow(1.03,$pre senttime)));

under that put

PHP Code:
$userbankmoneytaken=floor($userbankmoney-(pow(1.01,$presenttime))); 
then find

PHP Code:
        $DB_site->query("UPDATE user SET
                bank=
$userbankmoney,savemt='".time()."' WHERE userid='$bbuserinfo[userid]'");
              } 
and replace with
PHP Code:
        $DB_site->query("UPDATE user SET
                bank=
$userbankmoney,$userbankmoneytaken,savemt='".time()."' WHERE userid='$bbuserinfo[userid]'");
              } 

note that -(pow(1.01,$presenttime)) is your % if you want atm its set at 1 % per day

eg of 10%

(1.1,$presenttime
Reply With Quote
  #4  
Old 06-08-2002, 07:22 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks so much man.....
Reply With Quote
  #5  
Old 06-08-2002, 07:23 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by IceMalee
what about adding a small fee to use the bank? i mean, if everyone puts their money into the bank til neded then the rob hack is useless


would be even better if the fee was a % of how much u had in there
you know thinking about it its pointless you may aswell just set the first % - the 2nd one you want...

So i have a better idea

i will work on it now and see what happens
Reply With Quote
  #6  
Old 06-08-2002, 07:33 PM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please post description of this add-on!
Reply With Quote
  #7  
Old 06-08-2002, 08:29 PM
ceo_tfw's Avatar
ceo_tfw ceo_tfw is offline
 
Join Date: Mar 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do you change the value so you can have more money in bank

it does not go any higher than 65535
Reply With Quote
  #8  
Old 06-08-2002, 08:34 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok due to how safe it is now once using it

i thought of this idea to add a cost of using the bank but not by a % per day not by a cost of using things.

Ok in the real world you have to pay to take money out of an whole in the wall

So i have made this addon take $10 off you for taking money out.

also the bank is providing a service for the members. members want to use it, then they should be a cost for it.

so the hack also makes you now pay $100 for invresting money into the bank :P

Reply With Quote
  #9  
Old 06-08-2002, 08:57 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ceo_tfw
how do you change the value so you can have more money in bank

it does not go any higher than 65535
ill look into this
Reply With Quote
  #10  
Old 06-08-2002, 09:05 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Blue2000


ill look into this

run this


ALTER TABLE user CHANGE bank bank INT(234) UNSIGNED DEFAULT '0' NOT NULL
Reply With Quote
Reply

Thread Tools

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 12:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08221 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete