Exp label changing into %

Hi all,

what i hated bout eclipse is that it displays your exp in for example 92 / 124, it doesn’t give you a good view on how far you are to level right?

so this small source edit shows your exp in %, still on server side in the Expierience.ini you still have to type the normal amount of xp (of course)

Ok so here you go:

first of all, its all CLIENT SIDE

go into modHandleData and add to the declariations:
   ```
Dim Captionfix As String


then you search for:
   ```
frmMirage.lblEXP.Caption = Val(parse(6)) & " / " & Val(parse(5))

and you change that line into
   ```
Captionfix = Int(((Val(parse(6) * 100) / Val(parse(5)))))
frmMirage.lblEXP.Caption = Captionfix & " %"


now it should work! i hope you like this little script of me :)

credits are not needed, but if u rly like to.. i will not stop you ^.^

_- peace out, Tyr_

Simple and nice:)

frmMirage.lblEXP.Caption = Val(parse(6)) & " / " & Val(parse(5))
and change it into…
frmMirage.lblEXP.Caption = Int((Val(parse(6)) / Val(parse(5))) * 100)

much more simple, but good to see someone actually posted this though 😉

ya, i know some vb6.0 but with eclipse its slightly a bit diffrent. i took a longer way… as usual 😛
thx for the comment ^^

Of course then you don’t know how much exp you need….

unless your exp rate never increases (IE: a level 1 need 1k exp to level up and a level 99 needs 1k exp to level up)

because otherwise they have to kill monsters just to figure out how much exp they need. and if they are like me then they have to figure out how many monsters they must kill to get that amount of exp… just a pain 😕

Of course you dont have to use it either
eye roll
Smells like trolls.

@Skieth:

Of course then you don’t know how much exp you need….

unless your exp rate never increases (IE: a level 1 need 1k exp to level up and a level 99 needs 1k exp to level up)

because otherwise they have to kill monsters just to figure out how much exp they need. and if they are like me then they have to figure out how many monsters they must kill to get that amount of exp… just a pain 😕

In Lostica, I have it setup so if players want to know how much exp they have till they level, they can just change it in the in-game options… very convinent*.

oh.

yeah that WOULD do it I guess XDDD

@DrNova:

Of course you dont have to use it either
eye roll
Smells like trolls.

I’m just being a critic damnit ;~;

I’m just being easily irritable.

Thats why I volunatrily gave up moderator status for a while.
I knew I was going to be cranky, and didnt want to abuse any power, and no one likes it when mods get away with breaking rules.
I deserve to be warned like everyone else right now, I’m in a poor temperment state of mind

well yes, like miguu says, let the players decide if they want to c the % label or not… by simply adding a checkbox in the options menu and link it to this script.

@Skieth:

Of course then you don’t know how much exp you need….

unless your exp rate never increases (IE: a level 1 need 1k exp to level up and a level 99 needs 1k exp to level up)

because otherwise they have to kill monsters just to figure out how much exp they need. and if they are like me then they have to figure out how many monsters they must kill to get that amount of exp… just a pain 😕

There’s a + point on this… People that like the runescape exppoints are going to immitate them, which means they’re using your work.
If they only see % then they cant :P.

@anasky:

There’s a + point on this… People that like the runescape exppoints are going to immitate them, which means they’re using your work.
If they only see % then they cant :P.

read my post above, another option is to add on mouseover (the exp label) display the amount of exp in numbers…

you could always make a mouseover that shows the xp in numbers instead of percent

@Tyr:

read my post above, another option is to add on mouseover (the exp label) display the amount of exp in numbers…

@Xeross:

you could always make a mouseover that shows the xp in numbers instead of percent

Ok, this is really odd…
2 guys posting the same after each other? Xeross, where were you with your mind?

lol what a joke and it was 2:55 h after me ^.^
aways back on topic dudes.

realy nice and simple! thanks. i was searching about it

lol nice

Log in to reply