Jump to content

Question

Posted

Όταν κάποιος κάνει ένα Buff πατάει το κουμπί και αν αυτό το Buff είναι στο κάτω μέρος δηλαδή έχει από πάνω του άλλα 9 ή 10 Buff και πατήσει το Buff που είναι κάτω και θέλει να πάρει και πιο τα κάτω Buff τότε πάει από την αρχή και πρέπει να ξανακατέβει. Το script της Buffer είναι αυτό.

 

#Acumen

if event == "1":

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

 

return "2.htm"

st.setState(COMPLETED)

 

Τι πρέπει να αλλάξω για να μην τρέχει από την αρχή το html μετά απο ένα Buff;;

Recommended Posts

  • 0
Posted

den katalava thelis molis patas buff se vgazi se kapio allo html ektos apo ta sosta buffs?

 

o Ge0rge einai sostos

 

return "2.htm"

 

se pio einai to buff sto 1.html sto 2.htm to idio vazis eki gia ans e kani returne sto idio htm me ta ipolipa buffs.

  • 0
Posted

Όταν θέλω ας πούμε να πάρω αυτό το buff και το θέλω να πάρω και το παρακάτω δεν μπορώ πρέπει να κατέβω πάλι κάτω δηλαδή τρέχει πάλι το html δες.

Πριν πάρω το buff:

asd1k.jpg

 

Αφού πάρω το buff:

asd2e.jpg

 

Έχεις κάτι να δοκιμάσω;

 

return "2.htm" svisto kai dokimase (dn ime sigouros)

Αυτό αν πατήσω στο buff κλίνει εντελώς το chat με το Npc.

  • 0
Posted

iparxei mia lisi na valeis panw <selida 1> <selida 2> <selida 3>

etsi wste na eksafaniseis tin mpara na min anevokatevenei.ali lisi na menei ekei den nomizw na vreis.

ali lisi einai na vgaleis tis photo kai to mini text apo dipla kai tha mazepsoun ta panta xwris mpara

den mporeis na exeis kai piotita kai posotita ;)

  • 0
Posted

iparxei mia lisi na valeis panw <selida 1> <selida 2> <selida 3>

etsi wste na eksafaniseis tin mpara na min anevokatevenei.ali lisi na menei ekei den nomizw na vreis.

ali lisi einai na vgaleis tis photo kai to mini text apo dipla kai tha mazepsoun ta panta xwris mpara

den mporeis na exeis kai piotita kai posotita ;)

Το έχω δει σε Server αυτό αλλά Interlude τώρα δεν νομίζω να είναι το χρονικό το πρόβλημα. Κάποιος άλλος;;

  • 0
Posted

Όταν θέλω ας πούμε να πάρω αυτό το buff και το θέλω να πάρω και το παρακάτω δεν μπορώ πρέπει να κατέβω πάλι κάτω δηλαδή τρέχει πάλι το html δες.

Πριν πάρω το buff:

asd1k.jpg

 

Αφού πάρω το buff:

asd2e.jpg

 

Έχεις κάτι να δοκιμάσω;

Αυτό αν πατήσω στο buff κλίνει εντελώς το chat με το Npc.

 

mporis se parakalo kanis post olokliro to __int__.py tis buffer na do kati kai isos mporeso ans to epidiorthoso..

  • 0
Posted

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 = "343434_NPCBuffer"

 

NPC=[343434]

ADENA_ID=57

QuestId     = 343434

QuestName   = "NPCBuffer"

QuestDesc   = "custom"

InitialHtml = "1.htm"

 

