Jump to content
  • Announcements

    • Xmat

      Pravidlo pro postování v TTT

      Do sekce Tipy, triky, tutoriály nepatří žádné dotazy.   Postujte sem vaše návody, tipy a různé další věci jež uznáte za vhodné sdělit zdejšímu osazenstvu, ale veškeré dotazy směřujte do sekce Všeobecná diskuse.
    • Replik

      Seznam návodů a důležitých témat v této sekci

      Pro lepší přehlednost jsem vytvořil tento seznam, který vás, méně zkušené, lépe provede touto sekcí. Věřím, že zde najdete, co hledáte. Vypsané jsou návody, které jsou oficiálně uznané jako návody. Běžné diskuze, které neposkytují postupy a rady zvěřejněny nejsou.   Instalace vlastního MaNGOS Serveru Díky těmto návodům budete (měli by jste být) schopni vytvořit a následně spustit váš vlastní server. Nastavení je pro verze s i bez datadisku.   Instalace MaNGOS Serveru (bez datadisku TBC) - Autor Benny Instalace MaNGOS Serveru (s datadiskem TBC) - Autor Malfik Instalace MaNGOS Serveru v prostředí Linux - Autor charlie Instalace MaNGOS Serveru v prostředí Linux - Autor kupkoid   Chyby a jejich řešení při přihlašování k serveru - Autor Cybe   Zálohování uživatelských dat   Dávkový soubor (BAT soubor) pro vytvoření SQL záloh - Autor Replik   Kompilování - tvoření vlastních release (revizí)   Tvorba kompilací pro Win32 (MangoScript) - Autor bLuma   Ostatní - těžko zařaditelné, ale neznamená to, že nejsou dobré   VIP Systém - Autor charlie Tvorba Webových stránek pro MaNGOS - Autor zahuba Tvorba teleportačních NPC (MangoScript) - Autor Replik Registrační web (původně předělaná SPORA) Funkční pro Antrix i MaNGOS - Autor Replik Nastavení a spuštění Minimanager pro MaNGOS - Autor BlackMartin Nastavení MaNGOS Website - Autor Artorius   Samozřejmě jsou zde i jiné návody, ale tyto jsou nejvíce používané, proto věřím, že vám budou nápomocné. Tuto sekci budeme upravovat podle potřeby. Pokud by jste něco nenašli nebo si nevěděli rady, hledejte na fóru a teprve potom založte vlastní topik. Pokud nějaký autor vytvoří kvalitní návod a chtěl by ho zveřejnit i v tomto seznamu, doporučuji, aby mi napsal zprávu skrze PM.   Díky a přeji hezký den na WoWResource   Replik
    • Aristo

      Příspěvky tam, kde nemají co dělat

      Dodržujte zákaz přispívání do topiků s repaky pokud si to zakladatelé nepřejí!! Opakované psaní příspěvků bude trestáno warnem.
    • Aristo

      Používání spoilerů

      Poslední dobou má většina uživatelů fora zvláštní nutkání postovat extrémně dlouhé texty nebo kódy, které zabírají v nejedenom případu i 80% obsahu celé stránky a hodně tak zvedají nepřehlednost v topiku. Chtěl bych všechny uživatele požádat, aby při postování citací, jakýchkoliv kódů, errorů, atp... delších než 30 řádků používali funkci spoileru.   Funkci vyvoláte příkazem [spoiler] text [/spoiler]   Ukázka:  
Sign in to follow this  
mical

Problém

Recommended Posts

Dobrý den.

máme zkámošem takový problém chceme vytvořit server na jeho pc pac ma verejnou ip ale kdyz to udelame na externi ip hodi to chybu .... canot bind on 188.246.104.xxx :3724

pouzivame trinity core na patch 3.3.5a

zde sou cofingy (hesla a cast ip jsem z duvodu bezpecnosti odstranil)

 

authserver.conf:

 

###############################################

# Trinity Core Auth Server configuration file #

###############################################

[authserver]

 

# Note to devs, line breaks should be at column 80

###############################################################################

# AUTH SERVER SETTINGS

#

# LogsDir

# Logs directory setting.

# Important: Logs dir must exists, or all logs need to be disabled

# Default: "" - no log directory prefix, if used log names isn't

# absolute path then logs will be stored in current directory.

#

# MaxPingTime

# Settings for maximum database-ping interval (minutes between pings)

#

# RealmServerPort

# Default RealmServerPort

#

# BindIP

# Bind Realm Server to IP/hostname

#

# PidFile

# Realmd daemon PID file

# Default: "" - do not create PID file

# "./realmd.pid" - create PID file (recommended name)

