vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   RPG Integration Hack - Old Support Thread (https://vborg.vbsupport.ru/showthread.php?t=73868)

Ganon 08-26-2004 09:47 PM

A member on my board is trying to get into the "edit RPG info" link in her User CP. It goes incredibly slow and eventually times out. She gave me permission to log into her account, to see if it's a problem with her account or her computer, and I had the same problem. It works fine for me under my name, and a couple test names I have set up on the board. Any suggestions?

Rahzel_hx 08-27-2004 12:09 AM

lol the pictures show up for the background images but there is writing in the top right of the screen that is all... ( everything is in the right place.. soo i dunno but it don't affect anything so it ok)

hmm i will try in IE.... right now i use myie2 and i don't get sound =(

fade 08-27-2004 01:38 AM

Quote:

Originally Posted by Valr the Slain
When in "Edit Items", the items seem to not show up for me to edit. There isn't any errors listed, but when I click "Update Items", I receive this error:

Warning: Variable passed to each() is not an array or object in /home/initial/public_html/forums/admincp/itemadmin.php on line 292

The line 292 contains the following:

PHP Code:

while (list($key,$val) = each($name) AND list($key,$val2) = each($cat

What could be the problem?

getting this problem as well. had a look around and also found problems with joining a clan. you can send an "invite" to users to join clans and that user will receive a pm, the link to accept the invitation doesn't appear to have the full url, it starts as "http://clancp.php....." also, when i actually go to play a battle, it simply times out (for me and the other player) reporting a time out error message

Quote:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/sites/site93/web/forum/battlefight.php on line 706
any ideas would be great :)

Ganon 08-27-2004 02:00 AM

When I try to edit options for the itemshop, I get this error:

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE rpg_items_options SET refund='.75',onofforder='0',minstock='4',maxstock= '7',stockreset='604800',pcost='',padd='',hidelevel ='0'
mysql error: Unknown column 'pcost' in 'field list'

mysql error number: 1054

Date: Thursday 26th of August 2004 09:58:41 PM
Script: http://www.ganonstower.com/forums/admincp/itemadmin.php
Referer:
Username: Ganon
IP Address: xx.x.xxx.xxx

There is also nothing on the board that lets you buy items or anything like that. I'm guessing there's probably another query I missed, or something like that?

Valr the Slain 08-27-2004 02:10 AM

Quote:

Originally Posted by Ganon
A member on my board is trying to get into the "edit RPG info" link in her User CP. It goes incredibly slow and eventually times out. She gave me permission to log into her account, to see if it's a problem with her account or her computer, and I had the same problem. It works fine for me under my name, and a couple test names I have set up on the board. Any suggestions?

This is also a situation that I have been wondering what the problem was. I took the same actions as Ganon and came up with the same results. She once had an error similar to fades, but it was a fatal error to the db_mysql.php file. Unfortunately, I don't have the line anymore.

ogetbilo 08-27-2004 09:09 AM

I reinstalled RPG and I did all the changes that I have to do in the service pack for the showthread.php , profile.php etc...

The only thing that is not working is admncp/itemadmin.php
When I go to admincp and try to edit items I cannot see any item so I cannot edit items.
Also when I try to update Itemshop settings I get the following error.

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE rpg_items_options SET refund='.75',onofforder='1',minstock='4',maxstock='7',stockreset='604800',pcost='',padd='',hidelevel='0'
mysql error: Unknown column 'pcost' in 'field list'

mysql error number: 1054

Date: Friday 27th of August 2004 01:06:04 PM
Script: http://forum.*****.com/admincp/itemadmin.php
Referer: http://forum.*****.com/admincp/itema...action=options
Username: ****
IP Address: *******

I hope this will be the latest bug in this mod.Cause it is one of the best.

Revan 08-27-2004 01:38 PM

Quote:

Originally Posted by Ganon
When I try to edit options for the itemshop, I get this error:

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE rpg_items_options SET refund='.75',onofforder='0',minstock='4',maxstock= '7',stockreset='604800',pcost='',padd='',hidelevel ='0'
mysql error: Unknown column 'pcost' in 'field list'

mysql error number: 1054

Date: Thursday 26th of August 2004 09:58:41 PM
Script: http://www.ganonstower.com/forums/admincp/itemadmin.php
Referer:
Username: Ganon
IP Address: xx.x.xxx.xxx

There is also nothing on the board that lets you buy items or anything like that. I'm guessing there's probably another query I missed, or something like that?

This is a bug in the itemadmin.php, summit I left out when I was cleaning out the installer and forgot to check for files actually using those fields...
New itemadmin.php attached, and zip updated.
This itemadmin.php also fixes the "Items doesnt show for edit" bug (which automatically solved the "each()" bug).


Quote:

Originally Posted by fade
getting this problem as well. had a look around and also found problems with joining a clan. you can send an "invite" to users to join clans and that user will receive a pm, the link to accept the invitation doesn't appear to have the full url, it starts as "http://clancp.php....." also, when i actually go to play a battle, it simply times out (for me and the other player) reporting a time out error message

any ideas would be great :)

The clancp stuff was a small mishap on my side, just open clancp.php and find [php][URL=clancp.php[/php]
change to
[php][URL=http://your.forum/url/clancp.php[/php]
zip updated with this, also readme updated.

About the timeout errors (both of them), that is impossible to determine and fix. I have just tried the battle AND update rpg info, reinstalled with the newest installer. I assure you I made no hotfixes to my files, and I used all the php files in the current zip.
This is a server side problem, Im sure of it... sorry... :(
My friend DeMiNe0 suggests that you could try putting turk MM cache on your server or php accell.
Just dont ask me what any of that means :p


Quote:

Originally Posted by Ganon
A member on my board is trying to get into the "edit RPG info" link in her User CP. It goes incredibly slow and eventually times out. She gave me permission to log into her account, to see if it's a problem with her account or her computer, and I had the same problem. It works fine for me under my name, and a couple test names I have set up on the board. Any suggestions?

You should try running the DB Fix. Her id might not show in the record and for some reason this times the script/browser out.
If its not that, then theres no solution.



To summarize for those reading this, the changes in the zip now is:
itemadmin.php errors fix
chancp.php bug fix
readme updated (added recommended values for Modifiers in the Edit Options of the Battle category)

oldfan 08-27-2004 03:00 PM

How stable is this addon?
I wanna install it, but I'm reading about alot of errors.
Or is that user end errors?
Thanks, lookin good :)

Revan 08-27-2004 03:16 PM

AFAIK theres no more bugs left.
IF you should discover any new bugs, I can 99 % guarantee it will be fixed/explained within 24 hours, usually as soon as I check back on this thread and read the error report (depending on the details of your report of course).

Actually the only trivial "bug" left is this warning notice that seems to appear on the adding of midi's, but it works 100 % so dont worry about that :)


If you do install it now, then please click the install button ;)

designstylez 08-27-2004 03:20 PM

Having some problems with itemshop.php...

When I click on Expand All Generic Items, it works. But when I click on Expand for Available Weapons or Available Accessories, nothing happens. It does not expand.

But anyways, this RPG thing is tite!!! I Love it!


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