Skip to content

[Help] NPC Buffer Error

Featured Replies

I made my own NPC buffer, but when I start up my gameserver it gives this error:

 

Failed executing script: \gameserver\data\scripts\custom\9999_NpcBuffer\__init__.py

 

When I check the error log, it says this:

Error on: C:\hurf\gameserver\data\scripts\custom\9999_NpcBuffer\__init__.py.error.log
Line: -1 - Column: -1

Traceback (innermost last):
  (no code object) at line 0
SyntaxError: ('invalid syntax', ('__init__.py', 24, 1, 'def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)'))

Any ideas?

I made my own NPC buffer, but when I start up my gameserver it gives this error:

 

Failed executing script: \gameserver\data\scripts\custom\9999_NpcBuffer\__init__.py

 

When I check the error log, it says this:

Error on: C:\hurf\gameserver\data\scripts\custom\9999_NpcBuffer\__init__.py.error.log
Line: -1 - Column: -1

Traceback (innermost last):
  (no code object) at line 0
SyntaxError: ('invalid syntax', ('__init__.py', 24, 1, 'def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)'))

Any ideas?

ok well look at what is giving you error there, the error is in the syntax when you put together the file, there's your error, verify or compare it with another buffer to see the cause of your mistake and learn to reparalo for yourself that is the best thing :)

I also got an error I cant manage to solve.

The error is:

 

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

Traceback (innermost last):
 File "__init__.py", line 2, in ?
ImportError: no module named net

 

The code is too long to paste it.

I could pm it if needed.

I'm using the l2j compiled pack.

 

Thank you

 

[solved]

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.