View Single Post
Old 01.06.2005, 01:17   #14
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

Quote:
Originally Posted by BiGBoY
L2 IP configuration:
in li2db/table server/id:1 name:Whatever ip:xxx.xxx.xxx.xxx inner_ip:127.0.0.1 or 1xx.xx8.200.1 (in ur case i prefer 127.0.0.1) agelimit:0 pkflag:1 kind:0 port:7777
why prefer 127.0.0.1? Better perfomance?

Quote:
Originally Posted by BiGBoY
Set ur router NAT settings to enable. Set port FORWARD (ports 80, 2009 2106 and 7777) to 1xx.xx8.200.1
for what port 2009????
Because I have often disconnections on my server only if client from WAN.
With local clients i have no this problem, i create topic but nobody halp me. May be problem in port2009?
Very interesting disconnections. Characters stuck no move, no action on client side, but on server all work also chat. So we can send packets from client and cant recieve server answer. This happens time to time.

Quote:
Originally Posted by BiGBoY
L2.ini:
u got two choices. Make one for public players from outside with wan ip:xxx.xxx.xxx.xxx and another one for LAN play with IP:1xx.xx8.200.1
U should be able to use public one but if it wont work try with local one.
Start CacheD, AuthD and start on game pc command prompt and type: telnet 1xx.xx8.200.1 2106
if u get the connection and u will get some junk text back u r on good way to succeed. Now start l2server and try to telnet to 1xx.xx8.200.1 7777
If u also connect to l2server u got ur router set well.
Now launch l2 client with one of both l2.ini u created and try to login (try with WAN first).
Can happen problem with l2.ini and routing table if l2server not look directly in WAN. in l2.ini you can point any IP - LAN or WAN but l2authd redirect you to ip that point in l2db/server table. You can make second record with [ip] = LAN ip. and local users mast choose second server. If not, you mast make routing table to transfer packets in LAN through your internet gate:
route delete 1xx.xx8.200.0
route add 1xx.xx8.200.0 mask 2xx.xx5.255.0 1xx.xx8.20x.xx
RmzVoid is offline