![]() |
|
|
#1 |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
Being board can actually be good some times.
First, This is nothing "real" cool, just thought I would share my findings After downloading botgods prelude server, i saw L2SVC.exe in there. and Ive seen it before and always wondered what it was used for. Well for those of you who don't know, its the official Prelude server checker/start/stopper. And was used in conjunction with L2Admin/L2atl.dll. the only packet that it uses is cdss and the format is very simple (i guessed my way through the whole thing) Code:
C - Packet type
1 - Check server
2 - Start Server
3 - Stop Server
D - Server Type
1 - CacheD
2 - World
3 - NPC
S - Account name (used only for logging must have used L2Admins logged in GM name
S - Password (this is set up in L2SVC.exe under the "config" menu
Code:
C - Packet type (last run)
will return the 1 if you just checked status and 2 if you started a server and 3 if you stopped a server
D - Error code
1 – Running
2 – Dead
4 – Started
5 – Error starting
6 – Stopped
8 – Bad password
havent tried it on a 64bit OS yet so not sure how it will cope with the whole thing of it running under WOW (32 bit emulation) but i have tested on a 32 bit server with the C4 Cached. the only thing that sucks is it doesn't do anything other then check for a process, I would like it to send the dummy packet so the server ports cause ive seen times there CacheD will exit but the process will stay running in the back ground. and one last thing, when you stop a process, it just kills it, so be careful if you decide you use this. Not sure how some of the servers will react to that, and not being able to save cached data. I included a "hacked" version of the exe in this post. all i did is remove all the email address that where in it, because there is no ini to turn off crash emails and we don't want any emails going to NC Soft when your L2SVC crashes ![]() Вложения из исходного сообщения (сами файлы в копии отсутствуют): L2Svc.zip — 75161 байт |
|
|
|
|