Jump to content
  • 0

[HELP]NPC BUFFER almost solved ,LAST BUG


Question

Posted

This is the code i fixed my self ,all i had to do is to replace l2jserver with my database

 

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 = "212121_NpcBuffer"

 

NPC=[212121]

ADENA_ID=57

QuestId    = 212121

QuestName  = "NpcBuffer"

QuestDesc  = "custom"

InitialHtml = "1.htm"

 

print "importing custom: 212121: NpcBuffer"

 

class Quest (JQuest) :

 

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 

 

def onEvent(self,event,st):

htmltext = event

 

#Acumen

if event == "1":

SkillTable.getInstance().getInfo(1085,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Advanced Block

if event == "2":

SkillTable.getInstance().getInfo(1304,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Agility

if event == "3":

SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Arcane Protection

if event == "4":

SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Berserker Spirit

if event == "5":

SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Bless Shield

if event == "6":

SkillTable.getInstance().getInfo(1243,6).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Blessed Body

if event == "7":

SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Blessed Soul

if event == "8":

SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Clarity

if event == "9":

SkillTable.getInstance().getInfo(1397,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Chant of Protection

if event == "10":

SkillTable.getInstance().getInfo(1461,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

 

#Concentration

if event == "12":

SkillTable.getInstance().getInfo(1078,6).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Death whisper

if event == "13":

SkillTable.getInstance().getInfo(1242,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Divine Protection

if event == "14":

SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Elemental Protection

if event == "15":

SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Empower

if event == "16":

SkillTable.getInstance().getInfo(1059,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Focus

if event == "17":

SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Greater Might

if event == "18":

SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Greater Shield

if event == "19":

SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Guidance

if event == "20":

SkillTable.getInstance().getInfo(1240,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Haste

if event == "21":

SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Holy Resistance

if event == "22":

SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Holy Weapon

if event == "23":

SkillTable.getInstance().getInfo(1043,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Invigor

if event == "24":

SkillTable.getInstance().getInfo(1032,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Magic Barrier

if event == "25":

SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Magnus' Chant

if event == "26":

SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

 

#Mental Shield

if event == "28":

SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Might

if event == "29":

SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Prophecy of Fire

if event == "30":

SkillTable.getInstance().getInfo(1356,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Prophecy of Water

if event == "31":

SkillTable.getInstance().getInfo(1355,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Prophecy of Wind

if event == "32":

SkillTable.getInstance().getInfo(1357,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Regeneration

if event == "33":

SkillTable.getInstance().getInfo(1044,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Resist Aqua

if event == "34":

SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Resist Fire

if event == "35":

SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Resist Poison

if event == "36":

SkillTable.getInstance().getInfo(1033,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Resist Shock

if event == "37":

SkillTable.getInstance().getInfo(1259,4).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Resist Wind

if event == "38":

SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Shield

if event == "39":

SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Unholy Resistance

if event == "40":

SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Vampiric Rage

if event == "41":

SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Wild Magic

if event == "42":

SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

 

 

#Dance of Aqua Guard

if event == "44":

SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of Concentration

if event == "45":

SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of Earth Guard

if event == "46":

SkillTable.getInstance().getInfo(309,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of Fire

if event == "47":

SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of Fury

if event == "48":

SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of Inspiration

if event == "49":

SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of Light

if event == "50":

SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of Protection

if event == "51":

SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of the Mystic

if event == "52":

SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of the Vampire

if event == "53":

SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Dance of the Warrior

if event == "54":

SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Siren's Dance

if event == "55":

SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Champion

if event == "56":

SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Earth

if event == "57":

SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

 

#Song of Flame Guard

if event == "59":

SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Hunter

if event == "60":

SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Invocation

if event == "61":

SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Life

if event == "62":

SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Meditation

if event == "63":

SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Renewal

if event == "64":

SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Storm Guard

if event == "65":

SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Vengeance

if event == "66":

SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Vitality

if event == "67":

SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Warding

if event == "68":

SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Water

if event == "69":

SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Wind

if event == "70":

SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Heal

if event == "71":

st.takeItems

st.getPlayer().setCurrentCp(st.getPlayer().getMaxCp())

                                st.getPlayer().setCurrentHp(st.getPlayer().getMaxHp())

                                st.getPlayer().setCurrentMp(st.getPlayer().getMaxMp())

return "1.htm"

st.setState(COMPLETED)

 

#Cancel Buffs

if event == "72":

st.getPlayer().stopAllEffects()

 

return "1.htm"

st.setState(COMPLETED)

 

 

#Wind Walk

if event == "73":

SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Malaria

if event == "74":

SkillTable.getInstance().getInfo(4554,4).getEffects(st.getPlayer(),st.getPlayer())

 

return "6.htm"

st.setState(COMPLETED)

 

#Flu

if event == "75":

SkillTable.getInstance().getInfo(4553,4).getEffects(st.getPlayer(),st.getPlayer())

 

return "6.htm"

st.setState(COMPLETED)

 

#Rheumatismo

if event == "76":

SkillTable.getInstance().getInfo(4551,4).getEffects(st.getPlayer(),st.getPlayer())

 

return "6.htm"

st.setState(COMPLETED)

 

 

#Nobles

if event == "77":

SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

                #Blessing of Queen

if event == "78":

SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

                #Blessing of Seraphim

if event == "79":

SkillTable.getInstance().getInfo(4702,13).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

                #Gift of Seraphim

if event == "80":

SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

                #Gift of Queen

if event == "81":

SkillTable.getInstance().getInfo(4700,13).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Chant of Victory

if event == "82":

SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Chant of Magnus

if event == "83":

SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Prophecy of Fire

if event == "84":

SkillTable.getInstance().getInfo(1356,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Prophecy of Wind

if event == "85":

SkillTable.getInstance().getInfo(1357,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Prochecy of Water

if event == "86":

SkillTable.getInstance().getInfo(1355,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Greater Might

if event == "87":

SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Greater Shield

if event == "88":

SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

                #Chant of Spirit

if event == "89":

SkillTable.getInstance().getInfo(1362,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

#Decrease Weight

if event == "90":

SkillTable.getInstance().getInfo(1257,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

#Song of Elemental

if event == "91":

SkillTable.getInstance().getInfo(529,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Song of Renewal

if event == "92":

SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Mana Gain

if event == "93":

SkillTable.getInstance().getInfo(1460,4).getEffects(st.getPlayer(),st.getPlayer())

 

return "2.htm"

st.setState(COMPLETED)

 

#Chant of Revenge

if event == "94":

SkillTable.getInstance().getInfo(1284,3).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Combat

if event == "95":

SkillTable.getInstance().getInfo(1499,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

#magic

if event == "96":

SkillTable.getInstance().getInfo(1500,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

#Condition

if event == "97":

SkillTable.getInstance().getInfo(1501,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

#Critical Atack

if event == "98":

SkillTable.getInstance().getInfo(1502,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

#Shield Def

if event == "99":

SkillTable.getInstance().getInfo(1503,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

#Movement

if event == "100":

SkillTable.getInstance().getInfo(1504,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

#Blood Awakeing

if event == "101":

SkillTable.getInstance().getInfo(1519,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Alignment

if event == "102":

SkillTable.getInstance().getInfo(530,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "3.htm"

st.setState(COMPLETED)

 

#Victory of Pa

if event == "103":

SkillTable.getInstance().getInfo(1414,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Sharp Edge

if event == "104":

SkillTable.getInstance().getInfo(825,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

 

#

if event == "105":

SkillTable.getInstance().getInfo(826,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#

if event == "106":

SkillTable.getInstance().getInfo(827,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Case

if event == "107":

SkillTable.getInstance().getInfo(828,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#

if event == "108":

SkillTable.getInstance().getInfo(829,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Embroider

if event == "109":

SkillTable.getInstance().getInfo(830,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "4.htm"

st.setState(COMPLETED)

 

#Counter Crit

if event == "110":

SkillTable.getInstance().getInfo(1542,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

 

#Fist Pa

if event == "111":

SkillTable.getInstance().getInfo(1416,1).getEffects(st.getPlayer(),st.getPlayer())

 

return "5.htm"

st.setState(COMPLETED)

if htmltext != event:

st.setState(COMPLETED)

st.exitQuest(1)

return htmltext

 

 

def onTalk (self,npc,player):

  st = player.getQuestState(qn)

  htmltext = "<html><head><body><center>ERROR<br1>Please, contact the administrator.</center></body></html>"

  st.setState(State.STARTED)

  return InitialHtml

 

QUEST      = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)

 

for npcId in NPC:

QUEST.addStartNpc(npcId)

QUEST.addTalkId(npcId)

 

 

 

Last Bug Remains:

When i click on npc and then give buffs ,appears this here xD

30lo5ms.jpg

 

Since i fixed first bug ,now only this bug is left ,someone have time to answer me?

 

 

 

11 answers to this question

Recommended Posts

  • 0
Posted

1. l2acis is a project like L2DC & L2J?

2. If it is ,do you recommand to use it ? xD

 

<button value="View Buffs" action="bypass -h npc_%objectId%_Quest 212121_NpcBuffer" width=75 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">    (this is the error?) and if is its easily fixed ? :P

 

I tested right now, on L2J works but on L2DC doesn't work because of that object thing... ,everything is fine in rest ,i just need to fix action="bypass -h npc_%objectId%_Quest 212121_NpcBuffer  ,if someone can tell me >>>

  • 0
Posted

1. l2acis is a project like L2DC & L2J?

2. If it is ,do you recommand to use it ? xD

 

<button value="View Buffs" action="bypass -h npc_%objectId%_Quest 212121_NpcBuffer" width=75 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">    (this is the error?) and if is its easily fixed ? :P

 

I tested right now, on L2J works but on L2DC doesn't work because of that object thing... ,everything is fine in rest ,i just need to fix action="bypass -h npc_%objectId%_Quest 212121_NpcBuffer  ,if someone can tell me >>>

 

Well I'm not a fan of closed-source projects that fork from free open-source ones. l2acis is a fork of L2j. I've never used L2DC either so I can't say which is better.

 

I guess it depends on how L2DC handles quests. What you can do is look at the HTML of other NPC's that have a Quest link and see what it looks like there, that may provide answers.

  • 0
Posted

- aCis is a IL fork, so basically you won't be interested (com.l2jserver == postIL pack).

- your script is really lame for many reasons :

  • ugly coding style (very long for nothing you can do the same in 10 lines using efficiently bypasses, with event name == buff id)
  • not optimized (if if if if... means it verify each event until it reaches the good ones, and then continue to check events even if a good event is found)
  • python script is a bad idea since you use postIL you got no reason to use python anymore (added to that python errors are sometimes very hard to understand.

 

Anyway your error is more simple, you didn't build bypass correctly (on your HTMs). as dpbBryan said, look for existing exemples of what you want to do. I must add many things are different from L2DC.

 

Finally L2DC is a private fork, and you shouldn't receive any support for it. The only supported packs so far are L2J/L2JFree - until rules change in that forum. For others forks or private, you should use respective forums (and as you know, as L2DC got special rules, you are supposed to be alone - the choice to use leeched stuff bhubhu).

 

Finally finally, you can bump your topic only once per day.

 

Finally finally finally, that's the final.

  • 0
Posted

Cool ,i understand ,but since im a beginner in l2 staff ,its hard for me to do everything alone ,and l2j have too many bugs/exploits at begin comparing with dc ,i saw the difference ,its quite " "

 

dpbBryan ,you're right here ,that i was inteend too yesterday but i let it for today

 

  • 0
Posted

Cool ,i understand ,but since im a beginner in l2 staff ,its hard for me to do everything alone ,and l2j have too many bugs/exploits at begin comparing with dc ,i saw the difference ,its quite " "

dpbBryan ,you're right here ,that i was inteend too yesterday but i let it for today

 

Can you name some that you've seen? I have trouble believing that you can pick out problems and bugs in code when you can't even setup an NPC html file right.

  • 0
Posted

setup a npc html? there is nothing related to that ,the bug was huge ,il better do all the things on l2j then try to make it work for DC ,simple >>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Only 3 days left and we'll start with some events, you can check our Discord for more info!
    • Tired of frantically switching between windows trying to find that specific Warlock who should be casting saves? Forgot which server you left your Warsmith on? This mod solves these problems! What it does: Turns the boring window title into an information panel: Server Name - Character Name [Class] Real-life examples: - ServerName - HardcoreFarm [Spoilerr] (who's been spoiling for 3 months already) - ServerName - ClericHelper [Buffer] (eternal buffer on standby) - ServerName - MainChar [Gladiator] (main character who's always AFK) Why you need this: For multiboxers - to avoid confusing where the DD is and where the healer is For the forgetful - if your memory is like a goldfish For streamers - viewers immediately see who's on screen For adults - when playing at work and need to quickly hide the window DLL only - no Interface files needed Installation (more complicated than making tea): 1. Download the DLL 2. Drop it into the System folder 3. Launch the client 4. Be amazed how you lived without this before! Purchase Conditions: Price: 100$ Payment Method: USDT. How to Buy: Contact me on Telegram: @kiselevwv for a quick response. I will answer all your questions and provide additional information if needed. I guarantee functionality at the moment of sale and prompt assistance with setup after purchase.
    • I agree, l2damage crap to compare to l2java which was the father of pvp servers and till this days people playing there for good time.
    • 📝 Registration — Account Registration Creating a new player account. Usually includes: login password password confirmation email Result: a new record is created in the accounts table (loginserver). 🔑 Change Password — Password Change The player changes the password knowing the current one. Required: current password new password new password confirmation Result: the password field is updated in the accounts table. ♻️ Password Recovery — Password Reset If the player forgot the password. Implementation only via email: the player enters their login, email the system sends an email with a link or code the player opens the link / enters the code sets a new password Result: the password is updated in the accounts table.   All fields are validated (required, format, length, uniqueness, security checks).   Price: 80$   and i can rewrite script for PTS server.   Contacts:   Telegram Discord
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..