Jump to content
  • 0

L2j Equal top pvp/pk NPC.


Question

Posted

The name of the topic saying everything.. I can't find anything what will work on Equal pack.

If someone have NPC which showing top pvp/pk please reply. :)

14 answers to this question

Recommended Posts

  • 0
Posted

FighterBoss,

 

already done it. But it saying me "you are either..etc.." thats why i'm asking for help.

 

 

import sys

from java.util                                  import Iterator

from lt.equal.gameserver.util                  import Rnd

from lt.equal.gameserver.model.quest          import State

from lt.equal.gameserver.model.quest          import QuestState

from lt.equal.gameserver.model.quest.jython    import QuestJython as JQuest

from lt.equal.gameserver.network.serverpackets import CreatureSay

from lt.equal                                  import L2DatabaseFactory

 

 

I added it to "\data\scripts" for sure tryed to add to "data\scripts\custom" it giving me error at console, failed to load.. tryed add to "data\scripts\quests" too.

  • 0
Posted

put it at data/scripts/custom !

at this folder "custom" you will find a init.py file.

open it with notepad and you will see something like this in the...mid

'3995_echo',
'4000_ShadowWeapons',
'5000_MissQueen',
'7000_HeroItems',
'8000_RaidbossInfo',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport'

ok you must make it like that

'3995_echo',
'4000_ShadowWeapons',
'5000_MissQueen',
'7000_HeroItems',
'8000_RaidbossInfo',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'80300_rank'

You understand what i made here?I import the folder of npc rank at this init.py .

Do it yourself and tell me results.

  • 0
Posted

it gives error at GS console "failed to import quest: 80300_rank"

Tryed to log in and try npc its saying "you are either...etc"

 

 

P.S. at npc html ->

<button value="Lista PK/PVP" action="bypass -h npc_%objectId%_Quest 80300_rank" width=134 height=21 back="jaksonrank.bt" fore="jaksonrank.bt">

is it good? (i not copied all the html text)
  • 0
Posted

Something you are doing wrong i am sure...( i had the same prob months ago...)

Btw inside at folder 80300_rank there is a file _init_$py.class

You must change import from there too...


it gives error at GS console "failed to import quest: 80300_rank"

Tryed to log in and try npc its saying "you are either...etc"

Be sure that you have it right,with no "," at the end ..

Make a reload,rr server and tell me results...

  • 0
Posted

Something you are doing wrong i am sure...( i had the same prob months ago...)

Btw inside at folder 80300_rank there is a file _init_$py.class

You must change import from there too...


Be sure that you have it right,with no "," at the end ..

Make a reload,rr server and tell me results...

 

at "_init_$py.class " its changing auto when u loading GS..

 

Some people saying that it doesnt work on Equal but on others Pack working good.

  • 0
Posted

data\scripts\custom -> __init__.py ->

__all__ = [

'3995_echo',

'4000_ShadowWeapons',

'7000_HeroItems',

'8000_RaidbossInfo',

'6050_KetraOrcSupport',

'6051_VarkaSilenosSupport',

'9999_NPCBuffer',

'999999_NPCEnchant',

'80300_rank'

]

print ""

print "importing custom data ..."

for name in __all__ :

    try :

        __import__('data.scripts.custom.'+name,globals(), locals(), ['__init__'], -1)

    except:

        print "failed to import quest : ",name

print "... done"

print ""

 

data\scripts\custom\80300_rank -> __init__.py (imports) ->

import sys

from java.util                                  import Iterator

from lt.equal.gameserver.util                  import Rnd

from lt.equal.gameserver.model.quest          import State

from lt.equal.gameserver.model.quest          import QuestState

from lt.equal.gameserver.model.quest.jython    import QuestJython as JQuest

from lt.equal.gameserver.network.serverpackets import CreatureSay

from lt.equal                                  import L2DatabaseFactory

 

Dont get, whats wrong..

  • 0
Posted

Wrong in imports :D

 

'80300_rank',

use that :D

 

I'm using it. rofl. Read it.. btw FighterBoss checked everything by Teamviewer, everything is okey there..

  • 0
Posted

Found problem! Fixed!

 

Problem is at:

 

data\scripts\custom\80300_rank -> __init__.py (imports) ->

Quote

import sys

from java.util                                  import Iterator

from lt.equal.gameserver.util                  import Rnd*

from lt.equal.gameserver.model.quest          import State

from lt.equal.gameserver.model.quest          import QuestState

from lt.equal.gameserver.model.quest.jython    import QuestJython as JQuest

from lt.equal.gameserver.network.serverpackets import CreatureSay

from lt.equal                                  import L2DatabaseFactory

 

* -> from lt.equal.util                  import Rnd

Guest
This topic is now closed to further replies.


×
×
  • Create New...