print "importing custom: 343434: 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)

 

           #Mental Shield

       if event == "2":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Magic Barrier

       if event == "3":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Shield

       if event == "4":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Regeneration

       if event == "5":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Blessed Body

       if event == "6":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Blessed Soul

       if event == "7":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Empower

       if event == "8":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Berserker Spirit

       if event == "9":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Might

       if event == "10":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Focus

       if event == "11":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Concentration

       if event == "12":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Haste

       if event == "13":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Agility

       if event == "14":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Resist Aqua

       if event == "15":

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

           

           return "7.htm"

           st.setState(COMPLETED)

 

           #Resist Wind

       if event == "16":

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

           

           return "7.htm"

           st.setState(COMPLETED)

 

           #Resist Fire

       if event == "17":

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

           

           return "7.htm"

           st.setState(COMPLETED)

 

           #Wind Walk

       if event == "18":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Guidance

       if event == "19":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Death Whisper

       if event == "20":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Bless Shield

       if event == "21":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Resist Shock

       if event == "22":

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

           

           return "7.htm"

           st.setState(COMPLETED)

 

           #Vampiric Rage

       if event == "23":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Wild Magic

       if event == "24":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Advanced Block

       if event == "25":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Divine Protection

       if event == "26":

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

           

           return "7.htm"

           st.setState(COMPLETED)

 

           #Prophecy of Water

       if event == "27":

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

           

           return "5.htm"

           st.setState(COMPLETED)

 

           #Prophecy of Fire

       if event == "28":

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

           

           return "5.htm"

           st.setState(COMPLETED)

 

           #Prophecy of Wind

       if event == "87":

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

           

           return "5.htm"

           st.setState(COMPLETED)

 

           #Greater Might

       if event == "29":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Greater Shield

       if event == "30":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Holy Resistance

       if event == "31":

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

           

           return "7.htm"

           st.setState(COMPLETED)

 

           #Unholy Resistance

       if event == "32":

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

           

           return "7.htm"

           st.setState(COMPLETED)

 

           #Clarity

       if event == "33":

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

           

           return "2.htm"

           st.setState(COMPLETED)

 

           #Song of Earth

       if event == "34":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of life

       if event == "35":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Water

       if event == "36":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Warding

       if event == "37":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Wind

       if event == "38":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Hunter

       if event == "39":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Invocation

       if event == "40":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Vitality

       if event == "41":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Vengeance

       if event == "42":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Flame Guard

       if event == "43":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Storm Guard

       if event == "44":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Renewal

       if event == "45":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Meditation

       if event == "46":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Champion

       if event == "47":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Song of Purification

       if event == "48":

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

           

           return "4.htm"

           st.setState(COMPLETED)

 

           #Dance of the Warrior

       if event == "49":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Inspiration  

       if event == "50":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Mystic

       if event == "51":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Fire

       if event == "52":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Fury

       if event == "53":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Concentration

       if event == "54":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Light  

       if event == "55":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Aqua Guard

       if event == "56":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Earth Guard

       if event == "57":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of the Vampire

       if event == "58":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Protection

       if event == "59":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Siren's Dance  

       if event == "60":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Alignment

       if event == "61":

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

           

           return "3.htm"

           st.setState(COMPLETED)

 

           #Dance of Berserker

       if event == "62":

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

           

           return "3.htm"

           st.setState(COMPLETED)

           

           #Nobles

       if event == "63":

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

           

           return "1.htm"

           st.setState(COMPLETED)

 

           #Heal

       if event == "64":

               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 == "65":

           st.getPlayer().stopAllEffects()

           

           return "1.htm"

           st.setState(COMPLETED)

 

   #Chant of Battle

       if event == "66":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Shielding

       if event == "67":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of fire

       if event == "68":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Flame

       if event == "69":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Life

       if event == "70":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Fury

       if event == "71":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Evasion

       if event == "72":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Rage

       if event == "73":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Revenge

       if event == "74":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Vampire

       if event == "75":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Eagle

       if event == "76":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Chant of Predator

       if event == "77":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #War Chant

       if event == "78":

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

           

           return "6.htm"

           st.setState(COMPLETED)

 

   #Earth Chant

       if event == "79":

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

           

           return "6.htm"

           st.setState(COMPLETED)

           

   #Chant of Spirit

       if event == "80":

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

           

           return "6.htm"

           st.setState(COMPLETED)

           

   #Song of Elemental

       if event == "81":

           SkillTable.getInstance().getInfo(529,1).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 "6.htm"

           st.setState(COMPLETED)

           

      #Chant of Magnus

       if event == "83":

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

           

           return "6.htm"

           st.setState(COMPLETED)

           

   #Chant of Protection

       if event == "84":

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

           

           return "6.htm"

           st.setState(COMPLETED)

           

   #Blessing of Queen

       if event == "85":

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

       

           return "5.htm"

           st.setState(COMPLETED)

 

   #Blessing of Seraphim

       if event == "86":

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

       

           return "5.htm"

           st.setState(COMPLETED)

 

   #Gift of Seraphim

       if event == "87":

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

       

           return "5.htm"

           st.setState(COMPLETED)

 

   #Gift of Queen

       if event == "88":

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

       

           return "5.htm"

           st.setState(COMPLETED)

           

   #Elemental Protection

       if event == "89":

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

       

           return "7.htm"

           st.setState(COMPLETED)

   #Resist Poison

       if event == "90":

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

       

           return "7.htm"

           st.setState(COMPLETED)

 

   #Blood Pact

       if event == "91":

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

       

           return "8.htm"

           st.setState(COMPLETED)

   #Pride of Kamael

       if event == "92":

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

       

           return "8.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)

  • 0
