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)

VeoMorphine 02-27-2003 01:05 PM

My rpg hack is going haywire to :P.

I got it on a localhost so i cant show you. It shows every use as being a guest. Im rpetty sure if i reinstall it, it will work fine.

Kevorkian 02-27-2003 04:22 PM

why i can't set race? i have only unknow

VeoMorphine 02-27-2003 04:23 PM

did your run the install_rpg_stuff.php file?

Kevorkian 02-27-2003 04:33 PM

yes but i can't select race and class only unknow -_-''

Darkwaltz4 02-27-2003 06:36 PM

Quote:

Originally posted by Moreliator
Darkwaltz, would you know how to make a small addon that simply penalizes a user for switching their class (character)? It can even be as simple as them losing some EXP or a level.

-More

hmm...possibly...youd havta decide how much and if you wanted it controlale through the acp ud havta wait a little bit.


also bitsys, another bugfix::

i kept gettin error messages in my tech email cause of itemshop.php queirying for incorrect things...and its from non regs trying to access that page. well, it still loads and all, but causes loads of useless email.....so, to fix it, in itemshop.php

find:
PHP Code:

if(!$options[lesanestore]) {
        if(
$pointfield) {
                
$pointss=$DB_site->query_first("SELECT $pointfield FROM userfield WHERE userid=$bbuserinfo[userid]");
                
$points = (int) $pointss[$pointfield];
        } else {
                echo 
"Invalid Pointfield.";
                
$points 0;
        }
} else {
        
//$pointss=$DB_site->query_first("SELECT storep FROM user WHERE userid=$bbuserinfo[userid]");
        
$points = (int) $bbuserinfo[storep];


and replace with:
PHP Code:

if($bbuserinfo[usergroupid] != 1) {
if(!
$options[lesanestore]) {
        if(
$pointfield) {
                
$pointss=$DB_site->query_first("SELECT $pointfield FROM userfield WHERE userid=$bbuserinfo[userid]");
                
$points = (int) $pointss[$pointfield];
        } else {
                echo 
"Invalid Pointfield.";
                
$points 0;
        }
} else {
        
//$pointss=$DB_site->query_first("SELECT storep FROM user WHERE userid=$bbuserinfo[userid]");
        
$points = (int) $bbuserinfo[storep];
}
} else {
$points 0;



Bitsys 02-27-2003 06:55 PM

Quote:

Originally posted by Sonikku
Hmm.. i dont know if this has been told before, but theres a bug with the potions, while using Potion in battle it says that it drank the potion but always recovers 0 HP...and yes, im harmed,not at full health.
And also, if you ever got the anger to increase, you might have seen that it can go over 100%....i think thats a lil bug...dunno

What version are you using? Are you sure the potions have a buff assigned to them?

The anger bug should have been fixed in the last release.
Can you provide a screenshot?


Quote:

Originally posted by Darkwaltz4
and i really hate setting 'release dates' cause something always happens at the last minute, and it keeps doing that...so, im gunna say what bitsys says ~dont ask when it will be out, but im sure ull be around to know when it does
I never say don't ask, I just say that I don't know right now or that it will be out soon ;)

Quote:

Originally posted by One-Team
Thanks Bitsys
my RPG Is Ready Now
http://www.one-team.net/forums

Your welcome :)

Quote:

Originally posted by chrisz
Is there anyway to make it after people use their anger it goes back to zero?
If not then how does anger reset to zero?

In battle, if your anger gets to 100%, then it will force you to use your "mad" attack and it will then go back down to 0%. Let me know if this is not the case.

Quote:

Originally posted by mli
Ok, my previous issues were resolves, but I was wondering. How do mages use spells?
There should be a radio button when in battle that lets the mages use their spells. The radio button should have the name of the spell, how much damage it does, and how much MA it costs to the right of it.


Quote:

Originally posted by VeoMorphine
I got it on a localhost so i cant show you. It shows every use as being a guest. Im rpetty sure if i reinstall it, it will work fine.
There are two possible causes of this. First, some of the file edits may not have been done to showthread.php. Try manually verifying that the correct edits were done.

Also, just to make sure, try running the DB Fix.

Quote:

Originally posted by Kevorkian
yes but i can't select race and class only unknow -_-''
Some of the file edits to member.php may not have executed properly. Try manually verifying that all of the edits took place.

Quote:

Originally posted by Darkwaltz4
also bitsys, another bugfix::

i kept gettin error messages in my tech email cause of itemshop.php queirying for incorrect things...and its from non regs trying to access that page. well, it still loads and all, but causes loads of useless email.....so, to fix it, in itemshop.php

Thanks :) Will be fixed in the next release!

Red Blaze 02-27-2003 07:15 PM

Ok..now potions do work, we forgot to put a buff value, sorry ^^;
Now, i found another little bug, if you are challenged, when you recieve the pm with the accept/decline link, if you just click on the Accept/Decline button without clicking on the Yes or No radio button, it automatically declines you...it should redirect you to some error template like saying: You must click Yes or No!
And also, i have some problems with the battle scene, it shows up but in the left corner it says that the battlescene.gif is invalid, and its correctly uploaded.

Bitsys 02-27-2003 07:34 PM

Quote:

Originally posted by Sonikku
Ok..now potions do work, we forgot to put a buff value, sorry ^^;
Now, i found another little bug, if you are challenged, when you recieve the pm with the accept/decline link, if you just click on the Accept/Decline button without clicking on the Yes or No radio button, it automatically declines you...it should redirect you to some error template like saying: You must click Yes or No!
And also, i have some problems with the battle scene, it shows up but in the left corner it says that the battlescene.gif is invalid, and its correctly uploaded.

Quick fix for the Decline yes/no bug:

In the template battle_confirm, find:
Code:

<input type="radio" value="No" name="confirmation">
and change it to:
Code:

<input type="radio" value="No" name="confirmation" CHECKED>
This will be fixed in the next version. Thanks :)

Does the .gif you are using for the battle background show up properly in the admin cp? Does it show up properly in battle?

Red Blaze 02-27-2003 07:54 PM

Hmm...no, it doesnt show in the admin cp but it does show in battle

Darkwaltz4 02-27-2003 08:00 PM

actually bitsys, i did have problems with my battlescenes too. the pics are just fine and still show up perfect in the acp, but i had long since dismissed the problem as 'something to set manually in the db' and since my phpmyadmin is not working....i forgot to say anything

even the default, which had been working before, doesnt show up. just blank backtable. and it does not display 'invalid battlescene' either. (in the orig files ;))


All times are GMT. The time now is 04:02 PM.

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.02415 seconds
  • Memory Usage 1,766KB
  • 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_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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