Experience percentage

Send your ideas and suggestions here.

Moderator: Board moderators

bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Experience percentage

Post by bort »

Would It be cool if there was an extra bar (like hp or Sp) that said the total xp out of the xp to next level?
Like in diablo 2, and that would be cool 8)
lordyoukai.DA
My wraith is cooler than your dragon.
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

should be easy, it already says it on the top.

in the gtk client then, it should give you the option to have a gfx stats thing too.
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

But the current xp bar doesnt add a '/<required to get to next level xp>' peice in it. :(
lordyoukai.DA
My wraith is cooler than your dragon.
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

there is no bar currently. but i was saying it should be easy to add, since it already prints it out...
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

but it doesn't print out the lower limit, so the protocol needs extended to give that information so that the bar can be scaled.
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

theres already an in-gam table. type 'stats

f it can give the experience needed for an arbitrary level, then just set the lower side to xp_needed_for_next( current_level - 1 ) or something like that. the top would be the xp_needed_for_next( currenet_level ), and the bar would be drawn to current_scr_for_skill( skill )...
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

I know about the statistics command, that is what I was refering to.

Your change seems like a client feature, not something that should impact the server.

Either you need to modify the statistics command, and write a client side parser (ugly) or you need to have some other call to the server to get the lower experience value.

AFAIK the client doesn't ever request exp table information directly.
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

umm, just have the client ask the sever for the level one lower. the server shouldnt care, and then the client will have acces to both numbers.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

Have you checked if that is how the protocol works atm?

I thought the server sent the current experience values when requested, and that the client used them, I am not sure there is a nice way to add arbitrary level xp values, and the only ugly way I can think of OTTOMH involves interval bisection....

The point is that AFAIK there isn't any 'asking' for levels that goes on.

Having said that I haven't ever looked too deeply at the server client interconnect, networking code isn't something that interests me.
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

i havent checked any of the code yet. but i know there are tables, so i assumed that the system wold be fairly sane... so maybe the client can just have the table built in... then it can grab any level data it needs...
Post Reply