Jump to content

Question

Posted

Hi, I'm fighting for a few days with the problem of combining login <=> game server.

Potential testers reach only a selection of server, referred to as the game gets stuck. the whole is mounted on 2 "home made" Servers. by the lack of permanent IP using the no ip address without - because it kind of makes problems. servie at No. 1 is the SQL database and Login to 2 GS is faster machine. within the network you can log in without a problem and even play. all is possible without using ipconfig.xml.

short info

ipserv wen ip4 192.168.1.6 - login and sql (with it do not have any problems so you can get around)

Router funbox .... Orange. UPUP off. assigned fixed IP addresses. open ports 7777,9014,2106,80. as the main serv gracefully from the network (this option in the router) and serv with sql login and for it installed no-ip. every servie in the internal firewall enabled required ports

MainGS serv is 192.168.1.10 and it is GS

Sample no-ip name servah5.ddns.net

could someone explain to me here or at what anything else communicator how to eliminate my problem, how to properly fill ipconfig.xml because editing 2 files in the login and GS is unnecessary, according to the new settings l2j only now that I can play and test yourself ..

 

so sorry for txt i use dam google translator . pls help

15 answers to this question

Recommended Posts

  • 0
Posted

fixed ....

simply remove the 2 lines and change the end of one of ip

gameserver address="no-ip address" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/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" />
	<define subnet="192.168.0.0/16" address="192.168.0.0" /> <!-- Delete this line -->
	<define subnet="192.168.0.0/24" address="192.168.0.0" /> <!-- Delete this line -->
   <define subnet="172.16.0.0/19" address="172.16.0.0" />
   <define subnet="192.168.1.0/24" address="192.168.1.2" /> <!-- Change this line to your wew ip -->
</gameserver>

rest of files default 

 

work for me cya

  • 0
Posted (edited)

99% of the time is some SOFTWARE using the 2106 or 7777 port or a firewall. Disable completely your firewall and make sure NONE program or unwanted program is using 2106 - 7777 - 9014 ports.

Also make sure that you opened the PORTS cause many people do mistake. If you're not sure how to do it , check your router portforward guide.

 

Also Vorfin Tries hard for redemption. ROFL

Also hacker Vorfin 192.168.1.10 is not R-gtw is his LAN IP.. oh god.

Edited by AccessDenied
  • 0
Posted

99% of the time is some SOFTWARE using the 2106 or 7777 port or a firewall. Disable completely your firewall and make sure NONE program or unwanted program is using 2106 - 7777 - 9014 ports.

Also make sure that you opened the PORTS cause many people do mistake. If you're not sure how to do it , check your router portforward guide.

 

Also Vorfin Tries hard for redemption. ROFL

Also hacker Vorfin 192.168.1.10 is not R-gtw is his LAN IP.. oh god.

well his problem is that he cant open the ports on the router because the rooter dont allow it and firewall it's already allow that ports read the thread and then post

  • 0
Posted (edited)

well his problem is that he cant open the ports on the router because the rooter dont allow it and firewall it's already allow that ports read the thread and then post

Then is a ouga ouga topic. Since when router no allow open ports. Throw it away and get new... damn.. waste of time and keystrokes

Also Vorfin -.- >.<

Edited by AccessDenied
  • 0
Posted

Then is a ouga ouga topic. Since when router no allow open ports. Throw it away and get new... damn.. waste of time and keystrokes

Also Vorfin -.- >.<

haha lot of routers dont allow you to port forward your ip because it's not dynamic

  • 0
Posted

haha lot of routers dont allow you to port forward your ip because it's not dynamic

That what i say, delete router and continue life. Also talk to me dirty :$  :-[

  • 0
Posted (edited)

LoginServer.properties

# 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
# ---------------------------------------------------------------------------


# Enables automatic port mapping for login server.
# If you have a router login server will request for port forwarding.
# Default: True
EnableUPnP = True


# Bind ip of the LoginServer, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
LoginserverHostname = *


# Default: 2106
LoginserverPort = 2106


# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHostname = 127.0.0.1


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

Server.properties

# ---------------------------------------------------------------------------
# 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
# ---------------------------------------------------------------------------

# Enables automatic port mapping for game server.
# If you have a router game server will request for port forwarding.
# Default: True
EnableUPnP = True

# Where's the Login server this gameserver should connect to
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1 
LoginHost = 192.168.1.6

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

# Bind address for gameserver. You should not need to change it in most cases.
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)*
GameserverHostname = *

# Default: 7777
GameserverPort = 7777

ipconfig.xml - no in use so general-ipconfig.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="nameserv.ddns.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/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" />
	<define subnet="172.16.0.0/19" address="172.16.0.0" />
	<define subnet="192.168.0.0/16" address="192.168.0.0" />
	<define subnet="192.168.0.0/24" address="192.168.0.0" />
	<define subnet="192.168.1.0/24" address="192.168.1.0" />
