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)

Mystic Gohan 01-29-2003 08:55 PM

Quote:

Originally posted by VeoMorphine
Another Release.

This is just a getinfo template with everything in it allready for the member profile add-on. it's attached a zip, just replace the templates with the ones labled in the text files.

http://www.neurofreeze.net/forums/me...tinfo&userid=3

This should also work on ANY style.

There is an example/demo of the getinfo

none of the stats show up even thought i edited member.php

mr e 01-29-2003 09:24 PM

my bad, redownload, zip file is fixed

Quote:

Originally posted by Mystic Gohan
PHP Code:

Database error in vBulletin Control Panel 2.2.9:

Invalid SQLALTER TABLE rpg_classf ADD visible SMALLINT(5NOT NULL DEFAULT=1
mysql error
You have an error in your SQL syntax near '=1' at line 1

mysql error number
1064

Date
Wednesday 29th of January 2003 05:16:13 PM
Script
: [url]http://www.gotdbz.com/forum/forum/admin/specclasses.php?action=yes[/url]
Referer: [url]http://www.gotdbz.com/forum/admin/specclasses.php[/url] 

i got that for when i tried to run specclassed? can u help me mr e?


Mystic Gohan 01-29-2003 09:27 PM

its still the same. can u just tell me what queries should i run, and i will do it via phpmyadmin.

VeoMorphine 01-29-2003 10:38 PM

Now for my next release is RPG CP/User Manual v1(theres gona be a version 2 when bitsys gets on aol :P) This basicly is 2 hacks in one.

Basicly what this does is add a menu were all your RPG stuff can be accessed from. It also add's an in deph manual on how to use the RPG system for users.

This will show your RPG stats As well. Attached here is a Screen shot. The release is a few posts down.

It can be found here:
https://vborg.vbsupport.ru/showthrea...377#post348377

*edited for the v2 reelase.*

mr e 01-30-2003 12:22 AM

what's the query, maybe i can help

@Mystic Gohan sorry, redownload, it'd help if i uploaded the new file, which i just now did

Mystic Gohan 01-30-2003 12:34 AM

thanx,it worked.

saint_seiya 01-30-2003 02:08 PM

The error was

Quote:


Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32

Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32
I am going to try to fix it, i will update you.

saint_seiya 01-30-2003 02:12 PM

I have attached the functions.php file since i cant find the parse error :( Hope you can help.

Bitsys 01-30-2003 03:39 PM

Hey guys, I am back now. I was sick for a few days and I couldn't use a computer.

Quote:

Originally posted by Riddel
Oh, another thing to ask: I don't know if this might help any in pinpointing the problems/errors I'm getting (item shop not working), but even though there are members with 1000+ posts, the itemshop only allows them to purchase level 0 item. However, when I tried to purchase a level 0 item, I received a databse error:


Database error in vBulletin 2.2.9:

Invalid SQL: SELECT userpostcount,levelfield,exprate FROM battle_options
mysql error: Unknown column 'userpostcount' in 'field list'

mysql error number: 1054

Date: Tuesday 28th of January 2003 08:54:20 AM
Script: /metropolis/itemshop.php?action=buy&cat=1&item=Javelin&itemtyp e=0
Referer: http://www.zanarkand.net/metropolis/...l=1&itemtype=0


I think this error might be contained only to the itemshop since members' stats are looking normal, so I'm guessing that I probably messed up the code somewhere. Would uploading a fresh copy of itemshop.php help, or are there other files I will need to upload?

Btw, thanks a lot for helping us out! This hack is really awesome.

Could you explain the database structure of the battle_options table using phpmyadmin?


VeoMorphine:
Mind if I include the following add-ons you created in the next release?
  • RPG Admin Manual
  • Getinfo templates (will be in a folder called "Member Profile Add-on" with the Member Profile Add-on.txt file)
Credits will be given in Credits.txt, as always.

I will wait for when we talk on AIM to include the RPG CP/User Manual add-on
The links for the rpgbank and rpgcash are already in the postbit template, and I added them to the Member Profile Add-on. Should be there in the next release.

mr e:
Mind if I include both of your add-ons in the next release?

Credits will be given in Credits.txt, as always.


saint_seiya:
What code is around line 32 of your postbit template?

saint_seiya 01-30-2003 04:23 PM

I thought the error was in funtions php but that error appears when i post any code you put in install.php . That time i put the link to the battle results... but as i said it happens with any code :(


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