Hi there,

Can somebody help me perhaps get a nice calculation?
Let me explain.

Im making a sort of RPG. trough the connection of the internet.
Atm i got the connection + the database linked with eachother and can read out the level, gender, name etc.etc. etc.
Its al working but for now...

I wanna make skill's
The go on xp and got a databse for it with f.e.

Mining
Mining_XP

Well Mining is the skill lvl en the Mining_XP table is the xp you gained in mining.

F.E.

Mining = 1 //so my mining is level 1
MiningXP = 30 //My xp in mining is now 30xp

I need to calculate with the xp and the level wich level is am and how much more xp i need for the next lvl

so maybe something like:
I got 100xp in my table
i need 80xp for first lvl 256 for lvl2
it must calculate that i got 20xp to much and so i am in lvl 2 mining + 20xp

Hope im a bit clear its hard to explain but if you don't understand plz let me know ill try to say more in hope you understand.

thnx allready


-The Dragon's Eye is alway's watching you!-