PDA

View Full Version : [SHARE]90% C4 config.txt settings


tpuNIsher
24.03.2007, 06:17
I was looking at Authd_b60215 in assembly, well been for last few days. There's a lot of interesting stuff. One of them are these, new etc\config.txt parameters/settings. However, i am still new to this and have not finished or tested all of them. I do not have info on all of them and my spare time is very limited as well. So, please let us finish these together, and we will be able to use b60216 AuthD.exe as well.


serverPort= 2104
serverExPort= 2106
serverIntPort= 2108
WorldPort= 7777
DBConnectionNum= 10
numServerThread= 2
numServerIntThread= 2
GameID=8
;8:lineage2, 4: halo
SocketTimeOut=60
SocketLimit=5000
AcceptCallNum=1
PacketSizeType=?
logDirectory="\log"
ProtocolVersion=?
;30206 : l2, 30310 : Sl
ReadLocalServerList=false
OneTimeLogOut=true
GMCheckMode=true
CountryCode=2
UserData=false
DevConnectOuter=true
DevServerIP="IP.IP.IP.IP"
DumpPacket=?
PCCafeFirst=?
UseIPServer=true
IPServer=?
IPPort=?
IPInterval=?
uselogd=true
logdip="IP.IP.IP.IP"
logdport=3999
logdconnectinterval=120
RestrictGMIP=true
;restrict a GM's ip, true/false. not tested.
GMIP="IP.IP.IP.IP"
UseWantedSystem=true
;true/false
WantedIP="IP.IP.IP.IP"
WantedPort=?
WantedReconnectInterval=?
UseNotifySystem=true
;true/false
NotifyIP="IP.IP.IP.IP"
NotifyPort=?
NotifyReconnectInterval=?
IPAccessLimit=?
FreeServer=true
;true/false, no idea what it enables/disables.
supportReconnect=true
mailServer=mail.ncsoft.co.kr
mailFrom="linserver@ncsoft.co.kr"
mailTo="veni@ncsoft.co.kr"
AutoKickAccount=true
NewEncrypt=true
chargeWhenServerDown=?
UsePacketLog=true
;true/false
UseSecurityCard=true
;true/false
securityFailureCount=?
UseUnderAgeTimeLimit=true
;under 18 playing limit, needs l2server.ini 18age=? setting?
underAgeTimeLimitFrom=3
;time in hr
underAgeTimeLimitTo=5
;time in hr
UseForbiddenServerSetting=true
;true/false, no idea wtf is forbidden
UseMultiClientForPCCafeOption=true
;true/false, no idea wtf it is
DefaultTopServer=?
UsePBServer=true
;true/false
PBServerIP="IP.IP.IP.IP"
PBServerPort=?
PBSReconnectInterval=?
UseFatigueSystem=true
;true/false
;chinafatigue system, needs l2server.ini settings too?
FatigueRecoveryTime=?
;time needed to be offline/not playing to recover from fatigue?

tpuNIsher
24.03.2007, 06:19
Most interesting is that when i was comparing b60215 against b40504, none of them had the setting:

numServerExThread=


I didn't test yet if it works without that setting. Please post if you do or if you know any info about it.

L2AuthD_b40504, config.txt settings from assembly for ref:

serverPort=
serverExPort=
serverIntPort
WorldPort=
DBConnectionNum=
numServerThread=
numServerIntThread=
GameID=
SocketTimeOut=
SocketLimit=
AcceptCallNum=
WaitingUserLimit=
PacketSizeType=
Encrypt logDirectory=
ProtocolVersion=
DesApply=
deskey=
ReadLocalServerList=
OneTimeLogOut=
GMCheckMode=
CountryCode=
UserData=
DevConnectOuter=
DevServerIP=
DumpPacket=
PCCafeFirst=
UseIPServer=
IPServer=
IPPort=
IPInterval=
uselogd=
logdip=
logdport=
logdconnectinterval=
RestrictGMIP=
GMIP=
UseWantedSystem=
WantedIP=
WantedPort=
WantedReconnectInterval=
IPAccessLimit=
FreeServer=
useForbiddenIPList=
supportReconnect=
mailServer=
mailFrom=
mailTo=
NewServerList=
AutoKickAccount=
NewEncrypt=

testdude
24.03.2007, 06:45
i think the GMIP one is like...

RestrictGMIP=true
[GMIP]
127.0.0.1
1xx.xx8.1.1
i was reading thru all the config params a while ago and im sure it used GetPrivateProfileSection for the GMIP... but im not 100% sure xP

tpuNIsher
24.03.2007, 07:22
Could be, i have not even reached till there in testing. Been too busy with my own server. Thanks and will test.

Noone else with a brain would like to help? -_-

tpuNIsher
24.03.2007, 21:01
Ok, guess ill continue.


chargeWhenServerDown=?
UsePacketLog=true
;true/false
UseSecurityCard=true
;true/false
securityFailureCount=?
UseUnderAgeTimeLimit=true
;under 18 playing limit, needs l2server.ini 18age=? setting?
underAgeTimeLimitFrom=3
;time in hr
underAgeTimeLimitTo=5
;time in hr
UseForbiddenServerSetting=true
;true/false, no idea wtf is forbidden
UseMultiClientForPCCafeOption=true
;true/false, no idea wtf it is
DefaultTopServer=?
UsePBServer=true
;true/false
PBServerIP="IP.IP.IP.IP"
PBServerPort=?
PBSReconnectInterval=?

Below is a brief description of each setting:

UsePacketLog=true

Logs every packet. So, i see.


UseForbiddenServerSetting=true

opens up few of the l2server.ini settings otherwise not working. You figure out which..

Ok, the reason auth doesn't send back client any info to connect:
(yah, now ure interested i know...anyways)

C4 AuthD_b60215 IS a "private build" authD, not official though made by "nc staff". It uses a specific service to be verified and let users in. Goes like:

Auth->Gate, AuthGateD, *error blabla msg here*, Gate-> . So we don't have this gate or so far i have no idea what the fuck it is. Could be this PBServer settings that we see? or could be something else? Who knows.
Hmm, i just dug up old posts in pp. Sean posted all c1 auth settings. Sean, any help? -_-

However, i think for us to make this work..we either need this "Gate" or...AuthD.pdb..which we have with c1 l2auth.. find the c4 one.. and it should work. Easier said than done.. i know. I'll dig more.. see what i can find o_o


ANY help appreciated.

tpuNIsher
24.03.2007, 21:04
You guys don't realise what some of the settings are pointing shit infront of our noses and eyes?

This shit can block unauthorised 3rd party program usage possibly even o_o
(HLAPEX I HATE U)

Who knows till we find them out. Please help!

testdude
24.03.2007, 22:11
Authd.pdb is just the debug database... its extremely helpful for debugging the authd because it has all the function names filled in... but it has no relevance with the authgate... might help u find out how it works but thats about it...

mcrabben7
25.03.2007, 00:08
Interesting. I never did try to figure out the secrets of the C4 AuthD.

Thanks for the neat info. Keep us informed.


Btw, there are some Russians out there that made a Gate. I think it might be part of GameGuard.

Aspire
30.03.2007, 09:25
UseForbiddenServerSetting=true same as useFrobiddenIPList=0 for 40504 that mean load or not \etc\BlockIPs.txt

tpuNIsher
30.03.2007, 17:58
Heh, at last someone with feedback. Thanks Aspire.

~Marquis~
30.03.2007, 19:31
Since i have not any assembly skill, i can't help you out, so thanks for the share and keep up the good work :>

L2Requiem
01.04.2007, 21:56
DefaultTopServer=?
the setting i posted above, is this the bit that remembers what server a user last logged onto and automatically tells the client to select that one, this enabling the user to "spam the enter key"?
Ive been looking for this setting for a while but is this what it does? If not does anyone know what i mean and how i can set it up?

tpuNIsher
06.04.2007, 20:45
Well, the last logged in server is noted in db on a procedure, can't remember which exactly right now, but currently in C4 off files it does work without that setting. Well, if could find the gateD, would test >_>

khelben
27.09.2007, 12:02
For folks interested in helping.



Cracked EXE & IDA Database



Might also be good to hook the auth server and write an auth proc since the engine is now wrapped in themida.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 27th September 2007, 14:02. Открыть источник (https://web.archive.org/web/20071222115118id_/http://www.postpacific.com:80/forums/archive/index.php/t-7200.html).