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)

FWF 07-23-2003 07:35 AM

indeed,

it would be nice to know if that can be fixed before i install this hack.

legendarysk8er 07-26-2003 05:31 AM

How would I install this? The installation instructions make NO sense, can anyone rewrite it for me? Is this hack even any good?

Sin City 07-28-2003 04:01 AM

i click the Steal option...it asks me the name... then how much i want to steal....but when it actually tries to steal i get this error....anyone know what i've done wrong?

Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE user SET storep=storep-100, WHERE userid='1'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1

mysql error number: 1064

Darnell 0216 08-03-2003 03:12 PM

Quote:

07-28-03 at 01:01 AM Sin City said this in Post #203
i click the Steal option...it asks me the name... then how much i want to steal....but when it actually tries to steal i get this error....anyone know what i've done wrong?

Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE user SET storep=storep-100, WHERE userid='1'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1

mysql error number: 1064

If that is quoted directly from the file, that comma doesn't belong there and it's the reason you're getting that error. Remove the comma and all should be well.

GenSec 08-04-2003 01:06 PM

I made absolutly new version and try to public it before the weekend.

Sin City 08-05-2003 06:40 AM

sounds cool man... i hope it's easier to do than the last one :)

NexDog 08-24-2003 10:16 AM

Ever get around to that, GenSec?

Sin City 08-27-2003 05:36 AM

yeah.... what's da word big bird? :)

lasto 09-04-2003 10:34 AM

GenSec posted on the 08-04-03 03:06 PM

Please, Don't use this hack! (post #205)
I made absolutly new version and try to public it before the weekend.

What weekend did he mean ?

anyway besides that ive re-installed this and it works fine.I took out the databse queries where it sent pms to users as they where gettign flooded with em and lets face it if you robbed then a pm aint gonna help you + the load it puts on your server with all them pms as well has gotta be bad.
The karma bit in this hack works pefect - love it - members have to be careful now cause they all like green dots but since adding this ive noticed a few go into the red so i knwo who the biggest theifs are now so i will target them all when they asleep :)

MaDCaT75 09-04-2003 11:40 PM

Quote:

INSTALLATION:
1. Create 2 new users.

Let say first is INSURANCE and has INSURANCEID.
The second is GODFATHERID and has GODFATHERID.
Donate some money to INSURANCE (starting Insurance Fund).
Also you need your ADMINID

2. Look at the next addon and
- change GODFATHERID, INSURANCEID and ADMINID to your numbers!!!
- If you don't use KARMA delete "KARMA= KARMA-$priz" from commands
- Change a few text comments. It's not the best english. Just to show the sence. (option)
- Change some crime rules (option).
They are: --- don't steal from user with money less $100
--- don't allow new user (with money less $100) to steal
--- don't steal the last $20
--- Mafia has a have amount from victim and from robber
--- Insurance pmt = 1/10 of Insurance Fund ( User with INSURANCEID)
--- Insurance bribe 1/5 from robber
This part makes no sense to me at all.

Roxie 09-08-2003 05:41 AM

You need to create two new users on your board. Call them Insurance and Godfather. All users have an ID attached to them...a number. You will need to use those numbers in the code. You will also need your Admin ID number. In the code, replace GODFATHERID with the number that was given to Godfather.

Sliderx 10-01-2003 05:55 PM

good work man

NuclioN 10-07-2003 06:53 AM

We've used this hack from the beginning and our members are still loving it. Trough time this question comes up again and again... "how can we steal money so the victim gets a negative balance and cannot post anymore" !!!

In our situation only the thief can steal so he/she gets a negative balance and cannot post. How to make it so thiefs can steal other members in to a negative balance? Help please.

Darnell 0216 10-08-2003 01:16 AM

You have to find the IF lines in Start Verify Stealing and Start Steal Change.

if (($getduser[storep]-$stealmoney)<20) {

if (($victim[storep]-$robber)<20) { // one more limit -- don't steal last $20

Change these two lines and it should let you steal more than what they have.

NuclioN 10-08-2003 05:35 AM

Darnell i've changed both (($getduser[storep]-$stealmoney)<0) {

but however it shows the display where you can put the number of points you want to steal: "Buddy! Have conscience! Don't take the last"

What is the value to do this?

deathemperor 10-11-2003 09:10 AM

Gensec, nice hack.
But, is there a way to stop user to steal all the money another one having ?
I dont know what I would be if I have 1,000,000 and with only a stealth, I have no thing :(

Frozen Dreams 10-28-2003 09:50 AM

Could someone maybe help me with a Karma hack the stealing works with? Just a simple one - but users are stealing like crazy on my board, so I want them to think twice before risking bad karma.

And yeah limiting the maximum amount of money one is able to steal would be awesome.

Darnell 0216 10-28-2003 02:59 PM

Quote:

Originally Posted by Frozen Dreams
... And yeah limiting the maximum amount of money one is able to steal would be awesome.

Find:
PHP Code:

if ($rest<0) {
eval(
"standarderror(\"".gettemplate('store_steal_error')."\");");


add below it:
PHP Code:

if if (($getduser[storep]/$stealmoney)>3/4) {
eval(
"standarderror(\"".gettemplate('store_steal_error')."\");");


This will prevent a person from stealing more than %75 of the person's funds. Just change the 3/4 fraction to another fraction to increase/decrease the limit.

Limpkinw 11-12-2003 08:56 PM

is there a way to limit theft attempts per day? also if someone hits backspace it allows them to steal beyond their current funds..is the a fix?

Limpkinw 11-12-2003 09:03 PM

Also is there a way to track what is done by amdin i have serious cheating aftre it being up for 3 minutes.

Limpkinw 11-12-2003 09:23 PM

Possible Error?


Sorry, you were robed for the sum of 250.

Quote:

You received $1944 as insurance.

Darnell 0216 11-13-2003 03:37 PM

Quote:

Originally Posted by Limpkinw
Possible Error?


Sorry, you were robed for the sum of 250.

This isn't an error. The user recieves 10% of the Insurance User's funds. So if the InsuranceID has 30,000 points, the person will recieve 3,000 whether they were robbed for 1,000,000 or 10.

Darnell 0216 11-13-2003 03:43 PM

Quote:

Originally Posted by Limpkinw
Also is there a way to track what is done by amdin i have serious cheating aftre it being up for 3 minutes.

You would hafta find a way to bring the Admin Logging functions to the storeadmin page.

Limpkinw 11-13-2003 03:52 PM

Ok i understand that, is this something someone has done?

Darnell 0216 11-15-2003 06:51 PM

Quote:

Originally Posted by Limpkinw
Ok i understand that, is this something someone has done?

Depending on how good your knowledge of php is, I'd take a look at the Moderator logging hack and see if you can alter it to your liking. I have the hack installed though I haven't dismantled it enough to tell you exactly what would be done.

Milhouse 11-20-2003 05:16 PM

if (($getduser[storep]-$stealmoney)<20) {
eval("standarderror(\"".gettemplate('store_steal_l imit')."\");");

what does that line of code mean.. like what restriction is it doing ...

DannyBoy8406 11-23-2003 12:30 AM

Is there a way to edit Admin as well as the Godfather and Insurance accounts so that they don't show up on the "Top 10 Richest List"?

EvilWa 11-23-2003 08:21 AM

Quote:

Originally Posted by Milhouse
if (($getduser[storep]-$stealmoney)<20) {
eval("standarderror(\"".gettemplate('store_steal_l imit')."\");");

what does that line of code mean.. like what restriction is it doing ...

If victim's money is below 20 after be stolen, the action is disable.

sumofallfears 12-15-2003 12:39 PM

Everything was going good until i did the query. I got this error message...
Code:


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

anyone have any suggestions?

CeLt 12-20-2003 06:17 PM

when i bye the hacks it says click here and we cant can someone help me

zsmom 01-13-2004 02:57 AM

Quote:

Originally Posted by CeLt
when i bye the hacks it says click here and we cant can someone help me

Just remove that image from the templates (store_steal_insurance and store_steal_mafia) or insert your own image. That image link is old, it used to be an image of two eyes. It doesn't do anything, the option is already enabled, it was just there for looks.

erikajune 01-24-2004 05:51 AM

What does this mean? And where do I delete it from? :)

If you don't use KARMA delete "KARMA= KARMA-$priz" from commands

erikajune 01-24-2004 05:52 AM

Also, I'm getting a blank page when I click on any of the new features.

erikajune 01-24-2004 08:34 PM

When I go to steal something I get this error message: Any suggestions? I don't use karma either.

Quote:

Database error in vBulletin 2.3.4:

Invalid SQL: UPDATE user SET storep=storep-,KARMA=KARMA-0 WHERE userid='2'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'KARMA=KARMA-0 WHERE userid='2'' at line 1

mysql error number: 1064

Date: Saturday 24th of January 2004 04:34:30 PM
Script: http://www.onlineparents.net/communi...nity/store.php
Referer: http://www.onlineparents.net/community/store.php

erikajune 01-26-2004 03:59 AM

Ok, I've read the entire thread and others have had this problem yet no one has posted a fix to it.

Quote:

Invalid SQL: UPDATE user SET storep=storep+25, WHERE userid='2'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='2'' at line 1

mysql error number: 1064
Anyone? Please! :ermm:


All times are GMT. The time now is 12:13 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.01757 seconds
  • Memory Usage 1,819KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (11)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
  • (35)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