lan networking

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

lan networking

Post 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
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
Danielle
Grandmaster Poster
Posts: 104
Joined: Tue Feb 07, 2006 3:32 pm

Post 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.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post 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
User avatar
Tritan
Grandmaster Poster
Posts: 147
Joined: Sat Feb 04, 2006 8:17 am

Post 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.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

Thanks Tritan. Forgot to give more details on changing login.cfg
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post 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?
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post by Damo307 »

yeah me and my brother did do that, but he's computer can seem to log in.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post 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.
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post by Damo307 »

oh okay, but is there "server.cfg" in my pol folder or is it with my router?
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

polroot/config
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post 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
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post 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
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

What client versions are you trying to log in with? And what POL version is it?
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post by Damo307 »

No_Crypt_Client , ive been using that, and im using POL 95
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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?
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post by Damo307 »

2.0.0.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post 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
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post 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.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
Damo307
Expert Poster
Posts: 79
Joined: Fri Jul 07, 2006 1:32 am

Post by Damo307 »

oh, thats cool Yukiko
Post Reply