[BETA] EXP LEVEL BAR MOD {0.5.2}

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Ray Yojimbo
Registered User
Posts: 14
Joined: Thu Apr 28, 2005 5:39 am
Location: dreamworld
Contact:

[BETA] EXP LEVEL BAR MOD {0.5.2}

Post by Ray Yojimbo »

MOD Title: EXP LEVEL BARMOD
MOD Description: This MOD displays a neat little EXP Level bar under the avatar in the topic and in the profile. Also your rank changes according to the level.
MOD Version: 0.5.2

MOD Download: http://www.punkside.de/levelbar.mod.zip

Demo Board: http://www.rykalstudio.de


first what's new:
BETA-STATUS... I hope this is right...
please tell me if you have any problems or experience any bugs!

Code: Select all

## 
## MOD History: 
## 
## 2004-08-14 - Version 0.0.1 
## - It does display the posts needed, but only correctly in the newest post 
## - no progress bar yet 
## 
## 2004-08-16 - Version 0.2.1 
## -Progress Bar is being displayed, yay! 
## -used totally different code... 
##
## 2005-04-28 - Version 0.3
##  -started new, used the some code form HP/MP/EXP MOD
##  -still have to change the rank change automaticaly
##
## 2005-04-29 - Version 0.4
##  -should work with easymod now
##  -copys images by itself
##
## 2005-04-29 - Version 0.4.1
##  -a few minor bugfixes
##
## 2005-04-30 - ver. 0.4.2
##  -some more changes and fixes
##  -added formula for levels to the notes
##
## 2005-05-02 - ver. 0.4.3
##  -changed exp. display
##
## 2005-07-09 - ver. 0.4.4
##  -fixed some bugs, should work and be displayed properly now
##
## 2005-07-20 - ver. 0.5.0
##  -redid big parts of the code
##  -you don't need Rank Gain Access MOD anymore, you only have to select 'points' in the Rank Admin Panel...
##  -you can now choose between posts and points and
##   set them yourself
##  -todo: expbar doesn't work... =(
##
##
## 2005-07-21 -ver. 0.5.1
##  -the expbar should work now, added new field to ranks table
##  -posts/points needed for next level/rank have to be set in admin panel.
##
## 2005-07-21 - ver. 0.5.2
##  -replaced some accidentally wrong written code


This mod also works with points (cash mod), but you can use posts if you want to (please read the author notes)

rar download
zip download

images of the admin panel: List of ranks, Editing Ranks

DEMO
(PM me if you want to play with the Admin Panel)
Ray
Last edited by Ray Yojimbo on Thu Jul 21, 2005 6:56 pm, edited 20 times in total.
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy »

looking good so far, nice work ;)
just wondering on the way this works though -
how many posts does a user have to make to go to the next level?
is it like 1 point per post? or can you change it?

would it matter if i didn't include this in the profile (my user profile is a tad cramped :lol: )
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Ray Yojimbo
Registered User
Posts: 14
Joined: Thu Apr 28, 2005 5:39 am
Location: dreamworld
Contact:

Post by Ray Yojimbo »

Well this Mod depends on points, not on posts and you configure how many points you get in the Cash Admin Panel.

The MOD works with a special formula, which works nice, the only drawback is, that you have to set your rank changes manually.

But I want to change that.
For the time being the info when the level changes (at how many points) is under the AUTHOR NOTES in the .mod file, looking like this:

Code: Select all

##  If you want the rank to change every level, you still have to change it manualy in the admin panel:
##  rank 1: 0 points
##  rank 2: 10 points
##  rank 3: 19 points
##  rank 4: 28 points
##  rank 5: 39 points
##  rank 6: 52 points
##  rank 7: 66 points
##  rank 8: 88 points
I'll need to find a way for the MOD to do this automaticaly.


Doesn't matter if you include it in the profile or not.
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy »

ok, cool :)

