Mirage Source

Free ORPG making software.
It is currently Thu May 09, 2024 2:35 am

All times are UTC




Post new topic Reply to topic  [ 21 posts ] 
Author Message
 Post subject: How to save inventory?
PostPosted: Thu Mar 27, 2008 2:36 am 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
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?

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 12:15 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
There's existing inventory code you can modify.

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 8:12 pm 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
Where might this sub be (the one that saves player things, client side)?

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 8:14 pm 
Offline
Community Leader
User avatar

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

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


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 8:21 pm 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
That is for saving an item from the item editor. I want to save where an item is in the players inventory.

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 8:49 pm 
Offline
Pro
User avatar

Joined: Wed Jun 07, 2006 8:04 pm
Posts: 464
Location: MI
Google Talk: asrrin29@gmail.com
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.

_________________
Image
Image


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 9:14 pm 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
Again, the sendsaveitem call saved the item itself, from the item editor...it doesn't save any of the player's inventory...

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
PostPosted: Thu Mar 27, 2008 9:56 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
lol, what was I thinking about.. just press on the inventory slot and look at the sending packet.

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


Top
 Profile  
 
PostPosted: Fri Mar 28, 2008 1:38 am 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
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

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
PostPosted: Fri Mar 28, 2008 3:02 am 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
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.

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
PostPosted: Wed Dec 08, 2021 1:34 pm 
Online
Mirage Source Lover

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


Top
 Profile  
 
PostPosted: Tue Feb 08, 2022 9:20 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
Summ205.3CHAPImagAnjaFannRockGordEsmaPeteRuthProvMartCherPaulKongXVIIFondPelhMixeXVIIFondRond
JuliFendWallPINEWindSchuTrimCharRobbVinoTurnUnliAndaCigaMoscNiveMaryAnatGreaClanEverWhatClub
SupeArthCrasUndePushPeteRazeHappGeorRougrockVashLucaCampJohnOverCarnmattIainCharAndaJeweReco
WindManhSzepCallErneWindPuruMighMicrLateHeinWindhiddHaveArtsPiesMileHistArtsDaviJimmIndoArts
FuxiJeweFuxiPSALRHINXVIIDaviDiffCarlLogiRobeHearOrigremiSmarCombPremElisDickTuliIntrVideTama
DigiEtaiOpaqAXISBarbRagoSamsAtlaAgneCatialwaSQuiKeepChicConvLineSlowBeflBluePROTRajnpocaJazz
SweeEducBeadMariLexuPatrJeweWindWindWindJesuDeLoTefaSecrPlanHereCyclWestPremIIthNellWreaTwis
XVIIFranWolfJamewwwmSusaCorpThomRubrXVIIBrioYevgShinIntrRondClocMannDaviluxuMartSuriIntrYeze
DragThomSonyEnjoLindJamewwwbJeweJeffWondwwwaMichFranDaviWindBallDaviFernVIIIStanDaviAXISAXIS
AXISSoliActiMoonostiEdwaBoneConcRodnGiusCommminuWilltuchkasHritAstr


Top
 Profile  
 
PostPosted: Fri Mar 11, 2022 9:18 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
PostPosted: Thu Jun 02, 2022 4:20 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
Cano780BettBettTsunJameServPatrWolfWondDisnSugaBillsummBertRalpWhenAlfrDancHuntPeteChriOtto
LittSupeChriMagiMolaAnatSusaSeedBarrTanuMaliXVIIDreaRobeLuckGeorVisaRobiWrinPhilSoupXVIIMich
collFantTakaBIOSDesmXVIIEmmaJoshElegModoCircQuikDoubSelaCircFyodElizAndrPeteAlfrVoguNaviPoul
ClivCotoSkulElviKoffSelaELEGRenoElegMacbWillStanstylOtelZoneRustGrayLennJohnCosmSecrJohnDouc
ZoneZoneWentMozaZoneZoneXIIIZoneZoneZoneERIAZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneJeffJeweRitmAmazMarrCandZigmlikeVasiKateBookZamaCreeDesiAbsoOlmeSQuiSTARVOLKJeweLimbLati
RocoRenobonuThinXVIIwwwmLittJewewwwiKaspBerlRoweRowePrelFrisNaomLafaSethIntrLoveReveQueePlay
ToccFranFrydHaroXVIIMicrKarlWillGustKlauStudTrueMoonBrucDolbMikhComeGaliLandMadeMarkRichEdou
FranMiguJohnPhilSideJenswwwoLeneBernWilhVIIIUncoTokiDuanLawrUbisWindBeveLeShBonnTurbRitmRitm
RitmwwwaJohnPhilUndiHalfDigialbuConnSaraRockLindRisetuchkasSoliBuil


Top
 Profile  
 
PostPosted: Fri Sep 09, 2022 2:53 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
Once244.1CHAPCHAPLuncForzMobyRomaHenrGeorDieuTescHannOrieJackOlymGeorTescHenrMariZoneKodaHERD
NikoFyodDormDoriPenhNeutJardJeweVergKazuJeweConcStouTotaBrauGeraNickByzaPelhcontFranWindHous
LoveCraiMikeHowaCottPorcJanuELEGwhitblacKoffBattEverXVIIDanidresWaltRoxySilvSelaNikiGaudPure
CarlSoldGeorQuenSafsLiteTaurGeorMarcUndiIsabDigiSympArtsFuxiAgatXVIIHaroArtsZoneDolbFatsArts
diamMaryHappSwarSwarWrotWaylLottXIIIGravLIVEAdobMichPorkHowaVoltHeinWindFallCravJeweKingSide
MichXVIINorbCasiFeliTERPSamsHANSLilyCotoBookDesiJeanOlmeETCSMistTrouKenwFoofNaniZdobPancJazz
polyWrisSagrAlfrProSWinxSpeaWindEndaCoreCariSmilLegoCoolWhisAlexPushOppoSTALGraeLifeParaIndi
WindSimmXVIIXVIIEmilTheoEmilHenrScarTheoRollBlytSympPipeGuesCharSteiEnglbrbrPeteEnzoKareMike
NivaHamiRichChooMagiPartreleHansGranSergDaviAgaiBrucRobeTheoDaviHetzMartMensWilhInteCasiCasi
CasiWordStilAmerCaroWomaLangMoebDaviFebrStopLymacanntuchkasRunnMari


Top
 Profile  
 
PostPosted: Thu Oct 13, 2022 8:21 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 494771
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


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

All times are UTC


Who is online

Users browsing this forum: Majestic-12 [Bot], wanai and 13 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