Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 09.06.2005, 15:44   #1
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default [TUTORIAL] AuthD Explained

This is my first big post here, so I'll try and keep it updated as work progresses, I would also appreciate any feedback from readers If you reply with something you would like to append, I'll edit the original post to include it with credit to you.

Standard Directory Structure:

-Auth Folder
---- "etc" Folder
-------- config.txt
-------- serverlist
-------- BlockIPs.txt
---- "log" Folder

Contents: Auth Folder
-Your L2AuthD executable
-L2AuthD.pdb

Contents: etc Folder
config.txt
The configuration file read by AuthD.
BlockIPs.txt
IP Blocklist read by AuthD if specific in the config
serverlist
If specified in the config auth will read this local serverlist file instead of the server table from Lin2DB

Contents: log Folder
If it exists and is specified in the config, all kinds of logs will be kept here.


Config.txt Breakdown:

Standard Config.txt (somewhat appended):
Code:
serverPort=
serverExPort=
serverIntPort=
WorldPort=
DBConnectionNum=
numServerThread=
numServerIntThread=
GameID=
SocketTimeOut=
SocketLimit=
AcceptCallNum=
WaitingUserLimit=
PacketSizeType=
Encrypt=
logDirectory="log"
ProtocolVersion=30810
DesApply=
deskey=
ReadLocalServerList=
OneTimeLogOut=
GMCheckMode=
CountryCode=
UserData=
DevConnectOuter="IP.IP.IP.IP"
DevServerIP="IP.IP.IP.IP"
DumpPacket=
PCCafeFirst=
UseIPServer=
IPServer=
IPPort=
IPInterval=
uselogd=
logdip="IP.IP.IP.IP"
logdport=
logdconnectinterval=
RestrictGMIP=
GMIP=
UseWantedSystem=
WantedIP=
WantedPort=
WantedReconnectInterval=
IPAccessLimit=
FreeServer=
useForbiddenIPList=
supportReconnect=
mailServer=
mailFrom=
mailTo=
NewServerList=
AutoKickAccount=
NewEncrypt=
Configuration options breakdown:

serverPort=
Port bind for connection from L2Server

serverExPort=
Port bind for connection from

serverIntPort=
Port bind for Auth's interactive service port.

WorldPort=
Sets standard port binds for use when connecting to L2Server (mainly used with local serverlist?)

DBConnectionNum=
Simultanious number of connections to the database.

numServerThread=
Number of server threads (edit later)

numServerIntThread=
Number of internal server threads (edit later)

GameID=
I guess auth supports another game as well. Keep this at 8 (8 = Lineage II)

SocketTimeOut=
Max idle time before a socket is closed.

SocketLimit=
Max number of sockets

AcceptCallNum=
(?)

WaitingUserLimit=
Max number of "waiting" users (in the lobby?)

PacketSizeType=
Default was on 3, not sure how to explain what it is (edit later)

Encrypt=
Wether or not to use encryption (to client or to server I wonder?)

logDirectory="log"
Location of the directory for log storage (mentioned above). If it doesn't exist you won't get an error or warning of any sort, Auth simply won't store logs.

ProtocolVersion=
Protocol version to use. Default was on 30xxx. (Need a better way to explain this...)

DesApply=
Not sure. True/false, seemingly related to deskey.

deskey=
Untested, don't know yet.

ReadLocalServerList=
Wether or not to read from a local server list. (Explained above)

OneTimeLogOut=
I haven't put time into testing this one, I'm guessing that it defines whether or not you have to enter your sign-in information again if you leave and re-enter the lobby.

GMCheckMode=
<false/true> - Put server into maintance mode. Only Builders can login (currently not working, probably because of the same bug as Set User Limit). (Thanks Eliot)

CountryCode=
Country setting, match it with your other applications etc.

UserData=
Don't know o.O

DevConnectOuter="IP.IP.IP.IP"
Outer IP

DevServerIP="IP.IP.IP.IP"
Inner IP(?)

DumpPacket=
Not sure

PCCafeFirst=
Untested

UseIPServer=
Untested

IPServer=
Settings related to UseIPServer

IPPort=
Settings related to UseIPServer

IPInterval=
Settings related to UseIPServer

uselogd=
Use LogD, True or False

logdip="IP.IP.IP.IP"
LogD IP

logdport=
LogD Port

logdconnectinterval=
Connection interval for LogD

RestrictGMIP=
Untested

GMIP=
Untested

UseWantedSystem=
Untested

WantedIP=
Setting related to UseWantedSystem.

WantedPort=
Setting related to UseWantedSystem.

WantedReconnectInterval=
Setting related to UseWantedSystem.

IPAccessLimit=
Limit connections by IP. For example IPAccessLimit="2" allows 2 accounts logged in on one IP.

FreeServer=
Untested

useForbiddenIPList=
Filter out connections from IPs in the blocklist (BlockIPs.txt, see above)

supportReconnect=
Support reconnections to L2server

mailServer=
Haven't played with this yet, will do so soon :P

mailFrom=
Mail setting

mailTo=
Mail setting

NewServerList=
Not sure

AutoKickAccount=
Automatically kick the currently logged in user when another person logs in with the same credentials.

NewEncrypt=
Use New Encryption (edit later)

Local Serverlist Format:

BlockIPs.txt Format:

Log Formats:

More to come soon enough :P (Post still under construction)
Shawnmb is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:34.