Jump to content
  • 0

Cant Connect


3xpl0it3R

Question

Πριν λιγο εστισα εναν server L2 Archid(Preconfiger Pack By Texasjunior) αλλα δεν μπορουνε να σινδεθουν αλλα ατομα στον server μου.Αλλαξα τις IP στα Config αλλα τιποτα.Εφτιαξα και το l2.ini αλλα και παλι τιποτα.Εχω και αλλο pc στο σπιτι μου και απο εκει μπορω να σινδεθω κανονικα.Σας δινω τα Config  :

 

 

Gameserver  :

 

 

# This is the server configuration file. Here you can set up the connection for your server.

# Usually you have to change the ExternalHostname option to

# - 127.0.0.1 (if you want to play alone / testing purpose)

# - LAN IP* (if you want to play from another computer in the network)

# - WAN IP** (if you want to play with friends over Internet)

# - Questions? => http://www.l2jarchid.com

#

# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"

# **= If you want to get you WAN IP, visit http://www.whatsmyip.org

# ===================================================================================================

 

# ================================================================

# General server setting !!! REQUIRED to configure to everyone !!!

# ================================================================

 

# Bind ip of the gameserver, use * to bind on all available IPs

GameserverHostname=*

GameserverPort=7777

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

# If this ip is resolvable by Login just leave *

ExternalHostname=77.49.12.99 (Αυτη την πειρα απο το ipconfig)

 

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

# If this ip is resolvable by Login just leave *

InternalHostname=192.168.1.101 (Αυτη την πειρα απο το whatismypandrees )

 

# The Loginserver host and port

LoginPort=9014

LoginHost=127.0.0.1

 

# This is the server id that the gameserver will request (i.e. 1 is Bartz)

RequestServerID = 1

# If set to true, the login will give an other id to the server  if the requested id is already reserved

AcceptAlternateID = True

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2jarchid_db

#URL=jdbc:hsqldb:hsql://localhost/l2jarchid_db

#URL=jdbc:sqlserver://localhost/database=l2jarchid_db/user=sa/password=

Login=root

Password=

MaximumDbConnections=10

 

# Datapack root directory, defaults to current directory from which the server is started

# DatapackRoot = C:/Work/tmp/DataPack

 

# Define character name template

# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*

# will allow names with first capital letter, next three small letters,

# and any (capital or not) letter or number, like ZbigN1eW

# Most rational to have CnameTemplate=[A-Z][a-z]*

# meaning names only of letters with first one capital, like Zbigniew

# Default .* - any namy of any symbols

CnameTemplate=.*

PetNameTemplate=.*

 

# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])

CharMaxNumber = 7

 

# Define how many players are allowed to play simultaneously on your server.

MaximumOnlineUsers=100

 

 

# Minimum and maximum protocol revision that server allow to connect.

# You must keep MinProtocolRevision <= MaxProtocolRevision.

MinProtocolRevision = 1

MaxProtocolRevision = 999

 

#===================================================

# EXTRA fuctions                                  #

# Before you set them up ready carefully the info  #

#===================================================

# Activate Protection for unknownPacket flooding 

PacketProtection = False 

 

# How much unknown packets before punishment. 

# If the player send more than 5 unknownPackets per second, the player get punished. 

UnknownPacketsBeforeBan = 5

 

# Punishments 

# 1 - broadcast warning to GM's only 

# 2 - kick player (default) 

# 3 - kick & ban player (Accesslevel -100) 

UnknownPacketsPunishment = 2

 

 

LoginServer  :

 

# This is the server configuration file. Here you can set up the connection for your server.

# Usually you have to change the ExternalHostname option to

# - 127.0.0.1 (if you want to play alone / testing purpose)

# - LAN IP* (if you want to play from another computer in the network)

# - WAN IP** (if you want to play with friends over internet)

# - Questions? => http://www.l2jarchid.com

#

# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"

# **= If you want to get you WAN IP, visit http://www.whatsmyip.org

# ===================================================================================================

 

# ================================================================

