Jump to content
  • 0

New Value In Java


Question

Posted
[25/11 15:30:52] Failed executing script: C:\Users\Administrator\Desktop\L2\game
\data\scripts\custom\555_NPCBUFFER\__init__.py. See __init__.py.error.log for de
tails.
----------
1. ERROR in \custom\Services\Services.java (at line 294)
        statement.setInt(2, player.getClan().getClanId());
                                             ^^^^^^^^^
The method getClanId() is undefined for the type L2Clan
----------
2. ERROR in \custom\Services\Services.java (at line 367)
        player.store();
               ^^^^^
The method store(boolean) in the type L2PcInstance is not applicable for the arg
uments ()
----------
3. ERROR in \custom\Services\Services.java (at line 490)
        statement.setInt(2, player.getClan().getClanId());
                                             ^^^^^^^^^
The method getClanId() is undefined for the type L2Clan
----------
3 problems (3 errors)
The method getClanId() is undefined for the type com.l2jserver.gameserver.model.
L2Clan
The method store(boolean) in the type com.l2jserver.gameserver.model.actor.insta
nce.L2PcInstance is not applicable for the arguments ()
The method getClanId() is undefined for the type com.l2jserver.gameserver.model.
L2Clan

Thats my current error how can I fix them?

5 answers to this question

Recommended Posts

  • 0
Posted

store() is missing argument - true/false

getClanId - what chronicle it is? Since actual l2j method name is the same, so probably at your sources the name is kinda different.

  • 0
Posted

Alright thanks atleast, I think the leader will know more about it.

 

Error on: C:\Users\Administrator\Desktop\L2\game\data\scripts\custom\555_NPCBUFFER\__init__.py.error.log
Line: -1 - Column: -1


Traceback (innermost last):
  File "custom/555_NPCBUFFER/__init__.py", line 7, in ?
ImportError: no module named jython

jython is not supported anymore or what?

Guest
This topic is now closed to further replies.


×
×
  • Create New...