vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

Mrpolish 12-16-2002 09:25 PM

I get an error when I try to do something in battle

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054
vb ver:2.2.8

Bitsys 12-16-2002 09:29 PM

mli:
You need to add several fields to your `user` table. I am not sure which part of the query failed or why it failed. Can you tell me the name of the last field in your `user` table?

Strider Xero:
What battle options do you have enabled (set to 'Yes')?

jags2ooo:
Make sure that you added the new categories to a default item type. In the admin cp, go to "Edit Item Type" and make sure the categories are associated with an item type.

Yes, it is supposed to say "current" even after you have changed it. This is to reduce queries.

Mrpolish:
What battle options do you have enabled (set to 'Yes')?

mli 12-16-2002 09:51 PM

Ok, I decided to install ALL OVER AGAIN!!! And everything works alright so far, but when I attack my opponent in battle it gives me this error:
Code:

Database error in vBulletin 2.2.9:

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054

Date: Monday 16th of December 2002 04:45:42 PM
Script: http://rkr.ravencommunity.net/forums...&battlekey=yay
Referer: http://www.rkr.ravencommunity.net/fo...on=enterbattle


Mrpolish 12-16-2002 09:54 PM

Yes
1.Battle hack is on
2.Give exp to users
3.Do you want a user's power level calculated by and based on their post count?
A user's power level determines ALL of their stats for the battle hack.
No.
Battles are private

Bitsys 12-16-2002 10:05 PM

mli and Mrpolish:
Did you run "install_itemshop_items.php"?

Mrpolish 12-16-2002 10:07 PM

I did

mli 12-16-2002 10:08 PM

lol, we're getting the same error jsut noticed that. Sorry for my post I guess. Here are my options:

RPG Name Field: field6
Battle hack: ON
Max # of battles: 0
Battles are Private: No
Post Battle Results: Yes

Power Level determined by post count: Yes
Power Level Modifier: 3
User's Level Field: field7

Give expierence to user for battles: No

mli 12-16-2002 10:08 PM

Yup, I did

mli 12-16-2002 10:09 PM

Does it have something to do with the RPG Character's name? Since it complains about field6?

jags2ooo 12-16-2002 10:10 PM

It says Generic, not default, and generic is the only type should there be more?


All times are GMT. The time now is 06:15 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.02719 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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