Hi, i need help for make two realm (for ascent). one blizzlike, and one fun, i followed the guide by grandmast20 but i am not working, but hopefully somebody can explain what steps
thanks a lot.
nano
Printable View
Hi, i need help for make two realm (for ascent). one blizzlike, and one fun, i followed the guide by grandmast20 but i am not working, but hopefully somebody can explain what steps
thanks a lot.
nano
copy again all what is in first folder ascent and then delete logonservar on second make another DB to be world DB make another db with characters there you will put accounts and ipban but you must delete from first db accounts and ipban and second db if you have this. Then make the settings and start first ascent and then second
yeah, i dont understand, no entendi!
please somebody helpme
*bump*
If you understand this part, adding a second realm is a piece of cake ;)
http://aycu16.webshots.com/image/204...9979335_rs.jpg
Note that InterConnection and Mysql-Connections are in fact LAN (just drew them to clarify the endpoints)
In this example I use 3 PC's for every server;
Offcoarse you can use one machine; you sould then change all IP's to 10.0.0.3 (not using 10.0.0.2 & 10.0.0.4 anymore), and forward port 3724 also to 10.0.0.3
I assumed you have registered 123.123.123.123 with a DNS server (like no-ip) towards my.ip.org.
But you can use your ISP's DNS name provided to you too. Use the LookUp function on Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup to find out yours.
Tell your clients to set realmlist my.ip.org
Local LAN users should use the logonservers IP to set the realmlist, in this case 10.0.0.2
(or 10.0.0.3 if all runs on a single computer)
ascent-world.conf:ascent-logonserver.conf:Quote:
#######################################################################
# Ascent Configuration File
#######################################################################
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# 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
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<WorldDatabase Hostname = "10.0.0.4" Username = "root" Password = "password" Name = "asc_worlddata" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "10.0.0.4" Username = "root" Password = "password" Name = "asc_characters" Port = "3306" Type = "1">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Listen Config
#
# Host
# 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)
#
# WorldServerPort
# 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
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<Listen Host = "0.0.0.0"
WorldServerPort = "8129">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# LogonServer Setup
#
# DisablePings
# 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: 0
#
# RemotePassword
# 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.
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<LogonServer DisablePings = "0"
RemotePassword = "change_me_world">
ascent-realms.conf:Quote:
#######################################################################
# Ascent Configuration File (Logon)
#######################################################################
# 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 = "10.0.0.4"
Username = "root"
Password = "password"
Name = "asc_accounts"
Port = "3306"
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.
#
<Listen Host = "0.0.0.0"
ISHost = "0.0.0.0"
RealmListPort = "3724"
ServerPort = "8093">
# 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">
router configuration:Quote:
#######################################################################
# Ascent Realms Configuration File
#######################################################################
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# LogonServer Section
#
# Address:
# The address (no port) of the server.
#
# Port:
# The port on which the logon server listens. (*** NOT 3724 ***)
#
# Name:
# Not really relavant, but name the logon.
#
# RealmCount:
# The number of realms in the next section.
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<LogonServer Address = "10.0.0.2"
Port = "8093"
Name = "Default Logon"
RealmCount = "1">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Realm Section
#
# Name:
# The name of the realm.
#
# Address:
# The (DNS) address (and port) of that realm.
#
# Icon:
# The type of realm (PVP, Normal, RPPVP, RP)
#
# Colour:
# Realm colour in realm list display.
#
# TimeZone:
# Time zone the realm is in.
#
# Population:
# (0 = low, 1 = medium, 2 = high)
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<Realm1 Name = "My Realm"
Address = "my.ip.org:8129"
Icon = "PVP"
Colour = "1"
Population = "1.0"
TimeZone = "1">
Addition to c:\windows\system32\drivers\etc\hosts file:Quote:
port 3724 --> 10.0.0.2
port 8129 --> 10.0.0.3
So, how does it work?Quote:
10.0.0.3 my.ip.org
Let's see what happens.
- After server starts up, ascent-server (10.0.0.3) registers itself through the InterServer Connection (8093)
The details send are "My Realm", my.ip.org:8129 (Note that my.ip.org is looked up in DNS, therefore it MUST be in the servers HOSTS file !!)LogonServer (10.0.0.2) is listening on port 3724; the Ascent server on port 8129; Your Ascent server is now ready to accept clients.Quote:
Authentication request from 10.0.0.3, result OK.
Key: 7637FA5BB4BDEFGA49BAFDG59A43CB928302
Registering realm `Narsil 2.3 TEST!` under ID 99.
Got mapping packet for realm 99, total of 9 entries.
- When an external Client logs in, your realmlist will redirect him to my.ip.org. Since you have registered my.ip.org as 123.123.123.123, it will the be result of his DNS lookup.
- Your router (123.123.123.123) is configured to forward all request on port 3724 to IP 10.0.0.2, the logonserver
- The logon server authenticates you
Quote:
[AuthChallenge] got header, body is 0x24 bytes
[AuthChallenge] got full packet.
[IPBanner] IP has no ban entry
[AuthChallenge] Account Name: "ACEINDY"
[AuthChallenge] Account banned state = 0
[AuthLogonProof] Interleaving and checking proof...
[AuthLogonProof] Authentication Success.
- Your logon server will send connection details for the selecetd Ascent realm to client my.ip.org:8129
- The client will again lookup my.ip.org in DNS, and will connect to 123.123.123.123:8129
- Your router is configured to forward all request on port 8129 to IP 10.0.0.3, the Ascent server
- The Ascent server sends the characterlist
Now..if you still have problems, re-read the topic, and try to understand each step; turn on detailed login, and start this tool Winternals - TCPView
and monitor which step along the way goes wrong.
if you understand how this works, adding another realm will be a piece of cake :)
Enjoy :)
[This an updated thread from emupedia]
What is the problem? What mistake giving?
really a lot of thanks, muchas gracias!