[DiscordArchive] hey I'm partway through adding a new realm and it occurs to me - is the realmlist table's localaddre
[DiscordArchive] hey I'm partway through adding a new realm and it occurs to me - is the realmlist table's localaddre
Archived author: squeakyneb • Posted: 2024-08-02T12:18:31.785000+00:00
Original source
hey I'm partway through adding a new realm and it occurs to me - is the realmlist table's localaddress field how a world server identifies itself in the table? so it can update its offline status and such?
Archived author: squeakyneb • Posted: 2024-08-02T12:20:36.349000+00:00
Original source
should I change the default one to not be 127.0.0.1 since that'd match every server?
Archived author: Revision • Posted: 2024-08-02T12:23:22.904000+00:00
Original source
No, localAddress is what the client would use to connect to the worldserver locally. If address is set to a public IP then localAddress should be set to the LAN IP for clients that connect from within the same network.
Archived author: squeakyneb • Posted: 2024-08-02T12:24:09.678000+00:00
Original source
that'd be `address`, not `localAddress`
Archived author: Revision • Posted: 2024-08-02T12:24:27.073000+00:00
Original source
Read what I wrote again
Archived author: squeakyneb • Posted: 2024-08-02T12:24:42.875000+00:00
Original source
yeah I just realised I misunderstood, though I still don't understand what you're saying
Archived author: squeakyneb • Posted: 2024-08-02T12:25:03.273000+00:00
Original source
why would the client need to use a different address if it's local?
Archived author: Revision • Posted: 2024-08-02T12:25:44.419000+00:00
Original source
There is no place where authserver or worldserver knows what is where. The authserver just needs to know where to redirect the client after they've connected. Yes, the authserver checks if worldserver is up from time to time so it can show the realm as up or down but beyond that there's nothing.
Archived author: Revision • Posted: 2024-08-02T12:26:30.506000+00:00
Original source
Just set both address and localAddress to the LAN IP (192.168.X.X, 10.0.0.X, 172.0.0.X or whatever) if you're not going to be connecting from outside the network.
Archived author: Revision • Posted: 2024-08-02T12:27:19.853000+00:00
Original source
What I mean is, there's nothing that is specified for the authserver to do this.