vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Pickpocket in Lesane Store (https://vborg.vbsupport.ru/showthread.php?t=38383)

Kars10 11-17-2002 11:01 AM

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... :(

Kars10 11-17-2002 12:25 PM

...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?? ;)

Kars10 11-21-2002 09:48 AM

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

ad_uk6565 11-29-2002 04:48 AM

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 :D

vdinh 01-08-2003 07:10 PM

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

vdinh 01-09-2003 03:56 PM

Sorry ... wrong place.

jayneblaze 01-16-2003 01:52 AM

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

Hiob 01-16-2003 02:12 PM

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

underburn 01-28-2003 06:13 PM

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:

.:.NetStartz.:. 02-03-2003 01:26 AM

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.


All times are GMT. The time now is 09:16 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.01160 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete