Updated Server error

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
II337
Posts: 67
Joined: Mon Oct 27, 2014 9:44 pm

Updated Server error

Post by II337 »

I updated my server and now I get this error.
Anyone know how to fix it?

Code: Select all

[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 details.----------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 arguments ()----------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.L2ClanThe method store(boolean) in the type com.l2jserver.gameserver.model.actor.instance.L2PcInstance is not applicable for the arguments ()The method getClanId() is undefined for the type com.l2jserver.gameserver.model.L2Clan
II337
Posts: 67
Joined: Mon Oct 27, 2014 9:44 pm

Re: Updated Server error

Post by II337 »

The method name is not getClanId() or what?
Seems so strange now...
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Updated Server error

Post by Zealar »

Code: Select all

player.getClan().getClanId()
TO

Code: Select all

player.getClanId()

Code: Select all

player.store()
TO

Code: Select all

player.store(true) // or false question is if want to store effects too.
II337
Posts: 67
Joined: Mon Oct 27, 2014 9:44 pm

Re: Updated Server error

Post by II337 »

Alright it worked, just a new method name.

Code: Select all

Error on: C:\Users\Administrator\Desktop\L2\game\data\scripts\custom\555_NPCBUFFER\__init__.py.error.logLine: -1 - Column: -1 Traceback (innermost last):  File "custom/555_NPCBUFFER/__init__.py", line 7, in ?ImportError: no module named jython
Thats still my problem

P.S I saw the problem, the majority of jython got removed, can I still move it over from older L2Servers?
accelleonz
Posts: 1
Joined: Mon Jan 11, 2016 3:08 am

Re: Updated Server error

Post by accelleonz »

II337 wrote:Alright it worked, just a new method name.

Code: Select all

Error on: C:\Users\Administrator\Desktop\L2\game\data\scripts\custom\555_NPCBUFFER\__init__.py.error.logLine: -1 - Column: -1 Traceback (innermost last):  File "custom/555_NPCBUFFER/__init__.py", line 7, in ?ImportError: no module named jython
Thats still my problem

P.S I saw the problem, the majority of jython got removed, can I still move it over from older L2Servers?
from this

Code: Select all

from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
from com.l2jserver.gameserver.instancemanager import QuestManager
from com.l2jserver import L2DatabaseFactory
from com.l2jserver.gameserver.datatables import SkillTable
into this

Code: Select all

from com.l2jserver.gameserver.model.quest import Quest as JQuest
from com.l2jserver.gameserver.instancemanager import QuestManager
from com.l2jserver import L2DatabaseFactory
from com.l2jserver.gameserver.datatables import SkillData
Post Reply