Help with my server.

Newbie Spellweaver
Joined
Mar 27, 2007
Messages
24
Reaction score
0
Ok when i click my loginserver.exe is stays open for like 7 sec then it closes it here is the code i have in the loginserver.exe
Code:
#######################################################################
# Antrix Configuration File (Logon)
# Last updated at revision 236
#######################################################################

# LogonDatabase Section
#
#    These directives are the location of the `realms` and `accounts`
#    tables.
#
#    LogonDatabase.Host      - The hostname that the database is located on
#    LogonDatabase.Username  - The username used for the mysql connection
#    LogonDatabase.Password  - The password used for the mysql connection
#    LogonDatabase.Name      - The database name
#    LogonDatabase.Port      - Port that MySQL listens on. Usually 3306.
#    LogonDatabase.Type      - Client to use. 1 = MySQL, 2 = PostgreSQL, 3 = Oracle 10g
#

LogonDatabase.Hostname = localhost
LogonDatabase.Username = root
LogonDatabase.Password = ******
LogonDatabase.Name     = antrix
LogonDatabase.Port     = 3306
LogonDatabase.Type     = 1

# Host Directive
#
#    This is the address that the realmlist will listen on.
#    To listen on all addresses, set it to 0.0.0.0
#    Default: 127.0.0.1 (localhost)
#
#    Note: ISHost is the interserver communication listener.
#

Host = 0.0.0.0
ISHost = 0.0.0.0

# Realm List Listen Port Directive
#
#    This is the port that the realm list listens on.
#    Unless you have modded the clients, this will
#    always be 3724.
#
#    Default: 3724
#

RealmListPort = 3724


# Server console logging level
#
#    This directive controls how much output the server will
#    display in it's console. Set to 0 for none.
#    0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
#    Default: 3
#

LogLevel = 0

# Account Refresh Time
#
#    This controls on which time interval accounts gets 
#    refreshed. (In seconds)
#    Default = 600
#

AccountRefresh = 600

# Accepted Build Range Setup
#
#    These two directives set up which clients will be
#    allowed to authenticate with the realm list.
#
#    Set these to the same builds that the server was
#    compiled for.
#
#    As of the last update, version 2.1.1 was build 6739.
#

MinClientBuild = 6739
MaxClientBuild = 6739

# WorldServer Setup
#
#    This directive controls the password used to authenticate with the worldserver.
#    It must be the same between the two configs. If it is not, your server will
#    not register.
#
#    Default: "change_me_logon"
#

LogonServer.RemotePassword = "change_me_logon"

And then i have this in the antrix file........
Code:
#######################################################################
# Antrix Configuration File
# Last updated at revision 236
#######################################################################

# Database Section
#
#   Database.Host      - The hostname that the database is located on
#   Database.Username  - The username used for the mysql connection
#   Database.Password  - The password used for the mysql connection
#   Database.Name      - The database name
#   Database.Port      - Port that MySQL listens on. Usually 3306.
#   Database.Type      - Client to use. 1 = MySQL, 2 = PostgreSQL, 3 = Oracle 10g
#

Database.Hostname      = localhost
Database.Username      = root
Database.Password      = 
Database.Name          = antrix
Database.Port          = 3306
Database.Type          = 1


# Host Directive
#
#    This is the address that the server will listen on.
#    To listen on all addresses, set it to 0.0.0.0
#    Default: 127.0.0.1 (localhost)
#

Host = 0.0.0.0


# World Server Listen Port Directive
#
#    This is the port that the world server listens on.
#    It has to be the same as what is specified in the
#    realms table in the LogonDatabase.
#    Default: 8129
#

WorldServerPort = 8129


# Server console logging level
#
#    This directive controls how much output the server will
#    display in it's console. Set to 0 for none, or -1 to disable.
#    -1 = Disabled; 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
#    Default: 3
#

LogLevel.Screen = 0
LogLevel.File = -1


# World server packet logging feature
#
#    If this directive is turned on, a file called `world.log`
#    will be created in the server's directory and all packets
#    sent and received by clients will be dumped here in bfg
#    format.
#    Default: 0
#

LogWorld = 0


