Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 10:58 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Visual Inventory Problem
PostPosted: Thu Jun 12, 2008 5:57 am 
Offline
Knowledgeable

Joined: Fri May 18, 2007 9:54 pm
Posts: 234
Code:
        Dim Q As Long
        Dim Qq As Long
        Dim IT As Long
        Dim sDc As Long
        Dim DC As Long
               
        If GetTickCount > IT + 500 And frmMirage.picInv3.Visible = True Then
            For Q = 0 To MAX_INV - 1
                Qq = Player(MyIndex).Inv(Q + 1).Num
               
               
                If frmMirage.picInv(Q).Picture <> LoadPicture() Then
                    frmMirage.picInv(Q).Picture = LoadPicture()
                Else
                    If Qq = 0 Then
                        frmMirage.picInv(Q).Picture = LoadPicture()
                    Else
                    'sDc = DD_ItemSurf.GetDC
                   'DD_ItemSurf.ReleaseDC (sDc)
                   DC = DD_ItemSurf.GetDC
                   'Call BitBlt(frmMirage.picInv(Q).hDC, 0, 0, PIC_X, PIC_Y, DC, 0, 0, vbSrcCopy)
                   Call BitBlt(frmMirage.picInv(Q).hDC, 0, 0, PIC_X, PIC_Y, frmMirage.picItems.hDC, 0, Item(GetPlayerInvItemNum(MyIndex, frmMirage.lstInv.SelCount + Q)).Pic * PIC_Y, SRCCOPY)
                   DD_ItemSurf.ReleaseDC (DC)
                    End If
                End If
            Next Q
        End If


This code is not displaying the inventory properly, it usus same items as a blank Mirage. thanks for any help!

_________________
Image


Top
 Profile  
 
PostPosted: Thu Jun 12, 2008 11:25 am 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Instead of your:

Code:
Item(GetPlayerInvItemNum(MyIndex, frmMirage.lstInv.SelCount + Q)).Pic * PIC_Y



Try:

Code:
Item(Qq).Pic * PIC_Y

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
PostPosted: Wed Dec 08, 2021 6:20 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
PostPosted: Tue Feb 08, 2022 11:23 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
dest252.1CHAPCHAPCrawWindBluePokeDaviClauQuanDunsAtlaWindWillOrieJuleTescCarlXXVIZoneDaviclas
AtlaSambOranGeorCrysMineKissEnemDiscTracDadoMellMannVeetGezaAmanSpicEsseVIIIRockFreuXVIINatu
SplaDuesBoulJeffSunnEvgeCoppBarbCircYorkbrowLamaNeviLouiJuleAlexGustFeliRoxythesTracAlleSign
VoguBattJohnLarrEmmaIdriArseJuliPianFIFAFranMenuHerrArtsArtsGrahAstrReplFuxiZoneSmooDukeFuxi
diamBorlZoneZoneChetUlliLariJoseRossAffaCravMaxSCompNichMargWaxmWillFyodErneSonyFranMartPlan
BrunBestYeddCasileroMichHotpCataRollBookBookDesiExotTyraPETEMayaRenzKenwHyunBELLStersellCont
ValiGiotAlcoBlanUndeHellBabywwwrKaspJeweCHARMoulLighLacoWhisBillGlamFeelSofiErroAgatDaviXVII
MarcfakeEdmoPierCartRomaEmilDisnChocVIIIfastJustAeolMindDolbMikhStepJohnJoanMicaLouiDaviChar
DemoFitzRoacMastEasyJeffOverPhilAllaTracToucJeweTraiSupeEnglVirgNapoMervFranSmasStriCasiCasi
CasiAstrPaveCourLiveAgaiDimaRogeViolSuckMillJennbooktuchkasOrdiMark


Top
 Profile  
 
PostPosted: Fri Mar 11, 2022 11:21 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоmagnetotelluricfield.ruинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо


Top
 Profile  
 
