Jump to content
  • 0

About buffers [Java core buffer] and normal


Question

14 answers to this question

Recommended Posts

  • 0
Posted

Bsk eisai sto gr section, 2on oi buffers pou katebases einai gia to chronicle s? 3on sigourepsou pws to ID tou skill pou xei o buffer exei to idio ID kai sto game

  • 0
Posted

vevea ine gia to chronicle mou ke ta id ine sosta apla kati ginete sto navicat me ta buffs gt oti buffer ke na valw mou vgazi to idio message to npc , ke giafto prospathisa na valw ke to core buffer me eclipse to evala alla m evgale afto to message sto startgameserver.bat HELP PLS!

  • 0
Posted

Λοιπόν φίλε μου

πήγαινε εκεί που έβαλες τον φακελο του buffer C:/Server/GameServer/Data/Jscript/Custom

Άνοιξε το αρχείο _init_.py

και σιγουρέψου ότι είναι έτσι μέσα

__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'7000_HeroItems',
'8000_RaidbossInfo',
'9999_NPCBuffer'
]
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 ""

 

Μετά πήγαινε μέσα στον φάκελο του buffer και άνοιξε το _init_.py και σιγουρέψου ότι

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

L2j
import sys
from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from net.sf.l2jrver.datatables import SkillTable
from net.sf.l2j			       import L2DatabaseFactory
from net.sf.l2j.gameserver.model.quest import State
from net.sf.l2j.gameserver.model.quest import QuestState
from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

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

  • 0
Posted

First init is  Like yours but second have more  look

j60awk.png

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

qn = "9999_NPCBuffer"

NPC=[67222]
ADENA_ID=57
QuestId     = 9999
QuestName   = "NPCBuffer"
QuestDesc   = "custom"
InitialHtml = "1.htm"

print "importing custom: 9999: NPCBuffer"

class Quest (JQuest) :

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


