PDA

View Full Version : Rpg Stats vB3


Zachery
01-04-2004, 10:00 PM
Original Thanks to Knoman for the hack

I updated the stats instructions, they should work right now. there was a slight error in my txt file


Also updated the html abit and made it look atad nicer..

TheAnt
01-05-2004, 07:39 PM
Does this include template modifications for getting it on the Vertical Postbit insted of legacy?

Zachery
01-05-2004, 07:40 PM
ah no it does not, i dont use it >.< i will play around with it and update it later today

surfhog
01-05-2004, 08:00 PM
If you prefer the old-style postbit, using two vertical columns rather than the new horizontal layout, you can switch back to using that template with this switch.confused a bit? the image you show in the first post is the old "vertical"
does this include a template for the new "horizontal" please?

thank you

Seratus
01-05-2004, 08:01 PM
Yeaaah !!! I wait for this. Many THX.

TheAnt
01-05-2004, 08:03 PM
surfhog, I always get confused with vertical n horizontal oO

Zachery
01-05-2004, 08:03 PM
the screen is from beta 7 :) and no i have not had time to make a Horizontal version yet >.<

KJ_innit
01-11-2004, 03:48 PM
how does this hack work? like where does it get the figures for the 3 power bars under the avatar? is this part of a larger addition to the vb forum? *slightly confused* i want to download this but i dont know if i need anything else to run it in, other than the vb3 code.

Zachery
01-11-2004, 03:50 PM
read the install. put the code where its sposed to be. put the html where its sposed to be and bam

it generates stats based on
posts,postsperday,time registered, :)

dethfire
01-11-2004, 06:17 PM
this is great! awesome feature and it's really quite small install. any plans to make additions and add new features?

Zachery
01-11-2004, 06:36 PM
yes i do plan to add an elements system and hopefully for the pokemon lovers a evolution system, however im sure the evolution system could be worked out for ohter systems as well :)

Ryan Ashbrook
01-11-2004, 07:34 PM
Faranth, I'd really appreciate it if you made a version for the new postbit.

But since I have the vertical/horizontal postbit option for users I will still install this. :)

jluerken
01-11-2004, 08:00 PM
Yes Faranth, it would be nice if you can make an update for the postbit stuff and wait with the evolution system. :-)

Thanks in advance...

Zachery
01-11-2004, 08:15 PM
Faranth, I'd really appreciate it if you made a version for the new postbit.

But since I have the vertical/horizontal postbit option for users I will still install this. :)
the plain text will work with anything ;)

Ryan Ashbrook
01-11-2004, 08:28 PM
the plain text will work with anything ;)
I realized that after I installed it. :p

DaPro
01-12-2004, 10:59 PM
just wanted to show u ur stats thing in full effect, i did some tweaking, nothing big. Head over to http://forums.ani-pro.com and check it out, ill send u the code if you like, I do have 1 issue with it tho. the last image cuts off in the percent bar, but maybe I will be able to fix it :)

Zachery
01-12-2004, 11:04 PM
just wanted to show u ur stats thing in full effect, i did some tweaking, nothing big. Head over to http://forums.ani-pro.com and check it out, ill send u the code if you like, I do have 1 issue with it tho. the last image cuts off in the percent bar, but maybe I will be able to fix it :)
not bad,

i do like the bars and i must say very nice design

DaPro
01-14-2004, 12:25 PM
Well, I got alot of PM's for this modification I made, but I wasn't expecting it, and I am sorry I am so late with this, but in the attachments is the text file that tells you how to have your stats like mine, exactly like mine for instance, I am including my images and so forth if you would like to use them. Have fun. :nervous:

Live Demo: http://forums.ani-pro.com (View a thread)

jluerken
01-14-2004, 12:42 PM
Hi DaPro,

very very nice page design that you have there. You should sell it :-)

On question, is your hack working for vertical and horizontal postbit?

Zachery
01-14-2004, 02:48 PM
Hi DaPro,

very very nice page design that you have there. You should sell it :-)

On question, is your hack working for vertical and horizontal postbit?
yes just the text version and yes

CdaKnight
01-14-2004, 03:04 PM
I made the image version work for the horizontal and vertial postbits.

Check board.anirpg.com

Zachery
01-14-2004, 03:13 PM
I made the image version work for the horizontal and vertial postbits.

Check board.anirpg.com
its not hard to do, i just havent had the time or the want to do it :) ive been busy writing hacks and developing the next windows XP skins for RC :)

DaPro
01-14-2004, 05:12 PM
Well you can use what I did and make the next version of the RPG stats Faranath, I made it work with both the verticle and horizontal postbits :)