Posted

           if event == "86":
               st.takeItems(ADENA_ID,0)
               st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1189,3),False,False)
               return "12.htm"
               st.setState(COMPLETED)    
                                               
                       #Resist Poison
           if event == "87":
               st.takeItems(ADENA_ID,0)
               st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1033,3),False,False)
               return "12.htm"
               st.setState(COMPLETED)    
                                               
                       #Salvation
           if event == "88":
               st.takeItems(ADENA_ID,0)
               st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1410,1),False,False)
               return "1.htm"
               st.setState(COMPLETED)
                                               
                       #Prophecy of Water
           if event == "89":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1355,1).getEffects(st.getPlayer(),st.getPlayer())
               return "8.htm"
               st.setState(COMPLETED)
                                               
                       #Prophecy of Fire
           if event == "90":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1356,1).getEffects(st.getPlayer(),st.getPlayer())
               return "8.htm"
               st.setState(COMPLETED)
                                               
                       #Prophecy of Wind
           if event == "91":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1357,1).getEffects(st.getPlayer(),st.getPlayer())
               return "8.htm"
               st.setState(COMPLETED)
                                               
                       #War Chant
           if event == "92":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1390,3).getEffects(st.getPlayer(),st.getPlayer())
               return "7.htm"
               st.setState(COMPLETED)
                                               
                       #Earth Chant
           if event == "93":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1391,3).getEffects(st.getPlayer(),st.getPlayer())
               return "7.htm"
               st.setState(COMPLETED)
                                               
                       #Blessing of Queen
           if event == "94":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(4699,3).getEffects(st.getPlayer(),st.getPlayer())
               return "9.htm"
               st.setState(COMPLETED)
                                               
                       #Gift of Queen
           if event == "95":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(4700,3).getEffects(st.getPlayer(),st.getPlayer())
               return "9.htm"
               st.setState(COMPLETED)
                                               
                       #Blessing of Seraphim
           if event == "96":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(4702,3).getEffects(st.getPlayer(),st.getPlayer())
               return "9.htm"
               st.setState(COMPLETED)
                                               
                       #Gift of Seraphim
           if event == "97":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(4703,3).getEffects(st.getPlayer(),st.getPlayer())
               return "9.htm"
               st.setState(COMPLETED)
                       
                       #Chant of Spirit
           if event == "65":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1362,1).getEffects(st.getPlayer(),st.getPlayer())
               return "7.htm"
               st.setState(COMPLETED)
               
           #Chant of Victory
           if event == "66":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1363,1).getEffects(st.getPlayer(),st.getPlayer())
               return "7.htm"
               st.setState(COMPLETED)
               
           #chant of magnus
           if event == "67":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1413,1).getEffects(st.getPlayer(),st.getPlayer())
               return "7.htm"
               st.setState(COMPLETED)    
           
           #Cancel
           if event == "98": 
               st.getPlayer().stopAllEffects()
               return "1.htm"
               st.setState(COMPLETED)

           #CPHEAL
           if event == "69":
               st.takeItems(ADENA_ID,0)
               return "1.htm"        
               st.setState(COMPLETED)    
           #Mage Buffs
           if event == "100":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(3133,10).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(1410,1).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(3142,10).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(5105,3).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(395,1).getEffects(st.getPlayer(),st.getPlayer())
               return "1.htm"        
               st.setState(COMPLETED)    
           #Fighter Buffs
           if event == "101":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(3132,10).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(1410,1).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(3141,10).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(5104,3).getEffects(st.getPlayer(),st.getPlayer())
               SkillTable.getInstance().getInfo(395,1).getEffects(st.getPlayer(),st.getPlayer())
               return "1.htm"        
               st.setState(COMPLETED)    

           #Argument Might
           if event == "102":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(3132,10).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)

           #Argument Focus
           if event == "103":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(3141,10).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)

           #Argument Empower
           if event == "104":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(3133,10).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)

           #Argument Wild Magic
           if event == "105":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(3142,10).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)
               
           #Salvation
           if event == "106":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1410,1).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)
               
           #Heroic Valor
           if event == "107":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1374,1).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)
               
           #Batle Force
           if event == "108":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(5104,3).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)
               
           #Spel Force
           if event == "109":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(5105,3).getEffects(st.getPlayer(),st.getPlayer())
               return "10.htm"
               st.setState(COMPLETED)
               
           # Holy Weapon 1
           if event == "110":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1043,1).getEffects(st.getPlayer(),st.getPlayer())
               return "12.htm"        
               st.setState(COMPLETED)
               
           # Holy Resistance 3
           if event == "111":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1392,3).getEffects(st.getPlayer(),st.getPlayer())
               return "12.htm"        
               st.setState(COMPLETED)
               
           # Unholy Resistance 3
           if event == "112":
               st.takeItems(ADENA_ID,0)
               SkillTable.getInstance().getInfo(1393,3).getEffects(st.getPlayer(),st.getPlayer())
               return "12.htm"        
               st.setState(COMPLETED)
               
                       #Restore CP/HP/MP
           if event == "113":
               st.takeItems(ADENA_ID,0)
               st.getPlayer().restoreHP()
               st.getPlayer().restoreMP()
               return "11.htm"
               st.setState(COMPLETED)    
               
                       #Restore CP/HP/MP
           if event == "114":
               st.takeItems(ADENA_ID,0)
               st.getPlayer().restoreHP()
               st.getPlayer().restoreMP()
               return "11.htm"
               st.setState(COMPLETED)    
               

