All pastes #35434 Raw Edit

Untitled

public text v1 · immutable
#35434 ·published 2006-01-01 15:13 UTC
rendered paste body
Q015 - How to change name in server list, example I want to change Bartz to 
       MyServerName ?
A - For change that name, you need to edit client side.
    You must have this tool for change server name:
    - l2encdec (recommend use version 2.6 or later)
    http://dstuff.luftbrandzlung.org/l2asylum/
    - UltraEdit or any hex editor
    *** For alternative method need a tool name L2ClientDat_en (google it :))
    
    + Now first step is decode servername-e.dat in Lineage II\system folder by
    use command:
       l2encdec -g servername-e.dat (if you have orginal client files)
    or l2encdec -s servername-e.dat (if you have modded client files)
    After that you will have new file named dec-servername-e.dat
    
    + Now open it by UltraEdit, you will see a text "Bartz" there and before it 
    is a hex code 06, it mean Bartz (5 characters) use 5 bytes + 1 byte for 
    hex ID code = 06
    
    Now calculate your name, MyServerName have 12 characters will use 12 bytes + 
    1 byte for hex ID code = 13 bytes (in decimal) = 0D (in hexadecimal)
    
    Then replace hex code 06 by 0D, replace "Bartz" by "MySer", then in the end 
    of r letter, press Ctrl+D in UltraEdit and insert 7 bytes more (because 
    MyServerName have 7 characters more than Bartz) and continue type 
    "verName" for full name "MyServerName". Save your work.
    
    *** Alternative method use L2ClientDat:
    + Delete servername-e.dat and rename dec-servername-e.dat to
    servername-e.dat. Run L2ClientDat_en, check option servername-e.dat and 
    press Decode, then you will have a new file named servername-e.txt
    
    Open servername-e.txt by Notepad and edit "Bartz" by "MyServerName" then 
    save it. Run L2ClientDat_en again and check option servername-e.dat and 
    press Encode.
    
    + Use l2encdec to encode back again with parameters:
       l2encdec -h413 dec-servername-e.dat
    or l2encdec -h413 servername-e.dat (for Alternative method)
    
    Then you will have new file name enc-dec-servername-e.dat (or
    enc-servername-e.dat), rename it again to servername-e.dat and overwrite 
    with old file in system folder
    
    *** If you client never modded (that mean you have decoded in first step 
    with -g parameter), you need copy l2encdec.exe and patcher.exe in 
    l2encdec tool to Lineage II\system folder and run this command:
       patcher.exe -f
    *** If you don't you this step you will have error when loading l2.exe