![]() |
|
|
#1 |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
*UPDATED*
inside l2server.exe we have code (dont ask me how i got it): Code:
Log->Add(2,L"[%s][%d] user[%s] failed to ride. no collar[%d]", CharName, CorallID); but in args there is TWO only, last two args Log->Add gets from stack garbage... someone got the way how to invoke this error, and server, when try to format this text crashes Code:
IOThread [0][875] (ahehe): void IOThread_common(void *arglist) -> CUserSocket::OnRead -> IconAction -> User::IconAction() -> void User::Ride(CPet* pStrider) -> CLog::Add -> CLog::AddV -> Log::AddV - vswprintf_s in any hex editor find UNICODE text "[%s][%d] user[%s] failed to ride. no collar[%d]" and change to "user[%s] failed to ride. no collar[%d]" edit: and dont forget to put 0000 after text as zero char (null termitnated string rule) thats all, folks |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|