SphereCommunity
% till level - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Requests (/Forum-Script-Requests)
+--- Thread: % till level (/Thread-till-level)

Pages: 1 2


% till level - Runcuks - 11-09-2013 07:59 PM

Hi could someone share dialog where is shown players % till next level ?
Sorry for my bad english, so here screen something like this
[Image: menus.png]


RE: % till level - Mordaunt - 11-09-2013 11:49 PM

a simple muldiv would suffice

<MULDIV <currentxp>,<neededxp>,100>


RE: % till level - Runcuks - 11-10-2013 05:43 AM

Came up with something like this but it didn't work ...

[DIALOG D_dialogtest]
200, 200
resizepic 440 3 3000 200 22 <MULDIV <tag.exp>,<def.lvl_10_exp>,100>


RE: % till level - Mordaunt - 11-10-2013 05:46 AM

Because: resizepic x y gump width height


RE: % till level - Runcuks - 11-10-2013 07:18 AM

Then how should that line look like ?


RE: % till level - darksun84 - 11-10-2013 07:24 AM

[DIALOG D_dialogtest]
200, 200
resizepic 440 3 3000 <MULDIV <tag.exp>,<def.lvl_10_exp>,100> 22


RE: % till level - Runcuks - 11-10-2013 08:29 AM

(11-10-2013 07:24 AM)darksun84 Wrote:  [DIALOG D_dialogtest]
200, 200
resizepic 440 3 3000 <MULDIV <tag.exp>,<def.lvl_10_exp>,100> 22

This crush client Sad


RE: % till level - Mordaunt - 11-10-2013 09:01 AM

what client are you running?


RE: % till level - Runcuks - 11-10-2013 07:39 PM

I am using 6.0.4.0 client


RE: % till level - Extreme - 11-10-2013 11:27 PM

Ohh mordaunt.. So much noob hahahah

Sent from my MB860 using Tapatalk

You forgot to multiply for the gump total height

Sent from my MB860 using Tapatalk