Jump to content
  • 0

[HELP] Buffer


Question

Posted

http://www.maxcheaters.com/forum/index.php?topic=17332.0

evala authn tn buffer gt dn evriska tpt kalhtero !!

kai molis paw na parw buffs mou leei to e3hs :

Your are either not carruing out your quest or dont meet the criteria.

 

3erete gt to leei auto?

3erete pws 8a to dior8oso?

8 answers to this question

Recommended Posts

  • 0
Posted

auto p einai e3w apo ta quests p bhke to 9999 npc buffer

__all__ = [

'quests',

'custom',

'teleports',

'village_master',

'ai'

]

import quests

import custom

import teleports

import village_master

import ai

 

 

 

 

auto p einai mesa sta quest p einai k to 9999 npc buffer

__all__ = [

'1_LettersOfLove1',

'2_WhatWomenWant1',

'3_ReleaseDarkelfElder1',

'4_LongLiveLordOfFlame',

'5_MinersFavor',

'6_StepIntoTheFuture',

'7_ATripBegins',

'8_AnAdventureBegins',

'9_IntoTheCityOfHumans',

'10_IntoTheWorld',

'11_SecretMeetingWithKetraOrcs',

'12_SecretMeetingWithVarkaSilenos',

'13_ParcelDelivery',

'14_WhereaboutsOfTheArchaeologist',

'15_SweetWhisper',

'16_TheComingDarkness',

'17_LightAndDarkness',

'18_MeetingWithTheGoldenRam',

'19_GoToThePastureland',

'20_BringUpWithLove',

'21_HiddenTruth',

'22_TragedyInVonHellmannForest',

'27_ChestCaughtWithABaitOfWind',

'28_ChestCaughtWithABaitOfIcyAir',

'29_ChestCaughtWithABaitOfEarth',

'30_ChestCaughtWithABaitOfFire',

'31_SecretBuriedInTheSwamp',

'32_AnObviousLie',

'33_MakeAPairOfDressShoes',

'34_InSearchOfClothes',

'35_FindGlitteringJewelry',

'36_MakeASewingKit',

'37_PleaseMakeMeFormalWear',

'38_DragonFangs',

'39_RedEyedInvaders',

'42_HelpTheUncle',

'43_HelpTheSister',

'44_HelpTheSon',

'45_ToTalkingIsland',

'46_OnceMoreInTheArmsOfTheMotherTree',

'47_IntoTheDarkForest',

'48_ToTheImmortalPlateau',

'49_TheRoadHome',

'50_LanoscosSpecialBait',

'51_OFullesSpecialBait',

'52_WilliesSpecialBait',

'53_LinnaeusSpecialBait',

'SagasSuperclass',

'70_SagaOfThePhoenixKnight',

'71_SagaOfEvasTemplar',

'72_SagaOfTheSwordMuse',

'73_SagaOfTheDuelist',

'74_SagaOfTheDreadnoughts',

'75_SagaOfTheTitan',

'76_SagaOfTheGrandKhavatari',

'77_SagaOfTheDominator',

'78_SagaOfTheDoomcryer',

'79_SagaOfTheAdventurer',

'80_SagaOfTheWindRider',

'81_SagaOfTheGhostHunter',

'82_SagaOfTheSagittarius',

'83_SagaOfTheMoonlightSentinel',

'84_SagaOfTheGhostSentinel',

'85_SagaOfTheCardinal',

'86_SagaOfTheHierophant',

'87_SagaOfEvasSaint',

'88_SagaOfTheArchmage',

'89_SagaOfTheMysticMuse',

'90_SagaOfTheStormScreamer',

'91_SagaOfTheArcanaLord',

'92_SagaOfTheElementalMaster',

'93_SagaOfTheSpectralMaster',

'94_SagaOfTheSoultaker',

'95_SagaOfTheHellKnight',

'96_SagaOfTheSpectralDancer',

'97_SagaOfTheShillienTemplar',

'98_SagaOfTheShillienSaint',

'99_SagaOfTheFortuneSeeker',

'100_SagaOfTheMaestro',

'101_SwordOfSolidarity',

'102_FungusFever',

'103_SpiritOfCraftsman',

'104_SpiritOfMirrors',

'105_SkirmishWithOrcs',

'106_ForgottenTruth',

'107_MercilessPunishment',

'108_JumbleTumbleDiamondFuss',

'110_ToThePrimevalIsle',

'117_OceanOfDistantStar',

'118_ToLeadAndBeLed',

'121_PavelTheGiants',

'122_OminousNews',

'123_TheLeaderAndTheFollower',

'124_MeetingTheElroki',

'127_KamaelAWindowToTheFuture',

'151_SaveMySister1',

'152_ShardsOfGolem',

'153_WharfOldtimersFavor',

'154_SacrificeToSea',

'155_FindSirWindawood',

'156_MillenniumLove',

'157_RecoverSmuggled',

'158_SeedOfEvil',

'159_ProtectHeadsprings',

'160_NerupasFavor',

'161_FruitsOfMothertree',

'162_CurseOfFortress',

'163_LegacyOfPoet',

'164_BloodFiend',

'165_WildHunt',

'166_DarkMass',

'167_DwarvenKinship',

'168_DeliverSupplies',

'169_NightmareChildren',

'170_DangerousAllure',

'171_ActsOfEvil',

'211_TrialOfChallenger',

'212_TrialOfDuty',

'213_TrialOfSeeker',

'214_TrialOfScholar',

'215_TrialOfPilgrim',

'216_TrialOfGuildsman',

'217_TestimonyOfTrust',

'218_TestimonyOfLife',

'219_TestimonyOfFate',

'220_TestimonyOfGlory',

'221_TestimonyOfProsperity',

'222_TestOfDuelist',

'223_TestOfChampion',

'224_TestOfSagittarius',

'225_TestOfSearcher',

'226_TestOfHealer',

'227_TestOfReformer',

'228_TestOfMagus',

'229_TestOfWitchcraft',

'230_TestOfSummoner',

'231_TestOfMaestro',

'232_TestOfLord',

'233_TestOfWarspirit',

'234_FatesWhisper',

'235_MimirsElixir',

'241_PossessorOfAPreciousSoul_1',

'242_PossessorOfAPreciousSoul_2',

'246_PossessorOfAPreciousSoul_3',

'247_PossessorOfAPreciousSoul_4',

'257_GuardIsBusy1',

'258_BringWolfPelt1',

'259_RanchersPlea',

'260_HuntForOrcs1',

'261_DreamOfMoneylender1',

'262_BringMeMushrooms1',

'263_KillAllSylphs1',

'264_KeenClaws',

'265_ChainsOfSlavery',

'266_PleaOfPixies',

'267_WrathOfVerdure',

'271_ProofOfValor',

'272_WrathOfAncestors',

'273_InvadersOfHolyland',

'274_AgainstWolfMen',

'275_BlackWingedSpies',

'276_HestuiTotem',

'277_GatekeepersOffering',

'291_RedBonnetsRevenge',

'292_CrushBrigands',

'293_HiddenVein',

'294_CovertBusiness',

'295_DreamsOfFlight',

'296_SilkOfTarantula',

'297_GatekeepersFavor',

'298_LizardmensConspiracy',

'299_GatherIngredientsForPie',

'300_HuntingLetoLizardman',

'303_CollectArrowheads',

'306_CrystalOfFireice',

'313_CollectSpores',

'316_DestroyPlaguebringers',

'317_CatchTheWind',

'319_ScentOfDeath',

'320_BonesTellFuture',

'324_SweetestVenom',

'325_GrimCollector',

'326_VanquishRemnants',

'327_ReclaimTheLand',

'328_SenseForBusiness',

'329_CuriosityOfDwarf',

'330_AdeptOfTaste',

'331_ArrowForVengeance',

'333_BlackLionHunt',

'334_TheWishingPotion',

'336_CoinOfMagic',

'337_AudienceWithTheLandDragon',

'338_AlligatorHunter',

'340_SubjugationOfLizardmen',

'341_HuntingForWildBeasts',

'343_UnderTheShadowOfTheIvoryTower',

'344_1000YearsEndofLamentation',

'345_MethodToRaiseTheDead',

'347_GoGetTheCalculator',

'348_ArrogantSearch',

'350_EnhanceYourWeapon',

'351_BlackSwan',

'352_HelpRoodRaiseANewPet',

'353_PowerOfDarkness',

'354_ConquestOfAlligatorIsland',

'355_FamilyHonor',

'356_DigUpTheSeaOfSpores',

'357_WarehouseKeepersAmbition',

'358_IllegitimateChildOfAGoddess',

'359_ForSleeplessDeadmen',

'360_PlunderTheirSupplies',

'362_BardsMandolin',

'363_SorrowfulSoundofFlute',

'364_JovialAccordion',

'365_DevilsLegacy',

'366_SilverHairedShaman',

'367_ElectrifyingRecharge',

'368_TrespassingIntoTheSacredArea',

'369_CollectorOfJewels',

'370_AWisemanSowsSeeds',

'371_ShriekOfGhosts',

'372_LegacyOfInsolence',

'373_SupplierOfReagents',

'374_WhisperOfDreams1',

'375_WhisperOfDreams2',

'376_GiantsExploration1',

'377_GiantsExploration2',

'378_MagnificentFeast',

'379_FantasyWine',

'380_BringOutTheFlavorOfIngredients',

'381_LetsBecomeARoyalMember',

'382_KailsMagicCoin',

'383_SearchingForTreasure',

'385_YokeofthePast',

'386_StolenDignity',

'401_PathToWarrior',

'402_PathToKnight',

'403_PathToRogue',

'404_PathToWizard',

'405_PathToCleric',

'406_PathToElvenKnight',

'407_PathToElvenScout',

'408_PathToElvenwizard',

'409_PathToOracle',

'410_PathToPalusKnight',

'411_PathToAssassin',

'412_PathToDarkwizard',

'413_PathToShillienOracle',

'414_PathToOrcRaider',

'415_PathToOrcMonk',

'416_PathToOrcShaman',

'417_PathToScavenger',

'418_PathToArtisan',

'419_GetAPet',

'420_LittleWings',

'421_LittleWingAdventures',

'422_RepentYourSins',

'426_FishingShot',

'431_WeddingMarch',

'432_BirthdayPartySong',

'501_ProofOfClanAlliance',

'503_PursuitClanAmbition',

'508_TheClansReputation',

'601_WatchingEyes',

'602_ShadowOfLight',

'605_AllianceWithKetraOrcs',

'606_WarWithVarkaSilenos',

'607_ProveYourCourage_Ketra',

'608_SlayTheEnemyCommander_Ketra',

'609_MagicalPowerOfWaterPart1',

'610_MagicalPowerOfWaterPart2',

'611_AllianceWithVarkaSilenos',

'612_WarWithKetraOrcs',

'613_ProveYourCourage_Varka',

'614_SlayTheEnemyCommander_Varka',

'615_MagicalPowerOfFirePart1',

'616_MagicalPowerOfFirePart2',

'617_GatherTheFlames',

'618_IntoTheFlame',

'619_RelicsOfTheOldEmpire',

'620_FourGoblets',

'621_EggDelivery',

'622_DeliveryOfSpecialLiquor',

'623_TheFinestFood',

'624_TheFinestIngredientsPart1',

'626_ADarkTwilight',

'627_HeartInSearchOfPower',

'628_HuntGoldenRam',

'629_CleanUpTheSwampOfScreams',

'631_DeliciousTopChoiceMeat',

'632_NecromancersRequest',

'633_InTheForgottenVillage',

'634_InSearchofDimensionalFragments',

'635_InTheDimensionalRift',

'636_TruthBeyond',

'637_ThroughOnceMore',

'644_GraveRobberAnnihilation',

'645_GhostsOfBatur',

'647_InfluxOfMachines',

'649_ALooterAndARailroadMan',

'650_ABrokenDream',

'651_RunawayYouth',

'652_AnAgedExAdventurer',

'653_WildMaiden',

'659_IdRatherBeCollectingFairyBreath',

'660_AidingtheFloranVillage',

'999_C3Tutorial','9999_NPCBuffer','99999_NPCBuffer'

]

print ""

print "importing quests ..."

for name in __all__ :

    try :

        __import__('data.jscript.quests.'+name,globals(), locals(), ['__init__'], -1)

    except:

        print "failed to import quest : ",name

print"... done"

 

 

 

 

 

kai auto p einai mesa sto 9999 npc buffer

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

 

qn = "9999_NPCBuffer"

 

NPC=[40006]

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 < 10000  or st.getPlayer().getLevel() < 0 :

htmltext = "<html><head><body>You dont have enought Adena</body></html>"

else:

st.takeItems(ADENA_ID,10000)

st.getPlayer().setTarget(st.getPlayer())

 

#Wind Walk

if event == "1":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1204,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Acumen

if event == "2":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1085,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Agility

if event == "3":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1087,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Berserker Spirit

if event == "4":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1062,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

                      #Bless Shield

if event == "5":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1243,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Blessed Body

if event == "6":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1045,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Blessed Soul

if event == "7":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1048,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Concentration

if event == "8":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1078,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Death Whisper

if event == "9":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1242,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Empower

if event == "10":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1059,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Focus

if event == "11":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1077,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Guidance

if event == "12":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1240,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Haste

if event == "13":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1086,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Magic Barrier

if event == "14":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1036,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Mental Shield

if event == "15":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1035,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Might