Rampag33
01-14-2004, 06:48 PM
Anyway I can make this work globally ont he forums instead of just on the showthread. For example I want to show it on FORUMHOME as well as other pages.

Zachery
01-14-2004, 07:01 PM
Well you can use what I did and make the next version of the RPG stats Faranath, I made it work with both the verticle and horizontal postbits :)
can you please remove the whole install file, and just attach the text instructions? ill point it out that you helped :) but i dont want more than one copy in the thread.

where would you show it on forum home?

Detomah
01-29-2004, 09:08 PM
I've had this installed on my forum for about a week (sorry, forgot to click install at the time, done it now though).

My users love it, especially as i run a gaming related website in the first place, it's making my users visit the forum and post a lot more regular than they were. :)

Piece of cake to install too. :)

Thanks.

nguyenvu27
01-30-2004, 12:16 AM
look is very good! thank alot

blakkboy
03-22-2004, 02:41 AM
mines not looking the same..... could you tell me what i did wrong???

Zachery
03-22-2004, 04:30 AM
mines not looking the same..... could you tell me what i did wrong???
If you give me a few days ill release abit of an updated version

blakkboy
03-22-2004, 04:32 AM
cool.....

blakkboy
03-22-2004, 04:28 PM
you have a slip-up in the code

instead of

<td class="rpg2" nowrap="nowrap" ><img alt="$post[username]'s XP" src="images/bar/bxg.gif" width="$ep%" height="8" /><img alt="$post[username]'s XP" src="images/bar/bxb.gif" width="1" height="8" /></td>


it should be

<td class="rpg2" nowrap="nowrap" ><img alt="$post[username]'s XP" src="images/rpg/bxg.gif" width="$ep%" height="8" /><img alt="$post[username]'s XP" src="images/rpg/bxb.gif" width="1" height="8" /></td>

Nhat_Long
03-28-2004, 09:34 AM
is there already any update for this hack.

Becouse we have the problem that on certain ocasions the EXP goes down to 1.

Zoints
04-03-2004, 08:31 PM
I understand how the HP works, but what is the MP and other stats based upon? What makes them go up and down?

Thank you kindly.

Synicide
05-12-2004, 10:11 PM
Hmm... no updates Zak? ^_^

Zachery
05-12-2004, 10:32 PM
Hmm... no updates Zak? ^_^
Havent had the need to update, id really like to rewrite this with a few added features but i barely have time for eveyrhting else im doing

And i no longer use it on any of my sites.

Synicide
05-12-2004, 10:34 PM
Havent had the need to update, id really like to rewrite this with a few added features but i barely have time for eveyrhting else im doing

And i no longer use it on any of my sites.
Makes sense dude. ^_^
Hopefully you can come back to this one sooner or later.

