Jump to content

Guide L2Proxy - A simple Proxy for Lineage 2


Elfo
 Share

Recommended Posts

Since I see people asking for this every now and then I thought I'd code it and share it.

 

L2Proxy is a simple MITM proxy for your L2 server.

 

It comes in two parts

  • The Java side
  • The L2Proxy service

 

The Java side can be used on any pack and with any proxy configuration without needing the app. If however you don't wanna mess with proxy configuration you can also use the L2Proxy service which runs a MITM proxy for your players. It is fully cross platform and will run fine on any VPS as long as you have the network bandwidth needed. It adds some extra functionality that you might find handy.

 

image.png.bf699fc056d6ecf103dff227363d07cf.png

Proxies with Gameserver invisibility turned on

 

Features

  • Gameserver invisibility option - You are able to hide your server behind the proxies and keep your real server IP secret
  • RealIP - Usually with MITM proxies, since the traffic is funnelled from one server, you normally lose the real IP of the player which limits a lot of the functionality that you might have implemented. L2Proxy allows the LoginServer to pass the real IP of the used to the Gameserver during the Login->Gameserver player handoff
  • An API - You can use the API in L2Proxy to check the stats of your Proxies, see the active connections to it and even disconnect a specific use IP or blacklist it
  • IP Blacklist - You can blacklist a specific IP its connection will be rejected on the proxy level before it ever gets to the gameserver. This includes malicious connections. You can also use the API to blacklist someone and get them instantly disconnected. 
  • Multiple Proxies from one app - No real reason for this to exist but I added it anyway
  • Proxy health detection. If the proxy goes down the proxy listings will appear as down as well. (This feature requires the L2Proxy service). Validation can be turned off by setting the "validateHealth" option to false.
  • Unhealthy proxy fallback. If all proxies are down and the "fallbackToGameserver" setting is set to true then even if you've chosen to hide the gameserver, it will appear as a fallback so people can still login when the proxies are down.
  • MaxConnections on each proxy. Once the limit is met, no more connections can be made to the gameserver via the proxy.  -1 means unlimited

 

API Actions

To make actions you need to set the x-api-key header to equal to the API Key setting in L2Proxy. The default is "changeit".

 

 

proxy.xml

<?xml version='1.0' encoding='utf-8'?>
<list>
    <config />
    <!-- 
        serverId: The true id of the gameserver
        hide: When enabled, the true gameserver will not appear in the server list
        fallbackToGameserver: When the proxy server is down, when true, the real gameserver will appear
        proxyServerId: The gameserver id that the proxy will use to be listed in the server list
        proxyHost: The host of the proxy
        proxyPort: The port of the proxy
        apiPort: The port of the API for the proxy
        apiKey: The api key for the proxy api
    -->
    <gameserver serverId="1" hide="true" fallbackToGameserver="false">
        <proxy proxyServerId="2" proxyHost="127.0.0.1" proxyPort="7778" validateHealth="true" apiPort="6969" apiKey="changeit"/>
        <proxy proxyServerId="3" proxyHost="127.0.0.1" proxyPort="7779" validateHealth="true" apiPort="6969" apiKey="changeit"/>
    </gameserver>
</list>

 

Here is a diagram explaining the initial login flow. Once you login the loginserver goes away and you connect directly to the proxies or gameserver depending on your configuration.

Yf46L5v.png

 

