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)

slashboy 03-22-2003 04:17 AM

- when i try to edit an item from the itemshop admin like the price or something... i get this error.


Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE items_user SET item4='', points4='0', description4='', icon4='' WHERE itid4=71
mysql error: Unknown column 'itid4' in 'where clause'

mysql error number: 1054

Date: Saturday 22nd of March 2003 02:14:58 PM
Script: http://xlash.org/forums/forums/admin/itemadmin.php
Referer: http://xlash.org/forums/admin/itemadmin.php?action=edit


- for a personal item shop... there is no option to add your own icons..

- when you add categories to the itemshop. it don't show on the main itemshop page.

chrisz 03-22-2003 02:22 PM

When this hack is bug free I have made about 50 battle scenes.
They are top of the range and I can pics if requested.
I have also tweaked the templates an aweful lot.
If anyone is interested just post, and if you like what u see bitsys then I will glady give you everything so you can add it to the hack.
I am not good at all the tech stuff but I can at least help with what I have made.

kaotic 03-22-2003 03:01 PM

Hey man, that's great. I was just thinking that it could use more battle scenes. I'll be looking forward to the official release of this hack.

Kernel 03-22-2003 04:38 PM

Ya post your custom stuff.

Bitsys 03-22-2003 08:28 PM

Quote:

Yesterday at 02:05 AM slashboy said this in Post #1277
Magic has to be learnt, where do we learn it anyway..??
You just buy magic spells. You can't "learn" them, per se.

Quote:

Yesterday at 04:03 AM Kernel said this in Post #1278
I installed the member profile everything works fine but one thing
when i go to donate gives me an erro mysql error

strange thing is it works in my forum but the members section.
and i even copyed the code for the forums

can you pls help me fix thi last little error

pls help and thx

What is the exact error?

Quote:

Yesterday at 08:05 AM Jitway1 said this in Post #1279


This is what the db fix said... Populating items_user database
No IDs were inserted.
Done with the items_user database.
Populating battle_stats database
No IDs were inserted.
Done with the battle_stats database.
Fix done.

And here is the database user_id info I am the first one user_id1


userid bankval btime item0 points0 description0 icon0 itid0 item1 points1 description1 icon1 itid1 item2 points2 description2 icon2 itid2 item3 points3 description3 icon3 itid3 item4 points4 description4 icon4 itid4 item5 points5 description5 icon5 itid5 item6 points6 description6 icon6 itid6 item7 points7 description7 icon7 itid7 item8 points8 description8 icon8 itid8 item9 points9 description9 icon9 itid9 item12 points12 description12 icon12 itid12 item13 points13 description13 icon13 itid13 item14 points14 description14 icon14 itid14 item21 points21 description21 icon21 itid21
Edit Delete 1 2280 1048254599 No Item 0 No Description Available 0 Mythril Sword 1300 Sword made out of mythril sword 12 Bronze Armor 650 Armor made of bronze armor 30 No Item 0 No Description Available 0 0 0 0 0 0 0 0 No Description Available No Item 0 No Item 0 No Description Available 0 No Item 0 No Description Available 0 No Item 0 No Description Available 0 No Item 0 No Description Available 0 No Item 0 No Description Available 0 No Item 0 No Description Available 0 No Item 0 No Description Available 0 No Item 0 No Description Available 0

What does the screen look like after you buy an item?

Quote:

Today at 12:17 AM slashboy said this in Post #1281
- when i try to edit an item from the itemshop admin like the price or something... i get this error.


Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE items_user SET item4='', points4='0', description4='', icon4='' WHERE itid4=71
mysql error: Unknown column 'itid4' in 'where clause'

mysql error number: 1054

Date: Saturday 22nd of March 2003 02:14:58 PM
Script: http://xlash.org/forums/forums/admin/itemadmin.php
Referer: http://xlash.org/forums/admin/itemadmin.php?action=edit

What is the structure of your items_user table?

Quote:

Today at 12:17 AM slashboy said this in Post #1281
- for a personal item shop... there is no option to add your own icons..
User's cannot upload their own pictures.

Quote:

Today at 12:17 AM slashboy said this in Post #1281
- when you add categories to the itemshop. it don't show on the main itemshop page.
Did you go to Edit Item Types and assign the items a particular class type?

If a category doesn't have any items in it, then it won't show up.

chrisz 03-23-2003 12:02 AM

I will post about 5 of the battle scenes I made to see what people think.
I also have about 150 different item icons.
-Post back soon

slashboy 03-23-2003 12:30 AM

Quote:

Yesterday at 10:28 PM Bitsys said this in Post #1285

