Jump to content
  • 0

New Value In Java


II337

Question

[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?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

http://svn.l2jserver.com/trunk/L2J_Server/java/com/l2jserver/gameserver/model/

 

L2Clan.java

 

Well, so it's kinda strange, since it is getClanId() so.. :P

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...