Hacking Tool Error - Updated

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
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

How do I post those in the pretty tabs everyone else has been posting them in? Just the upload attatchement function?
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

Screw it, gameserver properties file.

# ---------------------------------------------------------------------------
# Game Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
ExternalHostname = **.***.***.***

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 127.0.0.1

# Where's the Login server this gameserver should connect to
# Default: 127.0.0.1
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Default: 127.0.0.1
GameserverHostname = *

# Default: 7777
GameserverPort = 7777


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# Specify the appropriate driver and url for the database you're using.
# Examples:
# Driver = com.mysql.jdbc.Driver (default)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver
# Database URL
# URL = jdbc:mysql://localhost/l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jdb
# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/l2jdb
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password = ****

# Default: 100
MaximumDbConnections = 100

# Default: 0
MaximumDbIdleTime = 0

# ---------------------------------------------------------------------------
# Misc Server Settings
# ---------------------------------------------------------------------------
# This is the server ID that the Game Server will request.
# Example: 1 = Bartz
# Default: 1
RequestServerID = 1

# True = The Login Server will give an other ID to the server if the requested ID is already reserved.
# Default: True
AcceptAlternateID = True

# Datapack root directory.
# Defaults to current directory from which the server is started unless the below line is uncommented.
#DatapackRoot = C:/Work/tmp/DataPack

# Define how many players are allowed to play simultaneously on your server.
# Default: 100
MaximumOnlineUsers = 100

# Numbers of protocol revisions that server allows to connect.
# Delimiter is ;
# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
# Default: 146;152
AllowedProtocolRevisions = 146;152


# ---------------------------------------------------------------------------
# Misc Player Settings
# ---------------------------------------------------------------------------

# Character name template.
# Examples:
# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
# The above setting will allow names with first capital letter, next three small letters,
# and any letter (case insensitive) or number, like OmfgWTF1
# CnameTemplate = [A-Z][a-z]*
# The above setting will allow names only of letters with first one capital, like Omfgwtf
# Default .* (allows any symbol)
CnameTemplate = .*

# This setting restricts names players can give to their pets.
# See CnameTemplate for details
PetNameTemplate = .*

# Maximum number of characters per account.
# Default: 7 (client limit)
CharMaxNumber = 7


And now the Login Server File

# ---------------------------------------------------------------------------
# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
ExternalHostname = **.**.***.**

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 127.0.0.1

# ---------------------------------------------------------------------------
# If you are behind a router which using its own local IP for Port Forwarding then set this to the routers
# local IP if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
RouterHostname = 192.168.0.1

# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: 192.168.0.100
LoginserverHostname = 127.0.0.1

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: 192.168.0.100
LoginHostname = *

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# Default: 15
IpUpdateTime = 15


# ---------------------------------------------------------------------------
# Security
# ---------------------------------------------------------------------------
# Default: True
LogLoginController = True

# How many times you can provide an invalid account/pass before the IP gets banned.
# Default: 10
LoginTryBeforeBan = 10

# Time you won't be able to login back again after LoginTryBeforeBan tries to login.
# Default: 600 (10 minutes)
LoginBlockAfterBan = 600

# If set to True any GameServer can register on your login's free slots
# Default: True
AcceptNewGameServer = True

# Enforce GameGuard authorization from client?
# If True, login server will kick client if the client bypassed GameGuard authentication.
# Default: False
ForceGGAuth = False

# Flood Protection. All values are in MILISECONDS.
# Default: True
EnableFloodProtection = True

# Default: 15
FastConnectionLimit = 15

# Default: 700
NormalConnectionTime = 700

# Default: 350
FastConnectionTime = 350

# Default: 50
MaxConnectionPerIP = 50


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# Specify the appropriate driver and url for the database you're using.
# Examples:
# Driver = com.mysql.jdbc.Driver (default)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver
# Database URL
# URL = jdbc:mysql://localhost/l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jdb
# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/l2jdb
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password = ************

# Default: 10
MaximumDbConnections = 10

# Default: 0
MaximumDbIdleTime = 0


# ---------------------------------------------------------------------------
# Misc.
# ---------------------------------------------------------------------------
# If False, the license (after the login) will not be shown.
# Default: True
ShowLicence = True

# Default: True
AutoCreateAccounts = True


# ---------------------------------------------------------------------------
# Developer Settings
# ---------------------------------------------------------------------------
# Default: False
Debug = False

# Default: False
Assert = False

