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

    • 🚀 MoMoProxy Static Residential Proxies For Sale!     🔹 Stable, secure & high-anonymity 🔹 >10Mbps speed, <10ms latency 🔹 99.99% uptime & static IPs 🔹 Unlimited traffic & connections 🌍 30M+ clean residential IPs ✅ Whitelist & user/pass auth 💳 Flexible plans (7/30/90 days) 💰 From $3/IP (Pay-per-IP) 🔥 Perfect for: ✔️ Ad verification ✔️ E-commerce/social media ✔️ Data scraping ✔️ Anti-detect browsers 🆓 Start free trial today! 🔗 [Insert Link] #Proxy #ResidentialProxies #WebScraping #DigitalMarketing   1/ Why Choose MoMoProxy? ✅ Global ISP network (30M+ IPs) ✅ Dedicated dashboard for easy management ✅ 24/7 stable operation ✅ HTTP(S)/SOCKS5 support 2/ Use Cases: 📊 Ad fraud detection 🛒 Sneaker copping & e-com 📱 Social media automation 🌐 Travel aggregation & more! 3/ Get Started in 4 Steps: A. Pick MoMoProxy B. Grab your IP credentials C. Configure your tool D. Enjoy unlimited sessions!   https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies    
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Special offer until end of the month, don't lose it. 250  include datapack and patch latest.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • Topics

×
×
  • Create New...