etsi ine t dika m..

  • 0
Posted

Parakalo kante ena mikro edit sta Postsas kai kanteta pio mikra me ".............."

To import einai miaxara.. to htm tha prpei na exi kapio sfalma..

 

an mporouses na m to stilis se pm :)

  • 0
Posted

Parakalo kante ena mikro edit sta Postsas kai kanteta pio mikra me ".............."

To import einai miaxara.. to htm tha prpei na exi kapio sfalma..

 

an mporouses na m to stilis se pm :)

Το ξέρω πως είναι μια χαρά αφού και η Buffer δουλεύει μια χαρά. Εγώ άλλο θέλω να κάνω, πες πως στα Song έχει 20 επιλογές (δεν είναι τόσες παράδειγμα φέρνω έναν Χ αριθμό) και εσύ θες να πάρει το 19. Μόλις το πάρει δεν θα είσαι στο ίδιο σημείο που θα είναι το 15ο έως το 20ο Song αλλά θα είσαι στο 1ο έως 5ο, δηλαδή το .html αρχείο τρέχει από την αρχή! Αυτό θέλω να αλλάξω να σε αφήνει στο ίδιο σημείο ώστε να πάρεις κατευθείαν το 20ο Song και όχι να κατέβεις πάλι κάτω. Οκ τώρα;

  • 0
Posted

to na sviseis to return html den tha anoigei to html

to na to afiseis tha sto anoigei... na kaneis pause simenei den tha pareis to skill

ti na pw se analogika merei den psaxnoume psifiaka pragmata

sou edwsa mia lish pio panw

twra an to exeis dei kapou auto sigoura den einai me tous kwdikes pou ida pio panw.. i kati konta se autous

  • 0
Posted

Το ξέρω πως είναι μια χαρά αφού και η Buffer δουλεύει μια χαρά. Εγώ άλλο θέλω να κάνω, πες πως στα Song έχει 20 επιλογές (δεν είναι τόσες παράδειγμα φέρνω έναν Χ αριθμό) και εσύ θες να πάρει το 19. Μόλις το πάρει δεν θα είσαι στο ίδιο σημείο που θα είναι το 15ο έως το 20ο Song αλλά θα είσαι στο 1ο έως 5ο, δηλαδή το .html αρχείο τρέχει από την αρχή! Αυτό θέλω να αλλάξω να σε αφήνει στο ίδιο σημείο ώστε να πάρεις κατευθείαν το 20ο Song και όχι να κατέβεις πάλι κάτω. Οκ τώρα;

