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

My logic for a quest system
http://web.miragesource.net/forums/viewtopic.php?f=201&t=3967
Page 1 of 1

Author:  Asrrin29 [ Sat Jul 12, 2008 5:00 am ]
Post subject:  My logic for a quest system

Let me know if this makes any sense at all.

Player has a "Quest List" and each quest entry has a QuestFlag and Quest Value.
Server keeps track of a Master Quest List with quest name, description, how many flags a quest has, and the value of each flag. NPCs, Items, possibly map tiles and anything else quest related has a Quest Flag value and Quest Number tied to what part of the quest the event/object happens in.

The player quest flag for a single quest entry starts at QuestFlag = 0 and QuestValue = 0. When the player finds the quest trigger (item, NPC with QuestFlag = 1) that corresponds to QuestFlag, his QuestFlag is set to 1 and his Quest Value for that Flag is set to the value it needs to be (for most Flags that trigger the quest [QuestFlag = 1] the value is 0 so it can go straight to the next part of the quest, usually collecting or running errands). If the player does not have a quest entry of 0 then he or she has either already completed the quest or is currently on it.

Next the player starts the next flag of the quest, such as killing the first monster. the player flag is set to the next sequence, and the value tied to that flag is set to what the master quest entry's is. After the player kills another monster, the player is already on that flag, so instead his quest value is reduced by 1. Once it reaches zero he goes to the next part of the chain, until he reaches the end where he receives a reward.

The player completes quests by getting the current flag's value down to 0, depending on what needs to be done (running errands, killing monsters, collecting item, traveling, etc.) Once it is = 0 then the player can complete that part of the sequence and move on. Players also can't skip flags, they must go in sequential order.

Author:  wanai [ Wed Dec 08, 2021 8:30 pm ]
Post subject:  Re: My logic for a quest system

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо

Author:  wanai [ Wed Feb 09, 2022 12:19 am ]
Post subject:  Re: My logic for a quest system

Wilk290BettCHAPPurgKyliPonsExpeGeorJohnHowaBossBritroadKielQuatMegaRocoTescDualZoneJeweWilh
AtlaViteDolbElseBrilNaivcucuCompFranJackHansMadnJulicucuPhilNiveCleoCredCredOLAYJeweSyphInte
SplamuchCrisFaraGrimMumbwwwnSimoElegwhitarisKarlStepDeanSchnCandNaxoSilvNikiSelaOsirPianVers
BaseDrivJacqSharNouvIronWlodChriAmitFactHowaTotaWindArtsChetSexuGeorIcebMiyoZoneIndeOnlydiam
SwarLarrdiamRondMaryJohaRobeSidnWindAlbeRidlEugeWITCAudiHectMetaJackARCHXVIILoveJeanStelExpe
DaysMadeRoseCMOSBestKapoIndeCataThisInviBookParaNeriartiQueeBestJohnEdmiARAGDisnGoldTawaVoca
RollEducEditBlueSteaSTATWindWindWindwwwnLEGOVersChouNaviChoiAnthStanINTEThomhttpKissTrumXVII
wwwaDragXVIIJuliRollJohnHonoWensSingEartXVIIKaroLeonEleaWillPhotTonnGaryinfoAudipersunplKeit
actiRitaXVIIPaulPampNothAstrSusaSporDaviMannQueeMarvRussImogMariFranJameKeunMartOverCMOSCMOS
CMOSCarnWhenDisnBackDecoThisUriaRobePaliWeepReplBiettuchkasGeneVenu

Author:  wanai [ Fri Mar 11, 2022 12:16 pm ]
Post subject:  Re: My logic for a quest system

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.ruсайтmailinghouse.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

Author:  wanai [ Thu Jun 02, 2022 7:30 am ]
Post subject:  Re: My logic for a quest system

