Mirage Source

Free ORPG making software.
It is currently Fri Apr 19, 2024 4:25 pm

All times are UTC


Forum rules


Make sure your tutorials are kept up to date with the latest MS4 releases.



Post new topic Reply to topic  [ 1384 posts ]  Go to page 1, 2, 3, 4, 5 ... 56  Next
Author Message
 Post subject: Quest System
PostPosted: Wed Dec 31, 2008 7:18 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
lmao post contains to few characters

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Last edited by genusis on Fri May 29, 2009 2:57 am, edited 2 times in total.

Top
 Profile  
 
PostPosted: Sun Jan 04, 2009 7:18 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
It's good, just work on your formatting. I'm going to try to convert this for Elysium.

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
PostPosted: Sun Jan 04, 2009 7:16 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
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.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Fri Jan 09, 2009 6:30 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
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.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Sun Jan 11, 2009 11:46 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Feb 10, 2008 7:40 pm
Posts: 200
Thanks, I needed this. Last thing I need is a Guild System XD.

_________________
I is back!


Top
 Profile  
 
PostPosted: Mon Jan 12, 2009 3:00 am 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
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.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Mon Jan 12, 2009 3:26 am 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
I will as soon as someone confirms that it's working

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
PostPosted: Mon Jan 12, 2009 4:23 am 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
Rian wrote:
I will as soon as someone confirms that it's working

Nean or someone beside say this is working correctly.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Mon Jan 12, 2009 4:32 am 
Offline
Knowledgeable
User avatar

Joined: Tue May 30, 2006 1:42 am
Posts: 346
Location: Florida
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

_________________
shut your manpleaser
http://www.kazmostech.com


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Mon Jan 12, 2009 5:12 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Forgot to add this to the quest rec:
QuestExpReward As Long

:)

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Mon Jan 12, 2009 1:42 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
i might add that to the quest system who knows ^^.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Mon Jan 12, 2009 8:07 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
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

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Wed Feb 18, 2009 12:16 pm 
Offline
Newbie
User avatar

Joined: Tue Feb 17, 2009 10:51 pm
Posts: 22
Location: Denmark
Google Talk: andydk90@gmail.com
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.

_________________
Image

My Current Work
SPOILER: (click to show)


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Wed Feb 18, 2009 12:43 pm 
Offline
Newbie
User avatar

Joined: Tue Feb 17, 2009 10:51 pm
Posts: 22
Location: Denmark
Google Talk: andydk90@gmail.com
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.

_________________
Image

My Current Work
SPOILER: (click to show)


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Wed Feb 18, 2009 1:04 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
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.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Wed Feb 25, 2009 7:47 am 
Offline
Newbie

Joined: Tue Feb 24, 2009 8:58 pm
Posts: 3
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.


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Wed Feb 25, 2009 8:51 am 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
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?

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Wed Feb 25, 2009 5:37 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Thu Feb 26, 2009 3:12 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
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.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Thu Feb 26, 2009 3:15 pm 
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.


Top
  
 
 Post subject: Re: Quest System
PostPosted: Thu Feb 26, 2009 10:04 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Thu Mar 26, 2009 2:41 am 
Offline
Newbie

Joined: Wed Mar 25, 2009 11:58 pm
Posts: 8
Does any one still have the frms for this? the download link is dead...


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Wed Dec 01, 2021 8:24 am 
Online
Mirage Source Lover

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


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Sat Jan 01, 2022 4:13 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479255
Cora


Top
 Profile  
 
 Post subject: Re: Quest System
PostPosted: Sat Jan 01, 2022 4:14 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 479255
72.2


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1384 posts ]  Go to page 1, 2, 3, 4, 5 ... 56  Next

All times are UTC


Who is online

Users browsing this forum: 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