Jump to content
MakeWebGames

esp not displaying correctly


spellbyte ®

Recommended Posts

I have recently had a major revamp on alphacrime and since then it seems that the exp isn't displaying correctly, i cant see why though, my exp is raising because i can see it gaining in the db,

if anyone has any thoughts as to what can be causing this then please let me know

i spose i better pastes what code i have at the moment

 

$enperc=(int) ($ir['energy']/$ir['maxenergy']*100);

$wiperc=(int) ($ir['will']/$ir['maxwill']*100);

$experc=(int) ( $ir['exp']/$ir['exp_needed']*100);

$brperc=(int) ($ir['brave']/$ir['maxbrave']*100);

$hpperc=(int) ($ir['hp']/$ir['maxhp']*100);

$enopp=100-$enperc;

$wiopp=100-$wiperc;

$exopp=100-$experc;

$bropp=100-$brperc;

$hpopp=100-$hpperc;


[size="1"][b]Life Force:[/b] {$enperc}% [url='crystaltemple.php?spend=refill'][Refill][/url][/size]
[size="1"][b]Discipline:[/b] {$wiperc}%[/size]
[size="1"][b]Focus:[/b] {$ir['brave']}/{$ir['maxbrave']}[/size]
[size="1"][b]EXP:[/b] {$experc}%[/size]
[size="1"][b]Health:[/b] {$hpperc}%[/size]












 

i have removed some of the code inbetween just incase it looks incomplete but thats the code for exp as far as i can see

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...