Jump to content
  • 0

[Help] NPC Buffer Error


Question

Posted

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?

2 answers to this question

Recommended Posts

  • 0
Posted

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 :)
  • 0
Posted

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

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


×
×
  • 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..