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-08-2002 08:00 PM

Quote:

Originally posted by Davey
I didn't understand the postbit instructions whatsoever.
I installed it on a fresh install 2.2.9.
Could you make the instructions a little clearer please, Bitsys?
Thanks.

Dave.

Go to the admin CP. Go to modify templates at the bottom. Click on the link that says "show all" next to the global or default template set. Scroll down until you find a template called "postbit". Click on the "edit" link next to it. It should bring up the html that is used in the postbit tamplate. Copy the code from the file "sample postbit.txt" that came included in the .zip file and paste it after "Posts: $post[posts]" in the edit template field. Click "Save changes" at the bottom to save what you just entered. This will give you the default variables in your posts.

There are additional variables located in Install.txt at the bottom. You add these the same way by copying and pasting whatever comes after the ":" in Install.txt. Example:

In Install.txt:
Code:

~Display the user's battle status: $inbattle
Copy:
Code:

$inbattle
And paste it into the postbit template as you did before. The "$" in front of the word means that it is a variable. When a post is displayed, "$inbattle" is changed to whatever the value the variable contains. In most instances, "$inbattle" will appear as "Not in Battle" when you view the post on your forums.

Does that help?

Mijae 12-08-2002 08:22 PM

I found another little bug, the Element Icon variable tries to display and image that starts with an upper case (Dark), but the images included are lower case (dark). This makes the images come up with an ugly red X.

This is easy to fix, but I just wanted to point it out.

Bitsys 12-08-2002 08:29 PM

Quote:

Originally posted by v0id
I found another little bug, the Element Icon variable tries to display and image that starts with an upper case (Dark), but the images included are lower case (dark). This makes the images come up with an ugly red X.

This is easy to fix, but I just wanted to point it out.

Yup, DarkDraco07 pointed that out a little earlier and v55 will fix that bug. A permanent fix is to manually rename the image files.

Bitsys 12-09-2002 02:25 AM

Version 0.55 is completed. There is an upgrade file included to go from version 0.54 to version 0.55.

Bug Fixes:
  • Personal Itemshop infinite loop bug in getpostbit function fixed.
  • Personal Itemshop not showing up fixed.
  • Personal Itemshop images not displaying fixed.
  • Personal Itemshop unable to delete fixed.
  • Personal Itemshop unable to edit fixed.
  • Personal inventory showing up for non logged-in users now doesn't show up.
  • Battle wager is now taken from your bank account or pocket when you register for a new battle.
  • Incorrect item images showing in battlefight.php now fixed.
  • Alignment names displaying improperly in the postbit now fixed.
  • Element icon names corrected.
  • You no longer have to make changes to battle.php before uploading.
  • More minor bugs were fixed.

New features:
  • "Generic" Itemshop Items can now be expanded all at once, instead of clicking the expand link individually. The expand link is still there.
  • For those who don't want a user's level based on their posts, you may now give them experience for participating in battle.
  • You can now adjust how much experience user's get for posts.
  • New variables available for the postbit template.
  • When doing a new install, if you run all 3 install files, then you only have to do a few steps in order to jump straight into battle. The steps are: (1)Make a post. (2)Choose a value other than "Unknown" in the user cp and click submit. (3)Update your stats in the user cp. (4)Have another user do the same thing (steps 1-3). (5)Challenge the other user. (6)Join the battle. After doing this, you will want to try buying some items from the itemshop and testing those as well. Make sure you assign the appropriate values in the "Edit category" screen in the admin cp so that the items can be used in battle.
  • Some other minor aesthetic things.
The original post has been updated to include v55.

I will not be very available for the next 24 hours and I may not respond to your questions very fast. I will respond and help you as soon as I get back. Thanks for understanding.

Once again, thanks for testing!

mewgood 12-09-2002 04:17 AM

cool
I hope the full verson will come out soon;)

corsacrazy 12-09-2002 07:34 AM

all it ever says is :


You are ineligible for battle at this time. Please try updating your stats in the User Control Panel. :cry:


and i have updated a thousand times :(

Mijae 12-09-2002 08:01 AM

Why do I get a download of v53?

corsacrazy 12-09-2002 08:27 AM

^ clear temp internet files and try again ! thats wot i did and it worked 4 me

VeoMorphine 12-09-2002 11:17 AM

i see a hack of the month coming up :)

Dark Shogun 12-09-2002 01:08 PM

I didn't read the whole post yet but I was just wondering if you thought about adding the hotel hack into this.

Dark Shogun


All times are GMT. The time now is 10:03 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.03058 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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