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"
help anyone
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Gries
- Posts: 307
- Joined: Fri Jun 17, 2011 9:45 am
Re: help anyone
Have you enabled custom npc load in the configs?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: help anyone
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.
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Gries
- Posts: 307
- Joined: Fri Jun 17, 2011 9:45 am
Re: help anyone
Also i think you should replace it
with
Code: Select all
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
Code: Select all
from com.l2jserver.gameserver.model.quest import Quest as JQuest