Features I might add (don't bet on it)

  • Max connection limit
  • Make calls to the API to let the gameserver know the proxy status and make proxy level action
  • Proxy service discovery to propagate proxy actions to all running proxies
  • Automatic proxy suggestion based on proxy load
  • You currently need to blacklist the IP on each proxy API since the data is not shared

 

Download link and executables of latest version: https://github.com/Elfocrash/L2Proxy/releases/tag/v0.2.0

If you run the framework dependent version you need .NET 5 CLR installed. If you run the standalone versions you don't need anything preinstalled.

 

Will upload a video of the thing at some point. It's late.

 

Enjoy

Edited by Elfocrash
  • Like 10
  • Thanks 2
  • Upvote 4
Link to comment
Share on other sites

Hello Elfo, i think i am doing right, but somehow is not working to me. Am i doing something wrong? I can see the 2nd gameserver but it has 0 ping and i can't connect. If i  set to "not hide" the real gs, i can only login to this one, Evey time i try to connect to the proxy gs just nothing happen.

<?xml version='1.0' encoding='utf-8'?>
<list>
    <gameserver serverId="1" hide="false">
        <proxy proxyServerId="2" proxyHost="HERE IP WHERE THE HOST IS RUNNING (VPS)" proxyPort="7778"/>
    </gameserver>
</list>

{
  "ProxySettings": {
    "Proxies": [
      {
        "ProxyHost": "HERE IP WHERE THE HOST IS RUNNING (VPS)",
        "ProxyPort": 7778,
        "L2ServerHost": "HERE IP OF THE DEDICATE MACHINE (REAL SERVER)",
        "L2ServerPort": 7777
      }
    ]
  },
  "ApiSettings": {
    "Url": "http://0.0.0.0:6969",
    "ApiKey": "changeit"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*"
}

Quote

 

 

Link to comment
Share on other sites

26 minutes ago, magicKyo said:

Hello Elfo, i think i am doing right, but somehow is not working to me. Am i doing something wrong? I can see the 2nd gameserver but it has 0 ping and i can't connect. If i  set to "not hide" the real gs, i can only login to this one, Evey time i try to connect to the proxy gs just nothing happen.

Is the 7778 port open? Your proxy server needs 7778 open for inbound traffic and 7777 for outbound

Edited by Elfocrash
Link to comment
Share on other sites

opening the door as you said it change something, in L2Proxy console say connection established with the ip:port( i notice this port number change every time i try to connect) but it stay in the server choice page. If i choose the real server it login normally

Link to comment
Share on other sites

10 minutes ago, magicKyo said:

opening the door as you said it change something, in L2Proxy console say connection established with the ip:port( i notice this port number change every time i try to connect) but it stay in the server choice page. If i choose the real server it login normally

You need to also open outbound traffic port 7777 for the connection to go to the gameserver

Link to comment
Share on other sites

2 minutes ago, magicKyo said:

Thank you it solve my problem, works perfectly (is normal to see 0 ping for the proxy server list ?)

If proxy is local to you you will see 0, else you will see the real value. (I can't remember is ping is calculated by the client itself or if it's a packet value. It doesn't look to be a packet value.
Example:
qf35t56.jpg

Link to comment
Share on other sites

Hi, first i need to get something clear, in java side (l2 proxy patch diff ) do i need to setup something else rather than apply the patch to source ? if not, then when i try  to load  login server i get this error 

https://ibb.co/HN3vn7J

Setup in my xml is like the one in post. (ofc changed accordingly)

 

Second,  do i need to run both java patch and   the app in order for this to work ? or the app can work by connecting from my dedi to the app of my proxy ? if thats the case how do i connect the API from l2jpack to this ?

 

Thank you in advance and its great to share such a free content. Some here charge 150++ euro for this. 

 

 

 

 

Link to comment
Share on other sites

6 minutes ago, Seamless said:

Hi, first i need to get something clear, in java side (l2 proxy patch diff ) do i need to setup something else rather than apply the patch to source ? if not, then when i try  to load  login server i get this error 

https://ibb.co/HN3vn7J

Setup in my xml is like the one in post. (ofc changed accordingly)

 

Second,  do i need to run both java patch and   the app in order for this to work ? or the app can work by connecting from my dedi to the app of my proxy ? if thats the case how do i connect the API from l2jpack to this ?

 

Thank you in advance and its great to share such a free content. Some here charge 150++ euro for this. 

You need to create the xml in the appropriate location. The error you get says that the xml doesn't exist in the right folder. Keep in mind the config is on the loginserver not gameserver.

You need to apply the java patch and then run the app in the VPS that you use for proxy. You need to also open the inbound and outbound ports in the VPS to accept traffic and point it to the gameserver

8 minutes ago, magicKyo said:

I have proxy on vps, game server on dedicate machine and i login form my pc, and i see 0 ping next to the proxy server name.

Can't remember which packet the ping lives in. It doesn't look it's in the ServerList one

Link to comment
Share on other sites

1 minute ago, Seamless said:

My both vps is linux. Any hint how do i run those 3 files of the app there ? thanks for the answer.

They are self contained excecutables so simply configure the appsettings.json and then
chmod 777 L2Proxy
./L2Proxy

And it will run

Edited by Elfocrash
Link to comment
Share on other sites

Works like a charm both on acis public source 382(easy to adapt) and at latest 398. This  right here is pure gold. Thank you for your contribution. 

Edited by Seamless
Link to comment
Share on other sites

v0.2.0 is out! Check it out here: https://github.com/Elfocrash/L2Proxy/releases/tag/v0.2.0

 

  • Added proxy status detection. If the proxy goes down the proxy listings will appear as down as well. (This feature requires the L2Proxy service). Validation can be turned off by setting the "validateHealth" option to false.
  • Added unhealthy proxy fallback. If all proxies are down and the "fallbackToGameserver" setting is set to true then even if you've chosen to hide the gameserver, it will appear as a fallback so people can still login when the proxies are down.
  • Added MaxConnections on the proxy. Once the limit is met, no more connections can be made to the gameserver via the proxy.  -1 means unlimited
  • Like 1
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share




  • Posts

    • When I downloaded this mount it came with a new .u file called Rider.u But even with it in the system, it seems that the client calls Strider when I click to mount the pet. From what I understand the mount file is inside LineageMonster.u but I can't compile it because it always has different errors. Well, I tested it now with this LineageWarrior.u file and it just gave the same error. I wrote to you on Discord earlier, if you can help me it would be nice, it would help me a lot.
    • Hello! I've found for your RolePlay server Ready discord servers of any kind, bellow i will share the links from those templates!    RolePlay Discord Server Template: https://discord.new/84vXaMjsWvAQ SAPD Discord Server Template: https://discord.new/bZHhCmdPJs5P Hospital Discord Server Template: https://discord.new/xbvPFCg7jyzM  Mechanic Discord Server Template: https://discord.new/AchrT2qmM7dt Mafia Discord Server Template: https://discord.new/mMBm3qUMRbRK     Those were the most Usable Discord server Templates For FiveM Servers.!   Enjoy!!!   Credits: Emerald Shop Discord Server
    • Kappa Party #2 | L2 Latin x100
    • It's better to create a new .u file, no need to recompile LineageMonster from scratch; that said your 'LineageWarrior.u' is missing a class called 'LineageRidePawn'. add this file to your compiler's system and try again LineageWarrior.u also, here's a nice guide in case you haven't checked it out yet  
    • https://svn.code.sf.net/p/l2devs-custom/code/  Hello, can someone re-upload the SVN file? please I need to add cumulative subclass system to an aCis project.. and this Mods is interesting. ------------------------------------------------------------------------------------------------------------- https://svn.code.sf.net/p/l2j-engine-mods/code/L2J_EngineMods/ Or someone tell me that java uses this mods in eclipse to be able to compile in aCis 398 please. Build Failed: Buildfile: C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build.xml clean:       [delete] Deleting directory C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build checkRequirements:         [echo] Verification of your JDK version. init:        [mkdir] Created dir: C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build        [mkdir] Created dir: C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build\classes        [mkdir] Created dir: C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build\dist        [mkdir] Created dir: C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build\dist\gameserver compile:        [javac] Compiling 72 source files to C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build\classes        [javac] warning: [options] bootstrap class path not set in conjunction with -source 8        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:66: error: package net.sf.l2j.gameserver.model does not exist        [javac] import net.sf.l2j.gameserver.model.WorldObject;        [javac]                                   ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:67: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Attackable;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:68: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Creature;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:69: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Npc;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:70: error: package net.sf.l2j.gameserver.model.actor.instance does not exist        [javac] import net.sf.l2j.gameserver.model.actor.instance.Folk;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:71: error: package net.sf.l2j.gameserver.model.actor.instance does not exist        [javac] import net.sf.l2j.gameserver.model.actor.instance.Player;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:72: error: package net.sf.l2j.gameserver.model.zone does not exist        [javac] import net.sf.l2j.gameserver.model.zone.L2ZoneType;        [javac]                                        ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:73: error: package net.sf.l2j.gameserver.skills does not exist        [javac] import net.sf.l2j.gameserver.skills.Stats;        [javac]                                    ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:36: error: package net.sf.l2j.commons.concurrent does not exist        [javac] import net.sf.l2j.commons.concurrent.ThreadPool;        [javac]                                     ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:37: error: package net.sf.l2j.commons.random does not exist        [javac] import net.sf.l2j.commons.random.Rnd;        [javac]                                 ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:38: error: package net.sf.l2j.gameserver.data does not exist        [javac] import net.sf.l2j.gameserver.data.NpcTable;        [javac]                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:39: error: package net.sf.l2j.gameserver.model does not exist        [javac] import net.sf.l2j.gameserver.model.L2Spawn;        [javac]                                   ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:40: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Attackable;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:41: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Creature;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:42: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Npc;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:43: error: package net.sf.l2j.gameserver.model.actor.instance does not exist        [javac] import net.sf.l2j.gameserver.model.actor.instance.Player;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:44: error: package net.sf.l2j.gameserver.model.actor.template does not exist        [javac] import net.sf.l2j.gameserver.model.actor.template.NpcTemplate;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:45: error: package net.sf.l2j.gameserver.model.location does not exist        [javac] import net.sf.l2j.gameserver.model.location.Location;        [javac]                                            ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:46: error: package net.sf.l2j.gameserver.model.zone does not exist        [javac] import net.sf.l2j.gameserver.model.zone.L2ZoneType;        [javac]                                        ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:47: error: package net.sf.l2j.gameserver.network.serverpackets does not exist        [javac] import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;        [javac]                                                   ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:48: error: package net.sf.l2j.gameserver.network.serverpackets does not exist        [javac] import net.sf.l2j.gameserver.network.serverpackets.ShowBoard;        [javac]                                                   ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:49: error: package net.sf.l2j.gameserver.skills does not exist        [javac] import net.sf.l2j.gameserver.skills.Stats;        [javac]                                    ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:50: error: package net.sf.l2j.gameserver.util does not exist        [javac] import net.sf.l2j.gameserver.util.Broadcast;        [javac]                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:185: error: cannot find symbol        [javac]     public static synchronized boolean onCommunityBoard(Player player, String command)        [javac]                                                         ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:228: error: cannot find symbol        [javac]     public static synchronized boolean onExitWorld(Player player)        [javac]                                                    ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:254: error: cannot find symbol        [javac]     public static synchronized boolean onNpcExpSp(Attackable npc, Creature character)        [javac]                                                   ^        [javac]   symbol:   class Attackable        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:254: error: cannot find symbol        [javac]     public static synchronized boolean onNpcExpSp(Attackable npc, Creature character)        [javac]                                                                   ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:295: error: cannot find symbol        [javac]     public static synchronized boolean onNpcDrop(Attackable npc, Creature character)        [javac]                                                  ^        [javac]   symbol:   class Attackable        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:295: error: cannot find symbol        [javac]     public static synchronized boolean onNpcDrop(Attackable npc, Creature character)        [javac]                                                                  ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:336: error: cannot find symbol        [javac]     public static synchronized void onEnterZone(Creature player, L2ZoneType zone)        [javac]                                                 ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:336: error: cannot find symbol        [javac]     public static synchronized void onEnterZone(Creature player, L2ZoneType zone)        [javac]                                                                  ^        [javac]   symbol:   class L2ZoneType        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:352: error: cannot find symbol        [javac]     public static synchronized void onExitZone(Creature player, L2ZoneType zone)        [javac]                                                ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:352: error: cannot find symbol        [javac]     public static synchronized void onExitZone(Creature player, L2ZoneType zone)        [javac]                                                                 ^        [javac]   symbol:   class L2ZoneType        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:368: error: cannot find symbol        [javac]     public static synchronized void onCreateCharacter(Player player)        [javac]                                                       ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:384: error: cannot find symbol        [javac]     public static synchronized boolean onVoiced(Player player, String chat)        [javac]                                                 ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:432: error: cannot find symbol        [javac]     public static synchronized boolean onInteract(Player player, Creature character)        [javac]                                                   ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:432: error: cannot find symbol        [javac]     public static synchronized boolean onInteract(Player player, Creature character)        [javac]                                                                  ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:468: error: cannot find symbol        [javac]     public static synchronized void onEvent(Player player, String command)        [javac]                                             ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:524: error: cannot find symbol        [javac]     public static synchronized void onSpawn(Npc obj)        [javac]                                             ^        [javac]   symbol:   class Npc        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:540: error: cannot find symbol        [javac]     public static synchronized void onEnterWorld(Player player)        [javac]                                                  ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:556: error: cannot find symbol        [javac]     public static synchronized void onKill(Creature killer, Creature victim, boolean isPet)        [javac]                                            ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:556: error: cannot find symbol        [javac]     public static synchronized void onKill(Creature killer, Creature victim, boolean isPet)        [javac]                                                             ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:572: error: cannot find symbol        [javac]     public static synchronized void onDeath(Creature player)        [javac]                                             ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:585: error: cannot find symbol        [javac]     public static synchronized void onEnchant(Creature player)        [javac]                                               ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:601: error: cannot find symbol        [javac]     public static synchronized void onEquip(Creature player)        [javac]                                             ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:617: error: cannot find symbol        [javac]     public static synchronized void onUnequip(Creature player)        [javac]                                               ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:633: error: cannot find symbol        [javac]     public static synchronized boolean onRestoreSkills(Player player)        [javac]                                                        ^        [javac]   symbol:   class Player        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:651: error: cannot find symbol        [javac]     public static synchronized double onStats(Stats stat, Creature character, double value)        [javac]                                               ^        [javac]   symbol:   class Stats        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java:651: error: cannot find symbol        [javac]     public static synchronized double onStats(Stats stat, Creature character, double value)        [javac]                                                           ^        [javac]   symbol:   class Creature        [javac]   location: class EngineModsManager        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\holders\ModTimerHolder.java:21: error: package net.sf.l2j.commons.concurrent does not exist        [javac] import net.sf.l2j.commons.concurrent.ThreadPool;        [javac]                                     ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\holders\ModTimerHolder.java:22: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Npc;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\holders\ModTimerHolder.java:23: error: package net.sf.l2j.gameserver.model.actor.instance does not exist        [javac] import net.sf.l2j.gameserver.model.actor.instance.Player;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:122: error: cannot find symbol        [javac]     public String getValueDB(Player player, String event)        [javac]                              ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:133: error: cannot find symbol        [javac]     public void setValueDB(Player player, String event, String value)        [javac]                            ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:177: error: cannot find symbol        [javac]     public void startTimer(String name, long time, Npc npc, Player player, boolean repeating)        [javac]                                                    ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:177: error: cannot find symbol        [javac]     public void startTimer(String name, long time, Npc npc, Player player, boolean repeating)        [javac]                                                             ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:211: error: cannot find symbol        [javac]     public ModTimerHolder getTimer(String name, Player player)        [javac]                                                 ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:216: error: cannot find symbol        [javac]     public ModTimerHolder getTimer(String name, Npc npc, Player player)        [javac]                                                 ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:216: error: cannot find symbol        [javac]     public ModTimerHolder getTimer(String name, Npc npc, Player player)        [javac]                                                          ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:240: error: cannot find symbol        [javac]     public void cancelTimer(String name, Npc npc, Player player)        [javac]                                          ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:240: error: cannot find symbol        [javac]     public void cancelTimer(String name, Npc npc, Player player)        [javac]                                                   ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:309: error: cannot find symbol        [javac]     public Npc addSpawn(int npcId, Location loc, boolean randomOffset, long despawnDelay)        [javac]                                    ^        [javac]   symbol:   class Location        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:309: error: cannot find symbol        [javac]     public Npc addSpawn(int npcId, Location loc, boolean randomOffset, long despawnDelay)        [javac]            ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:324: error: cannot find symbol        [javac]     public Npc addSpawn(int npcId, int x, int y, int z, int heading, boolean randomOffset, long despawnDelay)        [javac]            ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:380: error: cannot find symbol        [javac]     public static final void sendHtml(Player player, Npc npc, HtmlBuilder content)        [javac]                                       ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:380: error: cannot find symbol        [javac]     public static final void sendHtml(Player player, Npc npc, HtmlBuilder content)        [javac]                                                      ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:393: error: cannot find symbol        [javac]     public static final void sendHtml(Player player, Npc npc, String content)        [javac]                                       ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:393: error: cannot find symbol        [javac]     public static final void sendHtml(Player player, Npc npc, String content)        [javac]                                                      ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:406: error: cannot find symbol        [javac]     public static final void sendHtmlFile(Player player, Npc npc, String htmlFile)        [javac]                                           ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:406: error: cannot find symbol        [javac]     public static final void sendHtmlFile(Player player, Npc npc, String htmlFile)        [javac]                                                          ^        [javac]   symbol:   class Npc        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:418: error: cannot find symbol        [javac]     public static void sendCommunity(Player player, String html)        [javac]                                      ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:659: error: cannot find symbol        [javac]     public boolean onCommunityBoard(Player player, String command)        [javac]                                     ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:673: error: cannot find symbol        [javac]     public boolean onExitWorld(Player player)        [javac]                                ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:683: error: cannot find symbol        [javac]     public void onNpcExpSp(Player killer, Attackable npc, NpcExpInstance instance)        [javac]                            ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:683: error: cannot find symbol        [javac]     public void onNpcExpSp(Player killer, Attackable npc, NpcExpInstance instance)        [javac]                                           ^        [javac]   symbol:   class Attackable        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:23: error: package net.sf.l2j does not exist        [javac] import net.sf.l2j.Config;        [javac]                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:24: error: package net.sf.l2j.commons.math does not exist        [javac] import net.sf.l2j.commons.math.MathUtil;        [javac]                               ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:25: error: package net.sf.l2j.gameserver.model does not exist        [javac] import net.sf.l2j.gameserver.model.AggroInfo;        [javac]                                   ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:26: error: package net.sf.l2j.gameserver.model does not exist        [javac] import net.sf.l2j.gameserver.model.L2Skill;        [javac]                                   ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:27: error: package net.sf.l2j.gameserver.model does not exist        [javac] import net.sf.l2j.gameserver.model.RewardInfo;        [javac]                                   ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:28: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Attackable;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:29: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Creature;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:30: error: package net.sf.l2j.gameserver.model.actor.instance does not exist        [javac] import net.sf.l2j.gameserver.model.actor.instance.Player;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:31: error: package net.sf.l2j.gameserver.model.actor.instance does not exist        [javac] import net.sf.l2j.gameserver.model.actor.instance.Servitor;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:32: error: package net.sf.l2j.gameserver.model.group does not exist        [javac] import net.sf.l2j.gameserver.model.group.Party;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcExpInstance.java:33: error: package net.sf.l2j.gameserver.network does not exist        [javac] import net.sf.l2j.gameserver.network.SystemMessageId;        [javac]                                     ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:693: error: cannot find symbol        [javac]     public void onNpcDrop(Player killer, Attackable npc, NpcDropsInstance instance)        [javac]                           ^        [javac]   symbol:   class Player        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\engine\AbstractMods.java:693: error: cannot find symbol        [javac]     public void onNpcDrop(Player killer, Attackable npc, NpcDropsInstance instance)        [javac]                                          ^        [javac]   symbol:   class Attackable        [javac]   location: class AbstractMods        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:21: error: package net.sf.l2j does not exist        [javac] import net.sf.l2j.Config;        [javac]                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:22: error: package net.sf.l2j.commons.random does not exist        [javac] import net.sf.l2j.commons.random.Rnd;        [javac]                                 ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:23: error: package net.sf.l2j.gameserver.data.xml does not exist        [javac] import net.sf.l2j.gameserver.data.xml.HerbDropData;        [javac]                                      ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:24: error: package net.sf.l2j.gameserver.instancemanager does not exist        [javac] import net.sf.l2j.gameserver.instancemanager.CursedWeaponsManager;        [javac]                                             ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:25: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Attackable;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:26: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Creature;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:27: error: package net.sf.l2j.gameserver.model.actor does not exist        [javac] import net.sf.l2j.gameserver.model.actor.Npc;        [javac]                                         ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:28: error: package net.sf.l2j.gameserver.model.actor.instance does not exist        [javac] import net.sf.l2j.gameserver.model.actor.instance.Player;        [javac]                                                  ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:29: error: package net.sf.l2j.gameserver.model.holder does not exist        [javac] import net.sf.l2j.gameserver.model.holder.IntIntHolder;        [javac]                                          ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:30: error: package net.sf.l2j.gameserver.model.item does not exist        [javac] import net.sf.l2j.gameserver.model.item.DropCategory;        [javac]                                        ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:31: error: package net.sf.l2j.gameserver.model.item does not exist        [javac] import net.sf.l2j.gameserver.model.item.DropData;        [javac]                                        ^        [javac] C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\instances\NpcDropsInstance.java:32: error: package net.sf.l2j.gameserver.network does not exist        [javac] import net.sf.l2j.gameserver.network.SystemMessageId;        [javac]                                     ^        [javac] Note: C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\src\main\EngineModsManager.java uses or overrides a deprecated API.        [javac] Note: Recompile with -Xlint:deprecation for details.        [javac] 100 errors        [javac] 1 warning        [javac] only showing the first 100 errors, of 1648 total; use -Xmaxerrs if you would like to see more BUILD FAILED C:\Users\lightzone\Desktop\todo en 1\1.  Programas\Proyectos acis\L2J_EngineMods\build.xml:32: Compile failed; see the compiler error output for details. Total time: 8 seconds  
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock