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)

Bitsys 12-19-2002 11:37 PM

Gold per post is in the Itemshop Options menu in a field called "Activity Points". Currently, there is no way to give users a certain amount of gold to begin with. However, you can add that feature in several ways. The easiest way to add it is through phpmyadmin. In the table called `items_user` locate the field called 'bankval'. Change the default value of 'bankval' to whatever you want the users to start with. The other ways are harder to implement.

Strider Xero 12-20-2002 12:16 AM

I'm the one who wanted to uninstall .55

How do I delete the templates?? There's no option in the AdminCP to delete them. All it says is 'Change Original'

Strider Xero 12-20-2002 12:40 AM

i accidentally deleted ALL of my Template tables through phpMyAdmin...uhh...how do I get them back?? I have a back up but just have no idea on how to restore it...obviously i absolutely know nothing about mysql and stuff, so can someone tell me how to restore it?

Bitsys 12-20-2002 02:21 AM

Quote:

Originally posted by Strider Xero
i accidentally deleted ALL of my Template tables through phpMyAdmin...uhh...how do I get them back?? I have a back up but just have no idea on how to restore it...obviously i absolutely know nothing about mysql and stuff, so can someone tell me how to restore it?
Have you tried the "Insert data from a textfile into table" link in phpmyadmin? It is near the middle of the page when you are viewing the table structure.

Strider Xero 12-20-2002 02:26 AM

ok i restored it using the vbulletin.style

but anyway, i've installed .56 using vbhacker, and i had to run some queries. Anyway, i get this error when i try to go to a forum:

Code:

Database error in vBulletin :

Invalid SQL:
        SELECT
       
                thread.threadid
        FROM thread
        WHERE thread.forumid = 6
                AND thread.sticky=0
                AND thread.visible=1
        AND lastpost >= 1037758954 AND sticky=0
       
          ORDER BY sticky DESC, lastpost DESC
          LIMIT 0,
mysql error: You have an error in your SQL syntax near '' at line 12

mysql error number: 1064

Date: Thursday 19th of December 2002 09:22:34 PM
Script: /forums/forumdisplay.php?forumid=6
Referer: http://www.xeroanime.com/forums/foru....php?forumid=4


Bitsys 12-20-2002 02:29 AM

My hack does not modify forumdisplay.php. I am not sure as to what is causing that error, although it appears as if part of the query is missing.

rrnolan 12-20-2002 04:35 AM

Can I ask you a question about Battle Forums, I notice that I can only buy one Weapon, One Potion, and One Armor, If I try to but a 2nd Weapon it takes the first weapon out of my inventory. Is that correct you can only have one of each

gengar003 12-20-2002 01:39 PM

I have set the level to be determined by the # of posts, but the level won't show up. Because of this, no one can battle.

Also, the purchased items don't show up, and there are no hp/mp/ap etc bars in the profile, are there supposed to be?

Bitsys 12-20-2002 01:44 PM

rrnolan:
That is correct that you can only have one of each. That is the way the original itemshop worked.

gengar003:
Where is the level not showing up at? Did you update your stats? What error are you getting when you try to battle?

Where are the purchased items not showing up? There is supposed to be hp/mp/ap in the bars, but you have to update your stats first. What version are you running?

rrnolan 12-20-2002 01:55 PM

Has anyone written a game manual or how to for folks yet. This is a fun hack but many folks are asking me for a manual


All times are GMT. The time now is 04:52 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.02511 seconds
  • Memory Usage 1,741KB
  • 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_quote_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