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.


×
×
  • Create New...