# Session Limit
#
#    This directive controls the amount of sessions that will be
#    accepted by the server before it starts to add people to 
#    the server queue.
#    Default: 100
#

PlayerLimit = 100


# Message Of The Day (MOTD)
#
#    This message will be displayed by the server in the chat
#    box every time any user logs on. Colors can be used in the
#    standard WoW format.
#    Default: "No MOTD specified"

Motd = "No MOTD specified."


# Send Build On Join
#
#    This directive controls whether the server's internal revision
#    will be sent to clients upon entering the world. Use it to help
#    testers report bugs.

SendBuildOnJoin = 1


# Send Stats On Join
#
#    This directive controls whether the server will send the online player
#    count to a cilent when it enters the world.

SendStatsOnJoin = 1


# Power regeneration multiplier setup
# 
#    These directives set up the multiplier in which regen values will be
#    multiplied by every 2 seconds.
#    Powers: 
#        Power1 = Mana, Power2 = Rage, Power3 = Energy
#    
#    Reputation:
#        Kill = Rep gained on kill, Quest = rep gained from quests
#
#    Honor:
#        Honor = multiplier used to calculate honor per-kill.
#
#    PvP:
#        PvPTimer = in ms, the timeout for pvp after turning it off. default: 5mins (300000)

Rate.Health = 1
Rate.Power1 = 1
Rate.Power2 = 1
Rate.Power3 = 1
Rate.QuestReputation = 1
Rate.KillReputation = 1
Rate.Honor = 1
Rate.PvPTimer = 300000


# XP (Experience) Rate setup
#
#   The xp that a player receives from killing a creature will be multiplied
#   by this value in order to get his xp gain.
#   Default: 1
#

Rate.XP = 1
Rate.QuestXP = 1


# Rest XP Rate
#
#   Value is the amount of rest XP a player will recieve per minute of rest time.
#   Default: 1
#

Rate.RestXP = 1


# Drop Rate
#
#   This value will be multiplied by any gold looted and the drop percentages of the
#   items for creatures will also be multiplied for this to determine which items
#   to drop.
#   Default: 1
#

Rate.Drop = 1
Rate.DropMoney = 1


# Player save rate
#
#   Value in milliseconds (ms) that will be between player autosaves.
#   Default: 300000 (5 minutes)

Rate.Save = 300000

# Compression rate
#
#   Value is from 1-9, the compression level passed to zlib to compress
#   update packets. A higher value will consume less bandwidth but more cpu cycles.
#   Default: 1 (Best Speed)
#

Rate.Compression = 1


# Queue Update Rate
#
#   This directive controls how many milliseconds (ms) between the updates
#   that the queued players receieve telling them their position in the queue.
#   Default: 5000 (5 seconds).
#

Network.QueueUpdateInterval = 5000


# Update Distance
#
#   This directive controls the distance (internal yards) that the player can "see" up to
#   and receieve updates for. For smaller servers, you can probably increase this number.
#   Increasing this number will also increase the servers bandwidth consumption and CPU usage.
#   Default: 80
#

PlrUpdateDistance = 80


# Level Cap
#
#   This variable controls the level that stats will be generated up to internally.
#   Beyond this level players can still see a higher level visually but their stats won't
#   increase beyond this point.
#

LevelCap = 70


# GM Client Channel
#
#   This should be set to 'gm_sync_channel' for the My_Master addon to work.
#
#   Default: gm_sync_channel
#

GmClientChannel = "gm_sync_channel"


# Seperate Channels Control
#
#   This directive controls whether horde and alliance chats will be seperated across channels.
#   Set to 1 for blizzlike seperated channels, or 0 to allow horde/alliance to speak to each other
#   across channels.
#
#   Default: 0
#

SeperateChatChannels = 0


# Terrain Configuration
#
#   Set the path to the map_xx.bin files and whether unloading should be enabled for the main world
#   maps here. Unloading the main world maps when they go idle can save a great amount of memory if
#   the cells aren't being activated/idled often. Instance/Non-main maps will not be unloaded ever.
#
#   Default:
#      MapPath = "maps"
#      UnloadMaps = 1
#

MapPath = "maps"
UnloadMaps = 1


# Breathing Setup
#
#   If the breathing code is causing problems or you want to run a fun server, you can disable 
#   water checks by enabling this directive.
#
#   Default: 1
#

EnableBreathing = 1


# Speedhack detection
#
#   If this directive is turned on, speedhack detection will be activated and speedhackers
#   will be warned / kicked.
#
#   Default: 0
#

SpeedhackProtection = 0


# Cheat log setup
#
#   These two directives set up the cheater logging file, if turned on any cheat / packet
#   exploit / speedhack attempts will be logged here.
#
#   Default: off
#

LogCheaters = 0


# GM log setup
#
#   These two directives set up the GM command logging fie. If turned on, most gm commands
#   will be logged for this file for abuse investigation, etc.
#
#   Default: off
#

LogGMCommands = 0


# Mail System Setup
#
#   These directives control the limits and behaviour of the ingame mail system.
#   All options must have Mail prefixed before them.
#   
#   ReloadDelay                 - Controls the delay at which the database is "refreshed". Use it if you're
#                                 inserting mail from an external source, such as a web-based interface.
#                                 0 turns it off.
#                                 Default: 0
#
#   DisablePostageCostsForGM    - Enables/disables the postage costs for GM's. DisablePostageCosts overrides this.
#                                 Default: 1
#
#   DisablePostageCosts         - Disables postage costs for all players.
#                                 Default: 0
#
#   DisablePostageDelayItems    - Disables the one hour wait time when sending mail with items attached.
#                                 Default: 1
#
#   DisableMessageExpiry        - Turns off the 30 day / 3 day after read message expiry time. 
#                                 WARNING: A mailbox still cannot show more than 50 items at once
#                                 (stupid limitation in client).
#                                 Default: 0
#
#   EnableInterfactionMail      - Removes the faction limitation for sending mail messages. Applies to all players.
#                                 Default: 1
#
#   EnableInterfactionMailForGM - Removes the faction limitation for sending mail messages, but only applies
#                                 to GM's. EnableInterfactionMail overrides this.
#                                 Default: 1
#   

Mail.ReloadDelay                 = 0
Mail.DisablePostageCostsForGM    = 1
Mail.DisablePostageCosts         = 0
Mail.DisablePostageDelayItems    = 1
Mail.DisableMessageExpiry        = 0
Mail.EnableInterfactionMail      = 1
Mail.EnableInterfactionMailForGM = 1


# Compression Threshold
#
#   This directive controls the limit when update packets will be compressed using deflate.
#   For lower-bandwidth servers use a lower value at the cost of cpu time.
#
#   Default: 1000
#

CompressionThreshold = 1000


# Status Dumper Config
#
#   These directives set up the status dumper plugin. Filename is an absolute or relative
#   path to the server binary. Interval is the time that the stats will be dumped to xml.
#
#   Default: stats.xml / 120000 (2 minutes)
#

StatDumper.FileName = "stats.xml"
StatDumper.Interval = 120000


# Connection Timeout
#
#   This directive specifies the amount of seconds that the client will be disconnected
#   after if no ping packet is sent. It is advised to leave it at the default.
#
#   Default: 180
#

ConnectionTimeout = 180


# MapMgr Preloading
#
#    This directive controls whether the entire world will be spawned at server startup
#    or on demand. It is advised to leave it disabled unless you are a developer doing
#    testing.
#
#    Default: off
#

MapMgr.Preloading = 0


# Background Loot Loading
#
#    This directive controls whether loot will be loaded progressively during startup
#    or in the background in a seperate thread. Turning it on will result in much
#    faster startup times.
#
#    Default: on
#

Startup.BackgroundLootLoading = 1


# Multithreaded Startup
#
#    This controls whether the server will spawn multiple worker threads to use for
#    loading the database and starting the server. Turning it on increases the speed
#    at which it starts up for each additional cpu in your computer.
#
#    Default: on
#

Startup.EnableMultithreadedLoading = 1


# Guild Setup
#
#    This directive controls whether the full 10 signatures will be required in order
#    to turn in a petition. Smaller servers would be better off having it turned off.
# 
#    Default: off
#

Guild.RequireAllSignatures = 0


# LogonServer Setup
#
#    This directive controls whether pings will be sent to the logonserver to check
#    if the connection is still "alive". Expect problems if it is disabled.
#
#    Default: on
#

