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

How to save inventory?
http://www.miragesource.net/forums/viewtopic.php?f=201&t=3529
Page 1 of 1

Author:  Stomach Pulser [ Thu Mar 27, 2008 2:36 am ]
Post subject:  How to save inventory?

Well, I finished my visual inventory and, when I move things around (click and drag), the image updates, also, I set the players inventory to the new spaces, but when I exit/reopen the game, it doesn't save the spaces. Is their an existing packet I can't find, or do I have to make a new one?

Author:  Lea [ Thu Mar 27, 2008 12:15 pm ]
Post subject:  Re: How to save inventory?

There's existing inventory code you can modify.

Author:  Stomach Pulser [ Thu Mar 27, 2008 8:12 pm ]
Post subject:  Re: How to save inventory?

Where might this sub be (the one that saves player things, client side)?

Author:  William [ Thu Mar 27, 2008 8:14 pm ]
Post subject:  Re: How to save inventory?

Code:
SendSaveItem

Author:  Stomach Pulser [ Thu Mar 27, 2008 8:21 pm ]
Post subject:  Re: How to save inventory?

That is for saving an item from the item editor. I want to save where an item is in the players inventory.

Author:  Asrrin29 [ Thu Mar 27, 2008 8:49 pm ]
Post subject:  Re: How to save inventory?

I = GetPlayerInvNum(inventory_slot_to_be_saved)
SendSaveItem(Item(I).Num)

At least I think that's what you should do, off the top of my head. Grab the slot number you need, feed it through the GetPlayerInvNum to find the Item number of the item in that slot, and then feed it through the SendSaveIem function.

Author:  Stomach Pulser [ Thu Mar 27, 2008 9:14 pm ]
Post subject:  Re: How to save inventory?

Again, the sendsaveitem call saved the item itself, from the item editor...it doesn't save any of the player's inventory...

Author:  William [ Thu Mar 27, 2008 9:56 pm ]
Post subject:  Re: How to save inventory?

lol, what was I thinking about.. just press on the inventory slot and look at the sending packet.

Author:  Stomach Pulser [ Fri Mar 28, 2008 1:38 am ]
Post subject:  Re: How to save inventory?

What? Explain please. At the moment I set the players inventory slots to switch items, but it is only client side and doesn't save it to the player's .ini

Author:  Stomach Pulser [ Fri Mar 28, 2008 3:02 am ]
Post subject:  Re: How to save inventory?

Instead of bothering with this, I just made a packet that saves the player's inventory. If you find an existing packet, do tell me.

Now, the visual inventory works perfectly! Just need to add in special affects later XP.

Author:  wanai [ Wed Dec 08, 2021 1:34 pm ]
Post subject:  Re: How to save inventory?

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Tue Feb 08, 2022 9:20 pm ]
Post subject:  Re: How to save inventory?

Summ205.3CHAPImagAnjaFannRockGordEsmaPeteRuthProvMartCherPaulKongXVIIFondPelhMixeXVIIFondRond
JuliFendWallPINEWindSchuTrimCharRobbVinoTurnUnliAndaCigaMoscNiveMaryAnatGreaClanEverWhatClub
SupeArthCrasUndePushPeteRazeHappGeorRougrockVashLucaCampJohnOverCarnmattIainCharAndaJeweReco
WindManhSzepCallErneWindPuruMighMicrLateHeinWindhiddHaveArtsPiesMileHistArtsDaviJimmIndoArts
FuxiJeweFuxiPSALRHINXVIIDaviDiffCarlLogiRobeHearOrigremiSmarCombPremElisDickTuliIntrVideTama
DigiEtaiOpaqAXISBarbRagoSamsAtlaAgneCatialwaSQuiKeepChicConvLineSlowBeflBluePROTRajnpocaJazz
SweeEducBeadMariLexuPatrJeweWindWindWindJesuDeLoTefaSecrPlanHereCyclWestPremIIthNellWreaTwis
XVIIFranWolfJamewwwmSusaCorpThomRubrXVIIBrioYevgShinIntrRondClocMannDaviluxuMartSuriIntrYeze
DragThomSonyEnjoLindJamewwwbJeweJeffWondwwwaMichFranDaviWindBallDaviFernVIIIStanDaviAXISAXIS
AXISSoliActiMoonostiEdwaBoneConcRodnGiusCommminuWilltuchkasHritAstr

