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)

Nefi 05-26-2003 12:02 AM

Well it works, and it's real nice. But I have a tiny problem. I used VBHacker to install this, if you wanted to know.

Everytime I go to a thread it would always show empty, nothing ever would show. If anyone has any idea on what this is about, please tell me. A screenshot below to show you an idea how. If you need more information tell me ( i did follow all steps )

Xziz 05-26-2003 01:57 PM

Bitsys, are you working on the final version of this hack? I have a lot of members who ask for new features but if you are going to be upgrading it i'd rather wait until you have the upgrade ready and vb3 is ready to just do a fresh install at that point. If not I will be adding features to it here and there.

Bitsys 05-26-2003 05:36 PM

Quote:

05-21-03 at 04:41 PM Dribbles said this in Post #1665
Is there a way to un-install this hack? I'm mainly concerned with the changes it made to my MySQL database. I seems like there are a lot of things to delete if I have to go in manually with PHPmyAdmin and do it by hand?? Is there an easy list of all the things to delete? thnx

There is not an easy way at the moment, as stated in the first post. If you search this thread, you can come up with a couple of ways I have described before. Quick summary: Delete all tables that were added. Delete the fields added to the userfields and user tables. Manually undo the file edits or restore the backups.

To assist in this process, you can have vbhacker give you a .txt file of how to install the hack. Using this text file, you can do the install in reverse to uninstall it.

Quote:

05-21-03 at 08:49 PM Me! said this in Post #1666
Hmm I need to test that problem some more and I'll let you know in better detail what's happening

A few minor things I noticed, when someone uses a potion regardless of their gender, it says "he" For example: "MissNegativity used the potion "Yellow Potion" to gain 300 HP. He feels much better now." it's really not a big deal at all, it seems to bug my users and I hear about it all the time XD


Thanks, I found it.

Quote:

05-24-03 at 03:59 AM eXentriC_nova said this in Post #1668
I wanna ask how can I make when healing you dont use the money in bank. I wanna to use the money in cash.
Some of my members bugging me thia problem coz them not to get any interest at all.
And also I have this problem. If anyone request a draw and the ppl who are answering to the request accidently click 'submit reply' without choosing yes or no the battle got stuck. The page just refreshes with the option either saying yes to the draw or say no tothw draw. And it goes forever.


The first problem is due to the RPG system defaulting to the bank currency instead of cash. I am reluctant to change this because it is more reliable.

The second problem sould have been fixed in the last version. Does the template not have a default option selected?

Quote:

05-24-03 at 10:40 AM MindTrix said this in Post #1669
quick question. Cause im runnin demo battles, its all good, but it seems every punch thats delt always hits. Do they ever miss? and wut about weapons etc? they got some sort of accuracy % ?

Fists only have a chance of missing if the opponent has armor. Weapons always have a chance of missing, but it is dependent upon the opponents evade, I think. They do not have an accuracy, per se, but they will miss every now and then. Previously, they were missing too much and the battle wasn't very fun.

Quote:

Yesterday at 01:24 PM sonic3d said this in Post #1671
is there a way to change the defense.

like if the buff of the shield is like 5000 and the person who attacked you with a sword has a buff of 5250, then the attack will only do 250 damage. i like this way instead, a lot better.

l8er
sonic


All formulas are editable in battle.php. Look for
PHP Code:

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

and adjust it to your liking.

Quote:

Yesterday at 05:18 PM MindTrix said this in Post #1673
wait i got a moan lol, people on my site have weapons, yet when battling its telling them they dont have any to use, so they can only use their fists, even tho the weapons are showing under their stats etc :S

Are you sure you assigned a battle type to the weapon categories? To do this, go to the Edit Items Menu and locate a Category Name. Next to the name, you should see an edit link. Click on the link and change the battle type.

Quote:

Yesterday at 08:02 PM Nefi said this in Post #1674
Well it works, and it's real nice. But I have a tiny problem. I used VBHacker to install this, if you wanted to know.

Everytime I go to a thread it would always show empty, nothing ever would show. If anyone has any idea on what this is about, please tell me. A screenshot below to show you an idea how. If you need more information tell me ( i did follow all steps )


Some of the edits to showthread.php did not work correctly. Send me your showthread.php and I will fix it for you.

Quote:

