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)

chrisz 02-26-2003 11:38 AM

Wouldnt that take forever though?

Bitsys 02-26-2003 11:41 AM

Quote:

Originally posted by chrisz
Wouldnt that take forever though?
No. I've done it before.

chrisz 02-26-2003 11:44 AM

How long to do it properly?

Bitsys 02-26-2003 11:45 AM

Quote:

Originally posted by chrisz
How long to do it properly?
Hour or so.

chrisz 02-26-2003 11:46 AM

Crap!

chrisz 02-26-2003 11:48 AM

Well my RPG is open if anyone wants to look:
http://ffsaiyans.xeko.net/forum

PSI|Dr-X 02-26-2003 01:47 PM

Nice music ... :)


Edit

Here my forums

http://forum.axenki-xl.com/ (dutch forum)

*it is on another license :) i have 2 license lol*

my members like the rpg idea very much bytsis

thnx for the great hack.... {do you have a forum?}

Darkwaltz4 02-26-2003 03:21 PM

one thing you should definately do is keep backups of every single thing.....since ive really only done partial upgrades here and there (like ive avoided whs online and such) i just decided to see if vbhacker would not install some things cause the saerch code already existed....crashed everything, lol

but back in a little while....

PSI|Dr-X 02-26-2003 03:46 PM

i backup ever day 2 times and put it in another folder + download my whole vb :)

and darkwalterz4 *if you are the one with summon*

when will it be out?

lioncool1589 02-26-2003 04:33 PM

i just finished install this hack on my forum
come help me test it out www.clan-ice.com

Red Blaze 02-26-2003 04:50 PM

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

Darkwaltz4 02-26-2003 08:07 PM

Sonikku, are yo sure uve set up your potions to 1) the buff amount 2) the type of potion they are (heal hp, full, ma, etc)

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 ;)

PSI|Dr-X 02-26-2003 08:13 PM

Potion is workin fine by me......

Moreliator 02-26-2003 10:15 PM

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

One-Team 02-27-2003 02:05 AM

Thanks Bitsys
my RPG Is Ready Now :cool: :cool: :cool:
http://www.one-team.net/forums

chrisz 02-27-2003 05:43 AM

Yeah that would good i hate them switching all the time.

chrisz 02-27-2003 06:14 AM

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?

mli 02-27-2003 09:46 AM

Ok, my previous issues were resolves, but I was wondering. How do mages use spells?

chrisz 02-27-2003 12:24 PM

Its just like a weapon.
They buy it then they can select it during battle like anythig else.

chrisz 02-27-2003 01:00 PM

Hey how can I make it after a user has selected their alignment it becomes invisible or they cant edit it again?

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 ;))

chrisz 02-27-2003 08:52 PM

I have about 10 Battle scenesa I made and they work fine:
http://ffsaiyans.xeko.net/screenie1.gif
http://ffsaiyans.xeko.net/screenie2.gif

Bitsys 02-27-2003 09:26 PM

Quote:

Originally posted by Sonikku
Hmm...no, it doesnt show in the admin cp but it does show in battle
hmm, see if you can answer these questions for me:
What is the name of the battlescene?
What does the img tag of the broken image say?
What is the location of your image folder?
Did you add the file type extension to the name of the image in the admin cp?
What kind of image is it (file type)?


Quote:

Originally posted by Darkwaltz4
even the default, which had been working before, doesnt show up. just blank backtable.
What does the img tag say for the background when in battle? Is it blank?

Red Blaze 02-27-2003 10:37 PM

Oops!!! Sorry.....but the file wasnt on a folder...the images folder, but it was in the template folder, so when i moved it it didnt found the image but it was over there, so there are 2 copies of it..kinda weird

sonic3d 02-28-2003 12:04 AM

i have a armor item. how does this work? the buff is 250. does it block 250 damage? i fought in a battle and the item didn't do nothing. there wasn't an options to defend or use the item.

l8er
sonic

Bitsys 02-28-2003 12:56 AM

Quote:

Originally posted by sonic3d
i have a armor item. how does this work? the buff is 250. does it block 250 damage? i fought in a battle and the item didn't do nothing. there wasn't an options to defend or use the item.

l8er
sonic

Since you are always wearing armor, the battle does not ask you if you want to use it. The armor will block 250 of the TOTAL damage. Here is the formula for how damage is calculated:

$damagedone = @floor(($weapon[damage] + $regattbonus) * $uelemod * $anger + $bonusattack - $armor - $regdefminus);

where:
$damagedone = the total damage done
@floor = a function that rounds down the answer
$weapon[damage] = the damage done by the attacker's weapon
$regattbonus = the regular attack of the attacker
$uelemod = the elemental bonus
$anger = how angry the person is (1 if they are not angry yet)
$bonusattack = any items worn by the attacker that give a plus to attack
$armor = the buff value of the defender's armor
$regdefminus = the reg defense proportion of the defender

sonic3d 02-28-2003 01:19 AM

thanx, that was a very nice summary u gave there.

l8er
sonic

Dribbles 02-28-2003 08:36 AM

Does "update stats" happen automatically everytime someone logs into the forum and logs out?

Bitsys 02-28-2003 10:43 AM

Quote:

Originally posted by Dribbles
Does "update stats" happen automatically everytime someone logs into the forum and logs out?
No, it only happens when you go to the user cp and update your stats manually.

chrisz 02-28-2003 10:57 AM

Is there any way to make it so after uses set up their stuff they cant change it?
Can you do this for any of the RPG options at least?

Moreliator 02-28-2003 11:38 AM

Quote:

Originally posted by chrisz
Is there any way to make it so after uses set up their stuff they cant change it?
Can you do this for any of the RPG options at least?

i agree that this is an important option for the RPG, either that or a penalty for changing :)


All times are GMT. The time now is 11:07 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.03037 seconds
  • Memory Usage 1,845KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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