Jump to content

Recommended Posts

Posted (edited)

Im triyin to install this NPC that I downloaded from this link:

https://www.l2jbrasil.com/topic/93842-npc-substack-subclasse-acumulada-frozen-dream-v1v2/

 

I followed the instructions, that seemd simple:

- decompress files in custom folder (Game\data\jscript\custom\855_SubclassNpc)

- add sql code and create new tables:

  1. custom_etcitem (i did not have this table on my server, so i clone etcitem with different name)
  2. custom_npc (same as previous)
  3. subclass_list (here I got the sql code to create)
  4. subclass_skill_exceptions (same as previous)
  5. as final step, I run all the insert statements, they were like 250.

- add code to Game\data\jscript\custom\__init__.py file

  1. This is my current init file:

    __all__ = [
    '3995_echo',
    '4000_ShadowWeapons',
    '7000_HeroItems',
    '8000_RaidbossInfo',
    '6050_KetraOrcSupport',
    '6051_VarkaSilenosSupport',
    '855_SubclassNpc'

    ]
    print ""
    print "importing custom data  ..."
    for name in __all__ :
        try :
            __import__('data.jscript.custom.'+name,globals(), locals(), ['__init__'], -1)
        except:
            print "failed to import quest : ",name
    print "... done"
    print ""

 

The problem, is that it does not work, I just get the message "failed to import quest :  855_SubclassNpc " and there is no logs or anithyng related that ive found in log folder (Game\log) or anywhere else, I tryed searching for files on all game folder using the name of folder (855_SubclassNpc ), the text "failed to import quest" and many others that I dont remember.What can I do to make it work?

 

Here is my full server start log:

