Jump to content
  • 0

[Help] NPC Buffer Error


Firerain

Question

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?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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 :)
Link to comment
Share on other sites

  • 0

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]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock