Jump to content

[Updated][Share] Subclass Master Multi Skills by Allen (Interlude-H5)


Allengc

Recommended Posts

  • 3 weeks later...

Dude u dont know how much time u saved for me. Can I limit the subclass stack to the race of char and/or sub?

 

example: Warlords can sub to any human class but NOT other races

dwarfs can sub any class

a human subs to spellhowler (retail npc) then, sub to any Dark Elf class in this one.

 

Thank you VM!

Link to comment
Share on other sites

This is a good share but I've a problem with  L2J Interlude version (GS:rev.4347 ; DP:rev.7596)

 

when i talk with the npc  i see a "Script Error" in the game and this error in the gameserver console :

 

Traceback (innermost last):
 File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
715, in onFirstTalk
 File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
97, in MainHtml
 File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
386, in getsubsammount
 File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
369, in getVar
TypeError: getConnection(): expected 0 args; got 1

       at org.python.core.Py.TypeError(Unknown Source)
       at org.python.core.PyReflectedFunction.throwError(Unknown Source)
       at org.python.core.PyReflectedFunction.throwArgCountError(Unknown Source
)
       at org.python.core.PyReflectedFunction.throwError(Unknown Source)
       at org.python.core.PyReflectedFunction.__call__(Unknown Source)
       at org.python.core.PyMethod.__call__(Unknown Source)
       at org.python.core.PyObject.__call__(Unknown Source)
       at org.python.core.PyInstance.invoke(Unknown Source)
       at data.jscript.custom.855_SubclassNpc$py.getVar$14(C:\L2j\gameserver\da
ta\jscript\custom\855_SubclassNpc\__init__.py:369)
       at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__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 data.jscript.custom.855_SubclassNpc$py.getsubsammount$15(C:\L2j\games
erver\data\jscript\custom\855_SubclassNpc\__init__.py:386)
       at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__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 data.jscript.custom.855_SubclassNpc$py.MainHtml$1(C:\L2j\gameserver\d
ata\jscript\custom\855_SubclassNpc\__init__.py:97)
       at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__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 data.jscript.custom.855_SubclassNpc$py.onFirstTalk$28(C:\L2j\gameserv
er\data\jscript\custom\855_SubclassNpc\__init__.py:715)
       at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__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.data.jscript.custom.855_SubclassNpc$Quest$311.onFi
rstTalk(Unknown Source)
       at net.sf.l2j.gameserver.model.quest.Quest.notifyFirstTalk(Quest.java:32
2)
       at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onAction(L2N
pcInstance.java:663)
       at net.sf.l2j.gameserver.clientpackets.Action.runImpl(Action.java:94)
       at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClie
ntPacket.java:79)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)

 

Any idea for the fix ? ???

 

P.S.

Instead your other npc ( AIO Grand Master) workly  ;)

--------------------------------------------------------------------------------------------------------------------------------

 

Oh yeah I fix it !!! Now workly !!!  :D

 

I removed "none" from the getConnection(none) method call ..... thanks to this post [Request] Top 50 PVP/PK  8)

Link to comment
Share on other sites

  • 3 weeks later...

Allen ty vm! It´s working as a charm. I need just a little fix. There´s a way to limit certain classes?

 

Example: I don't want to allow a Dark Avenger get Treasure hunter as a sub. How can I do this "IF"? Thanks!

Link to comment
Share on other sites

  • 2 weeks later...
Guest
This topic is now closed to further replies.



×
×
  • 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