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)

Atian 07-17-2002 09:05 PM

i get this error


Database error in vBulletin 2.2.6:

Invalid SQL: INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,showsignature,iconid,messageread ,folderid,receipt) VALUES (NULL,17,17,DMINID,'Attempt of a robbery','Buddy! They try to steal your $1
Quote:

You are lucky. They are not. You still keep your money.
',1026943290,'Final Fantasy Underground','',0,0,0)
mysql error: Unknown column 'DMINID' in 'field list'

mysql error number: 1054


when i try to steal from someone

Atian 07-17-2002 09:11 PM

and i cant run the last 2 queries i get these

SQL-query :

INSERT INTO store VALUES (NULL, '+++++', 'Safeguard', '100', '0', 'godfather.gif', 'We protect your money', 'Y')

MySQL said:

Column count doesn't match value count at row 1

GenSec 07-18-2002 05:19 AM

Absolutly.

DMINID is your admin userid.

For some (first) version of Lesane store
Quote:

INSERT INTO store VALUES (NULL, 'mafia', 'Safeguard', '100', '0', 'godfather.gif', 'We protect your money', 'Y')
is right.

For the last should be
Quote:

INSERT INTO store VALUES (NULL, 'mafia', 'Safeguard', '100', '0', 'godfather.gif', 'We protect your money', 'Y','0')
is right.

Atian 07-18-2002 06:25 AM

ah thanks,now it worked

Night Owl 07-19-2002 07:33 AM

What percentage of the time are robberies successful with this hack? And can I change that? If so, how?

Night Owl 07-20-2002 02:04 AM

I would also like for people to be able to steal from the admins. How do I do that?

Thanks!

Stealthy 07-20-2002 04:55 PM

Quote:

Originally posted by Night Owl
What percentage of the time are robberies successful with this hack? And can I change that? If so, how?
GenSec, I would like to know that as well.

Also, I would like to make it so that a member has a greater chance of failure if trying to steal from a Moderator.

What would I need to do to add this?

Night Owl 07-21-2002 01:23 PM

Two of my members are getting this error when trying to steal. No one else is getting it. What does this mean?

Quote:

Database error in vBulletin 2.2.6:

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

mysql error number: 1064

Tara 07-22-2002 07:25 AM

Attempting to modify the database and I receive this error:

SQL-query :

Quote:

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
Help! :cry:

Kasper_H 07-22-2002 03:47 PM

Ha, sounds interesting! I think i'll try it out :D Good job!


All times are GMT. The time now is 05:06 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.01487 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)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