Jump to content
  • 0

[Help] Equal Pack


Question

Posted

Hello Mxc, i have one question, where ai can add new quest or npc or script in datapack,

 

This Is server/data/___init__.py

 

Code :

__all__ = [
'scripts'
]
import scripts

 

This Is server/data/scripts/___init__.py

 

Code :

__all__ = [
'quests',
'custom',
'teleports',
'village_master',
'ai'
]
import quests
import custom
import teleports
import village_master
import ai

 

This Is server/data/scripts/costum/___init__.py

 

Code :

__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'7000_HeroItems',
'8000_RaidbossInfo',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'9999_NPCBuffer',
'9099_HotSprings'


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

 

But Pack Don't Have scripts.cfg,  where i can add in scripts buffer, for them : '912_buffer'

 

P.S Sorry For my bad englis, Help Mxc ;)

8 answers to this question

Recommended Posts

  • 0
Posted
Sky" post="1648987" timestamp="1296495247"]

Not Found :( Help Matim ;)

 

Not found... what?

 

Its is in server/data/scripts/costum/___init__.py

  • 0
Posted

__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'7000_HeroItems',
'8000_RaidbossInfo',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'9999_NPCBuffer',
'912_buffer',
'9099_HotSprings'


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

 

Look Matim, This '912_buffer' Buffer Don't Work but, sql is work and Imports are OK

  • 0
Posted

Explain it.. "don't work" ok, fine but what exactly?

 

Error log ingame? GameServer error logs? Or maybe something else.

  • 0
Posted
Sky" post="1649017" timestamp="1296496328"]

Yes Says Failed Load

 

NPC are Spawn OK, but don't import scripts, Sorry For my English :(

 

There should be log which description about where error is (line)

 

Check whole code, correct imports etc, maybe something is wrong.

Guest
This topic is now closed to further replies.


  • Posts

    • Added: 🎁 Seasonal Bonus System When the seasonal bonus is enabled, players receive additional bonus coins equal to bonus_season_percent of their donation amount. 💡 How it works (example): A player donates through their personal account and immediately receives regular coins. At the same time, bonus coins equal to 30% of the donation are credited. Example: Donation: 1000 coins → Bonus: 300 coins (30%) These bonus coins are not available immediately — they can be claimed later when the next season begins. 📅 When the bonus can be claimed: bonus_season_claim_start_date – the date when the "Claim" button becomes available. bonus_season_claim_end_date – the date after which the bonus can no longer be claimed. During this time window, the "Claim" button will appear in the personal account, allowing players to collect their accumulated bonus. 'bonus_season_enabled' => true, // Enable/disable the seasonal bonus system 'bonus_season_percent' => 30, // Percentage of the donation to be given as bonus coins (30 = 30%) 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Date when the Claim button becomes available in the new season   'bonus_season_enabled' => true, // Вкл./Выкл Сезонную бонусную систему? 'bonus_season_percent' => 30, // Процент, при донате получает монеты в процентах 30 = 30%, которые может использовать в следующем открытии 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Дата когда доступна кнопка Claim в новом сезоне 'bonus_season_claim_end_date' => '2025-08-15 20:00:00', // Дата окончания когда кнопка Claim в новом сезоне
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market  
    • HELLO EVERYONE. WE ARE SELLING A LOT OF ADENA ON L2 REBORN DISCORD - GODDARDSHOP   HURRY TO BUY OR YOU MAY NOT MAKE IT!!!
    • you can find the extender at GX-EXT Discord! http://prntscr.com/coUwKnD4Zs_w https://l2servers.com.ar/   @GX-Ext
  • 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