You just buy magic spells. You can't "learn" them, per se.

so u kind of just add them as items up to the itemshop?


Quote:

Yesterday at 10:28 PM Bitsys said this in Post #1285

What is the structure of your items_user table?

mysql> show columns from items_user;
+--------------+------------------+------+-----+--------------------------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------------+------------------+------+-----+--------------------------+-------+
| userid | int(10) unsigned | | PRI | 0 | |
| bankval | int(10) unsigned | | | 0 | |
| btime | int(11) | | | 0 | |
| item0 | char(250) | | | No Item | |
| points0 | int(5) | | | 0 | |
| description0 | char(250) | | | No Description Available | |
| icon0 | char(250) | | | | |
| itid0 | int(11) | | | 0 | |
| item1 | char(250) | | | No Item | |
| points1 | int(5) | | | 0 | |
| description1 | char(250) | | | No Description Available | |
| icon1 | char(250) | | | | |
| itid1 | int(11) | | | 0 | |
| item2 | char(250) | | | No Item | |
| points2 | int(5) | | | 0 | |
| description2 | char(250) | | | No Description Available | |
| icon2 | char(250) | | | | |
| itid2 | int(11) | | | 0 | |
| item3 | char(250) | | | No Item | |
| points3 | int(5) | | | 0 | |
| description3 | char(250) | | | No Description Available | |
| icon3 | char(250) | | | | |
| itid3 | int(11) | | | 0 | |
| item9 | char(250) | | | No Item | |
| points9 | int(5) | | | 0 | |
| description9 | char(250) | | | No Description Available | |
| icon9 | char(250) | | | | |
| itid9 | int(5) | | | 0 | |
+--------------+------------------+------+-----+--------------------------+-------+
28 rows in set (0.00 sec)



Quote:

Yesterday at 10:28 PM Bitsys said this in Post #1285

Did you go to Edit Item Types and assign the items a particular class type?

If a category doesn't have any items in it, then it won't show up.

ah thx... it worked... now in your current status right at the top of the screen... it do not show the item u just bought from the new category

and again... thanks for replying all the questions =)

Bitsys 03-23-2003 01:19 AM

Quote:

Today at 08:30 PM slashboy said this in Post #1287


so u kind of just add them as items up to the itemshop?

Yes.



Quote:

Today at 08:30 PM slashboy said this in Post #1287
mysql> show columns from items_user;
+--------------+------------------+------+-----+--------------------------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------------+------------------+------+-----+--------------------------+-------+
| userid | int(10) unsigned | | PRI | 0 | |
| bankval | int(10) unsigned | | | 0 | |
| btime | int(11) | | | 0 | |
| item0 | char(250) | | | No Item | |
| points0 | int(5) | | | 0 | |
| description0 | char(250) | | | No Description Available | |
| icon0 | char(250) | | | | |
| itid0 | int(11) | | | 0 | |
| item1 | char(250) | | | No Item | |
| points1 | int(5) | | | 0 | |
| description1 | char(250) | | | No Description Available | |
| icon1 | char(250) | | | | |
| itid1 | int(11) | | | 0 | |
| item2 | char(250) | | | No Item | |
| points2 | int(5) | | | 0 | |
| description2 | char(250) | | | No Description Available | |
| icon2 | char(250) | | | | |
| itid2 | int(11) | | | 0 | |
| item3 | char(250) | | | No Item | |
| points3 | int(5) | | | 0 | |
| description3 | char(250) | | | No Description Available | |
| icon3 | char(250) | | | | |
| itid3 | int(11) | | | 0 | |
| item9 | char(250) | | | No Item | |
| points9 | int(5) | | | 0 | |
| description9 | char(250) | | | No Description Available | |
| icon9 | char(250) | | | | |
| itid9 | int(5) | | | 0 | |
+--------------+------------------+------+-----+--------------------------+-------+
28 rows in set (0.00 sec)





ah thx... it worked... now in your current status right at the top of the screen... it do not show the item u just bought from the new category

and again... thanks for replying all the questions =)

Which userid is that information from? Is it the same userid that you took the pic with?

slashboy 03-23-2003 01:33 AM

Quote:

Today at 03:19 AM Bitsys said this in Post #1288

Which userid is that information from? Is it the same userid that you took the pic with?


yes

Bitsys 03-23-2003 02:39 PM

slashboy, What are the values of all the IDs from the items_cats table? Also, do you have any presonal itemshops?

I have been able to reproduce the error artificially, so I think I know how to fix it after the error occurs. However, I still have not located the bug that causes the error.


All times are GMT. The time now is 09:29 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.05241 seconds
  • Memory Usage 1,796KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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