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)

dadymac 05-09-2002 03:01 AM

exactly what i was getting til i change $stealm to $stealmoney.

might also try setting the cost of stealing to 1

booty

ExcErr 05-09-2002 05:40 AM

gensec, there are three lines
INSERT INTO store VALUES (NULL, 'steal', 'Crime and punishment', '0', '0', 'thief.gif', 'It is not caught - not the thief', 'Y');
INSERT INTO store VALUES (NULL, '+++++', 'Safeguard', '100', '0', 'godfather.gif', 'We protect your money', 'Y');
INSERT INTO store VALUES (NULL, 'insurance', 'Insurance', '100', '0', 'insurance.gif', 'Buy insurance', 'Y');
have you got this gif(in bold)? can you give it for us?
thx

dadymac 05-09-2002 10:15 PM

ack, sometimes people try to steal, and meet all requirements, and still say dont take last 20 or whatever.

Marshalus 05-10-2002 03:15 PM

GenSec, could you please post a link or files of what Karma hack it was that you used?

GenSec 05-13-2002 07:05 AM

Quote:

Originally posted by Marshalus
GenSec, could you please post a link or files of what Karma hack it was that you used?
As I said I use personaly tuned version of karma hack which was provided by one man who asked don't public it. Sorry.
But any karma or point hack has in user database similiar field.

GenSec 05-13-2002 07:17 AM

Quote:

Originally posted by ExcErr
gensec, there are three lines
INSERT INTO store VALUES (NULL, 'steal', 'Crime and punishment', '0', '0', 'thief.gif', 'It is not caught - not the thief', 'Y');
INSERT INTO store VALUES (NULL, 'mafia', 'Safeguard', '100', '0', 'godfather.gif', 'We protect your money', 'Y');
INSERT INTO store VALUES (NULL, 'insurance', 'Insurance', '100', '0', 'insurance.gif', 'Buy insurance', 'Y');
have you got this gif(in bold)? can you give it for us?
thx


GenSec 05-13-2002 07:37 AM

Quote:

Originally posted by jly2klee
Well, I installed successfully.. but when I attempt to steal.. after the conformation page.. I get a DB error..



Database error in vBulletin 2.2.5:

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

mysql error number: 1064

Sorry. Translating I public the old store_steal_accept template. Just updated.

dadymac 05-13-2002 04:06 PM

new error:

Database error in vBulletin 2.2.5:

Invalid SQL: INSERT INTO store_file (trid,date,userid,towhomid,amount,action) VALUES (NULL,'1021309153','1','155','10','steal')
mysql error: Table 'dadymac_neo.store_file' doesn't exist

mysql error number: 1146

Date: Monday 13th of May 2002 10:59:13 AM
Script: http://forums.dadymac.com/forum/forum/store.php
Referer: http://forums.dadymac.com/forum/store.php

appears that store_file was never specified or was this from the karma hack??
i commented out this line and it still works, also, it seems to be (a lot) easier to steal with this version.

GenSec 05-14-2002 05:19 AM

Quote:

Originally posted by dadymac
appears that store_file was never specified or was this from the karma hack??
i commented out this line and it still works, also, it seems to be (a lot) easier to steal with this version.
You are right. Store_file is used only in my store.
Delete it as I did :classic:
I'm using store_file to store users transactions.
Also I recommend to add insurance and godfather (or any other internal user account) in safe (unstealing) space. Just as admin account:
PHP Code:

 if ($getduser[usergroupid]=="6") { // don't steal from admin 

. Move those accounts to admin usergroup (usergroupid=6). Or replace to
PHP Code:

if ($getduser[usergroupid]=="6" OR $getduser[userid]=='INSURANCEID') { 


Itworx4me 05-16-2002 03:51 AM

Anyway you can edit the first post with all the new fixes? One other thing can you post the addon with out the Karma hack in it?

Thanks


All times are GMT. The time now is 06:19 AM.

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.02131 seconds
  • Memory Usage 1,742KB
  • 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_php_printable
  • (4)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