Bently
04-02-2002, 07:20 PM
Okay, I have quietly been following EQemu for some time, and have since now registered a forum account, so now im gonna make use of it.
How do I get EQemu working on a LAN you say?
I will tell you the exact steps, but first I will assume one very simple fact:
Your computers run windows.
Before I continue, I must say this. Windows XP operates differently to what I am about to write. A followup post will address windows XP LANs.
Before trying this, please read it ALL from start to finish so you dont miss anything. I will make side notes as I go on various things, although I wont make them obvious (eg. headings)
Part 1.
Setting up your network.
Firstly, ensure all computers are physically plugged in to the hub/switch.
Ensure all computers have a network (ethernet) card installed and working.
Navigate to: Start Menu > Settings > Control Panel
Double click on "Network"
Now, ensure you have the following, and only the following components installed:
Client for microsoft Networks
Microsoft family logon
Dial-Up Adapter
Network Card
(In my case it says NETGEAR FA311 Fast Ethernet PCI Adapter, so its pretty easy to recognise, and so should yours)
IPX/SPX-compatible protocal
TCP/IP
File and printer sharing for microsoft networks
IPX/SPX is a very debatable topic. Some say dont install it, but I do simply for the compatabillity. I frequent LAN parties and some games we play only use the IPX protocal so it comes in handy.
Dont be alarmed if IPX/SPX and TCP/IP "bind" themselves to your network card and Dialup adapter, as this is normal, and good.
Left click on the IPX/SPX protocal binded to your network card (indicated by a -> then your network card) then click "properties".
Use the tab buttons up the top to navigate to "advanced" then click on "Frame Type". Auto works here, and is stable, but I generally change this to "Ethernet 802.3".
Do the same as above to TCP/IP but instead of changing it to "Ethernet 802.3" under advanced, ensure under "IP Address", that it is set to "Obtain IP address automatically".
Under the identification tab back out where it shows installed components (IPX, TCP/IP, network card etc) navigate to the "Identification" tab up the top. Give your computer a name then make sure its "workgroup" is set to "Home" or some other name that ALL computers will have.
Doing this to all computers will give you a working network configuration.
Part 2.
A working Internet Gateway
So, now you need a primary computer in which all other computers recieve an IP address from when the boot up huh? (Remember the "obtain IP address automatically" part).
This is guaranteed to be the easiest part, however ONLY do it on the computer you dial up to the internet from, as this will be your internet gateway from now on.
Navigate to Start Menu > Settings > Control Panel
Double click on "Add/Remove Programs" then click on the "Windows Setup" tab up the top.
Double click on "Internet Tools" then check "Internet Connection Sharing". Be sure you have a blank 1.44MB Floppy disk handy, as you will need it to make a client disk.
Dit dit dit okay its installed it. You may or may not have to restart your computer. Now it will run you through the setup program.
Take these things to mind when doing this:
The adapter you connect to the internet on is your computers MODEM.
The adapter that connects you to your network is your NETWORK CARD.
Your Workgroup that you set to all the other computers. 9/10 times by default this setup program will say MSHOME. Change this you your workgroup!!
Please read it all carefully as you go through it.
Now that your gateway is setup, its INTERNAL Network IP address will become 192.168.0.1, however its INTERNET IP Address will be independantly different.
NEVER GIVE OUT YOUR INTERNET IP ADDRESS TO THOSE YOU DONT KNOW. YOUR INTERNAL IP ADDRESS IS SAFE HOWEVER AS HUNDREDS, EVEN MILLIONS OF PEOPLE USE IT, AND ITS MEANINGLESS ON THE INTERNET.
Part 3.
Filling in the missing link.
Okay, now what you say?
Now you walk around and run the program on the client disk you made, on all the other computers you want setup. Easy.
Remember the following, as usual:
The adapter you connect to the internet on is your computers MODEM.
The adapter that connects you to your network is your NETWORK CARD.
Your Workgroup MUST be the same as the Gateway's.
Depending, and if the stars are smiling on you, each computer you do will be setup in order.
192.168.0.2
192.168.0.3
192.168.0.4 etc. etc.
Your subnet mask will be 255.255.255.0, but this does not affect you in any major way, im just saying it in case you want to know, or you need to know it for something else.
Well done. You did it. A working network that has a shared internet connection also (Very handy). I know some computer technitions that cant do this so I have to hand it to you :)
Part 4.
Setting up the EMU.
Okay. Now I assume you will run all of the server consoles on the internet gateway computer you setup, so all you should really have to do is change your LoginServer.ini file, your db.ini file and eqhosts.txt file to reflect the following.
LoginServer.ini
************
[LoginServer]
loginserver=192.168.0.1
worldname=Unnamed <- Your server name here
locked=false
account=
password=
worldaddress=192.168.0.1
loginport=5999
db.ini
************
[Database]
host=localhost (Try 192.168.0.1 here if you like*)
user=MySQLUsername
password=MySQLPassword
database=MySQL Database name (eq, everquest etc.**)
*If you get an error then in world.exe, put "localhost" back here.
**Whatever you called your MySQL eqemu database.
eqhosts.txt
************
[Registration Servers]
{
"192.168.0.1:5999"
}
[Login Servers]
{
"192.168.0.1:5999"
}
zone server *.bat file (what ever you have it named)
************
@echo off
start zone9x freporte 192.168.0.1 9001 192.168.0.1
exit
cls
Total EMU Bootup *.bat file
************
@echo off
start MiniLogin.exe
start World.exe
start ZoneBoot.bat <- This is your zone *.bat file
exit
cls
Part 5.
Running the server.
Okay, lets give it al whirl.
Double click on your new ServerBoot.bat file (see above).
Open up eqw.exe, ensure your desktop is set to 16 bit colour.
Use the Name "eqemu" and the apssword "eqemu" to login.
Make a character.
Play.
*Final Tips*
To create an *.bat file, open notepad and enter the information required, for example;
@echo off
start MiniLogin.exe
exit
cls
Save it as something, in this case, Minilogin.txt.
Open My Computer then goto:
View > Folder Options > View and then uncheck "Hide file extensions of known file types".
Rename the file extension to .bat, so we are left with Minilogin.bat.
Well done.
Alternativly, right click on a copy of an existing *.bat file and select "edit".
Note. *.bat. the * indicates a wildcard character. This means anything. subsitute whatever into this. So if your bat file is named bob then the * represents bob on your computer :).
Enjoy.
Bently
How do I get EQemu working on a LAN you say?
I will tell you the exact steps, but first I will assume one very simple fact:
Your computers run windows.
Before I continue, I must say this. Windows XP operates differently to what I am about to write. A followup post will address windows XP LANs.
Before trying this, please read it ALL from start to finish so you dont miss anything. I will make side notes as I go on various things, although I wont make them obvious (eg. headings)
Part 1.
Setting up your network.
Firstly, ensure all computers are physically plugged in to the hub/switch.
Ensure all computers have a network (ethernet) card installed and working.
Navigate to: Start Menu > Settings > Control Panel
Double click on "Network"
Now, ensure you have the following, and only the following components installed:
Client for microsoft Networks
Microsoft family logon
Dial-Up Adapter
Network Card
(In my case it says NETGEAR FA311 Fast Ethernet PCI Adapter, so its pretty easy to recognise, and so should yours)
IPX/SPX-compatible protocal
TCP/IP
File and printer sharing for microsoft networks
IPX/SPX is a very debatable topic. Some say dont install it, but I do simply for the compatabillity. I frequent LAN parties and some games we play only use the IPX protocal so it comes in handy.
Dont be alarmed if IPX/SPX and TCP/IP "bind" themselves to your network card and Dialup adapter, as this is normal, and good.
Left click on the IPX/SPX protocal binded to your network card (indicated by a -> then your network card) then click "properties".
Use the tab buttons up the top to navigate to "advanced" then click on "Frame Type". Auto works here, and is stable, but I generally change this to "Ethernet 802.3".
Do the same as above to TCP/IP but instead of changing it to "Ethernet 802.3" under advanced, ensure under "IP Address", that it is set to "Obtain IP address automatically".
Under the identification tab back out where it shows installed components (IPX, TCP/IP, network card etc) navigate to the "Identification" tab up the top. Give your computer a name then make sure its "workgroup" is set to "Home" or some other name that ALL computers will have.
Doing this to all computers will give you a working network configuration.
Part 2.
A working Internet Gateway
So, now you need a primary computer in which all other computers recieve an IP address from when the boot up huh? (Remember the "obtain IP address automatically" part).
This is guaranteed to be the easiest part, however ONLY do it on the computer you dial up to the internet from, as this will be your internet gateway from now on.
Navigate to Start Menu > Settings > Control Panel
Double click on "Add/Remove Programs" then click on the "Windows Setup" tab up the top.
Double click on "Internet Tools" then check "Internet Connection Sharing". Be sure you have a blank 1.44MB Floppy disk handy, as you will need it to make a client disk.
Dit dit dit okay its installed it. You may or may not have to restart your computer. Now it will run you through the setup program.
Take these things to mind when doing this:
The adapter you connect to the internet on is your computers MODEM.
The adapter that connects you to your network is your NETWORK CARD.
Your Workgroup that you set to all the other computers. 9/10 times by default this setup program will say MSHOME. Change this you your workgroup!!
Please read it all carefully as you go through it.
Now that your gateway is setup, its INTERNAL Network IP address will become 192.168.0.1, however its INTERNET IP Address will be independantly different.
NEVER GIVE OUT YOUR INTERNET IP ADDRESS TO THOSE YOU DONT KNOW. YOUR INTERNAL IP ADDRESS IS SAFE HOWEVER AS HUNDREDS, EVEN MILLIONS OF PEOPLE USE IT, AND ITS MEANINGLESS ON THE INTERNET.
Part 3.
Filling in the missing link.
Okay, now what you say?
Now you walk around and run the program on the client disk you made, on all the other computers you want setup. Easy.
Remember the following, as usual:
The adapter you connect to the internet on is your computers MODEM.
The adapter that connects you to your network is your NETWORK CARD.
Your Workgroup MUST be the same as the Gateway's.
Depending, and if the stars are smiling on you, each computer you do will be setup in order.
192.168.0.2
192.168.0.3
192.168.0.4 etc. etc.
Your subnet mask will be 255.255.255.0, but this does not affect you in any major way, im just saying it in case you want to know, or you need to know it for something else.
Well done. You did it. A working network that has a shared internet connection also (Very handy). I know some computer technitions that cant do this so I have to hand it to you :)
Part 4.
Setting up the EMU.
Okay. Now I assume you will run all of the server consoles on the internet gateway computer you setup, so all you should really have to do is change your LoginServer.ini file, your db.ini file and eqhosts.txt file to reflect the following.
LoginServer.ini
************
[LoginServer]
loginserver=192.168.0.1
worldname=Unnamed <- Your server name here
locked=false
account=
password=
worldaddress=192.168.0.1
loginport=5999
db.ini
************
[Database]
host=localhost (Try 192.168.0.1 here if you like*)
user=MySQLUsername
password=MySQLPassword
database=MySQL Database name (eq, everquest etc.**)
*If you get an error then in world.exe, put "localhost" back here.
**Whatever you called your MySQL eqemu database.
eqhosts.txt
************
[Registration Servers]
{
"192.168.0.1:5999"
}
[Login Servers]
{
"192.168.0.1:5999"
}
zone server *.bat file (what ever you have it named)
************
@echo off
start zone9x freporte 192.168.0.1 9001 192.168.0.1
exit
cls
Total EMU Bootup *.bat file
************
@echo off
start MiniLogin.exe
start World.exe
start ZoneBoot.bat <- This is your zone *.bat file
exit
cls
Part 5.
Running the server.
Okay, lets give it al whirl.
Double click on your new ServerBoot.bat file (see above).
Open up eqw.exe, ensure your desktop is set to 16 bit colour.
Use the Name "eqemu" and the apssword "eqemu" to login.
Make a character.
Play.
*Final Tips*
To create an *.bat file, open notepad and enter the information required, for example;
@echo off
start MiniLogin.exe
exit
cls
Save it as something, in this case, Minilogin.txt.
Open My Computer then goto:
View > Folder Options > View and then uncheck "Hide file extensions of known file types".
Rename the file extension to .bat, so we are left with Minilogin.bat.
Well done.
Alternativly, right click on a copy of an existing *.bat file and select "edit".
Note. *.bat. the * indicates a wildcard character. This means anything. subsitute whatever into this. So if your bat file is named bob then the * represents bob on your computer :).
Enjoy.
Bently