A Project for Chronicle 4 based on L2JServer.


    Quest : 384_WarehouseKeepersPastime [FIXED]

    Share
    avatar
    Karakan

    Posts : 421
    Join date : 2013-10-04

    Quest : 384_WarehouseKeepersPastime [FIXED]

    Post  Karakan on 17th August 2017, 12:55

    Code:

    /Lisvus_GameServer_C4/gameserver/data/scripts/quests/384_WarehouseKeepersPastime/__init__.py
    Traceback (innermost last):
      File "__init__.py", line 162, in onAdvEvent
      File "__init__.py", line 91, in generateBoard
    TypeError: expected an integer

     at org.python.core.Py.TypeError(Unknown Source)
     at org.python.core.PyList$1exposed_pop.__call__(Unknown Source)
     at org.python.core.PyObject.invoke(Unknown Source)
     at org.python.pycode.serializable._pyx1502683291033.generateBoard$3(__init__.py:91)
     at org.python.pycode.serializable._pyx1502683291033.call_function(__init__.py)
     at org.python.core.PyTableCode.call(Unknown Source)
     at org.python.core.PyTableCode.call(Unknown Source)
     at org.python.core.PyFunction.__call__(Unknown Source)
     at org.python.core.PyInstance.invoke(Unknown Source)
     at org.python.pycode.serializable._pyx1502683291033.onAdvEvent$7(__init__.py:162)
     at org.python.pycode.serializable._pyx1502683291033.call_function(__init__.py)
     at org.python.core.PyTableCode.call(Unknown Source)
     at org.python.core.PyTableCode.call(Unknown Source)
     at org.python.core.PyTableCode.call(Unknown Source)
     at org.python.core.PyFunction.__call__(Unknown Source)
     at org.python.core.PyMethod.__call__(Unknown Source)
     at org.python.core.PyObject.__call__(Unknown Source)
     at org.python.core.PyObject._jcallexc(Unknown Source)
     at org.python.core.PyObject._jcall(Unknown Source)
     at org.python.proxies.main$Quest$281.onAdvEvent(Unknown Source)
     at net.sf.l2j.gameserver.model.quest.Quest.notifyEvent(Quest.java:408)
     at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.processQuestEvent(L2PcInstance.java:1598)
     at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:197)
     at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:97)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)


    Last edited by Karakan on 25th August 2017, 14:23; edited 1 time in total
    avatar
    DnR
    Admin
    Admin

    Posts : 1023
    Join date : 2012-12-03

    Re: Quest : 384_WarehouseKeepersPastime [FIXED]

    Post  DnR on 21st August 2017, 20:45

    The problem was that method overloading confused python.
    We had 2 identical get() methods in Rnd class. One for long and one for integer.
    I removed the second method since it's useless for now, and added an integer cast in quest script
    to be sure the same thing won't happen again if, for example, an admin re-adds this method.
    Thanks a lot for reporting.

      Current date/time is 22nd September 2017, 14:36