[GUIDE] Running an Antrix Server - STEP-BY-STEP GUIDE FOR DUMMIES (LOT OF IMAGES)

Status
Not open for further replies.
Experienced Elementalist
Joined
Jan 3, 2005
Messages
299
Reaction score
3
Ok, since i've joined this section of ragezone forum, about 4-5 days ago, i saw so many people asking for help and always the same 2-3 people trying to help.
Well, i hope to help everyone who still doesn't know how to run a server with this guide.

First of all, you will require some files.



TerraNet DB rev4


(You can also use newer or older versions, but i can't guarantee the compatibility with this guide, so try at your own risk.)

NOTE: To make everything easier, i've made a TerraNet DB rev4 ready to use, wich already includes all missing tables and fixes released by Angel of TerraNet Staff. I hope that TerraNet Staff won't kick my ass for this, in case i'll remove the link :biggrin2:

Ok, now that you have all the necessary files, let's begin! :)

1) Extract the files in your Antrix folder
Extract Antrix Core rev290, 2.1.0 Maps, 2.1.0 DBC and TerraNet DB rev4 in the same folder. Put the database in a sub folder called "sql".


2) Install MySQL 5.0.41 Essentials
As already described in Karnage's guide, you will need to use all typical settings. So:



d) After installation, click "Next" twice, till the last tab of this wizard.








3) Install SQLyog Comunity 6.02













NOTE: This operation could take a LONG time, depending on your settings and your machine. Anyway with default settings and a mediium machine it required 36 minutes to me.






t) Close SQLyog Comunity 6.02

4) CONF Files
antrix.conf
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      = [COLOR="Red"]USERNAME OF SQLyog ADDED USER[/COLOR]
Database.Password      = [COLOR="Red"]PASSWORD OF SQLyog ADDED USER[/COLOR]
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 = "[COLOR="Red"]LOGON PASSWORD[/COLOR]"
logonserver.conf
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 = [COLOR="Red"]USERNAME OF SLQyog ADDED USER[/COLOR]
LogonDatabase.Password = [COLOR="Red"]PASSWORD OF SLQyog ADDED USER[/COLOR]
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 = 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 = 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 = "[COLOR="Red"]LOGON PASSWORD[/COLOR]"
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       = "[COLOR="Red"]YOUR EXTERNAL IP[/COLOR]:8129"
Realm1.Icon          = "PVP"
Realm1.Colour        = 1
Realm1.Population    = 1.0
Realm1.TimeZone      = 1

5) Run the server
a) If you have any router or firewall, be sure to foreward the following ports:
3306, 3724, 8093 and 8129.
I'm not sure about all of them, so i suggest to foreward them both in TCP and UDP.
b) Run Logonserver.exe
c) Run Antrix.exe

If you did everything correctly, you will see this:
ATTILA888 - [GUIDE] Running an Antrix Server - STEP-BY-STEP GUIDE FOR DUMMIES (LOT OF IMAGES) - RaGEZONE Forums


Ok, now the server is running... but we must try it, so don't close it (of course) and open your client!
ATTILA888 - [GUIDE] Running an Antrix Server - STEP-BY-STEP GUIDE FOR DUMMIES (LOT OF IMAGES) - RaGEZONE Forums

ATTILA888 - [GUIDE] Running an Antrix Server - STEP-BY-STEP GUIDE FOR DUMMIES (LOT OF IMAGES) - RaGEZONE Forums


Hope that could help someone :)

~CREDITS~

Antrix Core rev290:
Antri Project and Antrix Project comunity, wich also helps as much as possible on the development of always better cores.

TerraNet DB rev4: Onemore (quest fixes), Resinate (range fixex, size fixes, a lot of others), ollee (for submitting bunch of fixes), Project Silvermoon (support and fixes), Antrix Project (for spending a good time there), TerraNet WoW Comunity (for everything you see here)

Maps: Karnage (oh well, i've downloaded this maps from Karnage's guide, he/she didn't gave credits to anyone else, so i guess it is his/her work)

DBC: Same as above, thanks Karnage
 
Last edited:
I Do not need it but RALLY Rally nice, thanks.
It required a lot of time to make it... i had to disinstall the programs, reinstall, reimport, screen everythin, host the images... well.. you can guess... so thanks :)
Teranet DB link is missing
Must i quote myself?
Ok:
NOTE: To make evrything easier, i've made a TerraNet DB rev4 ready to use, wich already includes all missing tables and fixes released by Angel of TerraNet Staff. I will add it to this guide as soon as i will upload it, but i'm at home atm, so i have only 32kb/s of upload... damn italian connections :biggrin2:
 
I'm testing it, because after almost 45 minutes of making the sql dump and 30 more minutes of uploading, it was corrupt.
So now, i've tried with navicat to make an sql dump, but it gave me an error.
Ok, made backup, then extracted the sql dump from the backup.
Now i'm restoring this sql dump and testing it, too see if it works...
Pretty long work xD

Anyway stay tuned, i think it could be online in less than 1 hour :)
 
And so i did :)


(also first post updated)
If you find any error wich is database-related, please, contact me.
I'll try to fix it as fast as possible.
 
Last edited:
About T6, yes, there are all T6 sets (me and some friends just killed Illidan xD)
To set it up for hamachi, in realms.conf change your external ip with your hamachi ip, that's all.
 
k ty alot :) and when i went to blacktemple u kno the .recall port illidan ports u to him he wasnt there :( is there a reason why
 
o ya if u wann akno how to make weps go to all u do is make it and then d/l the batch file and import it into ur db and then refresh ur db then refresh ur server and ull have it :)
 
k ty alot :) and when i went to blacktemple u kno the .recall port illidan ports u to him he wasnt there :( is there a reason why
When i used recall command to go to illidan, it teleported me OUTSIDE the temple.
I did all the way, killed everything (GM cheat mode rocks! xD). There were two bosses. Supremus (almost impossible to hit magically) and at the end of the stairs, over the highest room of the temple... there were Illidan Stormrage - The Betrayer.

Me and a friend killed him :)
Actually he's incomplete (no spells, no flying, no scale increasing when in rage), but it's here :D
It's been difficult to kill, also with god mode...
We made a vid with fraps, just for fun :D

Here's a pic:
ATTILA888 - [GUIDE] Running an Antrix Server - STEP-BY-STEP GUIDE FOR DUMMIES (LOT OF IMAGES) - RaGEZONE Forums


Kiraya it's me, my priest, my frind was Bruttina, orc shaman.
We killed illidan in about 1 hour or less...
 
i know this might sound dum but how do u get other people to connect to ur server...ok i have my friend in the game but it says he has to have bc to get to outland but he has bc what do i do? oh and he has the latest patches
 
i know this might sound dum but how do u get other people to connect to ur server...ok i have my friend in the game but it says he has to have bc to get to outland but he has bc what do i do? oh and he has the latest patches

When you created his account did you set his flag at 8?
If he made the account by himself (website) you must be sure that your website support tbc, or your friend did wrong durin signup and didn't selected "tbc account".

Anyway, some antrix core (my guide use rev290 wich DOESN'T) needs to be configured also in a conf file.

If i have a good memory, in antrix.conf there is a row like tihis:
AllowExpansionRaces = 0
Set it to 1 and you're done.
 
Status
Not open for further replies.
Back