# General server setting !!! REQUIRED to configure to everyone !!!

# ================================================================

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname=77.49.12.99

 

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname=192.168.1.101

 

# Bind ip of the LoginServer, use * to bind on all available IPs

LoginserverHostname=*

LoginserverPort=2106

# How many times you can provide an invalid account/pass before the IP gets banned

LoginTryBeforeBan=5

# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)

LoginBlockAfterBan=600

GMMinLevel=100

 

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

LoginHostname=*

 

# The port on which login will listen for GameServers

LoginPort=9014

 

# If set to true any GameServer can register on your login's free slots

AcceptNewGameServer =True

 

# If false, the licence (after the login) will not be shown

# It is highly recommended for Account Security to leave this option as default (True)

ShowLicence =True

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2jarchid_db

#URL=jdbc:hsqldb:hsql://localhost/l2jarchid_db

#URL=jdbc:sqlserver://localhost/database=l2jarchid_db/user=sa/password=

Login=root

Password=

MaximumDbConnections=10

 

# Useable values: "true" - "false", use this option to choose whether accounts will be created

# automatically or not.

AutoCreateAccounts=True

 

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic), 0 to Disable.

IpUpdateTime=0

 

 

# ==============================================================

# Test server setting, shoudnt be touched in online game server

# ==============================================================

 

Debug = False

Assert = False

Developer = False

 

# Enforce GameGuard Authorization from client

# Login server will kick client if client bypassed GameGuard authentication

ForceGGAuth=True

 

#FloodProtection. time in ms

EnableFloodProtection=True

FastConnectionLimit=15

NormalConnectionTime=700

FastConnectionTime=350

MaxConnectionPerIP=30

 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

InternalHostname=192.168.1.101>tha balis 127.0.0.1 ke sto alo ftiaxe ena no-ip ke balto ke firewall klisto ke apo to avtivirious ama exei firewall klista ke malon ama den exeis static ip ftiaxe apo do www.no-ip.com

Link to comment
Share on other sites

  • 0

Οχι τα εχω ολλα σοστα.Ειχα και αλλο server και μπαινανε οι αλοι κανονικα.Αμα δεν μπορεσω να βρω καπια λιση θα χρησιμοπιησω την nο-ip .Ευχαριστω για το ενδιαφερον σου leontwo .

Link to comment
Share on other sites

  • 0

8a s elega na koitaksis gia to minimum kai maximum protocol alla efoson exeis sinde8i me allo pc prepei na to exeis sosta. file mou mpeneis apo to pc sou. sto l2.ini exeis tin ip? gt afto dn steki kanonika 8a eprepe na exeis 192.168.1.5 h kati tetio. episis mipos o srvr exei start.bat ? kai to patas kai meta trexis startgameserver.bat kai startloginserver.bat?

h an dn einai afto exeis anoiksoi ta sosta port? dld to 7777 kai to allo?

Link to comment
Share on other sites

  • 0

@Hakerboy   Ola sosta einai.To l2.ini   einai ok.O server mou den exei start.bat oute diskw.

 

 

Thx gia to endiaferon kai gia osa mou protinate.Den brika kapia lisi.

 

 

 

Sorry gia ta greekenglish  alla egrafa apo FreeBSD    xD

 

 

 

Link to comment
Share on other sites

  • 0

Emmmmm.To exw bgalei.Den exw kanena antirirus sto pc mou.Einai ola ok.Ama deis pio pano exw grapsei oti mporw na mpenw ston server ena pc sto spiti mou.

 

 

 

