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 07-31-2003 06:20 PM

Quote:

Yesterday at 03:21 AM Areku said this in Post #2037
Woops! Already translated it...

Now I'm just missing how to translate the name of the months and the "th" besides the DATE (already modified the th,rd on the positions).

SInce I guess it's the system Date, how could I modify this?

And oh yes, I use the Today/Yesterday hack... is it possible to use this on the Arcade?


Thanks!

Umm, I am not sure about how to do that.

Quote:

Yesterday at 05:36 AM Triade said this in Post #2038
I installed the hack but that's an odd thing. Some users told me that in battle they do always 5 hit damage.
They are at level 1 and fight with fists.
3 battles always with 5 hit each one.

Why? there's a way to modify it?
i modifyed the .15 in the battleupdate.php but nothing happened.

Can you help me?

Edit to add:

There's a way to give an ampount of money to a new member when he signs in the forum?


Fist damage is based on the user's level. Once they level up a few times they should be doing more damage and it should be more random.

Quote:

Yesterday at 04:38 PM VeoMorphine said this in Post #2045
wow, back after a huge vacation. Nice to see this hack is still in development. When is it going final? ANd im going to put this on my new site.

No estimate for final.

Quote:

Yesterday at 08:11 PM chrisz said this in Post #2046
I have a suggestion for an addon.
I tried it myself and no luck. (I might stick to gfx lol)
Well what I want it to do is, when you pick a race, you have certain class types, with certain classes.
So each race has its own class types/ classes.
DW if you want me to explain more I can talk to you lataz on msn.
And bitsys your aim is messing with me your always afk! lol.
Anyways I have gotten emails about making more battle scenes.
If you like my battle scenes (the ones in the hack) PM me if you want more. I have about 50 unreleased.


Hmm, I always get your messages an hour after I go to sleep and an hour before I wake up. Kind of odd. You can always try PMing me here.

Quote:

Today at 07:38 AM Me! said this in Post #2047
Hmm an interesting idea someone gave to me today. To have certain gender-specific items. Like hairbow for women and such. That would be a cool idea ^^

Interesting indeed.

Areku 07-31-2003 06:34 PM

Bitsys, my apologies, my message was for another hack (the Arcade ;))

legendarysk8er 08-01-2003 12:54 AM

I've recently had a problem. On my forums I have about 3,400 posts and I'm about 1500 more than the second top poster. My character was 12,000 hp when we first made the rpg, and a few days ago he dropped to 7,000. Most other members that our like 20 levels below have like more hp than me, I didn't edit my account or anything, and I dont know whats wrong.

Wedge 08-01-2003 03:45 AM

Hey, I just installed it on my board... but the itemshop.php won't load. and I get a mysql error.. the battle page works as does the cp page... but itemshop and heal get:

Database error in vBulletin 2.2.7:

Invalid SQL: SELECT items_user.bankval, userfield.field5 FROM items_user, userfield WHERE items_user.userid='1' AND userfield.userid='1'
mysql error: Unknown column 'userfield.field5' in 'field list'

mysql error number: 1054

Can someone help me?

Triade 08-01-2003 09:36 AM

Little problem with weapons... they do a lot of miss...
here a log of a battle...

Quote:


Morkai tried to use his fists. Luck was with him, and he dealt Mikael 31 points of damage.
Morkai shouts:
ma il forum era andato down ??
Debug Variables:
Damage Done ($damagedone): 31
New HP ($newhp): 51



Uh-oh, looks like someone got mad. Mikael used his Spada Katana to deal 2 points of damage. Morkai tried to dodge, but was not successful.
Mikael shouts:
ehm, te lo richiedo, mi aiuti a testare o no? Il tutto ? ancore in fase di test e se non si testa non si mette a posto.
Debug Variables:
Anger ($anger): 1.5
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 71
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): 2 == [floor((2 + 293.971251475) * 0.5 * 1.5 + 0 - 0 - 219.048115334)]
Dodge Chance ($dodgechance): 100
New HP ($newhp): 249



Morkai used his Ascia di ghiaccio, but Mikael dodged! Morkai's anger grows by 13.
Morkai blasts:
si ma cosa vuoi testare ??
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 90
Random Mad ($randmad): 13



