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)

GenSec 05-06-2002 10:00 PM

Pickpocket in Lesane Store
 
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.

Neo 05-07-2002 06:14 PM

HAHAHAHAHA Interesting hack man. I never though of a theif system. Good on you. Not to sure if this is added but if a users trys to steal from another user and fail they hould get points taken from them and given to the other user.

Xanthine 05-07-2002 06:29 PM

lol

Admin 05-07-2002 06:45 PM

LOL What's next, terrorists?

DjSap 05-07-2002 07:03 PM

lol this is gonna get my vote on hack of the month :)

AnkisethGallant 05-07-2002 07:32 PM

GenSec, cool, but shouldn't you at least give me credit for the suggestion in the Store Thread ;)

I don't use the store anymore, but if I did, I guarantee I'd be using this.

Neo 05-07-2002 07:59 PM

Quote:

Originally posted by FireFly
LOL What's next, terrorists?
Shhhhhh! Dont give yourself away :bandit:

inetd 05-07-2002 08:25 PM

What does this hack do?

AnkisethGallant 05-07-2002 08:50 PM

If you have the Lesane Store hack, it gives your users the ability to Pickpocket others.

Velocd 05-07-2002 08:55 PM

How so? Like a probability of stealing from someone, and if you fail you lose money or your chances of stealing go lower? And by success it goes up?

AnkisethGallant 05-07-2002 09:01 PM

I think it is just random that you are successful. If you fail, you either lose money or get banned for a short amount of time (at least that was the original idea). I don't know how exactly he wrote it in though.

E 05-07-2002 09:29 PM

i was actually going to make this a while ago... with the shinra points hack.... i wasnt too good at php then... well now i guess i dont have too ... :) lol

GenSec 05-08-2002 05:40 AM

Quote:

Originally posted by inetd
What does this hack do?
If you have some of the points system just as in Lesane Store
you can try to steal others points.
  • If you successed You have points but lose some karma
  • if you failed you pay penalty (the same amount you try to steal)
  • If you have negative point balance you can't write until anybody pay ransom or bail for you
  • if you steal from insurant user you pay 20% bribe to insurance agents and victim receive insurance cover
  • if you try to steal from mafia protected user you and victim pay a half to godfather
In any case thief waste some karma exept he stealing no more than 5 points a time

After the first terror night with 927 HIJACKING I added some limits
  • new user (less eq. 100 posts) can't try to steal
  • ban to steal from user who has 100 points and less
  • ban to steal last 20 points
You can easily tune this rules for you.

GenSec 05-08-2002 05:50 AM

Quote:

Originally posted by FireFly
LOL What's next, terrorists?
Lumber cump in Sibirian. Lol

GenSec 05-08-2002 05:53 AM

Quote:

Originally posted by AnkisethGallant
GenSec, cool, but shouldn't you at least give me credit for the suggestion in the Store Thread ;)

I don't use the store anymore, but if I did, I guarantee I'd be using this.

Sure. I just don't want to mess store thread.

Lesane 05-08-2002 07:54 AM

Very nice GenSec, i will install this addon later. Thanks.

dadymac 05-08-2002 08:33 AM

there are some errors in the file:

$stealm should be $stealmoney towards the bottom. (you can just search for "$stealm;")

also, the two lines that give pms to the admin about stealing is causing trouble, never worked from the start, just threw sql errors out. i just commented them out since i dont want my pm box flooded anyways.

maybe if it could post to one thread in a forum that has access only to mods.

also, which version of the karma hack did you use? cuz there is no KARMA in user or where it was in the version i installed.

GenSec 05-08-2002 09:24 AM

Quote:

Originally posted by dadymac
there are some errors in the file:

$stealm should be $stealmoney towards the bottom. (you can just search for "$stealm;")

also, the two lines that give pms to the admin about stealing is causing trouble, never worked from the start, just threw sql errors out. i just commented them out since i dont want my pm box flooded anyways.

maybe if it could post to one thread in a forum that has access only to mods.

also, which version of the karma hack did you use? cuz there is no KARMA in user or where it was in the version i installed.

  • $stealm is allright. It's from template. Believe me.
  • PM's from ADMIN to the victim. Don't know. It works on my board. The only difference in language. I try to study
  • I used hardly changed version of some karma hack which someone asked me to tune. I don't know the original hack and didn't see it here. In any case It's just some field in the user table. If you have anything similar you can use it or delete.

ZiRu$ 05-08-2002 03:28 PM

thanks i will install this add-on later

jly2klee 05-09-2002 01:45 AM

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

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

GenSec 05-16-2002 05:36 AM

Quote:

Originally posted by Itworx4me
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

Yes i did.

And without karma:

dadymac 05-16-2002 08:58 AM

just wanted to say that with that one line of store_file commented out, this hack is working 100%.

thanks for looking over it, my users love it (and loathe it...heh)

Itworx4me 05-16-2002 09:44 PM

Thank you very much GenSec. I appreciate what you did.

Itworx4me 05-16-2002 10:16 PM

ok
I get this error when trying to modify the database

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
?
?
?

GenSec 05-17-2002 05:46 AM

Quote:

Originally posted by Itworx4me
ok
Error
SQL-query :

INSERT INTO store VALUES (NULL, 'steal', 'Crime and punishment', '0', '0', 'thief.gif', 'It is not caught - not the thief', 'Y')

?

I can't say what is wrong with your database. But you can try one more, or just use PHPmyADMIN to add the line directly

ULTIMATESSJ 05-19-2002 01:10 PM

i'm trying to install this hack, in the instructions it says

Quote:

Let say first is INSURANCE and has INSURANCEID.
The second is GODFATHERID and has GODFATHERID.
what does this mean

Roxie 05-20-2002 03:36 AM

Quote:

Originally posted by Itworx4me
ok
I get this error when trying to modify the database

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
?
?
?

I also get this error
:cross-eyed:

Roxie 05-20-2002 03:48 AM

Okay...
AT the end add '0'

example:
INSERT INTO store VALUES (NULL, 'steal', 'Crime and punishment', '0', '0', 'thief.gif', 'It is not caught - not the thief', 'Y', '0')

Roxie 05-20-2002 04:15 AM

I'm getting this error:

Database error in vBulletin 2.2.5:

Invalid SQL: UPDATE user SET storep=storep+100 WHERE userid=GODFATHERID
mysql error: Unknown column 'GODFATHERID' in 'where clause'

mysql error number: 1054

GenSec 05-20-2002 06:11 AM

Quote:

Originally posted by ULTIMATESSJ
i'm trying to install this hack, in the instructions it says



what does this mean

Quote:

Originally posted by Roxie
I'm getting this error:

Database error in vBulletin 2.2.5:

Invalid SQL: UPDATE user SET storep=storep+100 WHERE userid=GODFATHERID
mysql error: Unknown column 'GODFATHERID' in 'where clause'

mysql error number: 1054

It means you should to register new user with nick "Godfather",
which userid="GODFATHERID". The same with user "INSURANCE".


All times are GMT. The time now is 05:34 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.03490 seconds
  • Memory Usage 1,826KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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