![]() |
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. |
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.
|
lol
|
LOL What's next, terrorists?
|
lol this is gonna get my vote on hack of the month :)
|
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. |
Quote:
|
What does this hack do?
|
If you have the Lesane Store hack, it gives your users the ability to Pickpocket others.
|
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?
|
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.
|
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
|
Quote:
you can try to steal others points.
After the first terror night with 927 HIJACKING I added some limits
|
Quote:
|
Quote:
|
Very nice GenSec, i will install this addon later. Thanks.
|
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. |
Quote:
|
thanks i will install this add-on later
|
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 |
exactly what i was getting til i change $stealm to $stealmoney.
might also try setting the cost of stealing to 1 booty |
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 |
ack, sometimes people try to steal, and meet all requirements, and still say dont take last 20 or whatever.
|
GenSec, could you please post a link or files of what Karma hack it was that you used?
|
Quote:
But any karma or point hack has in user database similiar field. |
Quote:
|
Quote:
|
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. |
Quote:
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:
PHP Code:
|
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 |
Quote:
And without karma: |
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) |
Thank you very much GenSec. I appreciate what you did.
|
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 ? ? ? |
Quote:
|
i'm trying to install this hack, in the instructions it says
Quote:
|
Quote:
:cross-eyed: |
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') |
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 |
Quote:
Quote:
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|