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

Reply
 
Thread Tools
Pickpocket in Lesane Store Details »»
Pickpocket in Lesane Store
Version: 1.00, by GenSec GenSec is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

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

As promised It's new version of steal addon to the Lesane Store.
At last the crime on my board is under control.
I translated all templates, but It's not the best english version.
Hope the instruction is full and understandable.
Have a fun.

Show Your Support

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

Comments
  #82  
Old 06-24-2002, 01:57 AM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a user has told me that even when they have negative dollars (from trying to steal and getting caught) they can still steal. To steal they need 5 dollars
Reply With Quote
  #83  
Old 06-25-2002, 05:49 AM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Roxie
a user has told me that even when they have negative dollars (from trying to steal and getting caught) they can still steal. To steal they need 5 dollars
You can change rules for robber.
Just change
PHP Code:
if ($bbuserinfo[posts]<100) {
    eval(
"standarderror(\"".gettemplate('store_steal_cannot')."\");");

To
PHP Code:
if ($bbuserinfo[posts]<100 AND $bbuserinfo[storep]>5) {
    eval(
"standarderror(\"".gettemplate('store_steal_cannot')."\");");

In this case robber need to have 100 posts and $5.
Reply With Quote
  #84  
Old 06-25-2002, 06:46 AM
Keta Keta is offline
 
Join Date: Nov 2001
Location: michigan
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

question whats the difference betweem god father and insurance? and how long is your money insured when u buy insurance
Reply With Quote
  #85  
Old 06-25-2002, 07:25 AM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Keta
question whats the difference betweem god father and insurance? and how long is your money insured when u buy insurance
Look https://vborg.vbsupport.ru/showthrea...115#post249115. Just updated hack. Now insurance is lasting up to first robbery.
Reply With Quote
  #86  
Old 06-25-2002, 08:04 AM
Keta Keta is offline
 
Join Date: Nov 2001
Location: michigan
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok one more question how do u get covered by the +++++? u buy the godfather?
Reply With Quote
  #87  
Old 06-25-2002, 08:39 AM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You pay to godfather. It's all in the store
Reply With Quote
  #88  
Old 06-26-2002, 02:10 AM
Keta Keta is offline
 
Join Date: Nov 2001
Location: michigan
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol sorry on more question...what happens when u buy +++++ protection? because someone brought the godfather and their money was still stolen
Reply With Quote
  #89  
Old 06-26-2002, 05:18 AM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Keta
lol sorry on more question...what happens when u buy mafia protection? because someone brought the godfather and their money was still stolen
In this case
PHP Code:
  if ($victim[insurance]=='mafia') {
  
$robs=intval($robber/2);
$DB_site->query("UPDATE user SET storep=storep-$robs WHERE userid=$usid");
$DB_site->query("UPDATE user SET storep=storep+$robber WHERE userid=GodFatherID");
$DB_site->query("UPDATE user SET storep=storep+$robs, karma=karma-$priz WHERE userid='$bbuserinfo[userid]'"); 
victim get a half of stolen money back, robber pay another half to mafia and godfather get that all. You can change this rule easily
Reply With Quote
  #90  
Old 07-15-2002, 05:51 AM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by GenSec

You can change rules for robber.
Just change
PHP Code:
if ($bbuserinfo[posts]<100) {
    eval(
"standarderror(\"".gettemplate('store_steal_cannot')."\");");

To
PHP Code:
if ($bbuserinfo[posts]<100 AND $bbuserinfo[storep]>5) {
    eval(
"standarderror(\"".gettemplate('store_steal_cannot')."\");");

In this case robber need to have 100 posts and $5.
This worked for me until I edited my database. I edited the database so that my users could have an unlimited amount of money and also could have a negative amount of money. Could this have affected how this works? My users can now steal regardless how much money they have.
Reply With Quote
  #91  
Old 07-16-2002, 07:32 AM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No means. It doesn't depend on your database structure.
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 09:56 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.11110 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_php
  • (4)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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