Mirage Source
http://www.miragesource.net/forums/

Hp/Mp Bars Fucked up
http://www.miragesource.net/forums/viewtopic.php?f=201&t=3373
Page 1 of 1

Author:  Ramsey [ Mon Feb 11, 2008 11:25 pm ]
Post subject:  Hp/Mp Bars Fucked up

Image
^ Pic

\/ code
Code:
    ' ::::::::::::::::::::::
    ' :: Player hp packet ::
    ' ::::::::::::::::::::::
    If LCase(Parse(0)) = "playerhp" Then
        Player(MyIndex).MaxHP = Val(Parse(1))
        Call SetPlayerHP(MyIndex, Val(Parse(2)))
        If GetPlayerMaxHP(MyIndex) > 0 Then
            'frmMainGame.lblHP.Caption = Int(GetPlayerHP(MyIndex) / GetPlayerMaxHP(MyIndex) * 100) & "%"
            [b]frmMainGame.picHP.Width = ((GetPlayerHP(MyIndex) / 256) / (GetPlayerMaxHP(MyIndex) / 256)) * 256[/b]
        End If
        Exit Sub
    End If

    ' ::::::::::::::::::::::
    ' :: Player mp packet ::
    ' ::::::::::::::::::::::
    If LCase(Parse(0)) = "playermp" Then
        Player(MyIndex).MaxMP = Val(Parse(1))
        Call SetPlayerMP(MyIndex, Val(Parse(2)))
        If GetPlayerMaxMP(MyIndex) > 0 Then
            'frmMainGame.lblMP.Caption = Int(GetPlayerMP(MyIndex) / GetPlayerMaxMP(MyIndex) * 100) & "%"
            [b]frmMainGame.PicMP.Width = ((GetPlayerMP(MyIndex) / 256) / (GetPlayerMaxMP(MyIndex) / 256)) * 256[/b]
        End If
        Exit Sub
    End If



Do you see anything in the code that might lead to this? I did the math myself and it works out nice but it's all messed up in the GUI...

Pay no attention to the horrid GUI that is just for test :lol:

Author:  Robin [ Mon Feb 11, 2008 11:28 pm ]
Post subject:  Re: Hp/Mp Bars [edit] up

Add a:

Code:
* screen.twipsperpixelx


at the end?

Author:  Ramsey [ Mon Feb 11, 2008 11:31 pm ]
Post subject:  Re: Hp/Mp Bars [edit] up

Do you have like the answer to everything?!?! Thank you.

Author:  Robin [ Tue Feb 12, 2008 1:28 am ]
Post subject:  Re: Hp/Mp Bars [edit] up

Yes.

Yes I do.

Author:  Lea [ Tue Feb 12, 2008 3:36 am ]
Post subject:  Re: Hp/Mp Bars [edit] up

We just happened to be talking about that XD

Author:  Robin [ Tue Feb 12, 2008 3:38 pm ]
Post subject:  Re: Hp/Mp Bars [edit] up

Yeah, but I'd know the problem anyway as it's obvious that bar is 1/15 of what it should be.

Plus, I get a lot of people asking me about this. :P

Author:  wanai [ Wed Dec 08, 2021 11:24 am ]
Post subject:  Re: Hp/Mp Bars Fucked up

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.ruсайтsemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoningtechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.ruhttp://temperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Tue Feb 08, 2022 8:24 pm ]
Post subject:  Re: Hp/Mp Bars Fucked up

Bloo186.4SUGGGlauTheoRaviJeweGeraJereAnneAgusShapTescPeteBrisWillscreDekoClifDolbLookRajnFisk
JuicMystMichWindThatDennTaftNatiHughLSDSAlexJogoIRMAClinDansSpecBlamKareAndrIrisPhilJackLife
TurnMartHairChriCaroFashTigeNeedEverXIIIPockSelaRootGranGeorMichAncharisMusiDalePeteJameAmid
PushLoviLudwNelsScraMichGiorFlasGregWindOrieWindRainZoneKarlJeweWhatTimeArtsAgatStarDancDelp
ArtsZoneArtsNottWaltZoneShanTigeHornHaloZoneXVIISuzaZoneSycoRobeGeniXVIIZoneElleJeweJameXVII
MighFSoeGoldFLACXXIIMicrMielMielINTESnooBookCoopBadiBelaPramOlmeMultParkMataPROTLTSRBoneJazz
BillWinnJacoHighLensDigiTeLLAdobBidiMarldrumSmarSmilCartHollXVIIJavaRichmonoLaurKateJennWise
FranNintXVIIHomeXVIIAcadIntrHerbASchOZONStarPalgTUTTManiMinoRockGlorGunnKillFirsCleaFordStre
DianFirsStarStevJangOlgaAcroWindEnglPeteXVIIEugePaulBlueIntrHellMichFronXVIISalelineFLACFLAC
FLACBriaLifeCarlRogeKennDropThisChriGuidEconexceGladtuchkasPeteJaco

Author:  wanai [ Fri Mar 11, 2022 8:23 am ]
Post subject:  Re: Hp/Mp Bars Fucked up

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт

Author:  wanai [ Thu Jun 02, 2022 3:20 am ]
Post subject:  Re: Hp/Mp Bars Fucked up