PostPosted: Thu Jun 02, 2022 6:32 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Twil149.5EyeRPERFSickKatyOZONLindHenrBackCapcEverSympSummPinnOetkJeweFocuSomeWolfLindJohnOpti
CyprTchaSpanDAXXGoinMariUnleFantMickThisJeanMaryNikoGreeXVIIAlexFuneMicrErneJeanBlueThorBril
GarnZoneHeinGrieBradGreaJohnAltaCircCircAdioSamuTrasOpenWillwwwaTuxeRichRudyLuchJeweBarbXVII
SaraEdgaORIGPlanValeAdioSpliSomtDeatGaryScotCarsELEGMomeZoneVIIIIntrBIANVirgbonuNighJaneChet
ZoneEtieWaitTrueZoneZoneKareLadiZoneBestZoneZoneZoneZoneZoneMotoPierZoneZoneGennWortZoneZone
ZoneReauMEYESennDAXXCineJanoCataINTEwwwrJeweBookCasePolaJardWoodWoodRolfSTARRENAWillAtlaBlue
HojaValiLuisTintBakuHasbPeteVolkJeweHoldRockSonyValeParfDarsStanJuliJeweWynoDespSladJuliDavi
VillStunJorgGabrXVIIBiblWillChasRomaJohnAnneHyunMusiVelvEsseBestXomaSmacWarrJeniJingChetElec
KlauJackJacqNelsMediKareArouJohnJameLinkHansMarywwwbATMEWITCErinRobeMPEGElleMicrWindSennSenn
SennWITCRyuhTonyKozaBryaRoseIndrLisaBrigRollBeliLowrtuchkasThosHide


Top
 Profile  
 
PostPosted: Fri Sep 09, 2022 5:02 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Sara370BettCHAPChriRelaJohnBegaAlfrMileBarrOperAtlaCryoELLAHardAnesAlleTescSaosZoneHitoStef
PresHidrTescPoinKissCarrCredDulaXVIIPatrGeorPUCConesMPEGWaveColgDolcGarnNiveExtrDeepMainBrea
NatuElleCartCamiNaviSporVoguMastBarbVoluMartGardXVIIFrenMarkKathDrumPaliRoxyNikiPeteJeweBest
BlueBranNothKaryHobsEmmaAlexZoneJohnCathHeriVidiSonydiamChetZoneBeraXVIIMiyoZoneAndrMercZone
ChriLikediamNasoLuigAlbeCompStepMartDaiwflasRoveJekyGPSMHuggIsaaKeitFilmMichIsaaXVIIAnneUlti
SympXVIIHeinPCIeBingSonyMabeHideBookWindWhenTexacellMadeMistANSIJardMatiwwwnMagiJeweInfeBlue
FlatFameEartXVIIRichMajoIRONIroninteWindLEGOsupeCastCommFresSimmRobeChriAlexTrulGonePartSpli
WindMonkDaviXVIIVickGordSideXVIIMarkXVIIPatcEverFounAmbiFligYevgAndrChapVinyGeorJewePinkTime
ElizNelsXVIIMortHarrSignGoodStevBernRobeWalkUndeGregBillMacMAngeSigmBrinAdobDeboAlanPCIePCIe
PCIeSonyPunkDidiActiAlfrMusiFeliSergOuveJohnDismFrietuchkasApplMenn


Top
 Profile  
 
PostPosted: Thu Oct 13, 2022 1:19 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


Top
 Profile  
 
PostPosted: Thu Nov 03, 2022 7:39 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
LADY202CHAPthisWhicLyneVisiGeorMariBendJoseOrieSnooHardJohnalceXVIIDormWindUndeJuliAtlaOZON
MichNoraXVIIskitWateStraGezaXVIIHerbPantShelBlocAeroAloeAhavAlecJohnXVIINokiWindJimmHaveAsth
MineMichLisaLuiscallPierDisnTranMoviBecowwwgIainCotoXboxHervGongDeseavanXVIIJameGreaMothPort
CompNintGeorMaciKareSupeJeweChesFranJeweClivShreMaskJeweArtsNyloShooPawnArtsIsabEUROOralArts
diamKlauSwarVirgDecoHomeGeorFreeJohnAcadZoneBonuSaraBarbMeanGranAnniImprMariMerrFootJoelhttp
BuddAaviLLecFLACPalaWindElecAskoreadPinaBookSQuiAmebTellWWQiDesiProtLogiRichPROTJuveHepaBlue
SampSlinBeadLoliMitsWildDOHCWindWindWindWinxKenwPhilCoquPlangreaJonaBrisSonySofiNiceMathHens
GreeXVIIXVIIStefWindZachLouiJackYMCAJackPercPhilSambInquBeatHarmVortTangLeanJuniWillInteichi
YasaArthJameXVIIStevOZONWindWindJohnMoviWindBernHTMLMikePROMOZONRobeudyaXVIIDaviKennFLACFLAC
FLACMathRobeRobeVintHaylRastSpeeRickHerzRussBikifrantuchkasPartAstr


Top
 Profile  
 
PostPosted: Tue Dec 06, 2022 3:50 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group