Jump to content

Recommended Posts

Posted

And yet, dear people!  Attention! With all their corrections published in a single day. (!) And they are completely similar to our :)

Yep, true, we are so smart that we let you work for 5 months on datapack, and took it from you in 1 day:), and implemented in our Pack. :))) .It's absolutely normal to do that why work for alot of time when you can get from Initiative in 1 day? :)).If you wore so smart you would implement 3 way jump, Feo Wizzard Toggles properly with correct animation, Harmony system, subclass changing and alot of stuff, you have 3k updates in DataPack wich are useless w/o the core

Posted

This is a similar story with Moonblade-project. which disappeared :)

Good luck with your position in life :)

I have nothing more to tell you :)

Posted

package inproject.nuc;
import inproject.commons.lang.StatsUtils;
import inproject.commons.net.nio.impl.SelectorThread;
import inproject.commons.versioning.Version;
import inproject.nuc.cache.CrestCache;
import inproject.nuc.dao.CharacterDAO;
import inproject.nuc.dao.ItemsDAO;
import inproject.nuc.data.BoatHolder;
import inproject.nuc.data.xml.Parsers;
import inproject.nuc.data.xml.holder.EventHolder;
import inproject.nuc.data.xml.holder.ResidenceHolder;
import inproject.nuc.data.xml.holder.StaticObjectHolder;
import inproject.nuc.database.DatabaseFactory;
import inproject.nuc.geodata.GeoEngine;
import inproject.nuc.handler.admincommands.AdminCommandHandler;
import inproject.nuc.handler.items.ItemHandler;
import inproject.nuc.handler.usercommands.UserCommandHandler;
import inproject.nuc.handler.voicecommands.VoicedCommandHandler;
import inproject.nuc.idfactory.IdFactory;
import inproject.nuc.instancemanager.AutoSpawnManager;
import inproject.nuc.instancemanager.AwakingManager;
import inproject.nuc.instancemanager.BloodAltarManager;
import inproject.nuc.instancemanager.CastleManorManager;
import inproject.nuc.instancemanager.CoupleManager;
import inproject.nuc.instancemanager.CursedWeaponsManager;
import inproject.nuc.instancemanager.DelusionChamberManager;
import inproject.nuc.instancemanager.HellboundManager;
import inproject.nuc.instancemanager.PetitionManager;
import inproject.nuc.instancemanager.PlayerMessageStack;
import inproject.nuc.instancemanager.RaidBossSpawnManager;
import inproject.nuc.instancemanager.SoDManager;
import inproject.nuc.instancemanager.SoIManager;
import inproject.nuc.instancemanager.SpawnManager;
import inproject.nuc.instancemanager.games.FishingChampionShipManager;
import inproject.nuc.instancemanager.games.LotteryManager;
import inproject.nuc.instancemanager.games.MiniGameScoreManager;
import inproject.nuc.instancemanager.itemauction.ItemAuctionManager;
import inproject.nuc.instancemanager.naia.NaiaCoreManager;
import inproject.nuc.instancemanager.naia.NaiaTowerManager;
import inproject.nuc.listener.GameListener;
import inproject.nuc.loginservercon.LoginServerCommunication;
import inproject.nuc.model.World;
import inproject.nuc.model.entity.Hero;
import inproject.nuc.model.entity.MonsterRace;
import inproject.nuc.model.entity.olympiad.Olympiad;
import inproject.nuc.network.GameClient;
import inproject.nuc.network.GamePacketHandler;
import inproject.nuc.network.telnet.TelnetServer;
import inproject.nuc.scripts.Scripts;
import inproject.nuc.tables.AugmentationData;
import inproject.nuc.tables.CharTemplateTable;
import inproject.nuc.tables.ClanTable;
import inproject.nuc.tables.EnchantHPBonusTable;
import inproject.nuc.tables.LevelUpTable;
import inproject.nuc.tables.PetSkillsTable;
import inproject.nuc.tables.SkillTreeTable;
import inproject.nuc.taskmanager.ItemsAutoDestroy;
import inproject.nuc.taskmanager.TaskManager;
import inproject.nuc.taskmanager.tasks.RestoreOfflineTraders;
import inproject.nuc.utils.Strings;
import java.io.File;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.sql.Connection;
import net.sf.ehcache.CacheManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class GameServer
{
  public static final int LOGIN_SERVER_PROTOCOL = 2;
  private static final Logger _log = LoggerFactory.getLogger(GameServer.class);
  public static GameServer _instance;
  private final SelectorThread<GameClient>[] _selectorThreads;
  private Version version;
  private TelnetServer statusServer;
  private final GameServer.GameServerListenerList _listeners;
  private int _serverStarted;

  public SelectorThread<GameClient>[] getSelectorThreads()
  {
    return this._selectorThreads;
  }

  public int time() {
    return (int)(System.currentTimeMillis() / 1000L);
  }

  public int uptime() {
    return time() - this._serverStarted;
  }

  public GameServer() throws Exception
  {
    _instance = this;
    this._serverStarted = time();
    this._listeners = new GameServer.GameServerListenerList(this);

    new File("./log/").mkdir();

    this.version = new Version(GameServer.class);

    _log.info("=================================================");
    _log.info("Cracked by NightKhaos from the scumbags of Initiative-Project");
    _log.info("=================================================");
    _log.info("Database: checking connection to db...");
    _log.info("Database: checking network connection...");

    Config.load();

    checkFreePorts();

    Class.forName(Config.DATABASE_DRIVER).newInstance();
    DatabaseFactory.getInstance().getConnection().close();

    IdFactory localIdFactory = IdFactory.getInstance();
    if (!localIdFactory.isInitialized()) {
      _log.error("Could not read object IDs from DB. Please Check Your Data.");
      throw new Exception("Could not initialize the ID factory");
    }

    CacheManager.getInstance();
    ThreadPoolManager.getInstance();
    Scripts.getInstance();
    AwakingManager.getInstance();
    GeoEngine.load();
    Strings.reload();
    GameTimeController.getInstance();
    World.init();
    Parsers.parseAll();
    ItemsDAO.getInstance();
    CrestCache.getInstance();
    CharacterDAO.getInstance();
    ClanTable.getInstance();
    SkillTreeTable.getInstance();
    AugmentationData.getInstance();
    CharTemplateTable.getInstance();
    EnchantHPBonusTable.getInstance();
    LevelUpTable.getInstance();
    PetSkillsTable.getInstance();
    ItemAuctionManager.getInstance();
    SpawnManager.getInstance().spawnAll();
    BoatHolder.getInstance().spawnAll();
    StaticObjectHolder.getInstance().spawnAll();
    RaidBossSpawnManager.getInstance();
    Scripts.getInstance().init();
    Announcements.getInstance();
    DelusionChamberManager.getInstance();
    LotteryManager.getInstance();
    PlayerMessageStack.getInstance();

    if (Config.AUTODESTROY_ITEM_AFTER > 0) {
      ItemsAutoDestroy.getInstance();
    }
    MonsterRace.getInstance();

    AutoSpawnManager.getInstance();

    if (Config.ENABLE_OLYMPIAD) {
      Olympiad.load();
      Hero.getInstance();
    }

    PetitionManager.getInstance();

    CursedWeaponsManager.getInstance();

    if (!Config.ALLOW_WEDDING) {
      CoupleManager.getInstance();
      _log.info("CoupleManager initialized");
    }

    ItemHandler.getInstance();

    AdminCommandHandler.getInstance().log();
    UserCommandHandler.getInstance().log();
    VoicedCommandHandler.getInstance().log();

    TaskManager.getInstance();

    _log.info("=[Events]=========================================");
    ResidenceHolder.getInstance().callInit();
    EventHolder.getInstance().callInit();
    _log.info("==================================================");

    CastleManorManager.getInstance();

    Runtime.getRuntime().addShutdownHook(Shutdown.getInstance());

    _log.info("IdFactory: Free ObjectID's remaining: " + IdFactory.getInstance().size());

    CoupleManager.getInstance();

    if (Config.ALT_FISH_CHAMPIONSHIP_ENABLED) {
      FishingChampionShipManager.getInstance();
    }
    HellboundManager.getInstance();

    NaiaTowerManager.getInstance();
    NaiaCoreManager.getInstance();

    SoDManager.getInstance();
    SoIManager.getInstance();
    BloodAltarManager.getInstance();

    MiniGameScoreManager.getInstance();

    Shutdown.getInstance().schedule(Config.RESTART_AT_TIME, 2);

    _log.info("GameServer Started");
    _log.info("Maximum Numbers of Connected Players: " + Config.MAXIMUM_ONLINE_USERS);

    GamePacketHandler localGamePacketHandler = new GamePacketHandler();

    InetAddress localInetAddress = Config.GAMESERVER_HOSTNAME.equalsIgnoreCase("*") ? null : InetAddress.getByName(Config.GAMESERVER_HOSTNAME);

    this._selectorThreads = new SelectorThread[Config.PORTS_GAME.length];
    for (int i = 0; i < Config.PORTS_GAME.length; i++) {
      this._selectorThreads[i] = new SelectorThread(Config.SELECTOR_CONFIG, localGamePacketHandler, localGamePacketHandler, localGamePacketHandler, null);
      this._selectorThreads[i].openServerSocket(localInetAddress, Config.PORTS_GAME[i]);
      this._selectorThreads[i].start();
    }

    LoginServerCommunication.getInstance().start();

    if (Config.SERVICES_OFFLINE_TRADE_RESTORE_AFTER_RESTART) {
      ThreadPoolManager.getInstance().schedule(new RestoreOfflineTraders(), 30000L);
    }
    getListeners().onStart();

    if (Config.IS_TELNET_ENABLED)
      this.statusServer = new TelnetServer();
    else {
      _log.info("Telnet server is currently disabled.");
    }
    _log.info("=================================================");
    String str1 = StatsUtils.getMemUsage().toString();
    for (String str2 : str1.split("\n"))
      _log.info(str2);
    _log.info("=================================================");
  }

  public GameServer.GameServerListenerList getListeners()
  {
    return this._listeners;
  }

  public static GameServer getInstance() {
    return _instance;
  }

  public <T extends GameListener> boolean addListener(T paramT) {
    return this._listeners.add(paramT);
  }

  public <T extends GameListener> boolean removeListener(T paramT) {
    return this._listeners.remove(paramT);
  }

  public static void checkFreePorts() {
    int i = 0;
    while (i == 0)
      for (int m : Config.PORTS_GAME)
        try
        {
          ServerSocket localServerSocket;
          if (Config.GAMESERVER_HOSTNAME.equalsIgnoreCase("*"))
            localServerSocket = new ServerSocket(m);
          else
            localServerSocket = new ServerSocket(m, 50, InetAddress.getByName(Config.GAMESERVER_HOSTNAME));
          localServerSocket.close();
          i = 1;
        } catch (Exception localException) {
          _log.warn("Port " + m + " is allready binded. Please free it and restart server.");
          i = 0;
          try {
            Thread.sleep(1000L);
          } catch (InterruptedException localInterruptedException) {
          }
        }
  }

  public static void main(String[] paramArrayOfString) throws Exception {
    new GameServer();
  }

  public Version getVersion() {
    return this.version;
  }

  public TelnetServer getStatusServer() {
    return this.statusServer;
  }
}

 

