PDA

View Full Version : Cant get server to startup


Achay
06-08-2007, 07:30 PM
Hello all.

I am having a problem trying to get this server to run.

I have used the AutoInstaller and when I run (1) Start MySql everything seems ok.

When I run (2) Logon Server I get a windows error

''The application failed to initialize properly (0xc0150002)"

logonserver

################################################## #####################
# Configuration File (Logon)
# Last updated at revision 1259
################################################## #####################

# 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 = antrix
LogonDatabase.Name = antrix
LogonDatabase.Port = 3306
LogonDatabase.Type = 1
LogonServer.RemotePassword =antrix

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

Host = 127.0.0.1


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

# 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.0.1 was build 6180.
#

MinClientBuild = 6692
MaxClientBuild = 6729


# Socket Threads Delay
#
# This directive controls the delay between loops of the socket worker threads.
# Usually 20ms works nicely, although if you have a much larger server higher
# values might work better.
# Default: 20 (20ms)
#

Network.ThreadDelay = 20


# Socket Thread Count
#
# This directive controls the amount of socket worker threads that will be spawned
# by the server. New sockets are then dynamically balanced out on these threads.
# Again, if you have a much larger server a higher value may improve latency.
# Default: 5
#

Network.ThreadCount = 5

Antrix

################################################## #####################
# Configuration File
# Last updated at revision 1259
################################################## #####################

# 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 = 127.0.0.1
Database.Username = root
Database.Password = antrix
Database.Name = antrix
Database.Port = 3306
Database.Type = 1
LogonServer.RemotePassword = antrix


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


# 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.
# 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
# Default: 3
#

LogLevel = 0


# 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

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

Rate.Health = 1
Rate.Power1 = 1
Rate.Power2 = 1
Rate.Power3 = 1

# 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


# Expansion races
#
# This directive controls whether expansion races will be allowed to be created
# by players. (once the expansion is released).
#

AllowExpansionRaces = 0


# 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


# Socket Threads Delay
#
# This directive controls the delay between loops of the socket worker threads.
# Usually 20ms works nicely, although if you have a much larger server higher
# values might work better.
#
# Note: This is *not* needed on windows, as it uses an IOCP/Overlapped I/O
# implementation.
#
# Default: 20 (20ms)
#

Network.ThreadDelay = 20


# Socket Thread Count
#
# This directive controls the amount of socket worker threads that will be spawned
# by the server. New sockets are then dynamically balanced out on these threads.
# Again, if you have a much larger server a higher value may improve latency.
#
# Note: This is *not* needed on windows, as it uses an IOCP/Overlapped I/O
# implementation.
#
# Default: 5
#

Network.ThreadCount = 5

# 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
CheatLogFile = "cheaters.log"


# 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
GMLogFile = "gmcommand.log"


# 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

Realms

################################################## #####################
# 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 = "AC-Web Ultimate Repack"
Realm1.Address = "127.0.0.1:8129"
Realm1.Icon = "PVP"
Realm1.Colour = 1
Realm1.Population = 1.0
Realm1.TimeZone = 1

I am trying this repack because another repack I tried gave me exactly the same problem, both antrix.exe and logonserver.exe both give this exact same windows error. I am new to this and hopefully have just made some error which can be easily resolved.