def onEvent(self,event,st):
	htmltext = event
	count=st.getQuestItemsCount(ADENA_ID)
	if count < 1000  or st.getPlayer().getLevel() < 0 :
		htmltext = "<html><head><body>You dont have enought Adena.</body></html>"
	else:
		st.takeItems(ADENA_ID,0)
		st.getPlayer().setTarget(st.getPlayer())

		#nob
		if event == "70":
			st.takeItems
			SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "1.htm"
			st.setState(State.COMPLETED)


		#MP-HP
		if event == "6":
			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)

		#Wind Walk
		if event == "7":
			st.takeItems
			SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Shield
		if event == "9":
			st.takeItems
			SkillTable.getInstance().getInfo(1040,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Might
		if event == "10":
			st.takeItems
			SkillTable.getInstance().getInfo(1068,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

                        #Mental Shield
		if event == "11":
			st.takeItems
			SkillTable.getInstance().getInfo(1035,4).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Blessed Body
		if event == "12":
			st.takeItems
			SkillTable.getInstance().getInfo(1045,6).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Blessed Soul
	        if event == "13":
			st.takeItems
			SkillTable.getInstance().getInfo(1048,6).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)		
			st.setState(COMPLETED)

		#Magic Barrier
		if event == "14":
			st.takeItems
			SkillTable.getInstance().getInfo(1036,2).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Resist Shock
		if event == "15":
			st.takeItems
			SkillTable.getInstance().getInfo(1259,4).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		#Concentration
		if event == "16":
			st.takeItems
			SkillTable.getInstance().getInfo(1078,6).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Berserker Spirit
		if event == "17":
			st.takeItems
			SkillTable.getInstance().getInfo(1062,2).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Bless Shield
		if event == "18":
			st.takeItems
			SkillTable.getInstance().getInfo(1243,6).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Vampiric Rage
		if event == "19":
			st.takeItems
			SkillTable.getInstance().getInfo(1268,4).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Acumen
		if event == "20":
			st.takeItems
			SkillTable.getInstance().getInfo(1085,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Empower
		if event == "21":
			st.takeItems
			SkillTable.getInstance().getInfo(1059,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Haste
		if event == "22":
			st.takeItems
			SkillTable.getInstance().getInfo(1086,2).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Guidance
		if event == "23":
			st.takeItems
			SkillTable.getInstance().getInfo(1240,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Focus
		if event == "24":
			st.takeItems
			SkillTable.getInstance().getInfo(1077,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Death Whisper
		if event == "25":
			st.takeItems
			SkillTable.getInstance().getInfo(1242,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Dance of Aqua Guard
		if event == "26":
			st.takeItems
			SkillTable.getInstance().getInfo(271,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)


		#Dance of Concentration
		if event == "27":
			st.takeItems
			SkillTable.getInstance().getInfo(272,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of Earth Guard
		if event == "28":
			st.takeItems
			SkillTable.getInstance().getInfo(273,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of Fire
		if event == "29":
			st.takeItems
			SkillTable.getInstance().getInfo(274,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of Fury
		if event == "30":
			st.takeItems
			SkillTable.getInstance().getInfo(275,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of Inspiration
		if event == "31":
			st.takeItems
			SkillTable.getInstance().getInfo(276,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of Light
		if event == "32":
			st.takeItems
			SkillTable.getInstance().getInfo(277,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of the Mystic
		if event == "33":
			st.takeItems
			SkillTable.getInstance().getInfo(307,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of Protection
		if event == "34":
			st.takeItems
			SkillTable.getInstance().getInfo(309,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Siren's Dance
		if event == "35":
			st.takeItems
			SkillTable.getInstance().getInfo(310,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of the Vampire
		if event == "36":
			st.takeItems
			SkillTable.getInstance().getInfo(311,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Dance of the Warrior
		if event == "37":
			st.takeItems
			SkillTable.getInstance().getInfo(366,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Song of Champion
		if event == "38":
			st.takeItems
			SkillTable.getInstance().getInfo(365,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "2.htm"
			st.setState(State.COMPLETED)

		#Song of Earth
		if event == "39":
			st.takeItems
			SkillTable.getInstance().getInfo(264,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Flame Guard
		if event == "40":
			st.takeItems
			SkillTable.getInstance().getInfo(265,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Hunter
		if event == "41":
			st.takeItems
			SkillTable.getInstance().getInfo(266,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Invocation
		if event == "42":
			st.takeItems
			SkillTable.getInstance().getInfo(267,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Life
		if event == "43":
			st.takeItems
			SkillTable.getInstance().getInfo(268,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Meditation
		if event == "44":
			st.takeItems
			SkillTable.getInstance().getInfo(269,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Renewal
		if event == "45":
			st.takeItems
			SkillTable.getInstance().getInfo(270,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Storm Guard
		if event == "46":
			st.takeItems
			SkillTable.getInstance().getInfo(304,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Vengeance
		if event == "47":
			st.takeItems
			SkillTable.getInstance().getInfo(305,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Vitality
		if event == "48":
			st.takeItems
			SkillTable.getInstance().getInfo(306,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Song of Warding
		if event == "49":
			st.takeItems
			SkillTable.getInstance().getInfo(308,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)
		#Song of Water
		if event == "50":
			st.takeItems
			SkillTable.getInstance().getInfo(363,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)
		#Song of Wind
		if event == "51":
			st.takeItems
			SkillTable.getInstance().getInfo(364,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)


		#Greater Might
		if event == "52":
			st.takeItems
			SkillTable.getInstance().getInfo(349,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "3.htm"
			st.setState(State.COMPLETED)

		#Greater Shield
		if event == "53":
			st.takeItems
			SkillTable.getInstance().getInfo(1007,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Chant of Victory
		if event == "54":
			st.takeItems
			SkillTable.getInstance().getInfo(1009,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Fire
		if event == "55":
			st.takeItems
			SkillTable.getInstance().getInfo(1006,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Water
		if event == "56":
			st.takeItems
			SkillTable.getInstance().getInfo(1002,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "57":
			st.takeItems
			SkillTable.getInstance().getInfo(1229,18).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "58":
			st.takeItems
			SkillTable.getInstance().getInfo(1251,2).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)


        		#Chant of Magnus
		if event == "59":
			st.takeItems
			SkillTable.getInstance().getInfo(1252,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)


       			#Wild Magic
		if event == "60":
			st.takeItems
			SkillTable.getInstance().getInfo(1253,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Blesing Of Queen
		if event == "61":
			st.takeItems
			SkillTable.getInstance().getInfo(1284,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Gift Of Queen
		if event == "62":
			st.takeItems
			SkillTable.getInstance().getInfo(1310,4).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Blessing Of Seraphim
		if event == "98":
			st.takeItems
			SkillTable.getInstance().getInfo(1309,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Song of Storm Guard
		if event == "65":
			st.takeItems
			SkillTable.getInstance().getInfo(1362,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Song of Vengeance
		if event == "66":
			st.takeItems
			SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Song of Vitality
		if event == "67":
			st.takeItems
			SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Song of Warding
		if event == "68":
			st.takeItems
			SkillTable.getInstance().getInfo(1323,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "1.htm"
			st.setState(State.COMPLETED)
		#Song of Water
		if event == "71":
			st.takeItems
			SkillTable.getInstance().getInfo(1388,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "8.htm"
			st.setState(State.COMPLETED)
		#Song of Wind
		if event == "72":
			st.takeItems
			SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "8.htm"
			st.setState(State.COMPLETED)


		#Greater Might
		if event == "73":
			st.takeItems
			SkillTable.getInstance().getInfo(1303,2).getEffects(st.getPlayer(),st.getPlayer())				
			return "8.htm"
			st.setState(State.COMPLETED)

		#Greater Shield
		if event == "74":
			st.takeItems
			SkillTable.getInstance().getInfo(1352,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		#Chant of Victory
		if event == "75":
			st.takeItems
			SkillTable.getInstance().getInfo(1356,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "8.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Fire
		if event == "76":
			st.takeItems
			SkillTable.getInstance().getInfo(1357,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "8.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Water
		if event == "77":
			st.takeItems
			SkillTable.getInstance().getInfo(1355,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "8.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "78":
			st.takeItems
			SkillTable.getInstance().getInfo(1191,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "79":
			st.takeItems
			SkillTable.getInstance().getInfo(1033,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		if event == "80":
			st.takeItems
			SkillTable.getInstance().getInfo(1182,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		#Song of Vengeance
		if event == "81":
			st.takeItems
			SkillTable.getInstance().getInfo(1189,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		#Song of Vitality
		if event == "82":
			st.takeItems
			SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		#Song of Warding
		if event == "83":
			st.takeItems
			SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)
		#Song of Water
		if event == "84":
			st.takeItems
			SkillTable.getInstance().getInfo(1354,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)
		#Song of Wind
		if event == "85":
			st.takeItems
			SkillTable.getInstance().getInfo(1353,1).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)


		#Greater Might
		if event == "86":
			st.takeItems
			SkillTable.getInstance().getInfo(1032,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "10.htm"
			st.setState(State.COMPLETED)

		#Greater Shield
		if event == "87":
			st.takeItems
			SkillTable.getInstance().getInfo(1390,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Chant of Victory
		if event == "88":
			st.takeItems
			SkillTable.getInstance().getInfo(1391,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Fire
		if event == "89":
			st.takeItems
			SkillTable.getInstance().getInfo(4699,13).getEffects(st.getPlayer(),st.getPlayer())				
			return "9.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Water
		if event == "90":
			st.takeItems
			SkillTable.getInstance().getInfo(4700,13).getEffects(st.getPlayer(),st.getPlayer())				
			return "9.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "91":
			st.takeItems
			SkillTable.getInstance().getInfo(4702,13).getEffects(st.getPlayer(),st.getPlayer())				
			return "9.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "92":
			st.takeItems
			SkillTable.getInstance().getInfo(4703,13).getEffects(st.getPlayer(),st.getPlayer())				
			return "9.htm"
			st.setState(State.COMPLETED)


                                  #Prophecy of Fire
		if event == "93":
			st.takeItems
			SkillTable.getInstance().getInfo(1304,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Water
		if event == "94":
			st.takeItems
			SkillTable.getInstance().getInfo(1397,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "95":
			st.takeItems
			SkillTable.getInstance().getInfo(1044,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "96":
			st.takeItems
			SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "5.htm"
			st.setState(State.COMPLETED)

		#Prophecy of Wind
		if event == "64":
			st.takeItems
			SkillTable.getInstance().getInfo(1308,3).getEffects(st.getPlayer(),st.getPlayer())				
			return "7.htm"
			st.setState(State.COMPLETED)


		#Cancellation
		if event == "99":
			st.takeItems
			SkillTable.getInstance().getInfo(1087,3).getEffects(st.getPlayer(),st.getPlayer())
			st.getPlayer().stopAllEffects()
			return "1.htm"
			st.setState(State.COMPLETED)

		#CPHEAL
		if event == "69":
			st.takeItems(ADENA_ID,1000)
			st.getPlayer().restoreCP()
			return "1.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>I have nothing to say to you</body></html>"
   st.setState(STARTED)
   return InitialHtml

QUEST       = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)
CREATED=State('Start',QUEST)
STARTED=State('Started',QUEST)
COMPLETED=State('Completed',QUEST)

QUEST.setInitialState(CREATED)

for npcId in NPC:
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)

__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'7000_HeroItems',
'8000_RaidbossInfo',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'9999_NPCBuffer',

]
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 ""

  • 0
Guest Elfocrash
Posted

Logiko einai na mhn paizei.anoi3e to _init_.py ths buffer, kai vale

 

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

 

anti gia

 

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

 

kai tha eisai ok.pes mou an doulepse

  • 0
Posted

Works, sefxaristo poli , exw alo ena problima me to na kanw online ton server mou Tsekare to topic m ta exw ola para poli analitika (se parakalw)kapio mikro problima prepei na iparxi pou den to exw proseksi safto to section ine to topic m : http://maxcheaters.com/forum/index.php?topic=218261.0

  • 0
Guest Elfocrash
Posted

Solved.Lock this kapoios

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

    • Update: Advanced Rate Limiting Rate limiting is now applied to: Login attempts Account registration Password recovery Email confirmation resends WhatsApp verification Checkout access The system maintains independent counters by IP address and user identity, helping prevent traditional brute-force attacks as well as distributed credential-stuffing attempts using multiple proxies. Brute-Force and Credential-Stuffing Protection Protection is not limited to the visitor's IP address. The system also tracks attempts associated with the account, username, or email address, reducing the effectiveness of attacks performed through rotating IP addresses, proxies, or VPN services. Global HTTP Security Headers Security headers are applied across the entire website: X-Frame-Options X-Content-Type-Options Referrer-Policy HTTP Strict Transport Security These headers help protect the website against clickjacking, MIME-type confusion, insecure referrer exposure, and HTTP downgrade attempts. Secure Error Handling Internal exceptions are recorded in protected security logs while visitors receive sanitized error messages. This prevents the accidental exposure of: Internal file paths Database information SQL errors Server configuration Application stack traces Private Storage Exposure Monitoring The system automatically checks whether the private storage directory is publicly accessible in production. If exposure is detected, a security warning is recorded for the administrator without interrupting the website. This directory may contain licensing information, rate-limit records, and security logs and must never be publicly accessible. OAuth Request Protection Google and Facebook authentication flows use cryptographically random state values stored in the user's session. Returned state values are validated using constant-time comparison, helping prevent OAuth request forgery and unauthorized account-linking attacks. Telegram Authentication Validation Telegram login information is protected through: HMAC signature validation Constant-time hash comparison Authentication timestamp verification Expired-login rejection Secure Verification Tokens Email, password recovery, and WhatsApp verification systems include: Cryptographically secure random tokens Hashed WhatsApp verification codes Automatic expiration Limited verification attempts Resend cooldowns One-time token invalidation Account Activation Protection When email or WhatsApp verification is required, the game account remains restricted until all required verification steps are completed. Unverified users cannot bypass the confirmation process through standard or social login. Secure Upload Processing Administrative image uploads include: Real MIME-type inspection Image-content validation File-size limits Extension allowlists Server-generated random filenames Rejection of invalid or disguised files Original user-provided filenames are never used as the final stored filename. Path Traversal Protection Theme and template identifiers are restricted to validated slugs and must exist in the internal list of allowed themes. This prevents directory traversal and unauthorized local-file access through manipulated template names. Atomic Ticket Transfer Protection Ticket transfers use transactional and durable delivery processing. The balance is conditionally debited, the delivery is recorded before communication with the game database, and failed deliveries remain pending for safe reprocessing. This helps prevent: Free-item delivery Inconsistent balances Duplicate delivery Partial transaction failures Lost transfer records Concurrent Balance Protection Administrative balance adjustments use database transactions and row-level locking. This prevents simultaneous balance operations from overwriting each other or creating inconsistent account balances. Secure Redirect Handling Redirect values are sanitized against header injection, and external redirects are restricted to HTTPS destinations. Password Security Improvements The website uses modern password hashing for player-panel accounts and bcrypt with a configurable cost for supported game-server account systems. Compatibility is included for game-server implementations requiring the $2a$ bcrypt prefix. Duplicate Payment Prevention Built-in protections include: Idempotency control Transaction reference validation Payment status verification Unique external payment references Database transactions and rollback Durable payment history Completed-order verification These protections prevent: Double credits Repeated processing Duplicate payment callbacks Incomplete financial operations Signed Payment Callback Protection Payment callbacks are protected through: HMAC-SHA256 authentication Constant-time signature comparison Signed callback timestamps Callback freshness validation Shared callback secrets This helps prevent forged payment notifications, callback manipulation, and replay attacks. SQL Injection Protection The database layer uses: PDO Prepared statements Parameter binding Controlled internal allowlists for dynamic identifiers User-controlled values are not directly concatenated into SQL queries. XSS Protection Output and form data are protected through: HTML escaping Attribute escaping Input filtering HttpOnly session cookies MIME-sniffing protection Frame embedding restrictions These measures reduce the risk of Cross-Site Scripting, malicious HTML injection, session theft, and clickjacking. CSRF Protection Sensitive forms and administrative operations use session-based CSRF tokens. Requests without a valid token are rejected, helping prevent unauthorized actions performed through malicious external websites. Secure Session Protection The session system includes: HttpOnly cookies Secure cookie support SameSite restrictions Session ID regeneration Authentication state validation Session timeout controls These protections reduce the risks of session fixation, session theft, and unauthorized account reuse. reCAPTCHA Protection Google reCAPTCHA may be enabled on sensitive public forms to reduce: Automated account registrations Spam submissions Bot login attempts Automated password recovery abuse Confirmation Resend Limits Email and WhatsApp confirmation resends are protected through: Cooldown periods Rate limiting Expiring verification codes Attempt counters This prevents verification-message flooding and excessive external API usage. Licensing and Anti-Cloning Protection The website includes centralized licensing controls with: License-key validation Domain binding Signed license responses Cached license validation Temporary offline grace period Circuit-breaker protection Unauthorized-domain rejection These measures help prevent unauthorized installation, cloning, and redistribution of the system.
    • Tool that allows you to download the Lineage 2 game client directly from the official publisher CDNs. It fetches the CDN's file list and downloads every patch file, decompresses it (LZMA / Zip) and writes the finished client to disk — and can resume or repair an existing installation instead of starting over. It runs several client downloads at once through a batch queue, so you can prepare multiple regions or versions in a single session.   Supported: NCSoft CDNs (TW / KR / JP / NA) and  4game CDNs(RU / EU)   Download: https://drive.google.com/file/d/11SDcNASqO2GKOBT79LFu7mqvSRSJZvBS
    • https://l2avokado.com/ Hello everyone,   After some time of development, we've decided to open L2Avokado to the public in its current development stage. We're looking for players who enjoy Interlude and would like to help shape the project before its official release.   This isn't a "launch" announcement. Instead, we're inviting the community to log in, explore the server, test the systems we've built, and provide honest feedback. Whether it's bug reports, balance suggestions, progression ideas, or quality-of-life improvements, we'd love to hear them.   Our goal has always been to create an Interlude server that feels familiar while offering a fresh progression experience. We've intentionally avoided custom weapons, armor, and client modifications. Instead, we've focused on redesigning progression through reworked hunting grounds, quests, crafting, and gameplay systems while remaining compatible with a clean Interlude client.   At this stage, the core progression path has been implemented, including the main hunting grounds, quests, custom systems, and events. However, as the project is still under active development, there will inevitably be bugs, balance issues, and areas that require further polishing.   This is exactly why we'd like your help.   We're looking for players who are willing to: Test gameplay and progression. Report bugs and exploits. Suggest balance improvements. Share ideas for new features or quality-of-life changes. Help us build a server that the community genuinely enjoys playing.   The Client and System downloads are already available on our website, so you can jump straight into the game. We're also working on a dedicated launcher that will simplify installation and future updates.   If you're interested in helping develop a unique Interlude project and want your feedback to genuinely influence the direction of the server, we'd love to have you with us.   We look forward to seeing you in-game and hearing your thoughts on Discord. https://l2avokado.com/
  • 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..