Jump to content

Question

Posted

Hello iam new in that website and i new in l2 worl ) i now learn how to create server. I need now help for Rin4A's buffer i have that error who can help?

 

Error on: C:\Users\Admin\Desktop\L2jRoyal_Server\game\data\scripts\custom\555_NPCBUFFER\__init__.py.error.log
Line: -1 - Column: -1

Traceback (innermost last):
  File "__init__.py", line 4, in ?
ImportError: cannot import name Config

 

 

Pls help me :)

Sorry for bad english.
 

 

 

8 answers to this question

Recommended Posts

  • 0
Posted

Hello iam new in that website and i new in l2 worl ) i now learn how to create server. I need now help for Rin4A's buffer i have that error who can help?

 

Error on: C:\Users\Admin\Desktop\L2jRoyal_Server\game\data\scripts\custom\555_NPCBUFFER\__init__.py.error.log

Line: -1 - Column: -1

 

Traceback (innermost last):

  File "__init__.py", line 4, in ?

ImportError: cannot import name Config

 

 

Pls help me :)

Sorry for bad english.

 

 

 

Are you using regular L2j Server or something like L2J Frozen or whatever name that build has?  Make sure your Imports on all of your .java files or .py files (the one used on that buffer for example) have the correct pointers (or whatever its called) to your server stuff. For example.... this is the line 4 on the .py file right...?

from com.l2jserver import Config

If you are using some l2j build like L2jFrozen the part that says  "com.l2jserver" will be different and will look something like this instead...

from net.l2jfrozen import Config

Think of it like your server is a massive web page and the script that the buffer is trying to run is an url address trying to import stuff from your server resource. If you write the wrong address it won't find the resources it needs and give you an error. Just open another java file (or .py file from another quest) and take a look at what the Import lines address and check if they look similar.

 

Hope this can help a bit.

  • 0
Posted

i use l2jserver here my py file 4 line

 

import sys
from java.lang import System
from java.util import Iterator
from com.l2jserver import Config
from com.l2jserver.gameserver.model.quest import State
from com.l2jserver.gameserver.model.quest import QuestState
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
from com.l2jserver.gameserver.instancemanager import QuestManager
from com.l2jserver import L2DatabaseFactory
from com.l2jserver.gameserver.datatables import SkillTable
from com.l2jserver.gameserver.datatables import ItemTable
from com.l2jserver.gameserver.model.actor.instance import L2PcInstance
from com.l2jserver.gameserver.model.actor.instance import L2PetInstance
from com.l2jserver.gameserver.model.actor.instance import L2ServitorInstance
from com.l2jserver.gameserver.network.serverpackets import SetSummonRemainTime
from com.l2jserver.gameserver.network.serverpackets import SetupGauge

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

    • Unfortunately, I already tried using it a while ago and it didn't work; besides, it said "gira" and the other person heard it in Godart; and it doesn't have a source.
    • 💎 Unlock Advanced Google Workspace AI integrations with 5TB storage for up to 18 months. Tested, verified, and automated delivery!     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
    • 31 Interlude Classes Reworked - Interested in Your Opinions One of the biggest challenges while developing L2 WARFRONT has been class balance. Interlude was never designed around continuous, fully buffed faction battles where players return to combat within seconds. Mechanics that work reasonably well in traditional PvP can behave very differently when entire groups are fighting over objectives. Over the past months, we've worked on all 31 playable classes, trying to give each a meaningful battlefield role without removing what makes them recognisable as Interlude classes. Some examples of what we've been experimenting with: Tanks: Chain Strike, Frontline Bulwark and adjustments aimed at making them more valuable in frontline combat. Titan: Frenzy, Zealot and Guts dynamically scale with current HP rather than simply being locked behind an activation threshold. Daggers: Shadow Step, Hide and other changes to mobility and close-range gameplay. Healers: Adjusted healing effectiveness and an offensive Inquisitor option, with the aim of preventing organised parties from becoming almost impossible to kill. Support classes: Additional combat and party-support mechanics to encourage more class diversity. The goal is not to make every class equally strong in a 1v1. A tank, a dagger, a nuker and a healer should have very different strengths. We're not claiming we've achieved perfect balance. We completed a Closed Beta with around 110 participants, collected feedback and have continued making adjustments. We've also published a breakdown of the changes to all 31 classes: https://l2warfront.com/guides/interlude-class-balance/   I'd genuinely be interested in hearing from experienced Interlude players: Which classes do you think are most overlooked in large-scale PvP? Are there any mechanics you believe become particularly problematic in continuous faction warfare? Criticism is welcome. Even when we disagree on a particular approach, a good discussion can help us make better decisions. L2 WARFRONT — Grand Opening: 30 October 2026.
    • I love seeing so much activity on Maxcheaters—users sharing things and all that. Honestly, I want to congratulate every single member of the Maxcheaters staff.   Keep it up! 🙂
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..