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.

Koutaru 03-23-2003 05:48 PM

chrisz, I'd love to see some of the items and battle scenes

Bitsys, thanks for your work with the support after... 86 pages ^_^ it must be hard

_Mantis 03-23-2003 05:57 PM

To Morphine:

Formula for fists is is in battleupdate.php toward the top and is commented. Here is my fist dmg

PHP Code:

return floor(log10($level) * rand(-(int)($level .15), (int)($level .15))) + 1

Been using it for 3 weeks now and seems to be more realistic. I get around the low single digits with this(2-6dmg).


Suggestion: Don't use the personal item shop feature. Its a great addition but is easily exploited and users getting tons of gil. We just turned ours off. Unfortunately no matter what u do, ppl will always find a way to exploit things.

_Mantis 03-23-2003 06:00 PM

I have some users whose mp levels dont increase and go right back to 50 or so even when i edit their character. I even had them delete their acct and sign up again and still same results.

Anybody else have this?

Otherwise I got things running pretty good. We have had a good 6,000 battles plus and is heavily used.

VeoMorphine 03-23-2003 06:47 PM

Anyone having problems like this(4rth item down):
https://vborg.vbsupport.ru/attachmen...&postid=371609

you need to check your item catogory Type Number, and make sure it matches the type ID of generic or what ever you made it.

Thats how i fixed mine.

chrisz 03-23-2003 11:40 PM

I figured out how to make it so when you create ur RPG charcter you cant edit them ^^.
I will tweak the idea and double check it then post back (host troubles).
As for the battle scenes and stuff when my host fixes my FTP then I can get them.
Sorry for the delay.

chrisz 03-24-2003 01:28 AM

ok my FTP is fixed and I will post some of the battle scenes and so on.

slashboy 03-24-2003 01:32 AM

Quote:

Yesterday at 04:39 PM Bitsys said this in Post #1290
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.


mysql> show columns from items_cats;
+----------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------------+------+-----+---------+----------------+
| id | int(10) unsigned | | PRI | NULL | auto_increment |
| name | char(50) | | | | |
| description | char(250) | | | 0 | |
| catorder | int(2) | | | 0 | |
| type | tinyint(4) | | | 0 | |
| ownerid | int(11) | | | 0 | |
| sold | int(11) | | | 0 | |
| profit | int(11) | | | 0 | |
| battletype | int(10) | | | 0 | |
| itemonofforder | int(3) | | | 0 | |
+----------------+------------------+------+-----+---------+----------------+
10 rows in set (0.00 sec)

yes i have a few personal item shops.... i think thats the problem, coz after i removed the personal itemshops.. everything seems fine..

chrisz 03-24-2003 04:14 AM

Ok everyone I will post five of my battle scenes.

Number One:
I edited the default one here and made it a night version.
http://ffsaiyans.xeko.net/forum/imag...cene_night.gif

Number Two:
http://ffsaiyans.xeko.net/forum/images/floatingship.gif

Number Three:
http://ffsaiyans.xeko.net/forum/images/undeadtomb.gif

I have night and day versions of most of them and here is an example.

Number Four:
Day version-
http://ffsaiyans.xeko.net/forum/imag...tainplains.gif

Number Five:
Night version-
http://ffsaiyans.xeko.net/forum/imag...ains_night.gif


Ok they are 5 of about 50, comments are welcome.
And Bitsys if you like them then pm me I will be glad to give them to you as a donation toward the hack.

kaotic 03-24-2003 04:35 AM

Wow, I'm loving them. I'll check back later in hopes of more links to your scenes. :)

chrisz 03-24-2003 04:39 AM

lol I might post more.
I am currently working on some more. :)

Bitsys 03-24-2003 10:31 AM

Quote:

Yesterday at 09:32 PM slashboy said this in Post #1297



mysql> show columns from items_cats;
+----------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------------+------+-----+---------+----------------+
| id | int(10) unsigned | | PRI | NULL | auto_increment |
| name | char(50) | | | | |
| description | char(250) | | | 0 | |
| catorder | int(2) | | | 0 | |
| type | tinyint(4) | | | 0 | |
| ownerid | int(11) | | | 0 | |
| sold | int(11) | | | 0 | |
| profit | int(11) | | | 0 | |
| battletype | int(10) | | | 0 | |
| itemonofforder | int(3) | | | 0 | |
+----------------+------------------+------+-----+---------+----------------+
10 rows in set (0.00 sec)

yes i have a few personal item shops.... i think thats the problem, coz after i removed the personal itemshops.. everything seems fine..

Those are the column definitions. I need the value of the id column of all the rows. The query would be something like "SELECT id FROM items_cats". Do you have phpmyadmin?

slashboy 03-24-2003 10:32 AM

yes i have...

chrisz 03-24-2003 11:05 AM

yay!!
Bitsys pm'd me and I will be adding my scenes into the hack :D
I will about 20 for now, and maybe later some more.
Any extras I make I will use for my forum (If I gave him all of them then my forum wont be unique would it?)

Bitsys 03-24-2003 11:42 AM

Quote:

Today at 06:32 AM slashboy said this in Post #1302
yes i have...
Go to it. Make sure you select the correct database in the left frame. Find the table called items_user in the left frame. Click on the table name. It should show the structure of the table. Click "Browse". It should show several rows of information. Copy the values located in the 'id' column and paste them here.

chrisz 03-24-2003 11:50 AM

Bitsys how is the next version going?
I guess it will be bug fixes and such?

sonic3d 03-24-2003 03:54 PM

Quote:

Today at 12:14 AM chrisz said this in Post #1298
Ok everyone I will post five of my battle scenes.
nice scenes. i like it alot.

l8er
sonic

Koutaru 03-24-2003 08:31 PM

Nice work chrisz! I like what I see ;)

chrisz 03-24-2003 11:56 PM

Ok bitsys has the maps and will be adding them.
I hope you all enjoy them :)

kaotic 03-25-2003 01:03 AM

I know I will! I just hope the official release is soon... but I can be patient for perfection. :D

slashboy 03-25-2003 02:00 AM

Quote:

Yesterday at 01:42 PM Bitsys said this in Post #1304


Go to it. Make sure you select the correct database in the left frame. Find the table called items_user in the left frame. Click on the table name. It should show the structure of the table. Click "Browse". It should show several rows of information. Copy the values located in the 'id' column and paste them here.


there is no such column... i got

userid bankval btime item0 points0 description0 icon0 itid0 item1 points1 description1 icon1 itid1 item2 points2 description2 icon2 itid2

this is mainly it... of course there more.. untill 20

just to make sure... i login to phpmyadmin as root, select the database i installed vbb, select the database items_users and click browse rite?

Bitsys 03-25-2003 03:27 AM

Quote:

Today at 10:00 PM slashboy said this in Post #1310



there is no such column... i got

userid bankval btime item0 points0 description0 icon0 itid0 item1 points1 description1 icon1 itid1 item2 points2 description2 icon2 itid2

this is mainly it... of course there more.. untill 20

just to make sure... i login to phpmyadmin as root, select the database i installed vbb, select the database items_users and click browse rite?


Oops, my mistake. I meant to say the items_cats table. I have been using both a lot recenlty and I usually end up typing the wrong one. Sorry!

slashboy 03-25-2003 04:47 AM

Quote:

Today at 05:27 AM Bitsys said this in Post #1311



Oops, my mistake. I meant to say the items_cats table. I have been using both a lot recenlty and I usually end up typing the wrong one. Sorry!


nvm its ok....

id 1 2 3 11 12 14 13 16 17 18 19 20 22

this is it

lioncool1589 03-25-2003 08:39 AM

bitsys i found new bugs when create new battle if you put negative infront money like this (-1546154854$) end of battle will give to winner milions $$$ how can i fix this

chrisz 03-25-2003 08:44 AM

read the last 5 pages it is in there somewhere

lioncool1589 03-25-2003 08:49 AM

i cant find it chrisz can you give me link

chrisz 03-25-2003 08:50 AM

ok gimme a sec

chrisz 03-25-2003 08:53 AM

<a href="https://vborg.vbsupport.ru/showthread.php?postid=366807#post366807" target="_blank">https://vborg.vbsupport.ru/showt...807#post366807</a>
Quote 3 and 4

lioncool1589 03-25-2003 08:59 AM

thx chrisz i fixed wager problems

chrisz 03-25-2003 09:05 AM

kool, glad to help

Bitsys 03-25-2003 11:41 AM

Quote:

Today at 12:47 AM slashboy said this in Post #1312



nvm its ok....

id 1 2 3 11 12 14 13 16 17 18 19 20 22

this is it

Ok, I am still not sure what the problem is, but another person is having the same problem. Once I fix the problem on their board, I can release an update to fix it everywhere, so hang in tight until I get it figured out.


All times are GMT. The time now is 03:39 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.03632 seconds
  • Memory Usage 1,892KB
  • 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_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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