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.
yeah ok, if you say what is fuctional 100% i can't say something different 😛
but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
I've been using this for 2 years now with no issues from Discord. I don't use ogg.dll either. This one works with any l2.exe too; I don’t see any difference between them.
hmm.. ok i just see that, is different code first of all. My sources is totally different based in other way, with else libraries.
I have access to modify everything even to make the clock to stop show how many time users play in server.
1) so maybe keep some personal info more hide.
2) i dont use ogg.dll
3) i create it and give it ready + support to install it.
Plus what is mine can working with what ever .exe you want not just l2 with same simple method.
And i am sure if you try this source to compile it, after 3 hours discord will like shadowban your API too
thats my source
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