#

# LogLevel

# Server console level of logging

# Default: 0 = Minimum

# 1 = Basic

# 2 = Detail

# 3 = Full/Debug

#

# LogFile

# Logfile name

# Default: "realmd.log"

# "" - Empty name disable creating log file

#

# SQLDriverLogFile

# Log file of SQL driver events.

# For effective query logging you need to build in debug configuration.

# Default: "" - Empty name for disable

#

# LogTimestamp

# Logfile with timestamp of server start in name

# in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext

# Default: 0 - no timestamp in name

# 1 - add timestamp in name

#

# LogFileLevel

# Server file level of logging

# Default: 0 = Minimum

# 1 = Basic

# 2 = Detail

# 3 = Full/Debug

#

# LogColors

# Color for messages (format "normal basic detail debug")

# Default: "" - no colors

# Colors: 0 - BLACK

# 1 - RED

# 2 - GREEN

# 3 - BROWN

# 4 - BLUE

# 5 - MAGENTA

# 6 - CYAN

# 7 - GREY

# 8 - YELLOW

# 9 - LRED

# 10 - LGREEN

# 11 - LBLUE

# 12 - LMAGENTA

# 13 - LCYAN

# 14 - WHITE

# Example: "13 11 9 5"

#

# EnableLogDB

# Enable/disable logging to database (LogDatabaseInfo).

# Default: 0 - disabled

# 1 - enabled

#

# DBLogLevel

# Log level of DB logging.

# 0 = Minimum

# Default: 1 = Basic

# 2 = Detail

# 3 = Full/Debug

#

# UseProcessors

# Processors mask for multi-processor system (Used only in Windows)

# Default: 0 (selected by OS)

# number (bitmask value of selected processors)

#

# ProcessPriority

# Process proirity setting (Used only at Windows)

# Default: 1 (HIGH)

# 0 (Normal)

#

# RealmsStateUpdateDelay

# Realm list Update up delay

# (updated at realm list request if delay expired).

# Default: 20

# 0 (Disabled)

#

# WrongPass.MaxCount

# Number of login attemps with wrong password

# before the account or IP is banned

# Default: 0 (Never ban)

#

# WrongPass.BanTime

# Duration of the ban in seconds (0 means permanent ban)

# Default: 600

#

# WrongPass.BanType

# Ban the IP or account on which login is attempted

# Default: 0 (Ban IP)

# 1 (Ban Account)

#

###############################################################################

 

LogsDir = ""

MaxPingTime = 30

RealmServerPort = 3724

BindIP = "188.xxx.104.xxx"

PidFile = ""

LogLevel = 0

LogFile = "auth.log"

SQLDriverLogFile = ""

LogTimestamp = 0

LogFileLevel = 0

LogColors = ""

EnableLogDB = 0

DBLogLevel = 1

UseProcessors = 0

ProcessPriority = 1

RealmsStateUpdateDelay = 20

WrongPass.MaxCount = 0

WrongPass.BanTime = 600

WrongPass.BanType = 0

###############################################################################

# MYSQL SETTINGS

#

# LoginDatabaseInfo

# Database connection settings for the realm server.

# Default:

# hostname;port;username;password;database

# .;somenumber;username;password;database

# - use named pipes in Windows

# Named pipes: mySQL required adding

# "enable-named-pipe" to [mysqld] section my.ini

# .;/path/to/unix_socket;username;password;database

# - use Unix sockets in Unix/Linux

#

# LoginDatabase.WorkerThreads

# The amount of worker threads spawned to handle

# asynchroneous MySQL statements

# Each worker thread is mirrored with its own

# connection to the MySQL server and their own

# thread on the MySQL server.

# Default: 1

#

###############################################################################

 

LoginDatabaseInfo = "127.0.0.1;3306;root;****;auth"

LoginDatabase.WorkerThreads = 1

 

 

worldserver.conf

 

 

################################################

# Trinity Core World Server configuration file #

################################################

[worldserver]

 

# Note to devs, line breaks should be at column 80

###############################################################################

# CONNECTIONS AND DIRECTORIES

#

# RealmID

# RealmID must match the realmlist inside the realmd database

#

# DataDir

# Data directory setting.

# Important: DataDir needs to be quoted, as it is a string which may

# contain space characters.

# Example: "@[email protected]/share/trinitycore"

#

# LogsDir

# Logs directory setting.

# Important: Logs dir must exists, or all logs need to be disabled

# Default: "" - no log directory prefix, if used log names isn't

# absolute path then logs will be stored in current directory.

#

# LoginDatabaseInfo