Jargs
06-08-2007, 07:35 PM
unfortunately i am not aware of a fix for this problem at the moment. What you can do instead is follow my Noobs guide to antrix (http://www.ac-web.org/forum/showthread.php?t=34)

Achay
06-08-2007, 07:40 PM
I had a look at the guide when I got stuck the first time, removed everything and followed the video for setting everything up, all went ok. The autoinstall already had the dbc folder in the Antrix folder so just had to move maps myself.

This is where I get stuck, actually trying to get the server up and running. Can't even think where to begin as I know nothing about this stuff, but have now lost count of the amount of times and repacks I have tried all ending up eventually with the exact same error.

I've posted on another repacks forum as well with the problem I got on thier version, just have to wait and see if anyone finds a solution.

Jargs
06-08-2007, 07:41 PM
so my guide didnt work for you?

Achay
06-08-2007, 07:43 PM
It worked perfectly for setting up the database etc, watched the video right till the end no problems. Very nice btw, I'd have been so lost without it. Just when I run the scripts to start everything up it it fails.

Jargs
06-08-2007, 07:46 PM
mabye you could try and compile your own? check out these threads:
http://www.ac-web.org/forum/showthread.php?t=20
http://www.ac-web.org/forum/showthread.php?t=61

Achay
06-08-2007, 07:51 PM
This has happened to me on another repack. I'm starting to think something is amiss with my PC as now 2 different version of Antrix repacks do not work for me.

I'll have a look at the compile tutorials and see if I get lucky.

Thanks for your time.

Jargs
06-08-2007, 07:52 PM
its ok mate have a look around the forums if you can and make a few posts (other sections i mean)

Nekri
06-08-2007, 08:48 PM
i think i figured it out, in navicat in mysql the host table says (Null) for everything, and so do some other tables, is that right??

Jargs
06-08-2007, 08:52 PM
i dont think that is the problem that achay was refering to.

Nekri
06-08-2007, 09:02 PM
well i have the same problem

-nope that didnt fix it

Achay
06-08-2007, 10:20 PM
I have sorted this part of my problem, I can now get to stage (3) Antrix and it loads up then gets a

>>connection to 'Default Logon' on '127.0.0.1:8092'... fail!
server connection failed. I will try again later.

I installed net framework 3 or whatever its proper name was. I've seen this connetc error somewhere going to hunt it out but at least its getting closer to playing.

Jargs
06-08-2007, 10:21 PM
can i ask how you fixed your first problem?

Achay
06-08-2007, 10:22 PM
Sorry yeah installing netframe 3.0 fixed that part.

[EDIT]

Had to find proper name hehe called it different each time.

Microsoft .NET Framework 3.0 Redistributable Package it says on webpage.

Jargs
06-08-2007, 10:24 PM
oh right awsome how did you find that out?

Achay
06-08-2007, 10:29 PM
I was actually thinking that Antrix itself was my problem cause 2 failed now so went to have a look at mangos just to see if it was different, and saw it mentioned in the needed files list.

[EDIT]

Sweet just sorted out my other problem, it was actually the logon server was dropping, made a typo in the logon script. Just need to make an account now and hopefully I'm in :)

client
06-08-2007, 10:48 PM
can one of you explain me plz how to fix error with exe ? i tried the copying out but doesnt work maybe Achay you can tell me how you fixed all?
would be nice thx

Achay
06-08-2007, 10:57 PM
I fixed mine by installing that microsoft framework thing. If you get same code as I did might fix yours too.

I have one more problem. When I log in it logs me in, says Success and thats it wont let me in. Any ideas?

client
06-08-2007, 11:00 PM
not really sry dude but can you explain me the netframe little more?

client
06-08-2007, 11:01 PM
did you asked jargs with youre latest problem?

Achay
06-08-2007, 11:05 PM
If you got same problem as I did search for

Microsoft .NET Framework 3.0 Redistributable Package

install it and try again. Thats all I had to do for that one.

client
06-08-2007, 11:07 PM
ok thx to you if you fix the next error plz pm me

client
06-08-2007, 11:10 PM
but how did you know this (how to fix the login error???)

client
06-08-2007, 11:13 PM
is this the right setup?

dotnetfx3setup

Achay
06-08-2007, 11:14 PM
Yep looks like the right one

Nekri
06-09-2007, 04:06 AM
thanks so much im downloading it now :)

Achay
06-09-2007, 07:11 AM
I decided to have a test last night with the logon server and try to log in with a banned account, sure enough it knew I was banned and refused to let me farther.

So, it looks like that side is working ok. Leads me to believe there is some conflist with my game and the server. I had to adjust the min build option in the config file to match my game, could this be my problem, is it just too low a build to work? I think it is 2.0.1 build 6180

drackangel
06-09-2007, 08:08 AM
I had the same problem with the logonserver.exe and antrix.exe .... well Net Framework fixed the last problem ..... but i have a new one "MSVCP71.dll was not found "

Achay
06-09-2007, 08:18 AM
I'm at work atm so can't confirm this but that file is a Microsoft Runtime file, and it should be in your c:/windows/system32 directory. Download and replace it if it is missing.

[EDIT]

If that doesn't work try putting a copy of it into your server root folder. Can't check mine to see if its in there at the minute.

drackangel
06-09-2007, 08:30 AM
Replacing the .dll file did the job . Thanks for your help Achay !!

Achay
06-09-2007, 08:32 AM
Glad it worked out for you :)

Just wish I wasn't stuck in work, so close to getting my own working now but can't do anything about it hehe

Achay
06-09-2007, 11:44 AM
I've decided I'm going to start from scratch and use your Ultimate Repack. I'm also going to reinstall WoW just in case.

I'm thinking somewhere along the patching a corrupt file or whatever has occured, so want to use the lowest build version possible to rule that out. Once I get it working I'll then start to repatch.

What is the lowest possible build I could get away with using along with this repackage?

Jargs
06-09-2007, 11:54 AM
lowest is 2.1.0.6692 im afraid, what is the problem with your server?

Achay
06-09-2007, 11:56 AM
It now hangs at the login screen when it says 'Success' No disk activity to indicate the game is loading, nothing.

Looks like I might have to upgrade not downgrade though hehe, running 2.0.1 6180, ill do that soon as I get home from work.

Achay
06-09-2007, 01:57 PM
Jargs your a star. Upgraded to 2.1.0 and got in no problems. Your the only person that picked up on the fact I had wrong version, posted so many places asking if my version was ok, been doing my head in.

Other than mistakes at my end, namely

1. Not having .net Framework 3
2. Too old build of WoW
3. Being a complete noobins

your setup works great, very nice package indeed. Thanks very much for it, now just have to get down to admin stuff and set it up nice.

Jargs
06-09-2007, 02:51 PM
if you have msn ill remote assistance you and make it public for you

Achay
06-09-2007, 03:07 PM
I'm waiting on my ISP to set my IP static, its dynamic at the minute, but that would be cool if you could help me set it up then I'll just change the IP when they get back to me, hopefully it will be that easy. I'll PM details.

Sharpshot6707
06-09-2007, 11:03 PM
i get to Authenticating and then i got disconnected i cant figure out why please help

Achay
06-11-2007, 09:57 AM
If you could post your realms.conf antrix.conf and logon one will help us see if there is a conflict or wrong setting somewhere. Create a new post would be easier for people to help rather than end of another :)

plang
12-07-2009, 09:27 AM
asd