C9 Error in LAN

11/26/2017 13:42 calowizm#1
Good day,

I was using this tutorial:

[Only registered and activated users can see links. Click Here To Register...]

and I have a server which is playable from outside. When I try to connect with my pc which is in LAN with the server I get C9 error. Everywhere on the server is my public ip address, but in my edxloader I use the LAN address.

Do anyone know where is the problem?

Thank you in advance
11/26/2017 13:52 blapanda#2
Either one of these:

Get a client (sro_client.exe) which has its offsets patched for multiclient, then you will also be able playing on your server from the same machine with the public IP being used.

OR

If you are trying to log in with a GM account, then you probably are missing some input into your PrivilegedIP-Table at your account database.
Insert your public IPv4 range and your local IPv4 from your router to that list.
11/26/2017 15:50 calowizm#3
Hello,

thank you for the fast answer.
I have choose the second solution but I'm not sure if I understood correctly. I've tried to add new line in the PrivilegedIP table with my my local ipv4 (twice 192.168.x.x), also I've tried to edit the first line and set public ip-local ip.

Maybe is one of these correct, but do I need something else? There is the file "wip" and "nip" in the srNodeType. What needs to be there? Both public ip or "nip" local ip?

Is there something else that i need to check?

Thank you!
11/26/2017 19:37 blapanda#4
The content definition of "srNodeType.ini" needs the IP of your server, which can be either totally private (local IP: 192.168.XXX.XXX and only accessible to you) or the public one (which you can easily obtain by browsing for ping.eu as an example).

But do remember, use only a single IPv4 address. Either one for you and your local area network, or only the static/dynamic public one. Don't mix them up. They won't harm anything, but will probably cause some connection issues.

Other than that, nothing important left, besides of having correct ODBC setups, database credentials for your billingserver, server.cfg file, and other files.
11/27/2017 19:02 calowizm#5
Okay, I've choose to have everywhere the public IP. But then I come to your step:

Quote:
Originally Posted by blapanda View Post
Either one of these:
If you are trying to log in with a GM account, then you probably are missing some input into your PrivilegedIP-Table at your account database.
Insert your public IPv4 range and your local IPv4 from your router to that list.
Check attachment please and is this how you meant it?

Ps: It's not working like this now.
11/27/2017 20:49 blapanda#6
The first line should be ok.
The second one (censoring that one is unnecessary btw) is kinda questionable.
Why such a high range?
If you are having e.g. 2 machines, a desk PC (where your server runs at and you also use it for logging into your own game) and a laptop (logging into your own game only), then you should have IP addresses like:
192.168.1.20 - PC
192.168.1.32 - Laptop

Just insert a strict range, in this case once:
192 168 1 20 192 168 1 20
and
192 168 1 32 192 168 1 32
and that should do the trick.
Just keep in mind, within this context, the more IPs you privilege, the longer the gateway module keeps fetching these IP addresses to the module cache itself. It will boot slower and might allocate unnecessary memory.
11/27/2017 22:09 calowizm#7
Well, I just wanted to be sure that my pc's are in the range. But ok, if its too much then I corrected it to 192.168.1.111-192.168.1.111 which is the IP of my pc. The server is running on the public IP and its local ip adress is 192.168.1.102.

Sadly I still cannot connect with my pc to the server.

I use edxloader and I've put 192.168.1.102:15779 (checked multiclient) but cannot join with a normal, nor a gm account.

Seems there is something left what needs to be configured.

As I know I cant use public IP's in local network.
11/28/2017 23:37 calowizm#8
I need to mention maybe that my server is on a VM installed. Does it changes anything?