bigreefer
05-13-2004, 08:55 AM
What does HP/MP/EXP means `?

Boofo
05-13-2004, 10:40 AM
Nhat_Long,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (http://www.vbulletin.com/members/membersupport_priority.php) (vB-germany users click here (http://www.vbulletin-germany.com/members/forums.php)) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.

JTMON
05-21-2004, 12:58 AM
Thanks for the great hack but the text instructions need to be updated/changed as you have the wrong path to the last bar image listed. Other than that...freaking awesome to have this hack back again for 3.0

FallingIdol
05-21-2004, 06:27 PM
the width of the bars is always random like the exp sometimes is longer than the rest or mp for that matter is there anyway to make them all the same size thanks in advance.

JTMON
05-21-2004, 07:41 PM
thats because the image paths are wrong for the exp....they should be images\rpg\imagename.gif and not images\bar\imagename.gif. Check your template code.

Trigunflame
06-03-2004, 02:24 AM
The code for this hack is really....really bad, no offence to whoever wrote it and using the arithmatic functions currently used to get stats is CPU% intensive :/

Zachery
06-03-2004, 03:17 AM
O.o what? i dont see how they could be, what kind of processor is causing this bit of math to cause problems?

Trigunflame
06-03-2004, 05:04 AM
The use of log10 / pow times 50+ post per page, with several hundred online does not work good on server load.

Not only that the, the code usage is eh..not so good for instance


if ($hpmulti > 1.5) {
$hpmulti = 1.5;
}
if ($hpmulti < 1) {
$hpmulti = 1;
}


Why not just use an elseif, instead of a Whole other If structure, thats inefficient (now we have to remember we're doing this in 50+post per page), excessive usage of floor() etc.. the declaration of so many variables is pointless, would be a lot more straightforward and efficient to just use an array of such ie.


Instead of This:

$rpglvl
$level
$ep
$showlevel
$hpmulti

Use:
$rpg_stats['rpglvl']
$rpg_stats['level']
$rpg_stats['ep']
$rpg_stats['showlevel']
$rpg_stats['hpmulti']


Not only all of the aformentioned log10 and pow's, lots and lots of * and /, its not mearly a 'bit' of math, considering your having to do this for every post shown on a page. Now this may be fine on a small forum, but on a very busy forum processing all of this math takes cpu cycles.

I suggest making a heavier mod to the user table, and updating the stats when they make a new thread or post, thus saving overhead and processing time on every page load.

Of course I doubt you wanna bother with that, so I may release my own hack shortly to combat this problem... It may seem insignificant to many, but to me speed is everything.

Thats just my take and observation of the code provided, no pun is intended whatsoever.

zenmasteril
06-19-2004, 05:38 PM
How does the measuring achieved (In each on) ??
Please tell me that i could explain my members... :nervous:

fiber1
08-08-2004, 03:21 AM
Must be overlooking something here but I don't see "images/rpg"

I have the "/images" but no "rpg"?

Fiber

Knoman
10-09-2004, 03:46 AM
Good work Zach =)
As for not replying earlier, I've pretty much done with vB hacking. Hell, I dont even have a subscription anymore :P
I just came to visit and was suprise people still talking about this system.

Zachery
10-09-2004, 04:43 AM
Good work Zach =)
As for not replying earlier, I've pretty much done with vB hacking. Hell, I dont even have a subscription anymore :P
I just came to visit and was suprise people still talking about this system.Good to see you alive :) if youve got some free time can i contact you on msn?

Knoman
10-10-2004, 04:30 AM
I dont mind at all. However, I havent coded anything in the longest time and I tend to forget languages quickly (like Spanish) :P
So, I dont know if I'll be any use to you.

Shadow Blaze
10-12-2004, 06:57 PM
make this thing so there like more to it O.o like for roleplaying like adidng sections and what not

Bro_Joey_Gowdy
02-12-2005, 12:00 AM
Out of curiousity, does it work with Vb RPG Inferno ver 2.1.1 ?

coffeefix
06-17-2005, 12:52 AM
I installed this hack and this is how mine looks, is there any way to fix it? I got the same result with the default template. Maybe it's just because I installed it on 3.0.7? Here is a screenshot:


https://vborg.vbsupport.ru/external/2005/06/6.gif


Thanks.

Zachery
06-17-2005, 11:21 AM
I installed this hack and this is how mine looks, is there any way to fix it? I got the same result with the default template. Maybe it's just because I installed it on 3.0.7? Here is a screenshot:


http://img84.echo.cx/img84/3262/image28ct.gif


Thanks.
looks like you didn't upload the images?

coffeefix
06-17-2005, 12:21 PM
I did, but I'll reupload them and see what happens. Thanks for your reply. :)

coffeefix
06-17-2005, 01:28 PM
I fixed the problem. There is a mistake in the directions, for the template edit. The directions for uploading the images say: upload all images to /images/rpg

Yet in the template edit. the exp image is being called from "images/bar"

<td class="rpg2" nowrap="nowrap" ><img alt="$post[username]'s XP" src="images/bar/bxg.gif" width="$ep%" height="8" /><img alt="$post[username]'s XP" src="images/bar/bxb.gif" width="1" height="8" /></td>


I just changed bar to rpg, and it works perfectly.

Zachery
06-17-2005, 01:30 PM
Sorry, its been forever since I've used this hack :)

Zachery
06-20-2005, 01:18 PM
Updated the install instructions.

Bro_Joey_Gowdy
08-01-2005, 06:44 PM
Zach, whats up bro ?

Is this available for vb3.5.0 yet ?

Ive requested it here :

https://vborg.vbsupport.ru/showthread.php?t=93153

ffevo
02-12-2006, 07:50 AM
I would also REALLY Love this hack for 3.5.X Please!! Ive been looking around for it.. forever..

Mr.Danko Jones
11-15-2007, 04:05 AM
Or even 3.6.8. I was going to try and add it but realized that the instructions are too far out of date for me to install. :(

Zachery
11-15-2007, 05:51 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=93552" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=93552</a>

Mr.Danko Jones
11-16-2007, 04:12 AM
Thanks! If you checked my board, you'll see that a very basic version of this plug-in is functional. However, I cannot understand why my links to the images aren't working. Does this version also include a box around the stats or are they fluid?:)