lol, just seen the notes about cash MOD there. i've not installed that yet. i might do it and give this MOD a try ;)

ooh, and you need to take the 'easymod compliant' line out of your MOD template, otherwise your MOD will get denied :wink:
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Ray Yojimbo
Registered User
Posts: 14
Joined: Thu Apr 28, 2005 5:39 am
Location: dreamworld
Contact:

Post by Ray Yojimbo »

uh ok, thanks, didin't know that....
when can I put it in there?

[edit] just read the sticky... so I need to follow the rules that haven't been posted... ah well..
User avatar
alsakrah
Registered User
Posts: 166
Joined: Wed Dec 04, 2002 7:54 pm
Contact:

Post by alsakrah »

WOW

Very Nice Thank Yuo

Testing now
Uchiha Nick
Registered User
Posts: 424
Joined: Wed Jul 14, 2004 12:13 pm
Contact:

Post by Uchiha Nick »

does this mod actually level up when one gets a new rank?
Ray Yojimbo
Registered User
Posts: 14
Joined: Thu Apr 28, 2005 5:39 am
Location: dreamworld
Contact:

Post by Ray Yojimbo »

Uchiha Nick wrote: does this mod actually level up when one gets a new rank?


Well at this moment, the ranks and levels work independently from each other. you can set them in a way that they don't, but you'll need a mod that let's you define at how many points ( NOT posts) a rank changes and set it yourself in the Admin Rank Panel.
I'll change this as soon as I find out how, for the time being just take the rank points I posted above.
you can also calculate them by yourself, using following formula:

Code: Select all

[(log(user_points)^3)+1]=x
then round down x and you have the level. 

example for 20 points
log(20)=1,301  -> 1,301^3=2,202  ->  2,202+1=3,202 ->round down-> 3 = level

so if someone has 20 points, they are actually at level 3
that's the formula, use your favourite calculator to find out the levels.

R.Y.
Ray Yojimbo
Registered User
Posts: 14
Joined: Thu Apr 28, 2005 5:39 am
Location: dreamworld
Contact:

Post by Ray Yojimbo »

I made the MOD BETA...
checked it with the pre-validator and installed in on my Forum..
at last everything seems to work...

Please Tell me if you have any Problems!

Ray
MrDSL
Registered User
Posts: 283
Joined: Thu Jul 15, 2004 1:52 am
Contact:

Post by MrDSL »

How about a actual demo? The link you provide just displays text in another language..
User avatar
itsonlybarney
Registered User
Posts: 238
Joined: Sun Apr 10, 2005 5:06 am
Location: /home/Sydney/public_html
Contact:

Post by itsonlybarney »

its in his native language...but if follow the forum link it will take u there and u can have a look....dont worry if u cant read it...it shows the demo....
Enjoy talking about trains?
MrDSL
Registered User
Posts: 283
Joined: Thu Jul 15, 2004 1:52 am
Contact:

Post by MrDSL »

Gotcha thanks..
Ray Yojimbo
Registered User
Posts: 14
Joined: Thu Apr 28, 2005 5:39 am
Location: dreamworld
Contact:

Post by Ray Yojimbo »

fixed some minor bugs, please update your code.
Also changed the default forum language to english..

having problems with the admin panel.. seems like if you add a new rank, then you'll have to edit it once more or it won't get the info for the special rank and rank minimum...
Ray Yojimbo
Registered User
Posts: 14
Joined: Thu Apr 28, 2005 5:39 am
Location: dreamworld
Contact:

Post by Ray Yojimbo »

uploaded some images of the admin Panel, so you can look at it:

images of the admin panel: List of ranks, Editing Ranks
MaddoxX
Registered User
Posts: 450
Joined: Sat May 15, 2004 4:43 pm
Location: Russia

Post by MaddoxX »

The only think i don't like is the level bar images :P
:D
Locked

Return to “[2.0.x] MODs in Development”