Eisai tixeros dile m simera mathame sto sxolio pos na anigoume proepiloges tou html(dld an aniksi se kapio simio pou theloume..den exo to vivlio mazi m gia na sto grapso :)

  • 0
Posted

to na sviseis to return html den tha anoigei to html

to na to afiseis tha sto anoigei... na kaneis pause simenei den tha pareis to skill

ti na pw se analogika merei den psaxnoume psifiaka pragmata

sou edwsa mia lish pio panw

twra an to exeis dei kapou auto sigoura den einai me tous kwdikes pou ida pio panw.. i kati konta se autous

Υπάρχει γιατί το έχω δει σε Server όπως λέω και πιο πάνω.

 

Eisai tixeros dile m simera mathame sto sxolio pos na anigoume proepiloges tou html(dld an aniksi se kapio simio pou theloume..den exo to vivlio mazi m gia na sto grapso :)

Δες τα PM σου.

Guest
This topic is now closed to further replies.


  • Posts

    • 🎁 Double the Impact, Half the Cost! from 25/10/2025 until 25/12/2025 Renew your Donation Panel now and save 50% because supporting others should reward you too. 💡 Use code BLACKFRIDAY at checkout! https://hopzone.eu/store/product/26-donate-panel-v5/   About Donate Panel v5 PAYMENT IN EASY 5 STEPS Login with your character name. Select the donation service (Paypal Stripe Payeer MercadoPago 🆕). Select the amount of payment. Pay. 😎 Automatically recieve the reward ingame (and yes) while he is online! 🤯 PAYMENT METHODS Paypal Stripe accepts credit cards, debit cards, ACH transfers, Apple Pay, Google Pay, Microsoft Pay, and various local payment methods from around the world. Payeer accepts BTC, LTC, ETH, DASH, BCH, USD, EUR, RUB wallets MercadoPago accepts ARS, BRL, CLP, MXN, COP, PEN, UYU. PROTECTION Full SSL website (can be forced by htaccess) XSS Protection just in case. Remove vulnerability headers in htaccess level Session Validation COOKIE, POST, GET global inputs are sanitized SQL Injection protection Query String protetion Prepared statements of PDO driver (no sql injection there) Google Invisible Captcha v3 (NEW) Last but not least security through obscurity SEO & PUBLIC MANAGEMENT SEO Friendly urls (in htaccess level) Google Analytics and GTAG Code ready. Terms of use ready to go Refund policy ready to go Contact All the TERMS text are showing config dynamic item images/text with server's name and more OPTIMIZATION AND SPEED Zip Content (faster load) Memory save (unloading global vars) Using CDN’s for bootstrap Scripts are loaded in footer Images are soft to max 10kb Small and smart organized code style FUNCTIONALITIES Multilanguage (4 languages so far) EN ES NL EL (Easy to add more) Payment methods Paypal, Stripe, Payeer and MercadoPago After payment or cancel the user is redirected back to “Thank you” page. TECHNOLOGIES Bootstrap 5x CSS PHP 5.6+ (for l2off) and PHP 7.4+ (for java) Extensions for php: MySQL (L2Java), pdo_dblib(L2OFF), pdo_sqlsrv(L2OFF), mssql_connect (L2OFF) and PDO Drivers that support MariaDB, MySQL, MsSQL. SYSTEMS Stripe and MercadoPago supports sandbox and live. Detailed and seperated Logs (ERROR, DEVELOPER, INFO, WARNING, PAYMENT) for website and Rest APIs. Detailed Log in database for Payments and services used. Google Analytics (You know when players are in the panel and if they pay) Google Captcha V3 Dynamic Icons to show according your Donate Item ID Multiple servers L2OFF or L2JAVA servers can be added together as server network     BE AWARE: Leaked versions of old v2 panels (year 2018 with bugs) are still out sold by scammers without support or knowledge of the files.
    • I work with Kenrix and he is a  next level coder. Hugely Recommended.
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock