Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Datastore problem? Details »»
Datastore problem?
Version: , by AnthonyJR AnthonyJR is offline
Developer Last Online: Mar 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-10-2005 Last Update: Never Installs: 0
 
No support by the author.

Well, first it worked, but now it doesnt.

i just inserted the classes through phpmyadmin, but I couldnt see any of them in the Admin CP -> Edit Class, it also gave me an error when I tried to by items saying I need to be of a Generic Class. So I went into the admin CP -> add class; and added the Amazon again. when i refreshed the RPG CP to select it I got the error that I just posted above.

can you help?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-10-2005, 01:29 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You seem to be running v2. Or, you have not removed the code from profile.php.
Because this file is not edited in v3.
Reply With Quote
  #3  
Old 03-10-2005, 06:17 PM
AnthonyJR AnthonyJR is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thx, that problem is fixed. now, the classes and elements and all the other insert didnt work during the installation, so I did them through PHPMYADMIN. the only problem is with the classes; 1) they dont show up when I hit the Edit Classes in the admin cp 2) after I change all my character info ( I can see the classes in the drop down menu ) and I go to the itemshop, it says I must be a Generic to buy any thing. I dont feel like adding all those classes one by one in the admin cp, how can I fix this?
Reply With Quote
  #4  
Old 03-10-2005, 08:26 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first thing that springs to mind is a fresh run of the rpg_install.php
Uninstall (or manually remove any trace of) the hack, then reinstall using the installer.
The installation definetely works now, as it's been verified by members using a table prefix too.
Reply With Quote
  #5  
Old 03-10-2005, 09:54 PM
AnthonyJR AnthonyJR is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

almost

Database error in vBulletin 3.0.7:

PHP Code:
Invalid SQL
CREATE TABLE `rpg_items_user
(
    `
useridint(10unsigned NOT NULL default '0',
    `
item0char(250NOT NULL default 'No Item',
    `
points0int(5NOT NULL default '0',
    `
description0char(250NOT NULL default 'No Description Available',
    `
icon0char(250NOT NULL default '',
    `
itid0int(11NOT NULL default '0',
    `
item1char(250NOT NULL default 'No Item',
    `
points1int(5NOT NULL default '0',
    `
description1char(250NOT NULL default 'No Description Available',
    `
icon1char(250NOT NULL default '',
    `
itid1int(11NOT NULL default '0',
    `
item2char(250NOT NULL default 'No Item',
    `
points2int(5NOT NULL default '0',
    `
description2char(250NOT NULL default 'No Description Available',
    `
icon2char(250NOT NULL default '',
    `
itid2int(11NOT NULL default '0',
    `
item3char(250NOT NULL default 'No Item',
    `
points3int(5NOT NULL default '0',
    `
description3char(250NOT NULL default 'No Description Available',
    `
icon3char(250NOT NULL default '',
    `
itid3int(11NOT NULL default '0'    
    
PRIMARY KEY (`userid`)
TYPE=MyISAM;

mysql errorYou have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '(`userid`)
) TYPE=MyISAM' 
at line 24 
in the mysql_schema file you have a space or tab behind one of the lines. fixed that and went through the whole installation with no problems once so ever. but I still get the same error, your install populated all the tables including the class table, but I still cant see any of the classes in the Admin Cp and it still says I need to be a Generic to purchase any items.
Reply With Quote
  #6  
Old 03-11-2005, 09:27 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to download the latest file. That there has already been fixed.
The reason why the thread title says beta 2 is because I am no longer allowed to alter the thread title, it is too old.
So if I were you, I would click Install so that you will recieve a notification once database changes and/or major bugs are fixed.

As for the item saying you have to be generic, that is an error that is also fixed in abovementioned beta update.
Reply With Quote
  #7  
Old 03-11-2005, 10:38 PM
AnthonyJR AnthonyJR is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the beta3 one? I believe I did download that one. Unless-- I downloaded your hack multiple times for some reason-- maybe the last time I installed the hack I didnt install the latest one. I'll download again and over write all files, I presume the latest file is in the same thread? I also shouldn't have to update the mysql right?
Reply With Quote
  #8  
Old 03-12-2005, 07:26 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well you need to run the rpg_install even if the hack was installed successfully in beta2.
Because beta3 modifies more of the database.
Reply With Quote
  #9  
Old 03-12-2005, 07:20 PM
AnthonyJR AnthonyJR is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just ran through the upgrade. it said i was running 3.0.0 and it was going to make it 3.0.0 Beta 3. There was a problem with the profilefield select so I just skipped that. But when I tried going to my RPG CP the whole page was blank. Everything RPG related is blank.
Reply With Quote
  #10  
Old 03-12-2005, 11:00 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of course it was an error with the profilefield select.... *stares*
You now have to manually add the profilefield with the name 'RPG Name' (EXACTLY like that, without the quotes), then uninstall the hack completely, then reinstall completely.
THAT should work.
Everything rpg related is blank because you probably never made it to the completed page, where everything is finalised.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:53 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06162 seconds
  • Memory Usage 2,314KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete