PDA

View Full Version : [HELP] l2logD Key


pirulo
14.09.2006, 05:37
Fix IT, Admins Close this topic
plz sorry for the trouble

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
untitled.JPG — 32521 байт

Dmytro
14.09.2006, 22:25
Link (https://postpacific.loc-online.com/forums/showthread.php?t=5517)

I do HEX -> 0000CDB7: C3CC
Yeee, Key now valid, LogD work =)
But ... i take this message if any of other servers connect to logd (and they close connections):
263

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
logd.jpg — 36384 байт

Sakumi
14.09.2006, 23:31
Do you even use logd for anything?

Dmytro
15.09.2006, 06:47
Do you even use logd for anything?

Hehehe: CacheD, AuthD, L2Server, NPC. Thats all. XD

... and ... LogD don't wont to save dbname, login and pass for work.
And with new start asking them.

GMan
16.09.2006, 00:34
Link (https://postpacific.loc-online.com/forums/showthread.php?t=5517)

I do HEX -> 0000CDB7: C3CC
Yeee, Key now valid, LogD work =)
But ... i take this message if any of other servers connect to logd (and they close connections):
263
I think i see the problem, the server checks logD.ini for AlloweHost, but i cant seem to find what section to put it in r the format, i tried adding a [setting] section and putting it in there but that did not work

it seems the area that we need to check is
.004135B0

im no hexer and i tried some simple things like jumpig past the section that has the error (to 00413660 and 00413602 but nothing)

GMan
16.09.2006, 00:57
I did just get a little lucky with changing .413610 to CCC3 like the other crack but it will allow the server to connect but then log server will crash after a few sec, i think it needs to be changed to C20800 but thats beyond my Hex skills, could someone tell me if thats possible, or even looks like it might work?

Thanks

Dmytro
17.09.2006, 19:37
Yeh, you on right way. ;)
But in this case HEX isn't best chois (IMHO).

When analized LogD.exe we have:
.text:0040CB87 push offset a_Logd_ini ; "./LogD.ini"
.text:0040CB8C push 400h ; nSize
.text:0040CB91 lea ecx, [esp+84Ch+ReturnedString]
.text:0040CB95 push ecx ; lpReturnedString
.text:0040CB96 push offset aAllowhost ; "AllowHost"
.text:0040CB9B mov edi, eax
.text:0040CB9D call ds:GetPrivateProfileSectionA


We must create section "AllowHost" in "LogD.ini" and write IPs. :)
Somthing like this:
[AllowHost]
127.0.0.1
Hm, i did not deeply see in HEX (has just returned from a campaign), but i think in this section we may write some list of IPs, like:
[AllowHost]
127.0.0.1
xx.xx.xx.xx

P.S. If this work - goood! If not - we do HEX (in other place). =)
If you see something wrong, please reply. ;)

GMan
18.09.2006, 02:47
Ahh i was sooooo close i tried about 500 ways

lol see i even had an allowhost section but i wasthiking ini had to be key=vslue

[LogD]
address=127.0.0.1
port=3999
sendable=true
AllowHost=1;1xx.xx8.0.40

[LogTable]
Daily=1
BCPFolder=1
AllowHost=1;1xx.xx8.0.40

[Start]
BCPInt=300000
ServerInt=3600000
AutoBCP=1
AllowHost=1;1xx.xx8.0.40


[World]
WorldId=9
AllowHost=1;1xx.xx8.0.40

[SQL]
SQLExecLimit=5000
PollingInterval=6000
BCPThreadCount=5
AllowHost=1;1xx.xx8.0.40

[Setting]
AllowHost=1;1xx.xx8.0.40

[cached]
AllowHost=1;1xx.xx8.0.40

[AllowHost]
AllowHost=1;1xx.xx8.0.40
cache=1xx.xx8.0.40
1=1xx.xx8.0.40

but in the end still says access denied :(

Dmytro
06.10.2006, 19:54
... hm ...
AllowHost seems like not working =)
Ok, maybe late, but ...
Changed 2 bytes and wwooooaaa!!!
Don't send "denied" ... but ...
... LogD don't wont to save dbname, login and pass for work.
And with new start asking them. Damn! XD

338

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
LogD.rar — 109836 байт