Skip to content

Some of the plugins description

Account List

screen1

With this plugin your players accounts will be saved so that they won't need to enter login/password manually every time. There will be Saved accounts window inside game's login window Passwords are stored on users pc and encrypted. It can't be copied even between different windows profiles.

Works on all chronicles!

To turn it on please modify this inside l2.xml:

<saveaccounts value="True" accountsversion="1" />

accountsversion please set 1 initially. In future, when previous accounts will be invalid - increase this number by one and all user accounts will be wiped out.

Discord integration

screen1screen1screen1

Discord integration will help you to promote your project and invite new players! When your player start your game he will have your project name, picture and description in his Discord status.

To enable Discord integration you need to create your project in Discord Developer portal (5-10 minutes).

  1. Login or create Discord account here
  2. Go to developer portal
  3. Click New Application:

    screen1

  4. Set your project name:

    screen1

  5. Set basic information, set image. Then copy and save APPLICATION ID( in example below: 1000344216532160543):

    screen1

  6. In left menu go to Rich Presence->Art Assets and upload your images two more times. Copy and save ASSET ID ( in example: lineage_2_logo):

    screen1

  7. Wait 10 minutes, Discord will cache and save your images. You should have 2 values saved:

    • APPLICATION ID ( in our example - 1000344216532160543 )
    • ASSET ID ( in our example - lineage_2_logo )
  8. Go to AA server config files and open anticheat.xml, there will be those lines:

    <!-- Discord integration -->
    <discord enabled="False" appid="1000344216532160543" biglogo="lineage_2_logo" details="First line of text" state="Second line of text" biglogotext="Image caption text" />
    

    Set:

    enabled="True"
    appid="1000344216532160543" - your APPLICATION ID
    biglogo="lineage_2_logo" - your ASSET ID
    
  9. Restart AA server and new settings will be applied!


Troubleshooting letters

If your text is not in ordinary latin letters and you have something like below:

screen1

That means anticheat.xml is not in UTF-8 encoding! This file must be in UTF-8! Example of converting to UTF-8 using Notepad++:

screen1


Troubleshooting status visibility

If you don't see any status change that means you have it disabled by confidentiality settings. To fix that go to user settings:

screen1

Then scroll to ACTIVITY SETTINGS->Activity Privacy and turn it on:

screen1


HWID

Hwid is coming in AuthLogin from player to gameserver. Opcode is 0x08 or 0x2B depending of chronicles. HWID is placed at the end. Hwid is 32 bytes

HWID contains:

8 bytes - HWID CPU
8 bytes - HWID BIOS
8 bytes - HWID HDD
8 bytes - HWID MAC

To turn on, in l2.xml set sendhwid = True:

<sendhwid value="True"/>

Example of hwid reading in java server:

screen1 screen1

BrowserBypass

This plugin allows opening players browser by packet from gameserver

To turn on, in l2.xml set browserbypass - True:

<browserbypass value="True" />

Scheme of server packet - opcode 0xFF (255):

1 byte - 0xFF
1 byte - 0x03
Unicode string - link

Overlay

You can write text in user game window by packet from gameserver. Add to l2.xml:

<overlay value="True" />

Packet structure:

1 byte - 0xFF
1 byte - 0x05
4 bytes - id of message
1 byte - action id ( 0x01 - add/edit, 0x02 - remove )

if action is - 0x01, continue:

1 byte - Х anchor ( 0х01 - left, 0x02 - center, 0x03 - right. 0x00 - percentage % of user horizontal screen size )
1 byte - Y anchor ( 0x01 - top, 0x02 - center, 0x03 - bottom. 0x00 - percentage % of user vertical screen size )
4 bytes -  X offset ( or % percentage in case of 0x00 above )
4 bytes - Y offset ( or % percentage in case of 0x00 above )
1 byte - color R
1 byte - color G
1 byte - color B
1 byte - font size in pixels ( Please, try to avoid many different font sizes as final font for each font size will eat players memory )
4 bytes - time in milliseconds message to show. If zero - will be shown until deleted.
UNICODE string - message text

ClearCache

(High Five and Interlude only) ClearCache - plugin clears game cache out of garbage. This frees memory and keep game fps after epics etc.

To turn this on please set in l2.xml clearcache - True:

<clearcache value="True" />

This plugin clears cache automatically, but also you can force game to clear cache by packet from gameserver. Gameserver packet - opcode 0xFF (255). Scheme:

1 byte - 0xFF ( opcode )
1 byte - 0x06

UiEvents

This plugin will allow you to start player interface event by packet from gameserver

Add this line to l2.xml to activate this plugin:

<uievents value="True" />

Packet structure:

1 byte - 0xFF
1 byte - 0x21
4 bytes - Id of interface event
Unicode string - event string

Debuff ( interlude only )

enabling debuffing by ALT+click on buff icon, client will send packet to gameserver

Opcode 0xFF (255). Scheme:

1 byte - 0xFF
1 byte - 0xDF
4 bytes - skill id

To turn on, in l2.xml set debuff - True:

<debuff value="True" />