So it appears that when someone activate the NPC the following message appears :
"I have nothing to say to you" and below there is button "Quest" which closes the interaction window.
1 - I have added NPC with ID "555" in my database with type "L2Npc".
2 - E:\L2 server interlude\DATA\gameserver\data\JScript\custom\__init__.py contains :
__all__ = [
'3995_echo',
'555_Buffer',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'8000_RaidbossInfo',
]
print ""
print "importing custom data ..."
for name in __all__ :
try :
__import__('data.jscript.custom.'+name,globals(), locals(), ['__init__'], -1)
except:
print "failed to import quest : ",name
print "... done"
print ""
3 - I have edited the __init__.py of the buffer as follows (posting only the first several rows) so it can "work" with l2JFrozen pack :
import sys
from java.lang import System;
from java.util import Iterator;
import com.l2jfrozen.Config;
from com.l2jfrozen.gameserver.model.quest import State;
from com.l2jfrozen.gameserver.model.quest import QuestState;
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest;
from com.l2jfrozen.util.database import L2DatabaseFactory;
from com.l2jfrozen.gameserver.datatables import SkillTable;
import com.l2jfrozen.gameserver.datatables.sql.ItemTable;
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance;
from com.l2jfrozen.gameserver.model.actor.instance import L2PetInstance;
from com.l2jfrozen.gameserver.model.actor.instance import L2SummonInstance;
from com.l2jfrozen.gameserver.network.serverpackets import SetSummonRemainTime;
from com.l2jfrozen.gameserver.network.serverpackets import SetupGauge;
4 - I have imported all the SQL files in Navicat and I have manually checked them one by one if there is any errors there. No errors at all.
5 - I have even placed folder with name "NPCBuffer" in my quest directory (Just because i can't find any reason why it's not working) which is : E:\L2 server interlude\DATA\gameserver\data\JScript\quests
I have other NPCs added to the server and they are working pretty fine (HTML based and not script based).
Any help would be appreciated.
P.S.
I've posted this comment on another topic which I'm unsure if it's dead or it's not the correct place that's why I'm posting it here as well .
P.S. 2
from com.l2jfrozen.gameserver.datatables import SkillTable - I have no such table in my Navicat database. Please advise if I need it there.
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
FlipCoin
Hi.
I have download a scheme buffer (http://www.maxcheaters.com/topic/158724-scheme-buffer-interlude/) and have "added" it to my private server (l2jfrozen platform - Interlude) that i play with my friends.
So it appears that when someone activate the NPC the following message appears :
"I have nothing to say to you" and below there is button "Quest" which closes the interaction window.
1 - I have added NPC with ID "555" in my database with type "L2Npc".
2 - E:\L2 server interlude\DATA\gameserver\data\JScript\custom\__init__.py contains :
__all__ = [
'3995_echo',
'555_Buffer',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'8000_RaidbossInfo',
]
print ""
print "importing custom data ..."
for name in __all__ :
try :
__import__('data.jscript.custom.'+name,globals(), locals(), ['__init__'], -1)
except:
print "failed to import quest : ",name
print "... done"
print ""
3 - I have edited the __init__.py of the buffer as follows (posting only the first several rows) so it can "work" with l2JFrozen pack :
import sys
from java.lang import System;
from java.util import Iterator;
import com.l2jfrozen.Config;
from com.l2jfrozen.gameserver.model.quest import State;
from com.l2jfrozen.gameserver.model.quest import QuestState;
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest;
from com.l2jfrozen.util.database import L2DatabaseFactory;
from com.l2jfrozen.gameserver.datatables import SkillTable;
import com.l2jfrozen.gameserver.datatables.sql.ItemTable;
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance;
from com.l2jfrozen.gameserver.model.actor.instance import L2PetInstance;
from com.l2jfrozen.gameserver.model.actor.instance import L2SummonInstance;
from com.l2jfrozen.gameserver.network.serverpackets import SetSummonRemainTime;
from com.l2jfrozen.gameserver.network.serverpackets import SetupGauge;
QUEST_ID = 555
QUEST_NAME = "NPCBuffer"
QUEST_DESCRIPTION = "custom"
QUEST_LOADING_INFO = str(QUEST_ID)+"_"+QUEST_NAME
NPC_ID = 555
TITLE_NAME = "Macro Npc Buffer"
SCRIPT_RELOAD = True
ENABLE_VIP_BUFFER = False
VIP_ACCESS_LEVEL = 1
ENABLE_BUFF_SECTION = True
ENABLE_SCHEME_SYSTEM = True
ENABLE_HEAL = True
ENABLE_BUFFS = True
ENABLE_RESIST = True
ENABLE_SONGS = True
ENABLE_DANCES = True
ENABLE_CHANTS = True
ENABLE_OTHERS = False
ENABLE_SPECIAL = True
ENABLE_CUBIC = True
ENABLE_BUFF_REMOVE = True
ENABLE_BUFF_SET = True
BUFF_WITH_KARMA = False
FREE_BUFFS = False
TIME_OUT = False
TIME_OUT_TIME = 1
MIN_LEVEL = 20
BUFF_REMOVE_PRICE = 100000
HEAL_PRICE = 1000000
BUFF_PRICE = 100000
RESIST_PRICE = 100000
SONG_PRICE = 100000
DANCE_PRICE = 100000
CHANT_PRICE = 100000
OTHERS_PRICE = 1000000
SPECIAL_PRICE = 1000000
CUBIC_PRICE = 1000000
BUFF_SET_PRICE = 10000000
SCHEME_BUFF_PRICE = 10000000
SCHEMES_PER_PLAYER = 4
CONSUMABLE_ID = 57
MAX_SCHEME_BUFFS = 16
MAX_SCHEME_DANCES = 8
4 - I have imported all the SQL files in Navicat and I have manually checked them one by one if there is any errors there. No errors at all.
5 - I have even placed folder with name "NPCBuffer" in my quest directory (Just because i can't find any reason why it's not working) which is : E:\L2 server interlude\DATA\gameserver\data\JScript\quests
I have other NPCs added to the server and they are working pretty fine (HTML based and not script based).
Any help would be appreciated.
P.S.
I've posted this comment on another topic which I'm unsure if it's dead or it's not the correct place that's why I'm posting it here as well .
P.S. 2
from com.l2jfrozen.gameserver.datatables import SkillTable - I have no such table in my Navicat database. Please advise if I need it there.
2 answers to this question
Recommended Posts