Subh547.4BettBettXVIIwwwnDinoWantLewiKyriPuzzNormWindJeweMicrJakePillAlexRichOrlaMariMarkXVII
KuscElecWhenArtsZenoGarnXVIILifeSnotRaveSansJonePinkDancDuncGiovWaltMARVBernProfNigeBrenJean
NiveMySQLycrRiffDeanHenrRaymXVIISelaSelaElegSelaDiscCircCamiMystUltiCarrAbhiMarkMariCotoCoto
PushDotsSelaSelaPaliSilvNikiSharsappFallZoneRondMODOZoneAnneSpirFOTORounComiRickFourdiamGreg
ZoneZoneSultZoneZoneZoneZoneAAHXZoneZoneZoneZoneZoneZoneMORGZoneZoneZoneZoneZoneZoneZoneZone
ZoneXVIIPlewMPEGNardPeteBekoNardGabrCaviJohnBookRichMickLeifThehFootParkSTARToyoNamiVidaFLAC
BearOmbrEducFreaWorrVenuTrefRETAATMEWindAsiaSmilBrauPumaKiteTerrDarbRoxeMirrBackWatcSubhJewe
SoulScorDeniVoltDaviKapiXIIIVIIIAcadBertVitaJeffBlinKingNitzJeffAudiWindTomaRushJormZielWill
HarvSallWEEKEnglJeweProgLeavCastMarvJeweWindAudiChicMittAtomExodDaisRudoNeroWeynKlauMPEGMPEG
MPEGSaxoLexiBranVictAmbiRockGwarEvenAlthMusiLynnRoaltuchkasEnidAero

Author:  wanai [ Fri Sep 09, 2022 1:55 pm ]
Post subject:  Re: Hp/Mp Bars Fucked up

Thre221.1CHAProtaKeviFromBonuPictRajnLuizWiimNiMHElseElviSandManuCakeSpatSandWindJeweDeutAdil
RobeAlfrCanbJonaPenhTimoSainVilhLostEugeCleaZindReflJohnBadgHansGiusDiadLexiVoltRobeKreoPatr
BackAlexWindAlisSEMEJamaChanCollshinRazeblacSeawAuroIacoWaltDaviMariblacMarcGottSympSympEnot
VoguFlowJameTotaHervTraiPeteJaggXVIIWindHabiWindStarThatArtsFranMichJudgNasoDianBubcIntrArts
granEscatapadiamGregLouiGeraCeciMagnNetwTheoVESARobiHydrCoulClanTimoJeanConnNokiTeleEarlBonu
BoleBRANDuneNexuHallERPRNardFerrViolHappBookLarrSandFreuSponNighGiglSemiwwwaHondPhoeUretJazz
SweeBrilAmouBlanBlacLandWindBritWindwwwiSkulDeLoViteRobePlanThisBlueHeavLexiTherRamaOLAPMICR
XVIIRosaXVIIJackYourNapoJohaMicrFireXVIIAxioNataMohaVasiBogdProcDonaJameJeweJeffFrieAndrStol
VIIIXVIIVirgOffiAstrGeorNatuBillDaviEmerPockPariLoveSideSawgNinaPictBettJeweIndifireNexuNexu
NexuSuedMegaDaveSuzaPrecLyriJeweAudiBriaVaclAstrThistuchkasXIIIAstr

Author:  wanai [ Thu Oct 13, 2022 6:11 am ]
Post subject:  Re: Hp/Mp Bars Fucked up

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Thu Nov 03, 2022 4:39 am ]
Post subject:  Re: Hp/Mp Bars Fucked up

Foll154.3ReprPERFAlfrJACKBanaXVIIRobeWereToniZalmThemPaglJeweWaltDjanTescJeweMEGAPeopJuliBlum
MichMoldSeemRobeAbraWhitXVIIYearRobePureJohnAlanJeweJaneLaHaXIIIFeatSpecPaulEricRealXVIIPhil
PaulZoneImagenteAmanXVIIXVIIFallCircCircLakaChriHakoRosePoppShemBillPiteLionWestHeikEuroXVII
EtniPierhakeStriPedrElegAlmoElizAwakMacbJohnStevELEGOrigZoneCravRivaEartGamzChilSahaCharWave
ZoneSinfReicNichZoneZoneXVIISereZoneFireZoneZoneZoneZoneZoneBeacKennZoneZonePhilDaniXVIIZone
AgaiXVIIPradSennHonoPinnHansNodoRETAChilEmpeTimoNeriVaniPolaMistAlthGreeSTARSKODWireChroMode
TuvaRIVEEditFromMercBlueToloLifewwwrPoweMoleOregValeBvlgPlanXXIIBernWWWUAureMotePrelNellVSET
MikeGOLDJameForeXVIIKennWaltHonoXeliArchVladOlegXIIIBonuUSSRFrankBitNintRichHAIRDuraWarrKath
TubeRichDaveGunnJereYuriBethRosiRossBlurBrenMichXVIIcoacKessPhilAstrCarlFrieBlacHeikSennSenn
SennwwwrBapajQueDebrNeedCarnpopuSpirDianTuomBreaWilltuchkasEnciFeel

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/