Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guide: 3.0.3
#1
3.03 Support :: For Beginners
I support 3.03 Users %100

Whats V3.03
MirageSource 3.03 is probally the earliest version we have of this open source orpg creation.

Whats better MSE, V3.03, or V3.07?
It depends on your decision.

V3.03
In my opinion 3.03 is the easiest and has more tutorials which you can choose to use but 3.03 isnt supported. 3.03 Does not have a license.

V3.07
This version is of V3.03 with MySQL! Yes, mysql. Its hard to start but you'll get the hang of it if you do things with it daily for practice and enhancement on programming skills. 3.07 Does not have a license.

MSE Build 1
MSE Build 1 has some optimizations not much but just some. What it does have is a license. Which you need to read if you want to use MSE Build 1. I do not recommend MSE Build 1 but its your decision.

MSE Build 2
MSE Build 2 is not yet released but is planned to have many optimizations and fixed. RECOMMENDED.

Part One - Getting Used to Vb6
If you know much of VB6 skip this part.
Start messing with properties, command buttons, list boxes, etc. Make a command button change captions, textbox's text. Get used to VB6! I.E.

Code:
If lblOrg.Caption = "Oh" Then
        lblOrg.Caption = "My"
        cmdCaption.Caption = "Hit me 2 More Times!"
    ElseIf lblOrg.Caption = "My" Then
        lblOrg.Caption = "God"
        cmdCaption.Caption = "Hit me 1 More Time!"
    ElseIf lblOrg.Caption = "God" Then
        lblOrg.Caption = "I've Died!!!!"
        cmdCaption.Caption = "Do Nothing"
    End If

Examine the code. Its pretty simple. If the label named lblOrg's Caption = Oh then lblorg's caption is now my. Thats what Vb6 is telling your system but in order to tell the system you must tell Vb6 the correct way so it can understand you. The VB6 Language. If you study that code you'll learn the If, Else If, End If. For Every If (as itself, not else if) theres a End If. Why? Vb6 will not know when to tell the system to end it.

Part Two - Launching MS 3.03
The first things you want to do is explore your source.
Get to know your code! This will be more fast to find codes.
Oh Yes! How to find codes? (Usage for tutorials) Ctrl + F and a menu will pop up. ( See image below! )

[Image: Yayee.png]
Current Procedure ( Search the current sub your within )
Current Module ( Search the whole form or whole module your within )
Current Project ( Search the whole project. - ALL FORMS, ALL MODULES )
Selected Text ( Self Explanatory )

This is the end of PART TWO. You've learned how to search and got to know your source a little bit more.

Part Three - Doing your first tutorial
This will be not too hard for you depending on your understanding of VB6.

Fill Button Tutorial - by Lucidar

In frmMirage.picMapEditor add a command button named
cmdButton. Add the Following inside it.

Code:
Dim y As Long
Dim x As Long
    For y = 0 To MAX_MAPY
        For x = 0 To MAX_MAPX
            If frmMirage.optLayers.Value = True Then
            With Map.Tile(x, y)
                If frmMirage.optGround.Value = True Then .Ground = EditorTileY * 7 + EditorTileX
                If frmMirage.optMask.Value = True Then .Mask = EditorTileY * 7 + EditorTileX
                If frmMirage.optAnim.Value = True Then .Anim = EditorTileY * 7 + EditorTileX
                'If frmMirage.optMask2.Value = True Then .Mask2 = EditorTileY * 7 + EditorTileX
                'If frmMirage.optM2Anim.Value = True Then .M2Anim = EditorTileY * 7 + EditorTileX
                If frmMirage.optFringe.Value = True Then .Fringe = EditorTileY * 7 + EditorTileX
                'If frmMirage.optFAnim.Value = True Then .FAnim = EditorTileY * 7 + EditorTileX
                'If frmMirage.optFringe2.Value = True Then .Fringe2 = EditorTileY * 7 + EditorTileX
                'If frmMirage.optF2Anim.Value = True Then .F2Anim = EditorTileY * 7 + EditorTileX
            End With
        End If
    Next x
Next y

If you have extra layers ( extra layer tutorial) remove the ' from the green lines (which are comments, as the system doesn't read it.)

Your Done. Test it out.

Oh yes, making yourself an admin! I forgot :p.
Create an account. create a character. goto your server folder
then go into the folder "Accounts". Now open the account you just created. then find Access=0 and change it to 4. And your all set!
  • Admin commands
    Type:
    /edititem
    ^ ^ That Edits Items

    /mapeditor
    ^ ^ Open the map editor

    /editnpc
    ^ ^ Edit NPC's

    /editshop
    ^ ^ Edit the shops
for more commands check your source!

more Parts coming soon. Please ask questions if your unsure of something.

3.03 Continued ::

When starting a fresh source, its nice to add optimizations making things faster and easier for you to come around. By now you should know basic things such as If, Else, Then, etc. Lets go over somethings.

Size is a large matter when programming. Most feel that its better using smaller sized variables etc. And so, Speed is created.

Speed depends on your pc and how you programmed the function.

Continued once I get home from school.
Reply
#2
awsome! this really helps Smile

i am sure a lot of newbies will be happy about that Smile
Reply
#3
Well done Smile

Edit:
Kuja Wrote:I do not recommend MSE Build 1 but its your decision.
THe license isn't bad:
License Wrote:As of March 20, 2006, Mirage Source Engine is Public Domain. It is requested, but not required, to place Mirage Source and Shannara Corporation in the credits of your MSE based product.
Please note, the GUI graphics are still copyrighted by Shannara Corporation, and can not be used in your product. This is due to Copyright Laws. The GUI graphics are there for demonstration purpose only. You must replace the GUI graphics before releasing your product.

Edit 2: Made it Sticky Wink
Reply
#4
Count 3
Reply
#5
kikoo menz
Reply
#6
If possible i would like to offer support for 3.0.3 on mirage-realms, i have been putting alot of hours into it lately just looking and understanding code and it seems a shame to lay this skeleton to rest ;
Reply
#7
I dont really see a reason to support it on another forum. We have 1 board here to support it, and I would have opened more boards if I saw a demand for it.
Reply
#8
-looks-

Can you point me to the 3.0.3 tutorials please? Tongue
Reply
#9
That is indeed a good question. Although most of the tuts here are easily added for 3.0.3 and I dont think all tuts here are for MSE either.

http://www.key2heaven.net/ms/Tutorials.rar

Not sure if that is MSE tutorials or not.
Reply
#10
I will have a look, i am bored out of my face i need SOMETHING to do with my spare time, even if it is pointless and unappreciated xP

Yes these are the 3.0.3 tutorials, going to spend the rest of my life writing them up neatly on the mr forums -yawns-
Reply
#11
The Tutorial.rar link is broken... I really want the old forums posts back, because I had so many tutorials on there with which we helped each other. Now I need my old ones to help me fix the errors in my new code. Does anyone know where to get a hold of all the old posts?
Reply
#12
Thank you very much!

If I could get them in a .rar, that would be cool, because then I can work on everything remotely.
Reply
#13
http://web.miragesource.com/downloads/Tutorials.rar
Reply
#14
Hmm,

viewtopic.php?f=5&t=3931&p=45791#p45791

Smile
Reply
#15
MY BACKUPS D:
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)