</gameserver>

when i use the ipconfig even I can not log in.

 

when it considered internal ip instead of * crashes login and gameserver - GameserverHostname = * > GameserverHostname = router ip 192.168.1.10 or no-ip GS has crashed or

 

LoginHostname = 127.0.0.1 LoginserverHostname = * paset 192.168.1.6 or no-ip adress crashed

 

i don't have static external ip

lip 16, 2016 12:24:40 PM com.l2jserver.loginserver.L2LoginServer <init>
SEVERE: FATAL: Failed to start the Game Server Listener. Reason: Cannot assign requested address: JVM_Bind
java.net.BindException: Cannot assign requested address: JVM_Bind
	at java.net.DualStackPlainSocketImpl.bind0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
	at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
	at java.net.PlainSocketImpl.bind(Unknown Source)
	at java.net.ServerSocket.bind(Unknown Source)
	at java.net.ServerSocket.<init>(Unknown Source)
	at com.l2jserver.loginserver.FloodProtectedListener.<init>(FloodProtectedListener.java:49)
	at com.l2jserver.loginserver.GameServerListener.<init>(GameServerListener.java:37)
	at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:151)
	at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:61)

lip 18, 2016 6:39:03 PM com.l2jserver.gameserver.GameServer <init>
SEVERE: GameServer: Failed to open server socket!
java.net.BindException: Cannot assign requested address: bind
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Unknown Source)
	at sun.nio.ch.Net.bind(Unknown Source)
	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
	at com.l2jserver.mmocore.SelectorThread.openServerSocket(SelectorThread.java:117)
	at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:416)
	at com.l2jserver.gameserver.GameServer.main(GameServer.java:453)

Edited by Dreyko
  • 0
Posted

Try use the default ipconfig xml 

what do you mean crashed ??
using your router ip will not work , does your rooter allow you to open the ports at ur own ip ??

 

  • 0
Posted

every 24h i have different IP... so i want use no-ip.com

 

any1 can make for me sample use my data . example for used 2 separated server in lan . 1 for sql and login . 2 for gameserver 

 

 

crashed  i men. The server gets up normally until Gameserver: is now listening on: *: 7777 and  server has terminated press any button

  • 0
Posted

wen i put GameserverHostname = no-ip adress gs crashed =com.l2jserver.gameserver.GameServer GameServer: Failed to open server socket! 

 

wen i put * or wew ip gs will start but i cant connect to game . stops on the server selection 

 

both Tests using ipconfig.xml

 

if i use GameserverHostname = * and ipconfig and rename to general. i can log in but other people get stuck on the server selection

 

as if there was no communication between servers feedback