# WorldDatabaseInfo

# CharacterDatabaseInfo

# Database connection settings for the world server.

# Default:

# hostname;port;username;password;database

# .;somenumber;username;password;database

# - use named pipes in Windows

# Named pipes: mySQL required adding

# "enable-named-pipe" to [mysqld] section my.ini

# .;/path/to/unix_socket;username;password;database

# - use Unix sockets in Unix/Linux

#

# LoginDatabase.WorkerThreads

# WorldDatabase.WorkerThreads

# CharacterDatabase.WorkerThreads

# The amount of worker threads spawned to handle

# asynchroneous MySQL statements

# Each worker thread is mirrored with its own

# connection to the MySQL server and their own

# thread on the MySQL server.

# Default: 1

#

# LoginDatabase.ThreadBundleMask

# WorldDatabase.ThreadBundleMask

# CharacterDatabase.ThreadBundleMask

# Defines which runnable threads are bundled into one synchroneous

# connection. Runnables not specified in the mask will have their

# seperate connection to the MySQL server.

# Value is a bitmask consisting of:

# MYSQL_BUNDLE_NONE = 0, Each task will run their own MySQL connection

# MYSQL_BUNDLE_CLI = 1, Commandline interface thread

# MYSQL_BUNDLE_RA = 2, Remote admin thread

# MYSQL_BUNDLE_RAR = 4, Reactor runnable thread

# MYSQL_BUNDLE_WORLD = 8, WorldRunnable

# MYSQL_BUNDLE_ALL = 15, All bundled together

#

# MaxPingTime

# Settings for maximum database-ping interval (minutes between pings)

#

# WorldServerPort

# Default WorldServerPort

#

# BindIP

# Bind World Server to IP/hostname

#

###############################################################################

 

RealmID = 1

DataDir = "."

LogsDir = ""

LoginDatabaseInfo = "127.0.0.1;3306;root;****;auth"

WorldDatabaseInfo = "127.0.0.1;3306;root;****;world"

CharacterDatabaseInfo = "127.0.0.1;3306;root;****;characters"

LoginDatabase.WorkerThreads = 1

WorldDatabase.WorkerThreads = 1

CharacterDatabase.WorkerThreads = 1

LoginDatabase.ThreadBundleMask = 15

WorldDatabase.ThreadBundleMask = 15

CharacterDatabase.ThreadBundleMask = 15

MaxPingTime = 30

WorldServerPort = 8129

BindIP = "0.0.0.0"

 

 

a v db ahth tabulka realmlist mame :

Id - 1

name - FUN

IP - 188.xxx.104.xxx

port - 8129

icon - 0

color - 0

timezone - 1

allowedsecuritylevel - 0

population - 0

gamebuild - 12340

Edited by mical

Share this post


Link to post
Share on other sites

Bylo by dobré sem napsat i jakou chybu ;-)

 

 

nam to nehaze chybu...ale proste kdyz si dam mojeip.cz tak me to ukaze dve ip adresy...

 

interni ip:192.168.1.100

externi ip:188.246.104.xxx

 

jenze kdyz vsude nastavim externi ip...do configu atd,tak se nepusti authserver.exe...pusti,ale nemuze se pripojit..

 

kdyz dm interni ip,tak se na server pripojim pouze ja,ale nikdo me nevidi :(

mam router a jsem pripojeny pres wifi :)

Share this post


Link to post
Share on other sites

skus povolit porty... nejspíš mas asi windows ???.... pokud XP tak start--> ovládací panely--> brána firewall...-->výjimky-->přidat port--->

název: auth

port: 3724

TCP

ok

a pak další

název: world

port: 8129

TCP

ok

 

pokud se ti v ovládacích panelech neukáže brána firewall.... tak klikni vlevo na přepnout do klasického zobrazeni

 

pokud mas ještě i router většinou potřebuješ porty povili i tam standardně se na router dostaneš v internetovém prohlížeči kam místo adresy zadáš nejčastěji

 

192.168.1.1

 

a v routeru si najdeš port farwording nebo virtual server pokud ho mas česky tak přesmerování portu a tam už si to jen vyplníš porty které už jsem výše uvedl a protokoly (TCP) jméno nebo název si můžeš dat jaké chceš ale pro přehlednost je lepši auth a world :) to by melo byt +/- vše :)

Share this post


Link to post
Share on other sites

no sice uz ho vidim online ale kdyz se chci prihlasit zkonci to u success! a pak se objevi seznam realmu ... a tak furt dokola ... :(

toz nwm

 

 

 

 

 

EDIT: problém vyřešen :)

Edited by mical

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×