Jump to content
  • 0

[HELP] Weird Buffer Error (Script Error)


Question

Posted

Heya,

 

I got a really annoying error with my buffer which i dont know how to fix. I try to state my problem as much as you can understand (i hope).

 

Well let me explain. Yesterday a guy (friend) send me a Buffer which was working at his server (L2Querhax). Okay, i thought let me use it and see how the buffer is.

I pasted everything right in the folders. Buffer worked well.

 

Okay i got to sleep, shut server down etc.. PC off. I stand up everything went up (pc, server). And then the problem. I wanted to buff and boom it gives me like 4 buffs and then it stops and the window ingame saves "script error".

 

I mean, wtf i did nothing to the script over the night.. how could it be damaged?

 

Here is the error message i got on gameserver.cmd

C:\L2Creme\gameserver\data\scripts\custom\20701_NPCBuffer\__init__.py
Traceback (innermost last):
  File "__init__.py", line 164, in onEvent
AttributeError: 'NoneType' object has no attribute 'getEffects'

        at org.python.core.Py.AttributeError(Unknown Source)
        at org.python.core.PyObject.noAttributeError(Unknown Source)
        at org.python.core.PyObject.__getattr__(Unknown Source)
        at org.python.core.PyObject.invoke(Unknown Source)
        at org.python.pycode._pyx532.onEvent$3(__init__.py:164)
        at org.python.pycode._pyx532.call_function(__init__.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at org.python.core.PyObject._jcallexc(Unknown Source)
        at org.python.core.PyObject._jcall(Unknown Source)
        at org.python.proxies.main$Quest$525.onEvent(Unknown Source)
        at com.l2jfrozen.gameserver.model.quest.Quest.onAdvEvent(Quest.java:674)

        at com.l2jfrozen.gameserver.model.quest.Quest.notifyEvent(Quest.java:481
)
        at com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.processQue
stEvent(L2PcInstance.java:2495)
        at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.
runImpl(RequestBypassToServer.java:307)
        at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:75)
        at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1
194)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

 

I looked at line 16 but there is nothing wrong with it :/..

 

Could anyone give me a good .. atleast working buff init.py with all buffs not like 5 bufs ? Or anyone know how to fix this ?

Thanks in advance

5 answers to this question

Recommended Posts

  • 0
Posted

line 164, in onEvent

and eventually full script.

 

Pack is L2JFrozen, from imports. Why not asking directly here for a working buffer ? Haven't they ALREADY an integrated buffer ?

  • 0
Posted

Fixed it, my skills folder was fucked up ;)

 

Now i got another error.

 

The buffer works maybe lets say 4-5 times. But then when a player clicks on "Archer Buffs" window disappear and it happens nothing.. why?

Guest
This topic is now closed to further replies.


  • Posts

    • 🔥 Upgrade Your Server's Visual Identity 🔥 Hello Community! We are proud to present the Shadowbane Collection – a premium, oriental-style visual suite designed specifically for Metin2 and Silkroad private servers. Forget about static, boring pages. Give your players a true "AAA" experience with a fully animated video header and a professional brand identity. 🎥 VIDEO PREVIEW   🐉 1. Shadowbane – Animated HTML Website Template A fully coded, responsive website template with a stunning video background. No coding skills required – just upload and configure! 🚀 Technology: HTML5 / CSS3 / JS (No PSD, ready code) 🎥 Animated Header: Loopable video background included (.mp4) 📱 Responsive: Works perfectly on Mobile & Desktop 📂 Pages Included: Home, Rankings, Register, Download, News 👉 DOWNLOAD WEBSITE TEMPLATE HERE       ⚔️ 2. Shadowbane – Game Logo & Text Effect Complete your branding with this matching Logo Template. It works as a Photoshop Text Effect – just type your server name! 🎨 Style: Oriental Gold & Brush Ink ⚡ Easy Edit: Smart Objects (One-click change) 🎁 Bonus: Social Media Kit included (Banner + Avatar) 👉 DOWNLOAD LOGO TEMPLATE HERE 🎁 SPECIAL LAUNCH DISCOUNT 🎁 For forum members, we have prepared a special code. Get 20% OFF on your entire order! CODE: LOVEM2 Elevate your server today with Pixarts.store  
    • Contact me on discord have an offer for you. l2avalon.net  
    • At this point, you’re better off buying server files that have actually been heavily tested by you or that you’ve personally played on. Working with public sources is a waste of time. These days, it’s also a waste of time to deal with files that have never powered a live server, or with people trying to sell you a story without real proof or a solid player base to back it up.
    • Hope someone someday will release this 😄
  • 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..