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
  #172  
Old 11-17-2002, 11:01 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn, when i try to steal from someone ill get a parse error.
The message (sucsess or not) appears and over the header of the forum stands this text:
Code:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/web7/html/area/store.php(1488) : eval()'d code on line 3
Please help me...
Reply With Quote
  #173  
Old 11-17-2002, 12:25 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...i believe it must be this line:
Code:
$money = $moneycheck[storep];
 eval("\$message = \"".gettemplate("email_steal",1,0)."\";");

Any Idea??? Where the PHP-Gurus on VB.org??
Reply With Quote
  #174  
Old 11-21-2002, 09:48 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now the error went away!!
But the Private-Message only shows the Title and not the message??
My email-steal templates are correct....

Attached: Store.php
Reply With Quote
  #175  
Old 11-29-2002, 04:48 AM
ad_uk6565 ad_uk6565 is offline
 
Join Date: Aug 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a great hack, the instructions are confusing as hell...and could be way easier to install, but once you get it figured out, it's awesome, great job
Reply With Quote
  #176  
Old 01-08-2003, 07:10 PM
vdinh vdinh is offline
 
Join Date: Feb 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by GenSec
You can't to prevent sophisticated user to use back button. But you can invent some rules. In the above case user can redoing steal up to he lost his money. To close Quick Reply box you should insert in Quick Reply hack the same string as for regular Newreply.php.

Frankly, I'm changing my pickpocketing rules to absolutely another direction, creating special thief clan.
I have been so frustrated with users using the BACK button to keep stealing although they don't have enough money at that time. Finally I figured out this code which an admin can add to the 3 templates store_steal_lookup, store_steal_accept, and store_steal_money:

< script language="JavaScript" >
history.go(1);
< /script >

Note: remove the spaces in the script tags
Reply With Quote
  #177  
Old 01-09-2003, 03:56 PM
vdinh vdinh is offline
 
Join Date: Feb 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry ... wrong place.
Reply With Quote
  #178  
Old 01-16-2003, 01:52 AM
jayneblaze jayneblaze is offline
 
Join Date: Oct 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I have the Mafia and the insurance working but how do I fix

Quote:
Database error in vBulletin 2.2.9:

Invalid SQL: UPDATE user SET storep=storep+5, WHERE userid='2'
mysql error: You have an error in your SQL syntax near 'WHERE userid='2'' at line 1

mysql error number: 1064
Reply With Quote
  #179  
Old 01-16-2003, 02:12 PM
Hiob Hiob is offline
 
Join Date: Jan 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by supersimon
..... 195,DMINID,'Crime','....

just correct DMINID to ADMINID and replace it with you id
a few times in the store.php!

have fun

Hiob
Reply With Quote
  #180  
Old 01-28-2003, 06:13 PM
underburn
Guest
 
Posts: n/a
Default

PHP Code:
Error

SQL
-query :  

INSERT INTO store
VALUES 
(

NULL 'steal''Crime and punishment''0''0''thief.gif''It is not caught - not the thief''Y'


MySQL said


Column count doesn't match value count at row 1

Back 
For Some Reason I Cant run the queries... I tried running them through PHP My admin and the vB Addon (made by JamesUS) for running queries through the admin CP, none work :'(

Please Help :bunny:
Reply With Quote
  #181  
Old 02-03-2003, 01:26 AM
.:.NetStartz.:. .:.NetStartz.:. is offline
 
Join Date: Jan 2003
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really want to install this hack, but after reading the 12 pages of tons of errors I was wondering if a final fix would be made available with all the corrections.
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 02:59 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.05023 seconds
  • Memory Usage 2,300KB
  • 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
  • (2)bbcode_code
  • (1)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
  • (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
  • (10)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