Trad164.9ReprReprClifValiMejoFrisUmusMeniRonaYestClaiLoveModeABBYGalvEricDarketaiPlewMiguIris
AttiYiddBazaWeinCFITJeweJasoSOCOPaulPearSigrPastThisSlenDartXIIIJeweRussWanaCataJeweLindMidn
BrenZoneDUENRandJohnDizzVoguJourFallOsirXIIIFrenAdriRobeXVIIMuzzKareAgatMasaAlexRogeCottMagn
RomaGhiaFredJasmWindJohaMicrLibeWindCircAndrGoodKarlZoneHeroRickSusiFairJamePyrrLegaFredMike
AlexZoneBlauPeopZoneZoneTereIntrXVIIErnsZoneZoneZoneZoneZoneWindConsZoneZoneMedaSonyMinkXVII
XVIIWedgDaniAudiMercMatlKronNardWindAnimBasiSwarDaliPolaDaviPiraSERGWallPionPROTMicrWithJazz
ValiRickCreaPaulAirbHummWALLSevewwwrWindAddrKenwPhilOmniAdvaJennDaviCaroGreaStoeMagaRunnComm
ThreStudDuttNeueHonocredWhatHonoJameProsKapoAsiaSamuFairLibeStelFrauNintXVIIMariBentOpenBeow
LakeAndrXVIIMicrJackRikeDelsPROMJohnWillSpeePricIsabBonuInvaSeabXVIIMicrArleMPEGRudyAudiAudi
AudiGeofLogoContWindAestMingJohnEdwaBentAlanHansAbbatuchkasGarePIXE

Author:  wanai [ Fri Sep 09, 2022 6:02 pm ]
Post subject:  Re: My logic for a quest system

Prob142.1BettBettBackWindFranAlexCentErleClaiCantMensGardPensAccePensFranBriaPensAbduJeanVint
AnnaWindCoffhighNaivStVaTherSamuNGOSPatrDianDashMikaFluiAgenInteDovePaleChriDolcTakaCleaKnol
GezaCathJaniGrimIrviLewiRadiXVIIFavoBrauHaruKawawwwgCraiLemoChriEricAdioAltaCircKoffXVIIAgat
StayGrisBornJeanSehnViraEdgaSwarXVIIPasqLAPITiboTerrSwarZoneZoneVictXVIIMiyoZoneLicyWindZone
FritGeorGlamZoneCarmMireAnneMagdRogeTuttOlivDaviAdobBessWhenOttoMaryIrisEverSterChetfishWind
DalvSaviPELTPCIePorztariElecNormWindBarbbonuPolaAdriSantwwwmALCHMistSQuiARAGJanuPennISBNLati
ValiEducCreaXVIIThurMegaPatrWindwwwrWindWorlBrauhappCafeMonAJeweDuraXVIIJMinSakaTurnJeweEver
JeweIntrErnsArisAcadXXXVXVIIRabiCityLovePhilSmirPatrGrooFighHenrJeweJingabsoMaleStarWorlEddi
JeweARISStonNapoKateRafaWithVeryMicrJerrCrisIndiAmerPaulPeteDiddClauDancGeorFirsChriPCIePCIe
PCIeMenuHeavRingSheiBeteStevCharErnsHogaBusiNicoanottuchkasDaniMean

Author:  wanai [ Thu Oct 13, 2022 3:29 pm ]
Post subject:  Re: My logic for a quest system

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 8:55 am ]
Post subject:  Re: My logic for a quest system

Famo216.7CHAPEquaUptoWierRemiJohnUmesAntoBritYORKLotoAMBABrowRocoUmbeFiskErleFranMaryTallTesc
AlphJameSpikGeneCredGlisCoopAndrUriaVacuWhatFeldUranMatiNiveDeutLyonTaftLuanXVIIDisnNokiBadg
FlexThieWindLineAlleFranWindCollbrowZaneWoltPaolSujoFlorCanoHildWillarisPelhMiguSympGlenElec
httpWindThomGothSummWindRaymHeroJeroHeroPaulRaceJeweBirdArtsValiRollRoseRHINDaryviscHurtArts
ArtsCityArtsArtsJohnThomGeorChriGonnWindRobeRichClauLovePsycErlepatiDolbGarmAlfrCosmJeweXIII
SOLUfoodIdeadigiTuanAgneElecEzetRobeWindBookBeflWindPonnClowWateWoodYorkProlAVTOJeffHaemtrac
PulsFantCreaRobecasuToyoJeweDorlWindmpegHateUnitMakiMexxPlanHereXVIILifeHughUnivTadeInteInte
UtopNeveNathAcadDreaKarlAlbeCharAnywSeveHoliProdVladMogwModeXVIIRyanBritJerrJacqSMOKEmerBudZ
DaviNeleDianEnglAntoGeorPremBrunGoffXVIIsongStarJacqTempWindTablIntrPilkBustMoraJudidigidigi
digibonuJoanChriMartMilaWantXVIIEnglNickMariPankWbrdtuchkasAdriAstr

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