Sorry gia ta greekenglish  alla egrafa apo FreeBSD    xD

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • I use l2fandc files. I need a java code, I've been searching a lot and waiting for help. What I want to do is to teleport to the players doing pvp. So it's like finding the flag player. I found some files but they did not fit my system. I'm waiting for help..   EXAMPLE:     package handlers.bypasshandlers; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import com.l2jmobius.Config; import com.l2jmobius.commons.util.Rnd; import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.handler.IBypassHandler; import com.l2jmobius.gameserver.model.L2World; import com.l2jmobius.gameserver.model.actor.L2Character; import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; import com.l2jmobius.gameserver.model.zone.ZoneId; import com.l2jmobius.gameserver.network.serverpackets.CreatureSay; /**  * @author Mobius (based on Tenkai pvpzone)  */ public class FindPvP implements IBypassHandler {     private static final String[] COMMANDS =     {         "FindPvP"     };          @Override     public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)     {         if (!Config.ENABLE_FIND_PVP || !target.isNpc())         {             return false;         }                  L2PcInstance mostPvP = null;         int max = -1;         for (L2PcInstance player : L2World.getInstance().getPlayers())         {             if ((player == null) //                 || (player.getPvpFlag() == 0) //                 || (player.getInstanceId() != 0) //                 || player.isGM() //                 || player.isInsideZone(ZoneId.PEACE) //                 || player.isInsideZone(ZoneId.SIEGE) //                 || player.isInsideZone(ZoneId.NO_SUMMON_FRIEND))             {                 continue;             }                          int count = 0;             for (L2PcInstance pl : L2World.getInstance().getVisibleObjects(player, L2PcInstance.class))             {                 if ((pl.getPvpFlag() > 0) && !pl.isInsideZone(ZoneId.PEACE))                 {                     count++;                 }             }                          if (count > max)             {                 max = count;                 mostPvP = player;             }         }                  if (mostPvP != null)         {             // Check if the player's clan is already outnumbering the PvP             if (activeChar.getClan() != null)             {                 Map<Integer, Integer> clanNumbers = new HashMap<>();                 int allyId = activeChar.getAllyId();                 if (allyId == 0)                 {                     allyId = activeChar.getClanId();                 }                 clanNumbers.put(allyId, 1);                 for (L2PcInstance known : L2World.getInstance().getVisibleObjects(mostPvP, L2PcInstance.class))                 {                     int knownAllyId = known.getAllyId();                     if (knownAllyId == 0)                     {                         knownAllyId = known.getClanId();                     }                     if (knownAllyId != 0)                     {                         if (clanNumbers.containsKey(knownAllyId))                         {                             clanNumbers.put(knownAllyId, clanNumbers.get(knownAllyId) + 1);                         }                         else                         {                             clanNumbers.put(knownAllyId, 1);                         }                     }                 }                                  int biggestAllyId = 0;                 int biggestAmount = 2;                 for (Entry<Integer, Integer> clanNumber : clanNumbers.entrySet())                 {                     if (clanNumber.getValue() > biggestAmount)                     {                         biggestAllyId = clanNumber.getKey();                         biggestAmount = clanNumber.getValue();                     }                 }                                  if (biggestAllyId == allyId)                 {                     activeChar.sendPacket(new CreatureSay(0, ChatType.WHISPER, target.getName(), "Sorry, your clan/ally is outnumbering the place already so you can't move there."));                     return true;                 }             }                          activeChar.teleToLocation((mostPvP.getX() + Rnd.get(300)) - 150, (mostPvP.getY() + Rnd.get(300)) - 150, mostPvP.getZ());             activeChar.setSpawnProtection(true);             if (!activeChar.isGM())             {                 activeChar.setPvpFlagLasts(System.currentTimeMillis() + Config.PVP_PVP_TIME);                 activeChar.startPvPFlag();             }         }         else         {             activeChar.sendPacket(new CreatureSay(0, ChatType.WHISPER, target.getName(), "Sorry, I can't find anyone in flag status right now."));         }         return false;     }          @Override     public String[] getBypassList()     {         return COMMANDS;     } }
    • How are you, fucking Nazi? Haven't you been sent to the front line yet, as cannon fodder? or are you Nazi scum still hiding in the basements? you whores destroyed the inhabitants of Donbass for 8 years, and now you are a fagot hiding behind the backs of women. Nazis in Ukraine will be physically destroyed! every! we will get each of you! if not immediately, then years later you will be punished for your crimes!
  • Topics

×
×
  • Create New...