Guest
This topic is now closed to further replies.


  • Posts

    • L2jBayev Chronicle 3: Rise of Darkness – AiEngine Edition In short: this is a C3 build with a full-fledged AI engine, live mercenaries, a built-in quiz, a “personal account” in the Community Board, and server logic neatly distributed across thread pools. The project is about a living world without lags : bots farm, communicate, gather parties, teleport along routes, and the server remains cold and stable.   What's inside (the most delicious) 1) Full-fledged AI engine for characters Behavior types: farming ( FarmAI ), combat ( CombatAI ), party logic ( PartyAI ), trading/walking ( TraderAI / WalkerAI ), support roles (healer, etc.). Class profiles: for mages/archers/daggers, etc., “smart” skill rotations, distance control, sleep/save skills, healing, loot pickup, etc. are implemented (see examples of classes like SpellSingerAI , NecromancerAI , etc.). Self-healing and teleports: when dying, the bot goes through a sequence of steps without sleep()- via AITaskSequence + AITeleportToLocTask , searches for the nearest gatekeeper and teleports via TeleportationManager with routes depending on the level. Auto-support: auto-nipples, arrows/bones, smart auto-proceduring of buffs and auto-banks CP/HP/MP with thresholds - all sewn into the auxiliary EtcPlayersAi . Chat context: ChatManagerAi processes mentions, makes responses with delays (anti-flood), supports party chat and “human” reaction. Understanding: ChatManagerAi system  processes the dialogue, bots remember your aggression and insults, they start to respond less often to modern users, stop accepting or inviting to a group (party) and when it goes beyond the peak they will simply merge you, and every time they see you on the PC, there is an opportunity to measure more often, communicate respectfully and beautifully, in general, a “human” reaction. Why a player/admin needs this: bots actually “live”, farm and interact, and don’t just stand on macros. This is a great background for online and PvE action.   2) Mercenaries (Mercenary system) Full-fledged companion character : L2MercenaryInstance with its own MercenaryAI (movement, attack, support, consumables, shots). Behavior modes: DEFENDER / SUPPORT / PASSIVE - switchable to suit your playing style. Progress and trust: the mercenary's trust/exp/level grows , skills are learned according to the MercenarySkillTree (conditions are based on the trust or level of the owner). Templates and equipment: via MercenaryTemplateTable and spawner - model/weapon/type are selected. Social: MercenarySpeechManager - a set of speeches; the mercenary "comes to life" in the chat. Premium Link: Premium account owners give the mercenary additional trust (faster progress). Why: This is not a dummy pet, but a playful companion with modes, training and “character”.   3) Quiz (event viktorina ) Rounds according to schedule: pre-launch with announcements (minutes/seconds before start), registration .reg, auto-opening of the window. Multiple choice questions: question + set of answer buttons; fair processing, timings, question change. Tops and history: results table, statistics, neat UI via HTML assembly. Flexible control: you can start immediately or set a delayed start (notification package 5/2/1 min, etc.). Why: regular activity for players, “social entertainment” module right in the build.   4) Personal account in Community Board KB managers: buff cabinet, teleports, clans/forums/mail/friends, tops (PK/PvP/wealth/players), character repair, viewing skill trees , etc. Premium logic: some services/mail are limited by premium; premium also affects the visual (nickname color) and bonuses (see effect on mercenary). Single sign-on: all in one place, no team chaos. Why: conveniently manage your character and services without going into the console or installing third-party mods.   Why is the system technically valuable? Minimum load and stability Separated thread pools: AI logic, hunting, teleports, chat - on separate onesScheduledExecutorService ( AI_THREAD_POOL , MONSTER_HUNT_POOL , TELEPORT_POOL , CHAT_POOL ). No "freezing": task sequencers (teleport/recovery) work through the scheduler, not Thread.sleep(). Bot limitation: protection against overload via thresholds/counters - “extra” bots do not start. One bot - one sequence: AITaskManager ensures that the character does not have parallel conflicting tasks. Smoothing out peaks: starting tasks with offsets so that there are no simultaneous “ticks” of hundreds of bots. Monitoring/logs: own loggers (separate files for info/errors/processes/chats), CPU load monitoring. Bottom line: the build is designed for “thick online” and mass activities without TPS failures .   Additional Features Auto-alliances for farming: party logic invites suitable players (checking level/equipment/clan flags), there are “human” responses to requests. Sub/class management: out of the box helpers for changing class/subclass, auto-learning of necessary skills and selection of equipment by level. Security/protection: secondary PIN/picture password support (used in KB/voiced commands; optional). Premium accounts: privileges in KB/mail/visual and synergy with mercenary progress. Ready-made services: tops, auctions/mail, teleports from KB, buff rooms, repairs, viewing skill trees, etc.   Who is this build for? Freeshare/project admins who want a living world “from the pack”: bots and mercenaries provide a constant background of activity. Players who value convenience: personal account, premium services, events and a mercenary companion. Developers who want a clean, predictable backend with thread pools and a neat task model without “magic”.   How it differs from standard assemblies Not macros - AI profiles with “brains”: rotations, positioning, healing, decision making. Not a decoration pet - a mercenary with his own modes, progress, skill tree and lines. Not a faceless gamemod - an event quiz with UI, schedule, tops. No chaos in flows - strict pools, planning and task managers designed for online and growth. No separate scripts - a single personal account in KB for most activities.   TL;DR (one paragraph for the project card) AiEngine C3 is a build with live AI, smart bots, mercenaries (modes/progress/skills), built-in quiz, premium logic and a convenient personal account in KB. Under the hood are distributed thread pools and task managers without sleep(), so even with a dense online the server remains stable and responsive.   Additionally add - there is still a lot of interesting things command .assassin or shift+target (order murder), shift+target for admins on AI characters for control, admin panel is completely rewritten, many additional functions, mercenaries change their appearance depending on trust, deepseek and chatGPT system is connected for communication of characters like real players, GPT - for newer java, there is still a very large list of fixes after the last versions, a lot has been fixed, including height coordinates (Z) geo-Squares, pathfinding, visibility through obstacles, fix pet summons, trade packages, shop packages, many effects, quests (including the original ones like nipples, etc.), Ai behavior of NPC and RB monsters, absolutely all epics have been transferred to AiLoader no longer in python scripts. Attention! The server is suitable for both classic mode and PvP format, as well as with various mods. Absolutely everything is configured in the configurations to suit your taste and purposes of use. It is recommended to launch the server through L2ServerControl (simplifies management and control of processes). Download Servers: Chronicle 3 Server Chronicle 4 Test Upgraded Server Full Desc & screens: Post & Screens c3 Post & Desc c4    
    • 🎃 HALLOWEEN EVENT 🎃   ‼️ Information and details: https://forum.l2harbor.com/threads/halloween-event-fall-harvest-30-10-07-11.8265/post-168620
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock