Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.05.2007, 09:20   #1
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default [share info] L2SVC.exe

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
the return packet is even smaller cd

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
couldn't get an error 3 or 7 so not sure what they are. I think 7 might be like "error stopping" but again i could not get it to give that error.

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 байт
GMan is offline  
Old 23.05.2007, 10:40   #2
xplod
Архивный участник
 
Join Date: Nov 2006
Posts: 20
Default

this is kinda a nice thingy,

thx GMan
xplod 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 23:35.