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

Quest System
http://miragesource.net/forums/viewtopic.php?f=183&t=4953
Page 1 of 65

Author:  genusis [ Wed Dec 31, 2008 7:18 pm ]
Post subject:  Quest System

lmao post contains to few characters

Author:  Nean [ Sun Jan 04, 2009 7:18 am ]
Post subject:  Re: Quest System ms4 only

It's good, just work on your formatting. I'm going to try to convert this for Elysium.

Author:  genusis [ Sun Jan 04, 2009 7:16 pm ]
Post subject:  Re: Quest System ms4 only

the quest system i made was currently for Elysium, i converted it to ms4 for myself then i released it so others could use it.

Author:  genusis [ Fri Jan 09, 2009 6:30 pm ]
Post subject:  Re: Quest System ms4 only

just to let you know i fixed the tutorial ^^. i missed some things so i added it in for you all. thank for not telling em though XD. now the quest will finish and the npcs will say the ending stuff.

Author:  timster0 [ Sun Jan 11, 2009 11:46 pm ]
Post subject:  Re: Quest System ms4 only

Thanks, I needed this. Last thing I need is a Guild System XD.

Author:  genusis [ Mon Jan 12, 2009 3:00 am ]
Post subject:  Re: Quest System ms4 only

your welcomed =]. and i think i dark has a guild system coming and maybe nean might make one too who knows ^^. well I'm just wondering who is suppose to move working tutorials to the working tutorial section XD.

Author:  Rian [ Mon Jan 12, 2009 3:26 am ]
Post subject:  Re: Quest System ms4 only

I will as soon as someone confirms that it's working

Author:  genusis [ Mon Jan 12, 2009 4:23 am ]
Post subject:  Re: Quest System ms4 only

Rian wrote:
I will as soon as someone confirms that it's working

Nean or someone beside say this is working correctly.

Author:  DarkX [ Mon Jan 12, 2009 4:32 am ]
Post subject:  Re: Quest System ms4 only

It works, don't you doubt. here's a copy of the source I'm working on with MS4 WITH THE QUEST SYSTEM IN IT!
http://mid-waytwistedgames.webs.com/dke2.0.rar

Author:  Nean [ Mon Jan 12, 2009 5:12 am ]
Post subject:  Re: Quest System

Forgot to add this to the quest rec:
QuestExpReward As Long

:)

Author:  genusis [ Mon Jan 12, 2009 1:42 pm ]
Post subject:  Re: Quest System

i might add that to the quest system who knows ^^.

Author:  Nean [ Mon Jan 12, 2009 8:07 pm ]
Post subject:  Re: Quest System

No, what I mean is you have it called

Code:
Quest(i).QuestExpReward = 0


Yet you didn't define it in the quest rec. xD

Author:  Rebjorn [ Wed Feb 18, 2009 12:16 pm ]
Post subject:  Re: Quest System

genusis wrote:
Now in frmNpcEditor we need to add some stuff

first add

Code:
Private Sub Form_Load()

End Sub

Private Sub scrlquest_Change()
If scrlquest.Value = 0 Then
frmNpcEditor.Label21.Caption = "None"
Else
frmNpcEditor.Label21.Caption = "Quest Number " & frmNpcEditor.scrlquest.Value
End If
End Sub
Private Sub chkQuest_Click()
If chkQuest.Value = 1 Then
fraQuest.Visible = True
frasay.Visible = False

Else
If chkQuest.Value = 0 Then
fraQuest.Visible = False
frasay.Visible = True
End If
End If
End Sub



This part is having some issues with the latest MS4 beta. It already calls Private Sub Form_Load() at the top of frmNpcEditor, so what you do instead is to find Private Sub Form_Load() in current module (frmNpcEditor) and add below scrlSprite.Max = NumSprites :
Code:
frmNpcEditor.scrlquest.Max = MAX_QUESTS


Then you insert the Quest System code with this:

Code:
Private Sub scrlquest_Change()
If scrlquest.Value = 0 Then
frmNpcEditor.Label21.Caption = "None"
Else
frmNpcEditor.Label21.Caption = "Quest Number " & frmNpcEditor.scrlquest.Value
End If
End Sub
Private Sub chkQuest_Click()
If chkQuest.Value = 1 Then
fraQuest.Visible = True
frasay.Visible = False

Else
If chkQuest.Value = 0 Then
fraQuest.Visible = False
frasay.Visible = True
End If
End If
End Sub


Please correct me if I'm wrong.

Author:  Rebjorn [ Wed Feb 18, 2009 12:43 pm ]
Post subject:  Re: Quest System

By the way, I have an issue when I try to get into my npceditor.

It bugs out at
Private Sub cmdOk_Click()
in frmIndex on the clientside.