DisablePings = 0


# LogonServer Setup
#
#    This directive controls the password used to authenticate with the logonserver.
#    It must be the same between the two configs. If it is not, your server will
#    not register.
#
#    Default: "change_me_world"
#

LogonServer.RemotePassword = "change_me_world"

realms
Code:
#######################################################################
# Realms Configuration File
# Last updated at revision 1259
#######################################################################

# Logon Server Setup
#
# Logon servers are the old "realmlist" or "auth" servers.
# At the moment, you can only set up one. This will be changed in the
# future.
#
# LogonServerCount       = Number of servers
# LogonServer[x].Address = The address (no port) of the server.
# LogonServer[x].Port    = The port on which the logon server listens.
# LogonServer[x].Name    = Not really relavant, but name the logon.
#

LogonServerCount     = 1

LogonServer1.Address = "127.0.0.1"
LogonServer1.Port    = 8093
LogonServer1.Name    = "Default Logon"

# Realm Setup
#
# This is the realms that will be added to the list for this instance
# of the server. You can have multiple realms (e.g. one for LAN, WAN).
#
# RealmCount          = The number of servers.
# Realm[x].Name       = The name of the realm.
# Realm[x].Address    = The address (and port) of that realm.
# Realm[x].Icon       = The type of realm (PVP, Normal, RPPVP, RP)
# Realm[x].Colour     = Realm colour in realm list display.
# Realm[x].TimeZone   = Time zone the realm is in.
# Realm[x].Population = (0 = low, 1 = medium, 2 = high)
#

RealmCount           = 1

Realm1.Name          = "Test Realm"
Realm1.Address       = "127.0.0.1:8129"
Realm1.Icon          = "PVP"
Realm1.Colour        = 1
Realm1.Population    = 1.0
Realm1.TimeZone      = 1


I am using SQLyog and WAMP can anyone help?
 
Last edited:
if you can help add my msn [email protected]

Lol that dont wont help.

this is what i see before the loginserver.exe closes
majestic 888 - Help with my server. - RaGEZONE Forums
 
check if you are using MySQL 5 and .Net FrameWork 2, if you got different versions of the ones needed the server shall crash on startup.
 
here is my realms.conf
Code:
#######################################################################
# Realms Configuration File
# Last updated at revision 1259
#######################################################################

# Logon Server Setup
#
# Logon servers are the old "realmlist" or "auth" servers.
# At the moment, you can only set up one. This will be changed in the
# future.
#
# LogonServerCount       = Number of servers
# LogonServer[x].Address = The address (no port) of the server.
# LogonServer[x].Port    = The port on which the logon server listens.
# LogonServer[x].Name    = Not really relavant, but name the logon.
#

LogonServerCount     = 1

LogonServer1.Address = "127.0.0.1"
LogonServer1.Port    = 8093
LogonServer1.Name    = "Default Logon"

# Realm Setup
#
# This is the realms that will be added to the list for this instance
# of the server. You can have multiple realms (e.g. one for LAN, WAN).
#
# RealmCount          = The number of servers.
# Realm[x].Name       = The name of the realm.
# Realm[x].Address    = The address (and port) of that realm.
# Realm[x].Icon       = The type of realm (PVP, Normal, RPPVP, RP)
# Realm[x].Colour     = Realm colour in realm list display.
# Realm[x].TimeZone   = Time zone the realm is in.
# Realm[x].Population = (0 = low, 1 = medium, 2 = high)
#

RealmCount           = 1

Realm1.Name          = "Test Realm"
Realm1.Address       = "127.0.0.1:8129"
Realm1.Icon          = "PVP"
Realm1.Colour        = 1
Realm1.Population    = 1.0
Realm1.TimeZone      = 1
 
Last edited:
I see that problem, at the bottom of antrix.conf and logonserver.conf, there's two passwords:

change_me_logon
change_me_world

Change those two passwords (whatever you want), THEY GOT TO BE IDENTICAL.

Tell me if it works now.
 
I see your using rev 274.
I recommend updating your core, and possibly your database.
You can update core to rev 735 without altering your db.

Just for info, rev 960 just released, so your core is outdated, but should still be functional.
 
Back