Last Chance to apologize, i bet this code looks very familiar

Posted

I don't really know what the arguments are all about, but that doesn't concern me, I'm here to talk about this purchase I've made over a month ago, and so far every week I'm getting updates and support almost 7 days a week, at first I wanted to buy GoD packs from other people which I won't mention their names, but they wouldn't even have de delicacy of answering emails, so far no problems with support from mavmdox so to anyone thinking about buying a GOD pack this trust me this one is a very good one

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hi everyone, A while ago, I needed to extract some L2 textures and found that acmi's L2Tool was a good way to do it. There might be other methods out there but I'm not aware of them, so I decided to fork this project and improve it to suit my needs. I built this using BellSoft Liberica JDK 17. Since modern Java versions no longer include JavaFX by default, I've made the app handle it automatically. You don't need any manual setup—just use the  run.bat  and it will automatically extract the required JavaFX modules on the first run. Key features of this fork: UI Overhaul: I've tweaked the interface to give it a cleaner look with Dark Mode and more detailed metadata for each texture. Export Formats: You can now extract textures in WEBP, PNG, and DDS. Individual or Batch Export: Flexible options to export a single selected texture or the entire package at once.     I'm leaving the link here in case it's useful to anyone!   Installation and Execution:     Clone the repository:   https://github.com/Ak4n1/l2tool cd l2tool          2.Build the project:   ./gradlew build              3. Run the application:         ./run.bat      Or simply double-click on run.bat.    
    • Wtb full account or items on l2 warland 
    • https://discord.gg/k53SZ4DM5z   Interlude Client L2Old Pride is a L2 Pride Interlude Based All functional skills (Not archer/mage server)   L2Old Pride Helper (Works like Woundrous Cubic) https://imgur.com/iYqmHQY Farm Zones: Cave of Trials and Elven Ruins (Chaotic) Olympiads: Every 15 days Various Cosmetic Items https://imgur.com/uoeU6Jw https://imgur.com/oCS2Zed PvP Zone: Gludin Village (No-Parties, Disguised) More than 100 new Skills https://imgur.com/6RaPsQV Max Level: 90 https://imgur.com/z4QVJKZ Gaining Xp by PVP https://imgur.com/LRqI31T Purchasable S-grade items +10 or +20 with random chance to enchant +5 Purchasable Custom Items Depends on Tier Mysterious Merchants https://imgur.com/2ZwWyPH Auto Enchant Via PvPing (with low chance) Custom Raid Bosses Siege Every Weekend (Aden, Rune, Giran) Autofarm / Drop Tracker https://imgur.com/Vz3rha6   RATES: • Start Level 80 • Max level 90  • EXP: 5000x • SP: 5000x • ADENA 6000x   ENCHANT: • Maximum enchant S Grade Items: +35. • Maximum enchant Unique/Epic Items: +25. • Maximum enchant Legendary Items: +18. • Maximum enchant Relic Items: +14. •Descriptions for rate at scrolls!   EVENTS: • TEAMS vs TEAMS • CAPTURE THE FLAG • DOMINATION • DEATH MATCH • DICE OF DEATH • CHAOTIC ZONE   OTHERS: Assistance system in pvps. Where support classes are enabled to receive pvp with a low chance, for supporting a party member during pvp. •  /sit to regen HP/MP/CP • Custom Shots Glows https://imgur.com/FLK0DmR • Achievements System • Daily Tasks System • Monthly Tasks System   CUSTOM ARMORS SETS Dread Armor/Titanium Armor Pride Armor Rykros Armor https://imgur.com/SPxoQp1   CUSTOM WEAPONS SETS Unique Weapons Pride Weapons Legendary Weapons Relic Weapons https://imgur.com/kOHNXhS   CUSTOM ACCESSORIES Standard Superior Legendary https://imgur.com/zPqNiiX   CUSTOM JEWELS/TATTOO Legendary Nightmarish https://imgur.com/gcqS28P There are many more features that you will only understand by playing and following. Beta testing server is currently open. Follow us on our discord and join our server to test it.
    • You shouldn't use rev 382, not sure why everyone keep using that.   I don't make changesets for fun, I don't make new revisions for nothing.   Follow the revisions.
  • 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