Jump to content
  • 0

Error importing buffer


Question

Posted

Pack: Acis

getting this error

 

 

Error on: C:\Users\User\Desktop\Server\gameserver\data\scripts\custom\9999_NPCBuffer\__init__.py.error.log
Line: -1 - Column: -1


Traceback (innermost last):
  File "__init__.py", line 144, in ?
TypeError: net.sf.l2j.gameserver.model.quest.State(): expected 0 args; got 2

 

 

 

 

Line 144

CREATED=State('Start',QUEST)

what is the problem?

13 answers to this question

Recommended Posts

  • 0
Posted

As I said to the guy before you, stop to use python.

one of topics you wrote to take any buffer, change imports and the 90% of work is done.

I downloaded 90% of buffers but they don't work :(

 

can you give me link of buffer which is not based on python

  • 0
Posted

one of topics you wrote to take any buffer, change imports and the 90% of work is done.

I downloaded 90% of buffers but they don't work :(

 

can you give me link of buffer which is not based on python

 

90% of work means the 10% left is to fix issues. If you would use Java script, such error would be redlined and you wouldn't care to ask. See how others scripts are working. If 320 scripts are correctly working, there is a reason.

 

There are 2 shared buffers made for aCis, one is by povis111 and the other (outdated so far) by mindaugas (aka darthvader). We also got few versions on forums, accessible if you're part of the community.

 

About how to make a java script, just figure reading scripts folder.

 

I already answered about your special issue on another thread, just make a search with your error. It is old of less than 2 weeks.

  • 0
Posted

I have free acis pack. 254 rev. the buffer of povis111 don't work. and the second one i have never seen and can't find....

 

 

Then why didn't you tell me? There's smth told in my topic about making it work on any acis rev, and i'm always glad to help. So, might be the same problem with quest bypass, anyways, gonna fix that tomorrow....

  • 0
Posted

I have free acis pack. 254 rev. the buffer of povis111 don't work. and the second one i have never seen and can't find....

 

change the imports...

 

open other ini file from your quests and see what imports are used there... 1+1 = 2

  • 0
Posted

change the imports...

 

Just lol..

 

Quest engine/structure is different than others forks, it's not about imports.. Use JAVA like said Tryky, find Darth's buffer* and try to addapt it.

 

* - google, simple instanced buffer

  • 0
Posted

Just lol..

 

Quest engine/structure is different than others forks, it's not about imports.. Use JAVA like said Tryky, find Darth's buffer* and try to addapt it.

 

* - google, simple instanced buffer

Line: -1 - Column: -1

Is for imports...

 

k, nice to know thanks for learning me... ROFL

  • 0
Posted

Line: -1 - Column: -1

Is for imports...

 

k, nice to know thanks for learning me... ROFL

It's not, SweeTs is part of my crew and make customs for my pack (when he isn't lazy as an ass), ty for learning to him aswell :P.

 

As he stated, no more State.java (import + use), so once again check existing quests and you will find your dream. And using JAVA would warn you you are using deprecated stuff, so stop to use Python (+ python deprecated at next public share).

 

Import is nothing to correct in a Java file, ctrl+shift+O to fix them.

  • 0
Posted

It's not, SweeTs is part of my crew and make customs for my pack (when he isn't lazy as an ass), ty for learning to him aswell :P.

 

As he stated, no more State.java (import + use), so once again check existing quests and you will find your dream. And using JAVA would warn you you are using deprecated stuff, so stop to use Python (+ python deprecated at next public share).

 

Import is nothing to correct in a Java file, ctrl+shift+O to fix them.

 

Well i had that problem too myself and when i put correct impots everything goes good...

also ctr+o is when its open via eclipse...

Guest
This topic is now closed to further replies.


  • Posts

    • A New Chapter Begins We're Rebuilding – Join Our Staff Team After many years of activity, growth, and challenges, it’s finally time for our community to restructure and move forward. We’re ready to turn a new page and evolve into something greater — but we can’t do it without the help of passionate and committed people. That’s why we’re now opening up staff applications for those who want to actively shape the future of our community. If you have the motivation, time, and patience to contribute to something meaningful, this is your chance to step in and make a real impact. What We're Looking For We’re building a fresh and dedicated team of individuals who are ready to support and grow this project. Open roles include: Moderators – to keep the forum clean, safe, and organized Gaming Moderators – to help manage gaming boards (e.g., Lineage, GTA FiveM) Content Creators – to post updates, guides, and articles Community Managers – to engage users and drive activity Technical Staff – for development, backend, and server work We’re not focusing only on Lineage anymore. Our vision is expanding to new areas — including GTA FiveM and other multiplayer games you might have expertise in. If you have a good idea, a server plan, or something new to suggest — we’re open to it. Now’s the time to bring it forward. Requirements We’re looking for individuals who have: A history of activity on the forum (preferred) Available time to contribute consistently A sense of teamwork and responsibility A genuine interest in gaming and community building If you're interested, just send a private message to me or Celestine. (or just reply here) Tell us a few things about yourself and how you’d like to contribute. Let’s bring this community back to life. Let’s rebuild something great — together.   M M G A 
    • Lineage2Network - Interlude Reimagined   Embark on a revitalized journey through the classic Interlude era with Lineage2.Network. Our server is meticulously crafted by veteran players to deliver a seamless and engaging experience, blending the nostalgia of the Chaotic Chronicle with modern enhancements.     Server details   Chronicle: Interlude + Classic Rates: EXP x30 | Adena x10 | Drop x10 | Spoil x10     Server features   Daily Missions - complete special tasks for daily rewards Attendance Rewards - get rewards for online time Custom Events - TVT, DM, CTF NPC buffer duration - 2 hours   Mana Potions - restores 1000 MP, 10s cooldown Ring of Core additional stats: +1 STR Earring of Orfen additional stats: +1 INT Shadow Earring of Zaken - 7 days Shadow Ring of Queen Ant - 7 days   Max buff count - 24 (20 + 4 with Divine Inspiration) Noblesse, Heroic Valor, Flames of Invincibility and Celestial Shield don't take buff slot Reworked Cancel, Mage and Warrior Banes – removed buffs reappear after 30s Block Buffs - block all incoming buffs except from self/party Sweeper Festival added to Spoiler class   Subclass – retail or purchasable Noblesse – retail or purchasable up to Barakiel; collect 8 fragments for full staff 1st & 2nd class free, 3rd needs 700 Halisha Marks or is purchasable New Olympiad System: new stadiums with NPC buffer,  1 week period.     Key dates     Beta Launch: April 14, 2025 Official Launch: May 9, 2025     Check out full server details in our website And visit our discord   Join us and be part of community where classic gameplay meets innovative updates. Whether you're a solo adventurer or part of a formidable clan, Lineage2.Network offers a dynamic and balanced environment for all.  
    • Good day. Our game currency store is looking for suppliers of adena and items on a project such as L2REBORN x10. We also sell Epic jewelry and various items on this project L2REBORN x10. There are items and adena on L2REBORN x1. For all questions, write to us in discord - goddardshop
  • Topics

×
×
  • Create New...