Dedicated server problem. Please Help.

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
murataj
Posts: 4
Joined: Wed Feb 01, 2012 6:38 pm

Dedicated server problem. Please Help.

Post by murataj »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Hello, I had an interlude server once, but and it was working fine, but now this H5 really confuses me.. Can i get some help on making my server dedicated? This is the host file:

Code: Select all

# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:##      102.54.94.97     rhino.acme.com          # source server#       38.25.63.10     x.acme.com              # x client host # localhost name resolution is handled within DNS itself.#   127.0.0.1       localhost#   ::1             localhost127.0.0.1       localhostl2reality.no-ip.biz L2authd.lineage2.com
This is the ipconfig.xml file:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- l2reality.no-ip.biz --><gameserver address="l2reality.no-ip.biz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="192.0.0.0/8" address="192.168.2.3" />    <define subnet="192.16.0.0/19" address="192.168.2.3" />    <define subnet="192.168.0.0/16" address="192.168.2.3" /></gameserver>
My IP is dynamic so i created a host on no-ip.com, so my IP now is l2reality.no-ip.biz.
My lan IP i think is 192.169.2.3, but just to be sure, that's what i get when i type 'ipconfig' on cmd:

Code: Select all

   Επίθημα DNS συγκεκριμένης σύνδεσης:   Address IPv6 lan connection. : fe80::3c3c:674c:ac35:f9f0%10   Address IPv4. . . . . . . . . . : 192.168.2.3   Subnet mask. . . . . . . . . : 255.255.255.0   Predefined gate . . . . . . .  : 192.168.2.1I translated those in english, so.. sorry if something's wrong. It's not my system's fault :P 
Also, on my router, when i added the ports to forward, on the box where it says to enter the target IP. I entered my local one. Because it won't accept l2reality.no-ip.biz. Is that ok? or is it a problem? Thanks for your time
Please.. Help me with my problem, and if there is something more except these that i need to edit, tell me.. Or if you know any step by step guide.. Thanks in advance..

Edit: Image of my hosts file, ipconfig.xml, my no-ip address, and my router's ports to forward
http://img408.imageshack.us/img408/4053/toupload.png
Last edited by murataj on Thu Feb 02, 2012 2:14 pm, edited 3 times in total.
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Dedicated server problem, Need Help.

Post by tukune »

See http://trac.l2jserver.com/wiki/hosts

127.0.0.1 localhost
l2reality.no-ip.biz L2authd.lineage2.com :evil:
192.168.2.3 L2authd.lineage2.com :D
have to "number.number.number.number"

<?xml version="1.0" encoding="UTF-8"?>
<!-- l2reality.no-ip.biz -->
<gameserver address="l2reality.no-ip.biz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" /> :D
<define subnet="172.16.0.0/19" address="172.16.0.0" /> :D
<define subnet="192.168.0.0/16" address="192.168.2.3" />
</gameserver>
murataj
Posts: 4
Joined: Wed Feb 01, 2012 6:38 pm

Re: Dedicated server problem, Need Help.

Post by murataj »

Thanks, i'll try it when I get home.. But still, I don't think that's all i need to do, and I can't say that I fully understand it, could you be a bit more specific please?.. Like, the line in red is what I should change or in what I should change it? And the blue lines? does it mean I should have it like this? and what do you mean by saying
<<have to "number.number.number.number">> Anyway, I'll try, I appriciate your help.
murataj
Posts: 4
Joined: Wed Feb 01, 2012 6:38 pm

Re: Dedicated server problem, Need Help.

Post by murataj »

banned wrote:See http://trac.l2jserver.com/wiki/hosts

127.0.0.1 localhost
l2reality.no-ip.biz L2authd.lineage2.com :evil:
192.168.2.3 L2authd.lineage2.com :D
have to "number.number.number.number"

<?xml version="1.0" encoding="UTF-8"?>
<!-- l2reality.no-ip.biz -->
<gameserver address="l2reality.no-ip.biz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" /> :D
<define subnet="172.16.0.0/19" address="172.16.0.0" /> :D
<define subnet="192.168.0.0/16" address="192.168.2.3" />
</gameserver>
I tried it... Did everything you said, except that "have to "number.number.number.number"" which i don't understand and didn't work.. :? :| Any other suggestion?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Dedicated server problem. Please Help.

Post by Zoey76 »

He means that you can not bind a DNS to another DNS in HOSTS file.
This way is not valid:

Code: Select all

yahoo.com google.com
You can do IP - DNS

Code: Select all

127.0.0.1 google.com
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
afk5min
Posts: 38
Joined: Tue Jan 31, 2012 4:02 pm
Location: Away From Keyboard

Re: Dedicated server problem. Please Help.

Post by afk5min »

DNS = Domain Name System. The correct term you wanted to use is a domain name.

On the subject:
Hosts file is an alternative to a DNS server. It functions 'like' a DNS server; maps domain names to IP addresses. That's why you cannot map mydomain.com to myotherdomain.com, because both are domain names.

Hosts file is queried before the DNS server(s) so that the user (for example in a corporate network) could map certain domains to LAN (10.*.*.* or alternative) addresses. Actually, the example given in the hosts file is about that as well.
Compute sequentially, true or false?

Code: Select all

p :- p.p. ?- p.
murataj
Posts: 4
Joined: Wed Feb 01, 2012 6:38 pm

Re: Dedicated server problem. Please Help.

Post by murataj »

You ain't helping guys..
afk5min
Posts: 38
Joined: Tue Jan 31, 2012 4:02 pm
Location: Away From Keyboard

Re: Dedicated server problem. Please Help.

Post by afk5min »

If you are using no-ip (because of a dynamic IP), you cannot use hosts file to connect.

HOWEVER, your IP changes only if you do a /release (/renew) or restart/power off your router, doesn't it.
Therefore you CAN use hosts file in a way. You need a launcher that would resolve no-ip to an IP address, write that to hosts file and launch L2. Then when an IP changes, your users only need to re-launch L2.
Compute sequentially, true or false?

Code: Select all

p :- p.p. ?- p.
Locked