Page 1 of 2
lan networking
Posted: Mon Nov 27, 2006 7:47 pm
by Damo307
how can i get it so my server can be lan network so i can have more then just my computer to be able to log on?, just at my house only tho
Posted: Tue Nov 28, 2006 2:38 pm
by Yukiko
Open servers.cfg in your \pol\config directory and make sure the line for IP looks like this:
IP --lan--
Then you have to know what your LAN IP is. You find that out (assuming you are running Windows) by clicking on the "Start" button choosing "Run" and typing cmd in the box. Then once the DOS box has opened type ipconfig and press the <enter> key. You should see something like the following:
Code: Select all
Connection-specific DNS Suffix . : satx.rr.com
IP Address. . . . . . . . . . . . : 192.168.0.102
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
The IP Address line is your LAN IP address. Have all users in your LAN use that as the login address.
That should do it.
Posted: Tue Nov 28, 2006 3:26 pm
by Danielle
If I'm not mistaken, can't you just put in "--lan--" and pol will lookup and use the lan ip automatically?
Code: Select all
GameServer
{
Name ServerName
IP --lan--
Port 5003
}
Putting in the real number won't hurt of course, but pretty sure POL still does this.
It also knows "--ip--" too, but that was never realiable when used behind a router, which is how most computers are these days.
Posted: Tue Nov 28, 2006 3:29 pm
by Yukiko
Yeppers!
That's what I said I thought but he still needs to know is LAN IP to configure the clients on the other machines.
BTW glad to see you posting again Danielle. Hadn't spotted you on the boards for a while. Kinda missed you being around.
Posted: Tue Nov 28, 2006 6:31 pm
by Damo307
i am running on windows, i did everything you said to do, and yet i'm the only one who can still log in
Posted: Tue Nov 28, 2006 7:52 pm
by Tritan
Did you change the login.cfg file on the other computers in their UO directory to point to your IP?
If not they might still be trying to connect to another shard.
Posted: Tue Nov 28, 2006 8:18 pm
by Yukiko
Thanks Tritan. Forgot to give more details on changing login.cfg
Posted: Tue Nov 28, 2006 8:21 pm
by Damo307
yeah i did do that, and still dosnt work
GameServer
{
Name POL
IP --lan--
Port 5003
}
thats ment to look like that right?
Posted: Tue Nov 28, 2006 8:28 pm
by Yukiko
Yes.
Also make sure the login.cfg files in the UO folders on the other computers have your IP in them for the LoginServer= line
Posted: Tue Nov 28, 2006 8:32 pm
by Damo307
yeah me and my brother did do that, but he's computer can seem to log in.
Posted: Tue Nov 28, 2006 10:51 pm
by MuadDib
If using a router, make sure it's set up for it also for the ports.
Read up on the servers.cfg in the docs. You can also specify only certain ips that can attach to the server in there! Very hand to keep people off from the net on your local connection section.
Posted: Wed Nov 29, 2006 12:12 am
by Damo307
oh okay, but is there "server.cfg" in my pol folder or is it with my router?
Posted: Wed Nov 29, 2006 11:32 am
by MuadDib
polroot/config
Posted: Wed Nov 29, 2006 1:39 pm
by Damo307
GameServer
{
Name POL
IP 192.168.0.100
Port 5003
}
GameServer
{
Name POL-ip
IP poldev
Port 7003
}
thats what i have mine set as
Posted: Wed Nov 29, 2006 1:50 pm
by Yukiko
OK I am confused. Based on one of your earlier posts I thought you had set your servers.cfg file to:
Code: Select all
GameServer
{
Name POL
IP --lan--
Port 5003
}
That will cause the server to read your computers IP Address on the LAN and use that to listen for connections. Then all of those on your LAN should use your servers ss in their login.cfg file to access your server. That should allow connections assuming your firewall on the server, if you have a firewall, is allowing the port 5003 to be open.
Posted: Wed Nov 29, 2006 2:06 pm
by Damo307
yeah i did have it as that and it didnt work, so i changed it to what i just post before to see if it would work that way aswell, but it didnt
Posted: Wed Nov 29, 2006 2:35 pm
by Yukiko
What client versions are you trying to log in with? And what POL version is it?
Posted: Wed Nov 29, 2006 3:21 pm
by Damo307
No_Crypt_Client , ive been using that, and im using POL 95
Posted: Wed Nov 29, 2006 4:42 pm
by Yukiko
OK. No_Crypt_Client is a unencrypted client made from a certain client version. When you are at the login screen where you'd type your name and password there is a version number displayed right below the password line. What is it?
Posted: Wed Nov 29, 2006 4:47 pm
by Damo307
2.0.0.
Posted: Wed Nov 29, 2006 4:58 pm
by Yukiko
OK the reason I was asking is because certain versions of client won't communicate properly with certain versions of POL but as far as I know 2.0.0 should work with 095. You might get a hold of a version 4 client and see if that works.
Also check your uocliebt.cfg file located in \POL\pkg\foundations\hooks to make sure it has the proper port number in it as well.
Posted: Wed Nov 29, 2006 5:02 pm
by Damo307
General
{
Strength Strength
Intelligence Intelligence
Dexterity Dexterity
Hits Life
Mana Mana
Stamina Stamina
MaxSkillID 48
}
Protocol
{
#
# EnableFlowControlPackets: use the 0x33 (0x00 / 0x01) pause/restart packets.
# Though OSI seems to no longer send these packets, they seem to help with smoothness,
# particularly with boat movement.
# Note: clients 4.0.0e and newer do not like the uoclient.cfg setting
# EnableControlFlowPackets enabled, and causes login to fail. No way around this it
# seems.
EnableFlowControlPackets 0
}
-------------------------------------------------------------------------------------
umm.. sorry but im sorta lost were abouts there im ment to look to make sure it has the right port
Posted: Wed Nov 29, 2006 6:56 pm
by CWO
If you want some good 4.0.0 clients to try with (You should definitely patch to at least 4.x before using these clients though), you can check out my old collection of 4.x clients at
www.cwo333.com/clients ... Just dont use the login.cfg that comes in the zips. Thats only to ward off hotlinking directly to the files.
Posted: Wed Nov 29, 2006 7:24 pm
by Yukiko
Sorry Damo307.
My bad.
They didn't put any port info in the uoclient.cfg file until POL 096.
Disregard my post about that file.
Posted: Wed Nov 29, 2006 7:42 pm
by Damo307
oh, thats cool Yukiko