Mirage Source http://miragesource.net/forums/ |
|
Beginner's Guide To Mirage Source http://miragesource.net/forums/viewtopic.php?f=210&t=358 |
Page 1 of 2 |
Author: | Rian [ Tue Aug 08, 2006 2:06 am ] |
Post subject: | Beginner's Guide To Mirage Source |
Firstly, what is Mirage Source? Mirage Source is a ORPG Engine programmed in Visual Basic 6.0. In order to make best use of Mirage Source, you'll need a copy of Microsoft Visual Basic 6.0, here after referred to as "VB6". VB6 will allow you to edit the source code, and compile it into a .exe application for other people to use. VB6 is considered "abandon ware" but we'll take no requests as to ware to download VB6 with bit-torrent or P2P sharing program, or any otherwise illegal methods of obtaining VB6. So, go to eBay.com or Amazon.com and purchase a new or used copy if you don't already own VB6. Back to Mirage Source; Mirage consists of source code for two stand alone applications, a client, and a server. The client is the application that you will distribute to other players so that they can play your game. The server is the application that you'll run, from which the client connects to. Changing The IP Address Lets start by finding out your IP address. If your on a Local Area Network, you'll have to go to http://www.whatismyip.com to find you ip address. If not you could just type "ipconfig" into the command prompt. Now that you've got your IP address, open up the client side project. Now open modConstants. The first thing you will see is this: Code: ' Winsock globals
Public Const GAME_IP = "127.0.0.1" Public Const GAME_PORT = 7000 Basically, just change "127.0.0.1" to the IP address given to you by whatismyip.com or by the command prompt. If you're only testing your client, you can just keep 127.0.0.1 as your IP address, as that's your local address. You will need to change the IP to your actual IP if and when you wish distribute your client. Connection Errors, and Port Fowarding If you experience server down errors, and you've changed the IP address that the Client uses, it's most likely due to 1 of 2 things. The first and easiest is check to make sure Windows Firewall (or some third party firewall) isn't blocking the program. If your firewall is allowing the client and server to communicate, then you probably have a router. You need to access your router control panel (usually done by typing your lan address into your browser). Once you access the router control panel, you need to find the section for port forwarding (my personal router's port forwarding is under a link called "Access and Gaming"). Forward the port that your game will be using. The default port is 7000, so that's the port you should use, unless you changed it in the code (client and server side changes need to be made to change your port). The Client in a Nutshell ___*modClientTCP - Communicates packets with the server. ___*modConstants - Contains public Constants used be the client. ___*modDataBase - Loads and Saves maps used by the client. ___*modDeclares - Contains Declarations ___*modDirectX - Loads Surfaces into your game screen. ___*modGameLogic - Game Logic? ___*modGlobals - Public Variables used by Client ___*modHandleData - Handles packets sent from the server. ___*modSound - Handles music and sound effects. ___*modText - Formats text used in client. ___*modTypes - Contains Types The Server in a Nutshell ___*modServerTCP - Communicates packets with the server. ___*modConstants - Contains public Constants used be the server. ___*modDataBase - Loads and Saves maps, items, spells, shops, npcs, accounts, and classes. ___*modDeclares - Contains Declarations ___*modGenerals - General Server "Things" ___*modGameLogic - Game Logic? ___*modGlobals - Public Variables used by Client ___*modHandleData - Handles packets sent from the client ___*modText - Formats text sent to the client. ___*modTypes - Contains Types That's it for now. Community Leaders, and Mirage Source veterans, please contribute. Quote this, and make any changes you feel need be made, and reply. This is a nice skeleton of a what could be a pretty good guide for starters. |
Author: | Rian [ Wed May 09, 2007 6:58 am ] |
Post subject: | |
Topic Bump, just to let you guys know that I finally updated this. |
Author: | William [ Wed May 09, 2007 7:47 am ] |
Post subject: | |
Very nice indeed, now we have something to redirect newcomers to |
Author: | Pbcrazy [ Thu Apr 24, 2008 1:51 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
you guys might need to update this some of these modules are not there any more and there are some new ones now |
Author: | Stomach Pulser [ Thu Apr 24, 2008 1:54 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
MSE1 still prevails! yeah, this was made for MSE1...so, yeah... |
Author: | userofpro [ Sun Apr 27, 2008 1:58 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
modConstants my client side dont have those folders do i just make them in the client folder |
Author: | Lea [ Sun Apr 27, 2008 2:29 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
Do you mean the folders listed in modConstants for housing the data files and such? They will be created automatically upon server startup... if I know what folders you're talking about...? |
Author: | userofpro [ Mon Apr 28, 2008 1:47 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
Oh ok can you tell me how to do server start up? |
Author: | Lea [ Mon Apr 28, 2008 4:27 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
double click the EXE Or click the "Play" button in VB. |
Author: | Stomach Pulser [ Mon Apr 28, 2008 8:27 pm ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
f5 |
Author: | userofpro [ Mon Apr 28, 2008 9:17 pm ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
ok I got all my folders but when i try to run i get run time errors and compile errors |
Author: | Stomach Pulser [ Mon Apr 28, 2008 10:17 pm ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
Did you extract it properly? Did you install vb properly? |
Author: | userofpro [ Mon Apr 28, 2008 10:35 pm ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
yeah i just dont know how to start up game so i can edit stuff |
Author: | Lea [ Tue Apr 29, 2008 12:43 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
I would recommend going to a premade game creator like Playerworlds to get the feel for it. Once you're familiar using Playerworlds, Mirage source is a lot easier to work with. |
Author: | userofpro [ Tue Apr 29, 2008 2:40 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
ok you've helped alot thank you |
Author: | userofpro [ Wed Apr 30, 2008 2:59 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
Is it only for me or can I send it to my friends to play it to? |
Author: | Lea [ Wed Apr 30, 2008 3:55 am ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
What, playerworlds? You'll have better luck asking questions on their forum. You can set it up so others can play it with you, but there is some configuration to do (mainly your router). They can help you do it there. |
Author: | userofpro [ Wed Apr 30, 2008 2:57 pm ] |
Post subject: | Re: Beginner's Guide To Mirage Source |
Ok thank you agin |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |