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)

LangTuDaTinh 05-19-2003 10:00 PM

Quote:

Today at 02:25 PM Spark said this in Post #1650
Hi , :)
We have a little problem with this really interessting Hack. When we will select element , race etc. in our profile , it will not saved. We can?t select any Selections , too.
Please help us , we have an demo user for you to look at our problem
http://hang.anime-angelz.de/vbb
Username : test
pass: test

the prob is in the profile and then later in the rpgcp.php
Thx for help


read the instruction carefully, u missed some codes in member.php. have u edit ur member.php yet...it seems that u have not edited that file yet..

DarkDraco07 05-20-2003 02:23 AM

anyone know how to keep it from displaying battle threads in new post search? i want them to be recorded but not displayed there

LangTuDaTinh 05-20-2003 02:30 AM

Quote:

Today at 08:23 PM DarkDraco07 said this in Post #1652
anyone know how to keep it from displaying battle threads in new post search? i want them to be recorded but not displayed there


first, get its forumid

second, in search.php

look for
PHP Code:

if ($action=="getnew") { 

about 20 lines below that u will see

PHP Code:

    $wheresql.=" AND thread.open<>10"

change it to (replace XXXXX with that forumid)

PHP Code:

    $wheresql.=" AND forumid != XXXXX  AND thread.open<>10"


you_ands_i 05-20-2003 05:27 AM

I've already fix "Invalid password" error, but in Private Message the password battle not show and when I click go to Battle, the system show "Invalid Battle Password", why ? fix ?

Cicada 05-20-2003 07:25 AM

just installed it on a test board, no problems, after installing it on a production board, i ran into quite a few -- it does not updae XP with posts;

is tehre any way to:

a) fix this
(EDIT: i think ive fixed it, was in battle optiosn to give users XP per post, duh)


YET, that did not fix the problem :(


b) uninstall teh hack manually

also, i get this error when submitting a new reply:

Code:

Invalid SQL: SELECT field5 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field5' in 'field list'

mysql error number: 1054

yet if i hit the back button and submit the reply again, it goes through -- i've added the auto-update stats into the newthread and newreply scripts as per the instructions...

also,

Code:

Invalid SQL: SELECT field6, field5 FROM userfield WHERE userid='5'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054

I get that when trying to search for a user to edit in teh admin CP.

i also get

Code:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=5
mysql error: Unknown column 'field5' in 'field list'

mysql error number: 1054

when tryingto donate GP/Points/Gil to a user.

it's also not updating Gil/GP for user posts. :mad:

LangTuDaTinh 05-20-2003 07:37 AM

Quote:

Yesterday at 11:27 PM you_ands_i said this in Post #1654
I've already fix "Invalid password" error, but in Private Message the password battle not show and when I click go to Battle, the system show "Invalid Battle Password", why ? fix ?
have u change all "$key" in battle.php to "$key1" yet?
also change "key" in battle_newbattle template to "key1". if u do this then u will have no problem...

Cicada 05-20-2003 07:56 AM

Quote:

Today at 09:52 AM LangTuDaTinh said this in Post #1657
first, where did u get the code for auto update stats for newreply and newthread?

in the new version of this hack, i don't think he use that anymore....

in itemshop > Edit Options >"point field" > change that field id to ur point field id which u can get in Modify from User Profile Fields

do the same for Edit Options from "battle"

but since u are using the old code or something,

to fix this, u need to get the field id from User Profile Fields >Modify,

there are "Points, and "RPG name" , change ALL field6 to fieldxxxxxx (where xxxxxxx is ur RPG name field id) and do the same for ALL field5
which is for "Points"

i downloaded whatever was attatchedto the first post -- where can i get teh newer version/upgrade script for the newest version?

also, the battles are not working :(

LangTuDaTinh 05-20-2003 07:59 AM

oppss i think the code will paste the variable from ur itemshop and rpg setting....so the error look like that

anyway to fix this, do only this

in itemshop > Edit Options >"point field" > change that field id to ur point field id which u can get in Modify from User Profile Fields

do the same for Edit Options from "battle"

note: there are "Points, and "RPG name" , change field6 to fieldxxxxxx (where xxxxxxx is ur RPG name field id) and do the same for field5 which is for "Points"

try to fix this first...then see if "the battle" is working or not

note: i delete my post above to shorter this thread.....eeheh..

roninuta 05-20-2003 03:42 PM

Does anyone know where a good place to start would be if I wanted to setup a class that was admin only? I do not want mods getting to this particular class for testing purposes.

Cicada 05-20-2003 06:00 PM

Quote:

Today at 09:59 AM LangTuDaTinh said this in Post #1658
oppss i think the code will paste the variable from ur itemshop and rpg setting....so the error look like that

anyway to fix this, do only this




in itemshop > Edit Options >"point field" > change that field id to ur point field id which u can get in Modify from User Profile Fields

i dont understand whete to gt the field ID


All times are GMT. The time now is 05:30 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.04281 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
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (5)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