# Default: False
Developer = False






And yes I have been screwing with these trying to make them work, though I have no idea why the IP address defaulted to my internal LAN address for my computer.

Also yes, I did edit out part of my WAN address, I didn't intentionally write it with *** in the config files.
Last edited by prime on Mon May 03, 2010 8:00 pm, edited 2 times in total.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Hacking Tool Error - Updated

Post by hope »

this is the way I have mine
Gameserver config

Code: Select all

 # ---------------------------------------------------------------------------# Game Server Settings# ---------------------------------------------------------------------------# This is the server configuration file. Here you can set up the connection information for your server.# This was written with the assumption that you are behind a router.# Dumbed Down Definitions...# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.# ---------------------------------------------------------------------------# Networking# ---------------------------------------------------------------------------# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname# Common settings...# 127.0.0.1 - If you are playing alone on a test server# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.# If this IP is resolvable by the Login Server, just leave *.# ---------------------------------------------------------------------------# Default: *ExternalHostname = **.*.***.*** go to http://www.whatismyip.com # ---------------------------------------------------------------------------# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.# If this IP is resolvable by the Login Server, just leave *.# ---------------------------------------------------------------------------# Default: *InternalHostname = *.*.*.* go to start cmd type in ipconfig # Where's the Login server this gameserver should connect to# Default: 127.0.0.1LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests# Default: 9014LoginPort = 9014 # Default: *GameserverHostname = * # Default: 7777GameserverPort = 7777  # ---------------------------------------------------------------------------# Database# ---------------------------------------------------------------------------# Specify the appropriate driver and url for the database you're using.# Examples:# Driver = com.mysql.jdbc.Driver (default)# Driver = org.hsqldb.jdbcDriver# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriverDriver = com.mysql.jdbc.Driver# Database URL# URL = jdbc:mysql://localhost/l2jdb (default)# URL = jdbc:hsqldb:hsql://localhost/l2jdb# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password = URL = jdbc:mysql://localhost/low# Database user info (default is "root" but it's not recommended)Login = root# Database connection passwordPassword = **** # Default: 100MaximumDbConnections = 100 # Default: 0MaximumDbIdleTime = 0 # ---------------------------------------------------------------------------# Misc Server Settings# ---------------------------------------------------------------------------# This is the server ID that the Game Server will request.# Example: 1 = Bartz# Default: 1RequestServerID = 1 # True = The Login Server will give an other ID to the server if the requested ID is already reserved.# Default: TrueAcceptAlternateID = True # Datapack root directory.# Defaults to current directory from which the server is started unless the below line is uncommented.# DatapackRoot = C:/Work/tmp/DataPack # Define how many players are allowed to play simultaneously on your server.# Default: 100MaximumOnlineUsers = 1000 # Numbers of protocol revisions that server allows to connect.# Delimiter is ;# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u># Default: 146;152AllowedProtocolRevisions = 146;152  # ---------------------------------------------------------------------------# Misc Player Settings# --------------------------------------------------------------------------- # Character name template.# Examples:# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*# The above setting will allow names with first capital letter, next three small letters,# and any letter (case insensitive) or number, like OmfgWTF1# CnameTemplate = [A-Z][a-z]*# The above setting will allow names only of letters with first one capital, like Omfgwtf# Default .* (allows any symbol)CnameTemplate = [A-Za-z0-9-]{3,16} # This setting restricts names players can give to their pets.# See CnameTemplate for detailsPetNameTemplate = [A-Za-z0-9-]{3,16} # Maximum number of characters per account.# Default: 7 (client limit)CharMaxNumber = 7

Login config

Code: Select all

 # ---------------------------------------------------------------------------# Login Server Settings# ---------------------------------------------------------------------------# This is the server configuration file. Here you can set up the connection information for your server.# This was written with the assumption that you are behind a router.# Dumbed Down Definitions...# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.# ---------------------------------------------------------------------------# Networking# ---------------------------------------------------------------------------# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname# Common settings...# 127.0.0.1 - If you are playing alone on a test server# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.# ---------------------------------------------------------------------------# Default: 127.0.0.1ExternalHostname = *.*.*.* go to http://www.whatismyip.com # ---------------------------------------------------------------------------# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.# ---------------------------------------------------------------------------# Default: 127.0.0.1InternalHostname = *.*.*.* go to start cmd type in ipconfig # ---------------------------------------------------------------------------# If you are behind a router which using its own local IP for Port Forwarding then set this to the routers# local IP if you want people outside your internal network to be able to connect to your server.# ---------------------------------------------------------------------------# Default: *RouterHostname = * # Bind ip of the LoginServer, use * to bind on all available IPs# Default: *LoginserverHostname = * # Default: 2106LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs# Default: *LoginHostname = * # The port on which login will listen for GameServers# Default: 9014LoginPort = 9014 # The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)# Default: 15IpUpdateTime = 15  # ---------------------------------------------------------------------------# Security# ---------------------------------------------------------------------------# Default: TrueLogLoginController = True # How many times you can provide an invalid account/pass before the IP gets banned.# Default: 10LoginTryBeforeBan = 10 # Time you won't be able to login back again after LoginTryBeforeBan tries to login.# Default: 600 (10 minutes)LoginBlockAfterBan = 600 # If set to True any GameServer can register on your login's free slots# Default: FalseAcceptNewGameServer = True # Enforce GameGuard authorization from client?# If True, login server will kick client if the client bypassed GameGuard authentication.# Default: FalseForceGGAuth = False # Flood Protection. All values are in MILISECONDS.# Default: TrueEnableFloodProtection = True # Default: 15FastConnectionLimit = 15 # Default: 700NormalConnectionTime = 700 # Default: 350FastConnectionTime = 350 # Default: 50MaxConnectionPerIP = 50  # ---------------------------------------------------------------------------# Database# ---------------------------------------------------------------------------# Specify the appropriate driver and url for the database you're using.# Examples:# Driver = com.mysql.jdbc.Driver (default)# Driver = org.hsqldb.jdbcDriver# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriverDriver = com.mysql.jdbc.Driver# Database URL# URL = jdbc:mysql://localhost/l2jdb (default)# URL = jdbc:hsqldb:hsql://localhost/l2jdb# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password = URL = jdbc:mysql://localhost/low# Database user info (default is "root" but it's not recommended)Login = root# Database connection passwordPassword = **** # Default: 10MaximumDbConnections = 10 # Default: 0MaximumDbIdleTime = 0  # ---------------------------------------------------------------------------# Misc.# ---------------------------------------------------------------------------# If False, the license (after the login) will not be shown.# Default: TrueShowLicence = False # Default: TrueAutoCreateAccounts = True # This is the server ID that the Game Server will request.# Example: 1 = Bartz# Default: 1RequestServerID = 1 # True = The Login Server will give an other ID to the server if the requested ID is already reserved.# Default: TrueAcceptAlternateID = True # Datapack root directory.# Defaults to current directory from which the server is started unless the below line is uncommented.DatapackRoot = C:/Work/tmp/DataPack # ---------------------------------------------------------------------------# Developer Settings# ---------------------------------------------------------------------------# Default: FalseDebug = False # Packet handler debug output# Default: FalsePacketHandlerDebug = False # Default: FalseAssert = False # Default: FalseDeveloper = False
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

K, so I configured my files like yours, sept you forgot to specify which IP to use from my IP Config, my personal computers static IP 192.168.0.100 or my routers IP address, 192.168.0.1 I've only tried my computers Static IP, which I assume is the correct one? But for some reason I still cannot connect from my laptop.

I'm guessing in my laptops hosts file, I should have my WAN IP **.**.***.** authd.lineage2.com and the fix you posted up for nprotect.lineage2.com, thank you btw, hasn't failed yet. So, what am I doing wrong here?

EDIT - Just tried it with my routers IP address to, 192.168.0.1 and it doesn't work either. Hehe, whats goin on??!
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Hacking Tool Error - Updated

Post by hope »

you should have 3 options in the ipconfig console yes/no?
post a ss if you want
should say


IP Address. . . . . . . . . . . . : 192.***.*.*
Subnet Mask . . . . . . . . . . . : ***.***.***.*
Default Gateway . . . . . . . . . : 192.***.*.*

you will want the first one you also need to add this into your hosts file

I would say it would be this one for you 192.168.0.1 remember if you restart your pc all could change

your host file will then look like this windows vista and xp only windows 7 different

Code: Select all

# Copyright (c) 1993-1999 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 127.0.0.1       localhost192.168.0.1 L2authd.lineage2.com66.240.255.107 nprotect.lineage2.com
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

What about the hosts file for an external machine, connecting over the internet?

Also my computers ip is 192.168.0.100, and 192.168.0.1 is the default gateway. Setting the login server to the default gateway does allow me to login and connect from THIS server, but detects the game server at a ping of 9999... Should I just change the login server to 192.168.0.1 and leave the gameserver setting as 192.168.0.100?

Also I'm being two routers, the externally connected router forwards all relevant ports to this router, and my router forwards all ports to this computer. Does that make a difference, do I need to somehow add the IP of the second router in my config files?
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Hacking Tool Error - Updated

Post by hope »

if you have two routers i am sure they are using the same external ip
ok what ever pc the server is running on this is the internal ip you need to use in your configs and your host file understand what i mean
if not pm me and there we can talk better as it is hard to talk about ips in here dont want any one getting hacked

post your configs and your host file
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

No reason not to talk about my IP's, my routers can't be accessed from external, because they're designed that way. All I have to do, is make my WAN IP **.***.**.*** or whatever and no one has any idea what it is. 192.168.0.100 won't help anyone hack me if they don't have my WAN. And the only people who have my WAN or the forum moderators, who I'm sure are well aware of the legal consiquences of hacking my PC. I have a list of sites that know my WAN, they're forums, I frequent them. If my computer is hacked that list will be disclosed to the police, the possibilities of who hacked me will be collected, whether or not these sites were hacked to get my IP investigated, and ultimately the arrogant jackass who thought he was so clever for hacking my PC will be getting buttraped with a little aloevera soapy lube in prison.

Besides, what're they gonna do? Wipe my hard drive? On no my porn! Everything I installed off steam and my library of gamedisks that I can just reinstall!

Oh no, they stole my account information which the bank now has to refund to me, while the perp is apprihended and given a friggin 10 year sentence for fraud. (And charged a hefty fine to boot.)

And I know all this will happen, because police only do their jobs when you ride their ass, and I love to ride. :D

But seriously, to get the client side, not on my computer client to work. They need to put the WAN IP, **.***.**.** l2authd.lineage2.com and the fix you gave me for the nprotect, and thats all?
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Hacking Tool Error - Updated

Post by hope »

ok back to the topic post your configs and host file to see what you have done so far
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

Here's the hosts file. I just modified it on a hunch that's prolly wrong so.

# Copyright (c) 1993-1999 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

127.0.0.1 l2authd.lineage2.com
192.168.0.1 l2authd.lineage2.com
66.240.255.107 nprotect.lineage2.com


Here's my login server properties file.

# ---------------------------------------------------------------------------
# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
ExternalHostname = **.**.***.**

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 192.168.0.100

# ---------------------------------------------------------------------------
# If you are behind a router which using its own local IP for Port Forwarding then set this to the routers
# local IP if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
RouterHostname = 192.168.0.1

# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = *

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: *
LoginHostname = *

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# Default: 15
IpUpdateTime = 15


# ---------------------------------------------------------------------------
# Security
# ---------------------------------------------------------------------------
# Default: True
LogLoginController = True

# How many times you can provide an invalid account/pass before the IP gets banned.
# Default: 10
LoginTryBeforeBan = 10

# Time you won't be able to login back again after LoginTryBeforeBan tries to login.
# Default: 600 (10 minutes)
LoginBlockAfterBan = 600

# If set to True any GameServer can register on your login's free slots
# Default: True
AcceptNewGameServer = True

# Enforce GameGuard authorization from client?
# If True, login server will kick client if the client bypassed GameGuard authentication.
# Default: False
ForceGGAuth = False

# Flood Protection. All values are in MILISECONDS.
# Default: True
EnableFloodProtection = True

# Default: 15
FastConnectionLimit = 15

# Default: 700
NormalConnectionTime = 700

# Default: 350
FastConnectionTime = 350

# Default: 50
MaxConnectionPerIP = 50


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# Specify the appropriate driver and url for the database you're using.
# Examples:
# Driver = com.mysql.jdbc.Driver (default)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver
# Database URL
# URL = jdbc:mysql://localhost/l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jdb
# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/l2jdb
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password = ************

# Default: 10
MaximumDbConnections = 10

# Default: 0
MaximumDbIdleTime = 0


# ---------------------------------------------------------------------------
# Misc.
# ---------------------------------------------------------------------------
# If False, the license (after the login) will not be shown.
# Default: True
ShowLicence = True

# Default: True
AutoCreateAccounts = True


# ---------------------------------------------------------------------------
# Developer Settings
# ---------------------------------------------------------------------------
# Default: False
Debug = False

# Default: False
Assert = False

# Default: False
Developer = False


And here's my gameserver properties file.

# ---------------------------------------------------------------------------
# Game Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
ExternalHostname = **.**.***.**

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 192.168.0.100

# Where's the Login server this gameserver should connect to
# Default: 127.0.0.1
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Default: 127.0.0.1
GameserverHostname = *

# Default: 7777
GameserverPort = 7777


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# Specify the appropriate driver and url for the database you're using.
# Examples:
# Driver = com.mysql.jdbc.Driver (default)
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver = com.mysql.jdbc.Driver
# Database URL
# URL = jdbc:mysql://localhost/l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jdb
# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/l2jdb
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password = ***********

# Default: 100
MaximumDbConnections = 100

# Default: 0
MaximumDbIdleTime = 0

# ---------------------------------------------------------------------------
# Misc Server Settings
# ---------------------------------------------------------------------------
# This is the server ID that the Game Server will request.
# Example: 1 = Bartz
# Default: 1
RequestServerID = 1

# True = The Login Server will give an other ID to the server if the requested ID is already reserved.
# Default: True
AcceptAlternateID = True

# Datapack root directory.
# Defaults to current directory from which the server is started unless the below line is uncommented.
#DatapackRoot = C:/Work/tmp/DataPack

# Define how many players are allowed to play simultaneously on your server.
# Default: 100
MaximumOnlineUsers = 100

# Numbers of protocol revisions that server allows to connect.
# Delimiter is ;
# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
# Default: 146;152
AllowedProtocolRevisions = 146;152


# ---------------------------------------------------------------------------
# Misc Player Settings
# ---------------------------------------------------------------------------

# Character name template.
# Examples:
# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
# The above setting will allow names with first capital letter, next three small letters,
# and any letter (case insensitive) or number, like OmfgWTF1
# CnameTemplate = [A-Z][a-z]*
# The above setting will allow names only of letters with first one capital, like Omfgwtf
# Default .* (allows any symbol)
CnameTemplate = .*

# This setting restricts names players can give to their pets.
# See CnameTemplate for details
PetNameTemplate = .*

# Maximum number of characters per account.
# Default: 7 (client limit)
CharMaxNumber = 7
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Hacking Tool Error - Updated

Post by hope »

internal needs to be 192.168.0.1 for both login and gameserver

RouterHostname = * should be this

unless this is the ip on the pc that server is running if so change host file to be the same 192.168.0.100
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

Router IP: 192.168.0.1
Server Computer IP: 192.168.0.100

With those settings I can't (your settings I mean) I can't log into the game server. I can log in, but not into the game server itself. (So no char selection screen.)
magestik
Posts: 31
Joined: Tue Jul 19, 2005 3:21 pm

Re: Hacking Tool Error - Updated

Post by magestik »

You cannot have two different IPs redirecting to the same place in your hosts, the computer will ignore the second one.

your hosts file needs to look like this

Code: Select all

 192.168.0.100 l2authd.lineage2.com66.240.255.107 nprotect.lineage2.com  
other ppl on your internall network hosts file will look like the above

Code: Select all

192.168.0.100 l2authd.lineage2.com66.240.255.107 nprotect.lineage2.com 
ppl connecting from the internet hosts will look like

Code: Select all

 'your wan ip or dns name' l2authd.lineage2.com66.240.255.107 nprotect.lineage2.com 

In your server and gameserver properties you need to set the internall host name to

Code: Select all

InternalHostname = 192.168.0.100
and the externallhostname to your WAN ip or dyndns

and in your router you need to foward ports 2106 and 7777 the your server ip 192.168.0.100
(i am not sure if setting

Code: Select all

RouterHostname = 192.168.0.1
will automattically do the port forwarding, i been away for a while and thats a new line to me :) ).
prime
Posts: 25
Joined: Sat May 01, 2010 4:54 pm

Re: Hacking Tool Error - Updated

Post by prime »

It's all set up like that. My laptop still can't connect...

Its on a different router in the network, so maybe thats why it can't reach my computer? Hmmmm...

But I can't make it connect with either my WAN or LAN ip. It just says "You are currently logging in. Please wait a moment." Forever. Also when I start the client sometimes it says "Disconnected from Update Server." and closes. Thats from the normal method of opening lineage, I can't find a direct start l2.exe. All the ports should be forwarded, so I have no clue whats going on at this point. Can anyone think of a reason this wouldn't be working?
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Hacking Tool Error - Updated

Post by hope »

you have opened the ports in your router
Post Reply