Jump to content

Search the Community

Showing results for tags 'l2off'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News
  • General
    • Suggestions & Feedback
    • General Chat
    • GFX
    • VFX
  • MMO Hub
    • Gamer's Lounge
    • Member's Lounge
    • Developer Lounge
  • MMO Corner
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Host Listing
    • Server Listing
    • Server Recruitment
    • Server Reviews
    • The Underground
  • User Hub
    • Support
    • Report
    • Contact Staff
  • Merchant Corner
    • Marketplace
  • General Development Releases
    • Applications
  • Tutorials
    • Programming
    • Web Development
  • Wasteland

Categories

  • Creative Corner
    • GFX Releases
    • VFX Releases
    • Resources
  • MMO and MMORPG
    • World of Warcraft
    • Lineage 2
    • Minecraft
  • Webmasters
    • Content Management Systems
    • Addons
    • Scripts
    • Designs
    • Proxies
    • HTML
  • Applications
  • Gaming
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Emulation
    • Nulled Distributions
  • Marketplace
    • Marsh Designs
    • iDarts

Product Groups

  • Membership
  • Advertise
  • Promote

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Interests


How Did You Find Us?


Contributor


Discord

Found 2 results

  1. Hello members of LordCraft, here is a code for time load like L2OFF for aCis. Code: [hide] ### Eclipse Workspace Patch 1.0 Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 1) +++ java/net/sf/l2j/Config.java (working copy) @@ -650,6 +650,8 @@ public static int ZONE_TOWN; public static boolean DISABLE_TUTORIAL; + public static long NPC_SERVER_DELAY; + // -------------------------------------------------- // Those "hidden" settings haven't configs to avoid admins to **** their server // You still can experiment changing values here. But don't say I didn't warn you. @@ -1258,6 +1260,8 @@ ZONE_TOWN = server.getProperty("ZoneTown", 0); SERVER_NEWS = server.getProperty("ShowServerNews", false); DISABLE_TUTORIAL = server.getProperty("DisableTutorial", false); + + NPC_SERVER_DELAY = npcs.getProperty("npcServerDelay", 1); } else if (Server.serverMode == Server.MODE_LOGINSERVER) { Index: java/net/sf/l2j/gameserver/datatables/SpawnTable.java =================================================================== --- java/net/sf/l2j/gameserver/datatables/SpawnTable.java (revision 1) +++ java/net/sf/l2j/gameserver/datatables/SpawnTable.java (working copy) @@ -23,6 +23,7 @@ import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; +import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.instancemanager.DayNightSpawnManager; import net.sf.l2j.gameserver.model.L2Spawn; import net.sf.l2j.gameserver.model.actor.template.NpcTemplate; @@ -44,7 +45,7 @@ protected SpawnTable() { if (!Config.ALT_DEV_NO_SPAWNS) - fillSpawnTable(); + ThreadPoolManager.getInstance().scheduleGeneral(new NPCServerTask(), Config.NPC_SERVER_DELAY * 1000); } public Set<L2Spawn> getSpawnTable() @@ -188,6 +189,17 @@ fillSpawnTable(); } + class NPCServerTask implements Runnable + { + @SuppressWarnings("synthetic-access") + @Override + public void run() + { + fillSpawnTable(); + _log.info("NPC Server: Task initialization..."); + } + } + private static class SingletonHolder { protected static final SpawnTable _instance = new SpawnTable(); +++ config/server.properties (working copy) +# Enable Npc Server Delay +npcServerDelay = 1 [/hide] Credits: masone
  2. LineageII - Rebirth - GRAND OPENING 17/10/2015 19:00H GMT-3 Server Chronicles: - Chronicle: Interlude (C6) - L2OFF (Oficial Files) - No Custom - Craft Items S Rates: XP/SP: 75x Adena: 100x Spoil: 25x Quest: 50x Enchant: Normal Enchant Scroll: 45% Blessed Enchant Scroll: 55% Shopping Itens: D,C,B Grade for Adena A Grade for Ancient Adena S Grade for Craft Recipe Custom Quest Facility Shopping Donate Automatic System Olympiad 30/30 Days Buffs 3Hours / 24+4 Slots Sieges Awarded Weekly (7 Days) Event System: - Olympiad : Ative - Manor : Ative - Seven Sings: Ative Automatic Event: Team vs Team Sub-Classe Quest: Free Noblesse Quest: Retail Rate Drops: Normal Drop Farm: 1x Spoil: 2x Choatic Zone: 3x Medium Farm Zones: - Ketra Orc, Varkas Silenos Choatic Zones: - All Epic Grand Boss On Enter Choatic Zone - RaidBoss Ketra Ork,Varkas Silenos on Enter Choatic Zone - Bosses: Official Spawn - Barakiel, Queen Ant, Zaken, Core, Orfen Choatic Zone Lvl 80 Hard Party Farm Zones: - Forge of the Gods Choatic Zone Website: http://www.l2rebirth.com Community: http://www.l2rebirth.com/forum Facebook Page: https://www.facebook.com/divull2 Don't miss it! We're waiting for you. -L2Rebirth Server Team-
×
×
  • Create New...