Starting L2J Game Server.                                                                                                                                                                                                                       Loading Game Server config...                                                                                           Updated characters online status.                                                                                       Cleaned 0 elements from database.                                                                                       IDFactory: 102912 id's available.                                                                                       SkillTreeTable: Loaded 35498 skills.                                                                                    FishingSkillTreeTable: Loaded 109 general skills.                                                                       FishingSkillTreeTable: Loaded 8 dwarven skills.                                                                         EnchantSkillTreeTable: Loaded 13200 enchant skills.                                                                     PledgeSkillTreeTable: Loaded 64 pledge skills                                                                           Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   Unevenly distributed hash code - Degraded Performance                                                                   ItemTable: Loaded 1100 Armors.                                                                                          ItemTable: Loaded 6881 Items.                                                                                           ItemTable: Loaded 1349 Weapons.                                                                                         Extractable items data: Loaded 333 extractable items!                                                                   Summon items data: Loaded 14 summon items.                                                                              TradeController: Loaded 506 Buylists.                                                                                   TradeController: Loaded 120 Limited Buylists.                                                                           RecipeController: Loaded 871 Recipes.                                                                                   ArmorSetsTable: Loaded 54 armor sets.                                                                                   FishTable: Loaded 270 Fishes.                                                                                           SkillSpellbookTable: Loaded 334 Spellbooks.                                                                             CharTemplateTable: Loaded 89 Character Templates.                                                                       Cache[HTML]: Running lazy cache                                                                                         Cache[Crest]: 0,000MB on 0 files loaded.                                                                                Restored 0 clans from the database.                                                                                     NpcTable: Loaded 6531 Npc Templates.                                                                                    NpcTable: Loaded 439 Minions.                                                                                           HennaTable: Loaded 180 Templates.                                                                                       HennaTreeTable: Loaded 7128 Henna Tree Templates.                                                                       Helper Buff Table: Loaded 14 Templates.                                                                                 Geodata Engine: Disabled.                                                                                               Initializing ClanHallManager                                                                                            Loaded: 0 clan halls                                                                                                    Loaded: 44 free clan halls                                                                                              Initializing CastleManager                                                                                              L2World: Setting up World Regions                                                                                       L2World: (87 by 128) World Region Grid set up.                                                                          Loaded: 9 castles                                                                                                       Initializing SiegeManager                                                                                               TeleportLocationTable: Loaded 649 Teleport Location Templates.                                                          LevelUpData: Loaded 89 Character Level Up Templates.                                                                    Loading zones...                                                                                                        Initializing ArenaManager                                                                                               Initializing TownManager                                                                                                Initializing OlympiadStadiaManager                                                                                      Initializing FishingZoneManager                                                                                         Done: loaded 111 zones.                                                                                                 Siege of Oren: Sun Sep 19 16:00:00 ART 2021                                                                             Siege of Giran: Sun Sep 19 16:00:00 ART 2021                                                                            Siege of Gludio: Sat Sep 18 20:00:00 ART 2021                                                                           Siege of Dion: Sat Sep 18 20:00:00 ART 2021                                                                             Siege of Innadril: Sun Sep 19 16:00:00 ART 2021                                                                         Siege of Aden: Sat Sep 18 20:00:00 ART 2021                                                                             Siege of Goddard: Sun Sep 19 16:00:00 ART 2021                                                                          DayNightSpawnManager: Day/Night handler initialised                                                                     Siege of Rune: Sat Sep 18 20:00:00 ART 2021                                                                             Siege of Schuttgart: Sat Sep 18 20:00:00 ART 2021                                                                       SpawnTable: Loaded 38987 Npc Spawn Locations.                                                                           RaidBossSpawnManager: Loaded 179 Instances                                                                              RaidBossSpawnManager: Scheduled 0 Instances                                                                             DayNightSpawnManager: Deleted 0 night creatures                                                                         DayNightSpawnManager: Spawning 232 day creatures                                                                        Announcements: Loaded 0 Announcements.                                                                                  ManorManager: Loaded 256 seeds                                                                                          Initializing AuctionManager                                                                                             Loaded: 38 auction(s)                                                                                                   Initializing BoatManager                                                                                                Initializing CastleManorManager                                                                                         Manor System: Manor refresh updated                                                                                     Manor System: Manor period approve updated                                                                              Manor System: New Schedule for period approve @ Fri Sep 10 06:00:05 ART 2021                                            Initializing MercTicketManager                                                                                          Loaded: 0 Mercenary Tickets                                                                                             Initializing PetitionManager                                                                                            Initializing QuestManager                                                                                               *sys-package-mgr*: can't create package cache dir, 'C:\L2Jserver\Game\lib\jython-2.2.jar\cachedir\packages'                                                                                                                                     importing quests ...                                                                                                    ... done                                                                                                                                                                                                                                        importing custom data (seba) ...                                                                                        failed to import quest :  855_SubclassNpc                                                                               ... done                                                                                                                                                                                                                                                                                                                                                                importing teleport data ...                                                                                             ... done                                                                                                                                                                                                                                                                                                                                                                importing village master data ...                                                                                       ... done                                                                                                                                                                                                                                                                                                                                                                importing scriptable AI ...                                                                                             ... done                                                                                                                                                                                                                                        Loaded: 348 quests                                                                                                      Initializing AugmentationData.                                                                                          AugmentationData: Loaded: 52 augmentation stats.                                                                        AugmentationData: Loaded: 82 active, 21 passive and 75 chance skills                                                    Initializing ItemsAutoDestroy.                                                                                          Searching clan halls doors:                                                                                             DoorTable: Loaded 548 Door Templates.                                                                                   StaticObject: Loaded 29 StaticObject Templates.                                                                         SevenSigns: Currently in the Seal Validation period!                                                                    SevenSigns: The Seal of Avarice remains unclaimed.                                                                      SevenSigns: The Seal of Gnosis remains unclaimed.                                                                       SevenSigns: The Seal of Strife remains unclaimed.                                                                       SevenSigns: The competition ended with a tie last week.                                                                 SevenSigns: Next period begins in 3 days, 22 hours and 49 mins.                                                         SevenSignsFestival: Initialization bypassed due to Seal Validation in effect.                                           Olympiad System: Loading Olympiad System....                                                                            Olympiad System: Currently in Olympiad Period                                                                           Olympiad System: Period Ends....                                                                                        Olympiad System: In 21 days, 16 hours and 49 mins.                                                                      Olympiad System: Next Weekly Change is in....                                                                           Olympiad System: 6 days, 22 hours and 34 mins.                                                                          Olympiad System: Loaded 0 Nobles                                                                                        Olympiad System: Competition Period Starts in 0 days, 0 hours and 0 mins.                                               Olympiad System: Event starts/started : Thu Sep 09 18:00:12 ART 2021                                                    Hero System: Loaded 0 Heroes.                                                                                           Hero System: Loaded 0 all time Heroes.                                                                                  Olympiad System: Olympiad Game Started                                                                                  Event ID: (Valentines Event) has passed... Ignored.                                                                     Initializing CursedWeaponsManager                                                                                       Loaded : 2 cursed weapon(s).                                                                                            AutoChatHandler: Loaded 32 handlers in total.                                                                           AutoSpawnHandler: Loaded 129 handlers in total.                                                                         ItemHandler: Loaded 2008 handlers.                                                                                      SkillHandler: Loaded 72 handlers.                                                                                       AdminCommandHandler: Loaded 344 handlers.                                                                               UserCommandHandler: Loaded 14 handlers.                                                                                 VoicedCommandHandler: Loaded 1 handlers.                                                                                IdFactory: Free ObjectID's remaining: 1879004867                                                                        Initializing FloodProtector                                                                                             TvTEventEngine[TvTManager.TvTManager()]: Engine is disabled.                                                            GameServer Started, free memory 270 Mb of 512 Mb                                                                        Using automatic network configuration.                                                                                  Adding new subnet: 127.0.0.0/8 address: 127.0.0.1                                                                       Adding new subnet: 10.0.0.0/24 address: 10.0.0.106                                                                      Adding new subnet: 0.0.0.0/0 address: 200.91.35.164                                                                     Connecting to login on 127.0.0.1:9014                                                                                   Maximum Numbers of Connected Players: 109                                                                               Telnet server is currently disabled.                                                                                    Registered on login as Server 1 : Bartz 

 

 

 

Edited by sebal2j
improving server log looks
Posted

Failed to import can be because the import of that .py mismatch with yours. Ex different variable names, different packages e.t.c. Also using .py in 2k21 is a huge NO. Either learn how to do it in java or purchase one of any dev.

Posted
11 hours ago, Kara said:

Failed to import can be because the import of that .py mismatch with yours. Ex different variable names, different packages e.t.c. Also using .py in 2k21 is a huge NO. Either learn how to do it in java or purchase one of any dev.

Thanks for your answer, I have no Idea that py was bad, I will try to do some java.

13 hours ago, Nightw0lf said:

or even better move on to l2off

As far as I knew, l2off and l2j were stable, the only problem with l2j was that you need to restart server after 1 o 2 days to keep him working. Is there a link or somewhere to search about why is l2off is better than l2j?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



×
×
  • Create New...