Page 1 of 1

help anyone

Posted: Sat Feb 15, 2014 4:17 pm
by loss25
Hi guys, i have downloaded buffer for my l2j server and can add in my server....who can help?
game\data\html\mods added hmts, game\data\scripts\custom\99999_NPCBuffer added __init__.py
in my database table custom_npc added 99999', '32226', 'Ultra Buffer', '1', '[YourServerName]', 'LineageNPC2.K_F1_grand', '11', '22.5', '80', 'male', 'L2NpcBuffer', '40', '540452.000000000000000', '5243.000000000000000', null, null, '40', '43', '30', '21', '20', '20', '0', '0', '453.00000', '638.00000', '838.00000', '8383.00000', '230', '1', '0', '333', '0', '0', '0', '60.00000', '120.00000', '0', '0'); and loaded npc_buffer.sql successfully
//spawn 99999 in game nothing.....there is the ptoblem?...

import sys
from com.l2jserver.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from com.l2jserver.gameserver.datatables import SkillTable
from com.l2jserver import L2DatabaseFactory
from com.l2jserver.gameserver.model.quest import State
from com.l2jserver.gameserver.model.quest import QuestState
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

qn = "99999_NPCBuffer"
NPCS=[9999,99999]
ADENA_ID=57
QuestId = 99999
QuestName = "NPCBuffer"
QuestDesc = "custom"

Re: help anyone

Posted: Sat Feb 15, 2014 6:05 pm
by Gries
Have you enabled custom npc load in the configs?

Re: help anyone

Posted: Sat Feb 15, 2014 6:10 pm
by jurchiks
NPC SQL tables were removed in Changeset 6386/DP Changeset 10172.
If you're using the latest beta, you have to copy your NPC stats to the correct files now.
Also, that python script is terribly outdated.

Re: help anyone

Posted: Sat Feb 15, 2014 6:11 pm
by Gries
Also i think you should replace it

Code: Select all

from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
with

Code: Select all

from com.l2jserver.gameserver.model.quest import Quest as JQuest