Mikael used his Spada Katana, but failed to do any damage to Morkai. Morkai begins to taunt Mikael! Mikael's anger grows by 15.
Mikael shouts:
le armi, le stiamo ancora mettendo a posto... devo capire com'? possibile che ho missato per 17 volte di seguito con te quando con triade lo colpivo ad ogni colpo...
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 82
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): -58 == [floor((2 + 293.971251475) * 0.5 * 1 + 0 - 0 - 219.048115334)]
Random Mad ($randmad): 15



Morkai used his Ascia di ghiaccio, but failed to do any damage to Mikael. Mikael begins to taunt Morkai! Morkai's anger grows by 12.
Morkai blasts:
anche io misso sempre... le uniche volte che tu non missi ? quando usi berserek
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 87
Regular Attack Bonus ($regattbonus): 147.345643761
Regular Defense Minus ($regdefminus): 153.696337936
Damage Done ($damagedone): -68 == [floor((0 + 147.345643761) * 0.5 * 1 + 0 - 0 - 153.696337936)]
Random Mad ($randmad): 12



Mikael used his Spada Katana, but failed to do any damage to Morkai. Morkai begins to taunt Mikael! Mikael's anger grows by 13.
Mikael shouts:
ma tu leggi le mosse normalmente o vedi anchei messaggi di debug? ho messo su il debug per capire il problema..
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 65
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): -60 == [floor((2 + 293.971251475) * 0.5 * 1 + 0 - 0 - 219.048115334)]
Random Mad ($randmad): 13



Morkai used the potion "Potion" to gain 100 HP. "I've never felt better", says Morkai.
Morkai taunts:
si lo vedo il debug..
capisco solo che la chance per colpire ? 0.9 quindi sotto 1 forse ? per quello..
Debug Variables:



Mikael used his Spada Katana, but failed to do any damage to Morkai. Morkai begins to taunt Mikael! Mikael's anger grows by 15.
Mikael shouts:
no, probabilmente ? nella formula lunga.. quello 0.5 che divide la prima parte a met? e ci sottrae la seconda parte.. risultato: danno negativo e quindi miss
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 82
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): -70 == [floor((2 + 293.971251475) * 0.5 * 1 + 0 - 0 - 219.048115334)]
Random Mad ($randmad): 15



Morkai used his Ascia di ghiaccio, but failed to do any damage to Mikael. Mikael begins to taunt Morkai! Morkai's anger grows by 10.
Morkai taunts:
non so..

cmq ho usato per sbaglio la pozione 100gil buttati
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 80
Regular Attack Bonus ($regattbonus): 147.345643761
Regular Defense Minus ($regdefminus): 153.696337936
Damage Done ($damagedone): -65 == [floor((0 + 147.345643761) * 0.5 * 1 + 0 - 0 - 153.696337936)]
Random Mad ($randmad): 10



Mikael tried to use his fists. Luck was with him, and he dealt Morkai 35 points of damage.
Mikael taunts:
LOL. Uso un secondo il pugno per vedere la differenza... te usa katana mi raccomando... anche perch? intanto expi visto che ogni mossa ? 2 px
Debug Variables:
Damage Done ($damagedone): 35
New HP ($newhp): 216



Morkai used his Ascia di ghiaccio, but failed to do any damage to Mikael. Mikael begins to taunt Morkai! Morkai's anger grows by 14.
Morkai shouts:
usando l'arma viene | bonus attacco * 0.5 * 1 + 0 - 0 - malus difesa |
quindi avendo attacco maggiore dovrebbe riuscire..

cmq non usare pi? pugno se no mi fai secco
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 83
Regular Attack Bonus ($regattbonus): 147.345643761
Regular Defense Minus ($regdefminus): 153.696337936
Damage Done ($damagedone): -64 == [floor((0 + 147.345643761) * 0.5 * 1 + 0 - 0 - 153.696337936)]
Random Mad ($randmad): 14
As you see, there's worse chance of hit with weapons and a good one with fists

It a buff weapon problem? or something else?

Bitsys 08-01-2003 01:07 PM

Quote:

