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)

PSI|Dr-X 01-01-2003 07:22 AM

lol there is no wagger input in the new version :)

PSI|Dr-X 01-01-2003 08:54 AM

bytsis i found few bugs in the 0.58

1. when you fight there is al little stat in the attackform that only give the stats of the right profile



Wager input is forgetted!
2. you must change in template battle arena

PHP Code:

<p><b><normalfont>How much money would you like to wager?</normalfont></b></p>
<
br

TO

PHP Code:

<p><b><normalfont>How much money would you like to wager?</normalfont></b></p>
    <
input type="text" name="wager">
        <
br

Then the wager will work

3. All the items that i had are now doubled lol



And for the flip of the oppenent download attachment unzip in folder images/classes and find in

Template: Battle Arena

For

PHP Code:

<img src="https://vborg.vbsupport.ru/images/classes/$opponent[classfolder].gif"

And replace with

PHP Code:

<img src="https://vborg.vbsupport.ru/images/classes/flip_$opponent[classfolder].gif"

That's it! :nervous:

Strider Xero 01-01-2003 02:43 PM

For those of you who are looking to fix the Input Wager box, look for the coding in the template battle_newbattle.

Bitsys 01-01-2003 02:58 PM

OOPS! Terribly sorry about that one guys. I accidentally told vbhackmaker to replace the text instead of add after it. The updated .zip file is in the original post, but it won't help if you have already done the upgrade. To clarify the fix for the missing wager box, here is what to do:

In the template battle_newbattle FIND:
PHP Code:

<p><b><normalfont>How much money would you like to wager?</normalfont></b></p>
<
br

and REPLACE with:
PHP Code:

<p><b><normalfont>How much money would you like to wager?</normalfont></b></p>
    <
input type="text" name="wager">
        <
br

Once again, sorry for the confusion.

Riddel:
It's not supposed to do that. I will go look at the battleupdate file to see what is wrong.

PSI|Dr-X:
The next version will include your image fix. Thanks a lot for the images!

Strider Xero 01-01-2003 03:06 PM

I get this error when I click on Check Stats
PHP Code:

Database error in vBulletin 2.2.9:

Invalid SQLSELECT field7 FROM userfield WHERE userid=''
mysql errorUnknown column 'field7' in 'field list'

mysql error number1054

Date
Wednesday 01st of January 2003 05:02:06 PM
Script
: [url]http://cgi-bin.spaceports.com/~xaforums/forums/~xaforums/forums/rpg.php?userid=1[/url]
Referer


I also get this error when I go to the Item Shop
PHP Code:

Database error in vBulletin 2.2.9:

Invalid SQLSELECT field7 FROM userfield WHERE userid='1'
mysql errorUnknown column 'field7' in 'field list'

mysql error number1054

Date
Wednesday 01st of January 2003 05:03:23 PM
Script
: [url]http://cgi-bin.spaceports.com/~xaforums/forums/~xaforums/forums/itemshop.php[/url]
Referer: [url]http://cgi-bin.spaceports.com/~xaforums/forums/showthread.php?postid=9[/url] 

I started getting these when I upgraded to 58. Can someone help me fix this?

geniuscrew 01-01-2003 03:23 PM

I think it means field7 doesn't exit in your database.

Also the URLs for "Script" look weird...

Bitsys 01-01-2003 04:29 PM

Strider Xero:
Do this:

1. Go to your admin panel
2. Go to modify user profile fields
3. Find the Points profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the itemshop options
9. In the top option put in field# and replace number with the number you recorded in step 7.

If that doesn't work, then do the same thing for the RPG Name field and the battle options menu.

PSI|Dr-X 01-01-2003 05:25 PM

Sorry i mean Battle_Newbattle im trying to fix all errors

and bytsis can you fix the itemshop error all items that everyone had are shown twice now {maybe that i have post[items] twice}

and when i battle someone i see in Your Stat's in the attack form the stats of the right profile maybe something wrong with $userstats or something like that :) i hope you fix these errors so soon as possible


(maybe something wrong with my forum but i dont think)

Thnx

Bitsys 01-01-2003 05:39 PM

What happens when you remove one of the $post[items] variables? There should be only one.

The "Your Stats" bug will be fixed in the next version.

mr e 01-01-2003 06:18 PM

1. for the images, just make them all face the same way and in either the left or right image do a "style=fliph" to flip it around.

2. make the "alt" text of your weapons etc in postbit the name of the item so all you have to do is hover over it to find out what it is.

that's all for now :D


All times are GMT. The time now is 11:59 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.02805 seconds
  • Memory Usage 1,759KB
  • 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
  • (8)bbcode_php_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