If I try to force run it, it gives me an Compile Error: Invalid Qualifier
and marks up Public Sub NpcEditorInit()
in modGameEditors clienside. It also has a blue marking on this "DDSD_Sprite" same Sub.

What did I do wrong?

Edit: I figured that my quest editor did not show up even when I use the /editquest command, nothing happens, not even an error.

Author:  genusis [ Wed Feb 18, 2009 1:04 pm ]
Post subject:  Re: Quest System

Re Read the tutorial and try it over make sure you have everything in the tutorial and that you did the npc stuff right and named the buttons and such correctly or placed the stuff in the npc subs correctly. other than that this tutorial does work without error. i add it to the newest addition of ms4 when they come out to make sure they work from this tutorial.

Author:  maxrpg [ Wed Feb 25, 2009 7:47 am ]
Post subject:  Re: Quest System

i seem to have a similar problem that Rebjorn had. when compiling/creating the .exe file it stops here

frmNpcEditor.scrlSprite.Max = (DDSD_Sprite.lHeight \ SIZE_Y) - 1

and gives me this error
Compile Error
Invalid Qualifier

however i can blank out the line like 'frmNpcEditor.scrlSprite.Max = (DDSD_Sprite.lHeight \ SIZE_Y) - 1 ...and it will compile and work fine. i can access the quest window and make quests but i cant figure out how exactly do you add the quest to the NPC? :\

is that line of code important in the script, what does it do?. and if i deffinately need it how can I solve this error problem please?
it is only that line of code that it has a problem with, the rest works fine.

Author:  Rian [ Wed Feb 25, 2009 8:51 am ]
Post subject:  Re: Quest System

The line that is giving you an error has nothing to do with the functionality of the quest system. All that line does is make the max value of the scroll bar scrlSprites equal to the max height of your sprite sheet. That line might be erroring because of recent changes to MS4.

Secondly, as far as adding the quest to an NPC, all you do is edit an npc and set it's quest number via a scroll bar on the NPC editor called scrlQuest. Which you should have added during this step of the tutorial:

Quote:
Now in frmNpcEditor we need to add some stuff

first add

Code:
Private Sub Form_Load()
frmNpcEditor.scrlquest.Max = MAX_QUESTS
End Sub

Private Sub scrlquest_Change()
If scrlquest.Value = 0 Then
frmNpcEditor.Label21.Caption = "None"
Else
frmNpcEditor.Label21.Caption = "Quest Number " & frmNpcEditor.scrlquest.Value
End If
End Sub
Private Sub chkQuest_Click()
If chkQuest.Value = 1 Then
fraQuest.Visible = True
frasay.Visible = False

Else
If chkQuest.Value = 0 Then
fraQuest.Visible = False
frasay.Visible = True
End If
End If
End Sub


Now add a check box name it chkQuest, its caption: check to start quest.
Now make a two frames names frasay and the other fraQuest.

For frame frasay cut and add the textbox, txtAttackSay.
and in fraQuest make a label named: Label21, and a Hscrollbar named: scrlquest.
now set scrlquest min to 0 and the maxium to what ever you want like 30000.it doesn't matter.

now set fraQuest visible to false and frasay to true.



Any more questions?

Author:  Robin [ Wed Feb 25, 2009 5:37 pm ]
Post subject:  Re: Quest System

I should start flagging your stuff as bloatware. Look through it and clean it up.

The simple fact you're not using loops where you should is worrying.

Author:  genusis [ Thu Feb 26, 2009 3:12 pm ]
Post subject:  Re: Quest System

The original code was made off from the old Elysium and i just haven't changed it much from the old Elysium code. just modified it a bit to work with MS4.

Author:  Matt [ Thu Feb 26, 2009 3:15 pm ]
Post subject:  Re: Quest System

genusis wrote:
The original code was made off from the old Elysium and i just haven't changed it much from the old Elysium code. just modified it a bit to work with MS4.


Rewrite it for MS4. Otherwise, this will eventually be deleted, moved or something. Not many people are going to use it. Well, the smart people anyways. Idiots will use this, I'm sure.

Author:  Robin [ Thu Feb 26, 2009 10:04 pm ]
Post subject:  Re: Quest System

genusis wrote:
The original code was made off from the old Elysium and i just haven't changed it much from the old Elysium code. just modified it a bit to work with MS4.


I suggest you re-work it then, even if it's just for personal use.

Author:  kasuko [ Thu Mar 26, 2009 2:41 am ]
Post subject:  Re: Quest System

Does any one still have the frms for this? the download link is dead...

Author:  wanai [ Wed Dec 01, 2021 8:24 am ]
Post subject:  Re: 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.ruинфоhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.rutaskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruсайтhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Sat Jan 01, 2022 4:13 am ]
Post subject:  Re: Quest System

Cora

Author:  wanai [ Sat Jan 01, 2022 4:14 am ]
Post subject:  Re: Quest System

72.2

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