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)

kaotic 05-30-2003 03:57 PM

(Just thought I'd point something out)

Quote:

$rpggenderimage = '<img src="{imagesfolder}/gender/female.gif" alt="Male" border="0">';
} elseif($rpguser[rpggender] == "2") {
$rpggendername = "Male";
$rpggenderimage = '<img src="{imagesfolder}/gender/male.gif" alt="Female" border="0">';
The gender gifs and alts were mixed up in rpgcp.php.

Bitsys 05-30-2003 04:08 PM

Quote:

Today at 11:57 AM kaotic said this in Post #1706
(Just thought I'd point something out)



The gender gifs and alts were mixed up in rpgcp.php.

Oops, thanks!

Mijae 05-30-2003 04:13 PM

Bytsis, in the itemshop categories when you chose "+1 to atk/+1 to def" it doesnt do anything :P

It doesnt even add +1, and the buff wont work either.

Also, can you explain how damage is calculated? Or in which post in this thread can I read about it?

Mijae 05-30-2003 04:19 PM

Also Bytsis, this was posted somewhere on page 158 I believe:

PHP Code:

if($battleopt[givewinexp] == && $battleopt[expperwin] > 0) {
if(
$battle[winnerid] > 0)
$DB_site->query("UPDATE user SET xp=xp+($opponentlevel*$battleopt[expperwin] WHERE userid='$battle[winnerid]'");


Is it safe for me to replace your code with that modification?

PixelFx 05-30-2003 05:09 PM

Quote:

9. In the point field option put in field# and replace # with the number you recorded in step 7.
guess I missed this in the instructions :P works good now, from what I can tell, I'll update this post as I test :) can't wait to add the new art :)

Ok thanks for the modifyprofile info, I'm posting my changed modifyprofile template for those that need a fix for dual fields :)

I think I got more of the bugs worked out of this template :) got rid of the dual posting for the rpg name as well :)

next fun making custom post bit :)

Update: clean install, after making above changes, added custom profile, and custom postbit. just need people to help test. :)

Bitsys 05-30-2003 10:10 PM

Quote:

Today at 12:13 PM v0id said this in Post #1708
Bytsis, in the itemshop categories when you chose "+1 to atk/+1 to def" it doesnt do anything :P

It doesnt even add +1, and the buff wont work either.

Items with this battle type will add to your attack damage or defense rating as long as you have them in your inventory. Make sure the items have a buff value assigned, or else they won't add anything.

Quote:

Today at 12:13 PM v0id said this in Post #1708
Also, can you explain how damage is calculated? Or in which post in this thread can I read about it?
https://vborg.vbsupport.ru/showthrea...314#post359314

Quote:

Today at 12:19 PM v0id said this in Post #1709
Also Bytsis, this was posted somewhere on page 158 I believe:

PHP Code:

if($battleopt[givewinexp] == && $battleopt[expperwin] > 0) {
if(
$battle[winnerid] > 0)
$DB_site->query("UPDATE user SET xp=xp+($opponentlevel*$battleopt[expperwin] WHERE userid='$battle[winnerid]'");


Is it safe for me to replace your code with that modification?


I don't see a page 158 :( Could you give a link?

Just glancing at it though, that code looks fine.

Moreliator 05-31-2003 01:49 AM

Quote:

05-29-03 at 10:20 PM Bitsys said this in Post #1694
Version 0.67 is done. Check the first post for the new .zip file. Upgrade instructions are included in the upgrade directory.

This is a bug fix version.



Bitsy, does this version fix the bug where in the Item Admin Panel when you try to add categories over ID 10 it gets confused (I.E. Category ID 12 and 2 mirror each other).

Mijae 05-31-2003 02:53 AM

Ok, I resetted my RPG and now users can use their weapons! They are all selected as generic and stuff, but they just cant select them :P

Bitsys 05-31-2003 02:28 PM

Quote:

Yesterday at 09:49 PM Moreliator said this in Post #1712
Bitsy, does this version fix the bug where in the Item Admin Panel when you try to add categories over ID 10 it gets confused (I.E. Category ID 12 and 2 mirror each other).
Yes, it should fix that problem.


Quote:

Yesterday at 10:53 PM v0id said this in Post #1713
Ok, I resetted my RPG and now users can use their weapons! They are all selected as generic and stuff, but they just cant select them :P

So the can or can't use their weapons?

Mijae 05-31-2003 04:17 PM

Here is the attached screenshot of that (small size). What I did was reset RPG and then repopulate the itemshop table with the install_itemshop_items.php and they all got in there, but then it gave me a database error about battle_items table I believe. The whole RPG works but users just cant use their weapons.

Then I deleted category 3 because it was useless since I couldn't get the potions to work in there (no tickbox to make it heal, etc), and then created a new category. Not sure if thats the problem.

I also ran the DB Fix and it did nothing.


All times are GMT. The time now is 03:47 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.03540 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (9)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