Today at 09:57 AM Xziz said this in Post #1675
Bitsys, are you working on the final version of this hack? I have a lot of members who ask for new features but if you are going to be upgrading it i'd rather wait until you have the upgrade ready and vb3 is ready to just do a fresh install at that point. If not I will be adding features to it here and there.

I am extremely close to a final version. However, this hack will not be compatible with vb3 and I don't know if I will update it to be compatible with vb3. I may just make a completely new hack for vb3, but that is doubtful right now (especially since vb3 still isn't out).

MindTrix 05-26-2003 06:43 PM

Thank 4 ya help, it might be the drop down thing u mentioned, but my servers down now so i gotta wait b4 i can check :p

PixelFx 05-26-2003 09:04 PM

Bitsys thanks for all your hard work on this..

sonic3d 05-27-2003 12:07 AM

is ne willing to expand on what this says

PHP Code:

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

i know it sats weapons damage plus the atk then does it times the element and anger plus the bonus atk. and it minuses from whose armor and def?

l8er
sonic

eXentriC_nova 05-27-2003 04:34 AM

about my 2nd problem I am using the latest version
and I dont think the template have the default selection selected.

engquist 05-27-2003 08:46 AM

I have another question:

people don't have their money count shown in their postbit (the postbit shows no value whatsoever for their money not even 0) , nor can I donate to them until they've fought a battle, I am using Lesane's store points.....how can I have their money always shown and active even if they haven't fought the first battle?

thank you for your time everyone!

my testing forums are at:

http://rom.gloriousff.com/forums2/

Bitsys 05-27-2003 04:09 PM

Quote:

Yesterday at 08:07 PM sonic3d said this in Post #1679
is ne willing to expand on what this says

PHP Code:

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

i know it sats weapons damage plus the atk then does it times the element and anger plus the bonus atk. and it minuses from whose armor and def?

l8er
sonic

See https://vborg.vbsupport.ru/showthrea...314#post359314 for more information.

Quote:

Today at 12:34 AM eXentriC_nova said this in Post #1680
about my 2nd problem I am using the latest version
and I dont think the template have the default selection selected.


Open the battle_arenadraw template. Find:
Code:

<input type="radio" name="charaction" value="drawno">
and change it to
Code:

<input type="radio" name="charaction" value="drawno" CHECKED>
Quote:

Today at 04:46 AM engquist said this in Post #1681
I have another question:

people don't have their money count shown in their postbit (the postbit shows no value whatsoever for their money not even 0) , nor can I donate to them until they've fought a battle, I am using Lesane's store points.....how can I have their money always shown and active even if they haven't fought the first battle?

thank you for your time everyone!

my testing forums are at:

http://rom.gloriousff.com/forums2/


Try putting $post[storep] in place of the other money variable in your postbit template.

There should be no restriction on when you can donate to a user. Are you sure that they have to have completed a battle before you can donate to them? What error message are you getting?

engquist 05-27-2003 10:15 PM

Quote:

Today at 11:09 AM Bitsys said this in Post #1682

Try putting $post[storep] in place of the other money variable in your postbit template.

There should be no restriction on when you can donate to a user. Are you sure that they have to have completed a battle before you can donate to them? What error message are you getting? [/B]
I have $post[storerep] being used in the postbit already....what's the other variable that you thought I might have previously had? maybe I should try it?


it will do this when I click on donate user:

I click donate user: and here's an example

Verify and choose your action below:
Username wich you want to donate to:
sun2mid

sun2mid have this amount of points on the moment:


Wich action do you want to execute?
Decrease/Increase


it should say: sun2mid have this amount of points on the moment: 0

but there is no number

then I click "increase" and I give 1000

then the screen says:

You Succesfully Donated Points To sun2mid:
You succesfully donated 1000 to sun2mid.
sun2mid have points on the moment

but between the words "have" and "points" should be the number 1000.

it seems that it won't show the amount of points they have until they engage in a battle...if you want to register at my test forum bitsys, I'll give you required access to see the problem yourself:

http://rom.gloriousff.com/forums2/





in other words, if people never choose to battle, they never have any points given to them for posting or anything. I am using VBulletin 2.3.0 and am using Lesane's store points. i have also installed the lesane's lottery addon for the shop.


All times are GMT. The time now is 05:36 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.03509 seconds
  • Memory Usage 1,797KB
  • 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
  • (3)bbcode_php_printable
  • (12)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