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
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 )...
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.
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.
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...