if event == "16":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1068,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Resist Shock

if event == "17":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1259,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Shield

if event == "18":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1040,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Vampiric Rage

if event == "19":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1268,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Aqua Guard

if event == "30":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(307,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Concentration

if event == "31":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(276,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Earth Guard

if event == "32":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(309,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Fire

if event == "33":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(274,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Fury

if event == "34":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(275,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Inspiration

if event == "35":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(272,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Light

if event == "36":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(277,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of the Mystic

if event == "37":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(273,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of Protection

if event == "38":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(311,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Siren's Dance

if event == "39":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(365,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of the Vampire

if event == "40":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(310,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Dance of the Warrior

if event == "41":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(271,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Champion

if event == "50":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(364,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Earth

if event == "51":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(264,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Flame Guard

if event == "52":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(306,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Hunter

if event == "53":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(269,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Invocation

if event == "54":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(270,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Life

if event == "55":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(265,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Meditation

if event == "56":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(363,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Renewal

if event == "57":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(349,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Storm Guard

if event == "58":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(308,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Vengeance

if event == "59":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(305,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Vitality

if event == "60":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(304,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Warding

if event == "61":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(267,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Water

if event == "62":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(266,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Song of Wind

if event == "63":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(268,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Greater Might

if event == "64":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1388,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Greater Shield

if event == "65":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1389,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Chant of Victory

if event == "66":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1363,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Prophecy of Fire

if event == "67":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1356,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Prophecy of Water

if event == "68":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1355,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Prophecy of Wind

if event == "69":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1357,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#Cancellation

if event == "70":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1056,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

#MPreg

if event == "71":

st.takeItems

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

if event == "73":

st.takeItems

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

        #Chant of Magnus

if event == "74":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9952,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

      #Wild Magic

if event == "75":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1303,1),False,False)

st.getPlayer().restoreHPMP()

return "1.htm"

st.setState(COMPLETED)

 

      #Vampiric Rage

if event == "76":

st.takeItems

st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1268,1),False,False)

st.getPlayer().restoreHPMP()

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)

 

 

 

 

 

exw kati la8os?

  • 0
Posted

file ti pack server exeis?

 

kai kati allo u bffer den paei sta quest paei sta custom

 

8a pas GameServer\data\jscript\custom 8a peraseis tin buffer sou edo kai meta  8a pas  na anoi3eis ayto edo __init__

 

kai 8a to kaneis opos to exo ego

 

 

__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'7000_HeroItems',
'8000_RaidbossInfo',
'8001_NpcLocationInfo',
'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 ""

 

kai meta 8a kaneis restart ton server  kai eisai ok

 

 

to 8ema einai  ti pack exeis giati  ayti i buffer opos einai einai gia l2j server den einai gia l2dot gia l2jarchid  kai alla pack

  • 0
Posted

twra exw new problem

tn evala tn buffer mia xara vlepw to menu

paw na parw 1 buff k mou leei script error

xrhshmopoio equal pack t extremedwarf

opos to exeis svisto..exei pola bugs gi afto ekana lock to topic
  • 0
Posted

twra exw new problem

tn evala tn buffer mia xara vlepw to menu

paw na parw 1 buff k mou leei script error

xrhshmopoio equal pack t extremedwarf

 

file i  kanto delete opos eimai kai oo extre i  des ti la8os exei kanei..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...