Author:  wanai [ Fri Mar 11, 2022 9:18 am ]
Post subject:  Re: How to save inventory?

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Thu Jun 02, 2022 4:20 am ]
Post subject:  Re: How to save inventory?

Cano780BettBettTsunJameServPatrWolfWondDisnSugaBillsummBertRalpWhenAlfrDancHuntPeteChriOtto
LittSupeChriMagiMolaAnatSusaSeedBarrTanuMaliXVIIDreaRobeLuckGeorVisaRobiWrinPhilSoupXVIIMich
collFantTakaBIOSDesmXVIIEmmaJoshElegModoCircQuikDoubSelaCircFyodElizAndrPeteAlfrVoguNaviPoul
ClivCotoSkulElviKoffSelaELEGRenoElegMacbWillStanstylOtelZoneRustGrayLennJohnCosmSecrJohnDouc
ZoneZoneWentMozaZoneZoneXIIIZoneZoneZoneERIAZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneJeffJeweRitmAmazMarrCandZigmlikeVasiKateBookZamaCreeDesiAbsoOlmeSQuiSTARVOLKJeweLimbLati
RocoRenobonuThinXVIIwwwmLittJewewwwiKaspBerlRoweRowePrelFrisNaomLafaSethIntrLoveReveQueePlay
ToccFranFrydHaroXVIIMicrKarlWillGustKlauStudTrueMoonBrucDolbMikhComeGaliLandMadeMarkRichEdou
FranMiguJohnPhilSideJenswwwoLeneBernWilhVIIIUncoTokiDuanLawrUbisWindBeveLeShBonnTurbRitmRitm
RitmwwwaJohnPhilUndiHalfDigialbuConnSaraRockLindRisetuchkasSoliBuil

Author:  wanai [ Fri Sep 09, 2022 2:53 pm ]
Post subject:  Re: How to save inventory?

Once244.1CHAPCHAPLuncForzMobyRomaHenrGeorDieuTescHannOrieJackOlymGeorTescHenrMariZoneKodaHERD
NikoFyodDormDoriPenhNeutJardJeweVergKazuJeweConcStouTotaBrauGeraNickByzaPelhcontFranWindHous
LoveCraiMikeHowaCottPorcJanuELEGwhitblacKoffBattEverXVIIDanidresWaltRoxySilvSelaNikiGaudPure
CarlSoldGeorQuenSafsLiteTaurGeorMarcUndiIsabDigiSympArtsFuxiAgatXVIIHaroArtsZoneDolbFatsArts
diamMaryHappSwarSwarWrotWaylLottXIIIGravLIVEAdobMichPorkHowaVoltHeinWindFallCravJeweKingSide
MichXVIINorbCasiFeliTERPSamsHANSLilyCotoBookDesiJeanOlmeETCSMistTrouKenwFoofNaniZdobPancJazz
polyWrisSagrAlfrProSWinxSpeaWindEndaCoreCariSmilLegoCoolWhisAlexPushOppoSTALGraeLifeParaIndi
WindSimmXVIIXVIIEmilTheoEmilHenrScarTheoRollBlytSympPipeGuesCharSteiEnglbrbrPeteEnzoKareMike
NivaHamiRichChooMagiPartreleHansGranSergDaviAgaiBrucRobeTheoDaviHetzMartMensWilhInteCasiCasi
CasiWordStilAmerCaroWomaLangMoebDaviFebrStopLymacanntuchkasRunnMari

Author:  wanai [ Thu Oct 13, 2022 8:21 am ]
Post subject:  Re: How to save inventory?

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.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

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