Yesterday at 08:54 PM legendarysk8er said this in Post #2050
I've recently had a problem. On my forums I have about 3,400 posts and I'm about 1500 more than the second top poster. My character was 12,000 hp when we first made the rpg, and a few days ago he dropped to 7,000. Most other members that our like 20 levels below have like more hp than me, I didn't edit my account or anything, and I dont know whats wrong.

Since HP is based on posts per day and the amount of time you have been with the forums, it is possible that your HP went down because you posted less, or the other members have a much higher post per day count. Can you verify this?

Quote:

Yesterday at 11:45 PM Wedge said this in Post #2051
Hey, I just installed it on my board... but the itemshop.php won't load. and I get a mysql error.. the battle page works as does the cp page... but itemshop and heal get:

Database error in vBulletin 2.2.7:

Invalid SQL: SELECT items_user.bankval, userfield.field5 FROM items_user, userfield WHERE items_user.userid='1' AND userfield.userid='1'
mysql error: Unknown column 'userfield.field5' in 'field list'

mysql error number: 1054

Can someone help me?


Did you run install_itemshop_items.php?

Quote:

Today at 03:40 AM Me! said this in Post #2052
I'm having a little problem displaying items. I did as you said about keep adding"AND" statements to only display certain items. However it displays only in text now. For example this is what I did in admin/functions.php:

Code:

}
        $xc="item$nr";
        if($post[$xc]!="No Item" AND $nr == 1 AND $nr == 2 AND $nr == 3 AND $nr == 4) {
                $xvv = "item$nr";
                $xvvv = "icon$nr";
                if(empty($post[$xvvv])) {
                        $post[items] .= "<a href=\"itemshop.php?action=view&id=$post[$xv]\"><img src=\"https://vborg.vbsupport.ru/images/itemshop/$post[$xvv].gif\" border=\"0\" alt=\"$post[$xvv]\"></a> ";
                } else {

To show the items I used:

Code:

$post[item1]
and in the postbit it doesn't display an image, rather it just says "Cotton Shirt"


Try doing this instead:
Code:

}
        $xc="item$nr";
        if($post[$xc]!="No Item" AND ($nr == 1 OR $nr == 2 OR $nr == 3 OR $nr == 4)) {
                $xvv = "item$nr";
                $xvvv = "icon$nr";
                if(empty($post[$xvvv])) {
                        $post[items] .= "<a href=\"itemshop.php?action=view&id=$post[$xv]\"><img src=\"https://vborg.vbsupport.ru/images/itemshop/$post[$xvv].gif\" border=\"0\" alt=\"$post[$xvv]\"></a> ";
                } else {

Quote:

Today at 05:36 AM Triade said this in Post #2053
Little problem with weapons... they do a lot of miss...
here a log of a battle...



As you see, there's worse chance of hit with weapons and a good one with fists

It a buff weapon problem? or something else?


I see two problems. First, the armor that each person is wearing is providing a huge defense bonus. Second, the element types of each person are both considered the weaker one to their opponent. This means that all damage is halved. My only suggestion would be to halve the defenses of all armor, but maintain the current prices. Or, you could let people just use their fists when it is a stalemate with weapons.

Wedge 08-01-2003 01:09 PM

Quote:

Today at 03:07 PM Bitsys said this in Post #2054



Did you run install_itemshop_items.php?



Yep. And when I did vbhacker, it didn't require any manual changes... maybe it is because I'm using 2.2.6? If I used 2.3.0 instead, would it work?

-Wedge

Triade 08-01-2003 09:30 PM

Quote:

I see two problems. First, the armor that each person is wearing is providing a huge defense bonus. Second, the element types of each person are both considered the weaker one to their opponent. This means that all damage is halved. My only suggestion would be to halve the defenses of all armor, but maintain the current prices. Or, you could let people just use their fists when it is a stalemate with weapons.

Hmmm the people in this case didn't have any armour...
Only weapons.
one with buff 2 the other with buff 0...

Any suggestion about how to put buffs on items and, the average number to give HP in Elements?

Darkwaltz4 08-01-2003 09:36 PM

wow, buffs have to be HUGE becausebuff is about the amount of damage the weapon will be doing....2 just leaves it at such a horribly low amount O.o unless you plan to have like 100x hp or something

Mistah Roth 08-02-2003 01:12 AM

Hey DarkWaltz, are your addons included in the integration zip? or do we have to install them seperately?


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