Jump to content

kokkinidisjim

Members
  • Posts

    508
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by kokkinidisjim

  1. Who can do one file for have on freya client 4 skill bars or 5-6-7 ??if have post plz replay here with link ty very much!
  2. Buffs Slot:Fix Easy Farm Area Go to Peace Zone and pk killer go out now is better :) if have and another problem tell to me :D
  3. Join us at http://l2boss.net78.net/ Server Rates: • RateXp = 2000.00 • RateSp = 2000.00 • RatePartyXp = 2.00 • RatePartySp = 2.00 • RateDropAdena = 2000.00 • GrandBossSpecial = 1 Enchant Rates: • Safe Enchant = +6 • Weapon Max Enchant = +16 • Armor Max Enchant = +16 • Jewels Max Enchant = +16 • Normal Scroll Enchant Rate = 60% • Blessed Scroll Enchant Rate = 100% Buffs: • 28 Buff Slots • 12 Song Dance Slots • 12 Debuff Slots Custom Npcs • Full GM Shop • Full Buffer • Global Gate Keeper • PvP Shop • Augmenter • PvP Manager • Clan Points/Fame Seller • Nobless Manager • Class Manager • Server Info • Weding Manager • Anti PK Olympiad: • Retail Like • Olympiad Cycle = 1 Month Custom Features: • Tattoos (Only P.def) • PvP Color System • Squash Event • TvT • Offline Trades • Vote Reward System Features: • C4/C5/Interlude/Gracia/Hi5 Features/Skills are working 99% • Fishing • Seven Signs • Castle Sieges • Noblesses & Heroes System • All Quests • Clan Wars • C5/Interlude/Gracia Clan System • Subclans (Academy,Royal Guards,Order of Knights) • Wepon Augmentations • Accessories Augmentations • Shadow Weapons • Dueling System • All C4/C5/Interlude/Gracia/Hi5 Skills working 99% • Olympiad 100% Retail like • DualBox allowed (Not in event`s and Olympiad) • 100% Retail like Gameplay without any customs Armors or Weapons • Flawless Geodata & Pathnodes • Active and Experienced development/GMteam! • International Community Commands: • .withdraw • .deposit • .tvtjoin • .tvtleave • .online • .changepassword
  4. απλός λέω την αληθια είναι άθλιο αυτό που κάνουνε να κράζουνε τα νεω μεμβερ που καθοντε και κάνουνε ποστ ενώ αυτή βαριουντε να κάνουνε ένα ποστ...
  5. καλά ρε παιδιά είστε σοβαρή για πιον λόγο κραζετε το παιδί οκ έχει ξανά γίνει το ποστ αλλά δν νομίζω ότι πρέπη να κραζετε κάθε νεω μεμβερ έτσι...δηλαδή έλεος το παιδί κάθισε και ασχολήθηκε για να κάνει αυτό το ποστ...και εσείς αντί να τον κραζετε άμα σας ήταν ευκολο ας κάνατε κανένα ποστ που θα διευκόλυνε τα νέα μεμβερ να σηκώσουν έναν σέρβερ...
  6. pedes tha ithela ama mpori kanis na m bri enan clan rep seller i ena clan rep item gia freya server epsaxa sto forum alla dn brika tpt ama kseri kanis tpt plz na m pi ty!
  7. i want to make 2 script into one general script this // Beast Farm script // Server: l2j freya // Autor: mochitto // Date: 28.10.2010 // Special thanks for L2.NET contributors // rev.: 34 PRINT_TEXT "SCRIPT STARTED!]" // Main section // =============================== DEFINE_GLOBAL STRING NORMAL_MOB_NAME "Baby Alpine Kookaburra" DEFINE_GLOBAL STRING NORMAL2_MOB_NAME "Young Kookaburra" DEFINE_GLOBAL STRING FINAL_MOB_NAME "Adult Kookaburra" DEFINE_GLOBAL STRING BANDIT1 "Beast Devourer" DEFINE_GLOBAL STRING BANDIT2 "Farm Bandit" DEFINE_GLOBAL STRING FINAL2_MOB_NAME "Full Grown Kookaburra" DEFINE_GLOBAL INT ID_LAST_MOB DEFINE_GLOBAL INT RAND 0 DEFINE_GLOBAL INT COMM 0 SET_EVENT "<&SCRIPTEVENT_SELFDIE&>" "<&SYSTEM_CURRENTFILE&>" SelfDie THREAD SKILLS THREAD MP DO LABEL HERE IF TARGET_ID == 0 TARGET_NEAREST SLEEP 1200 ENDIF IF ( ( TARGET_NAME == NORMAL_MOB_NAME ) || ( TARGET_NAME == NORMAL2_MOB_NAME ) ) USE_ITEM 15474 SLEEP 800 ELSE IF ( ( TARGET_NAME == FINAL_MOB_NAME ) || ( TARGET_NAME == FINAL2_MOB_NAME ) ) ID_LAST_MOB = TARGET_ID GET_RAND RAND 300 2000 SLEEP "<&RAND&>" USE_SKILL 348 GET_RAND RAND 2300 3600 SLEEP "<&RAND&>" USE_SKILL 348 GET_RAND RAND 2300 3600 SLEEP "<&RAND&>" WHILE TARGET_CUR_HP > 0 IF TARGET_ID != ID_LAST_MOB JUMP_TO_LABEL HERE ENDIF SLEEP 400 WEND GET_RAND RAND 800 2600 SLEEP "<&RAND&>" TARGET_NEAREST ELSE IF ( ( TARGET_NAME == BANDIT1 ) || ( TARGET_NAME == BANDIT2 ) ) ID_LAST_MOB = TARGET_ID USE_SKILL 254 GET_RAND RAND 2300 3600 SLEEP "<&RAND&>" WHILE TARGET_CUR_HP > 0 IF TARGET_ID != ID_LAST_MOB JUMP_TO_LABEL HERE ENDIF SLEEP 400 WEND GET_RAND RAND 800 2600 SLEEP "<&RAND&>" TARGET_NEAREST ENDIF ENDIF ENDIF SLEEP 600 LOOP ONE == ONE PRINT_TEXT "SCRIPT STOPED!]" END_SCRIPT FUNCTION SKILLS WHILE ZERO == ZERO IF CHAR_CUR_MP < 200 IF TARGET_ID != 0 COMMAND "/attack" SLEEP 1200 ENDIF SLEEP 3000 ELSE IF TARGET_CUR_HP > 0 IF ( ( TARGET_NAME == FINAL_MOB_NAME ) ) && ( ( TARGET_CUR_HP < TARGET_MAX_HP ) ) USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" ELSE IF TARGET_NAME == FINAL_MOB_NAME COMMAND "/attack" SLEEP 5000 ELSE IF ( ( TARGET_NAME == BANDIT1 ) || ( TARGET_NAME == BANDIT2 ) ) USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" ENDIF ENDIF ENDIF ENDIF ENDIF SLEEP 300 WEND RETURN VOID FUNCTION MP DEFINE INT MPPOTS WHILE ZERO == ZERO ITEM_COUNT MPPOTS 728 IF MPPOTS > #i1 IF ( CHAR_CUR_MP < ( ( CHAR_MAX_MP * 11 ) / 100 ) ) WHILE ( CHAR_CUR_MP < ( CHAR_MAX_MP - 700 ) ) print_text "use mana" ITEM_COUNT MPPOTS 728 IF MPPOTS > #i1 USE_ITEM 728 // Mana Potion ELSE BREAK 2 ENDIF SLEEP 900 WEND ENDIF ELSE SLEEP 10000 ENDIF SLEEP 25 WEND RETURN VOID FUNCTION SelfDie IF COMM != 1 COMM = 1 SLEEP 3000 TAP_TO TOWN ENDIF RETURN VOID and this WHILE CHAR_NAME == CHAR_NAME IF CHAR_TITLE != CHAR_NAME SAY_TEXT "<&CHANNEL_ALL&>" "<&CHAR_TITLE&>" ENDIF SLEEP 10000 WEND END_SCRIPT
  8. pos mporo na enoso ta dio parakato script // Beast Farm script // Server: l2j freya // Autor: mochitto // Date: 28.10.2010 // Special thanks for L2.NET contributors // rev.: 34 PRINT_TEXT "SCRIPT STARTED!]" // Main section // =============================== DEFINE_GLOBAL STRING NORMAL_MOB_NAME "Baby Alpine Kookaburra" DEFINE_GLOBAL STRING NORMAL2_MOB_NAME "Young Kookaburra" DEFINE_GLOBAL STRING FINAL_MOB_NAME "Adult Kookaburra" DEFINE_GLOBAL STRING BANDIT1 "Beast Devourer" DEFINE_GLOBAL STRING BANDIT2 "Farm Bandit" DEFINE_GLOBAL STRING FINAL2_MOB_NAME "Full Grown Kookaburra" DEFINE_GLOBAL INT ID_LAST_MOB DEFINE_GLOBAL INT RAND 0 DEFINE_GLOBAL INT COMM 0 SET_EVENT "<&SCRIPTEVENT_SELFDIE&>" "<&SYSTEM_CURRENTFILE&>" SelfDie THREAD SKILLS THREAD MP DO LABEL HERE IF TARGET_ID == 0 TARGET_NEAREST SLEEP 1200 ENDIF IF ( ( TARGET_NAME == NORMAL_MOB_NAME ) || ( TARGET_NAME == NORMAL2_MOB_NAME ) ) USE_ITEM 15474 SLEEP 800 ELSE IF ( ( TARGET_NAME == FINAL_MOB_NAME ) || ( TARGET_NAME == FINAL2_MOB_NAME ) ) ID_LAST_MOB = TARGET_ID GET_RAND RAND 300 2000 SLEEP "<&RAND&>" USE_SKILL 348 GET_RAND RAND 2300 3600 SLEEP "<&RAND&>" USE_SKILL 348 GET_RAND RAND 2300 3600 SLEEP "<&RAND&>" WHILE TARGET_CUR_HP > 0 IF TARGET_ID != ID_LAST_MOB JUMP_TO_LABEL HERE ENDIF SLEEP 400 WEND GET_RAND RAND 800 2600 SLEEP "<&RAND&>" TARGET_NEAREST ELSE IF ( ( TARGET_NAME == BANDIT1 ) || ( TARGET_NAME == BANDIT2 ) ) ID_LAST_MOB = TARGET_ID USE_SKILL 254 GET_RAND RAND 2300 3600 SLEEP "<&RAND&>" WHILE TARGET_CUR_HP > 0 IF TARGET_ID != ID_LAST_MOB JUMP_TO_LABEL HERE ENDIF SLEEP 400 WEND GET_RAND RAND 800 2600 SLEEP "<&RAND&>" TARGET_NEAREST ENDIF ENDIF ENDIF SLEEP 600 LOOP ONE == ONE PRINT_TEXT "SCRIPT STOPED!]" END_SCRIPT FUNCTION SKILLS WHILE ZERO == ZERO IF CHAR_CUR_MP < 200 IF TARGET_ID != 0 COMMAND "/attack" SLEEP 1200 ENDIF SLEEP 3000 ELSE IF TARGET_CUR_HP > 0 IF ( ( TARGET_NAME == FINAL_MOB_NAME ) ) && ( ( TARGET_CUR_HP < TARGET_MAX_HP ) ) USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" ELSE IF TARGET_NAME == FINAL_MOB_NAME COMMAND "/attack" SLEEP 5000 ELSE IF ( ( TARGET_NAME == BANDIT1 ) || ( TARGET_NAME == BANDIT2 ) ) USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" USE_SKILL 0 GET_RAND RAND 1800 3100 SLEEP "<&RAND&>" ENDIF ENDIF ENDIF ENDIF ENDIF SLEEP 300 WEND RETURN VOID FUNCTION MP DEFINE INT MPPOTS WHILE ZERO == ZERO ITEM_COUNT MPPOTS 728 IF MPPOTS > #i1 IF ( CHAR_CUR_MP < ( ( CHAR_MAX_MP * 11 ) / 100 ) ) WHILE ( CHAR_CUR_MP < ( CHAR_MAX_MP - 700 ) ) print_text "use mana" ITEM_COUNT MPPOTS 728 IF MPPOTS > #i1 USE_ITEM 728 // Mana Potion ELSE BREAK 2 ENDIF SLEEP 900 WEND ENDIF ELSE SLEEP 10000 ENDIF SLEEP 25 WEND RETURN VOID FUNCTION SelfDie IF COMM != 1 COMM = 1 SLEEP 3000 TAP_TO TOWN ENDIF RETURN VOID me afto WHILE CHAR_NAME == CHAR_NAME IF CHAR_TITLE != CHAR_NAME SAY_TEXT "<&CHANNEL_ALL&>" "<&CHAR_TITLE&>" ENDIF SLEEP 10000 WEND END_SCRIPT
  9. for low rate do gracia final for mid rate do hellbound for pvp do interlude :P
  10. i have one error Buildfile: C:\workspace test\L2J_Server_BETA\build.xml clean: checkAntVersion: BUILD FAILED C:\workspace test\L2J_Server_BETA\build.xml:251: Ant 1.8.2 is required. But your version is Apache Ant version 1.7.1 compiled on June 27 2008 Total time: 156 milliseconds how can fix?
  11. m exi bgali ena error ti ekana lathos mporite na m pite??stin arxi doulebe mia xara k tora m bgazi afto to error :S
  12. now have this error Error on: C:\Users\Jimmat0s\Desktop\sever1\gameserver\data\scripts\instances\BloodEmpires\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "__init__.py", line 189, in ? NameError: Quest
  13. I spent the following script in freya server import sys from com.l2jserver.gameserver.instancemanager import InstanceManager from com.l2jserver.gameserver.model import L2ItemInstance from com.l2jserver.gameserver.model.actor import L2Summon from com.l2jserver.gameserver.model.entity import Instance from com.l2jserver.gameserver.model.itemcontainer import PcInventory 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 from com.l2jserver.gameserver.network.serverpackets import CreatureSay from com.l2jserver.gameserver.network.serverpackets import InventoryUpdate from com.l2jserver.gameserver.network.serverpackets import MagicSkillUse from com.l2jserver.gameserver.network.serverpackets import SystemMessage from com.l2jserver.gameserver.network.serverpackets import ExShowScreenMessage from com.l2jserver.gameserver.network.serverpackets import Earthquake from com.l2jserver.gameserver.network import SystemMessageId from com.l2jserver.gameserver.util import Util from com.l2jserver.util import Rnd qn = "BloodEmpires" #Items E_APIGA = 14720 ADENA = 57 STONE = 9576 SCROLL = 960 #NPCs ROSE = 65051 CHEST = 65052 #Monsters NAGLFAR = 65053 SENTRY1 = 65054 SENTRY2 = 65055 HOUND = 65056 #Doors DOOR1 = 12240001 DOOR2 = 12240002 class PyObject: pass def openDoor(doorId,instanceId): for door in InstanceManager.getInstance().getInstance(instanceId).getDoors(): if door.getDoorId() == doorId: door.openMe() def closeDoor(doorId,instanceId): for door in InstanceManager.getInstance().getInstance(instanceId).getDoors(): if door.getDoorId() == doorId: door.closeMe() def checkConditions(player, new): party = player.getParty() if party: player.sendPacket(SystemMessage.sendString("You may not enter with a party.")) return False if not player.getLevel() >= 84: player.sendPacket(SystemMessage.sendString("You must be level 84 or higher to enter.")) return False if not party: return True return False def teleportplayer(self,player,teleto): player.setInstanceId(teleto.instanceId) player.teleToLocation(teleto.x, teleto.y, teleto.z) pet = player.getPet() if pet != None : pet.setInstanceId(teleto.instanceId) pet.teleToLocation(teleto.x, teleto.y, teleto.z) return def enterInstance(self,player,template,teleto): instanceId = 0 party = player.getParty() if party : for partyMember in party.getPartyMembers().toArray(): st = partyMember.getQuestState(qn) if not st : st = self.newQuestState(partyMember) if partyMember.getInstanceId()!=0: instanceId = partyMember.getInstanceId() else : if player.getInstanceId()!=0: instanceId = player.getInstanceId() if instanceId != 0: if not checkConditions(player,False): return 0 foundworld = False for worldid in self.world_ids: if worldid == instanceId: foundworld = True if not foundworld: player.sendPacket(SystemMessage.sendString("You have entered another zone, therefore you cannot enter this one.")) return 0 teleto.instanceId = instanceId teleportplayer(self,player,teleto) return instanceId else: if not checkConditions(player,True): return 0 instanceId = InstanceManager.getInstance().createDynamicInstance(template) if not instanceId in self.world_ids: world = PyObject() world.rewarded=[] world.instanceId = instanceId self.worlds[instanceId]=world self.world_ids.append(instanceId) print "Instance: Started " + template + " Instance: " +str(instanceId) + " created by " + str(player.getName()) teleto.instanceId = instanceId teleportplayer(self,player,teleto) return instanceId return instanceId def exitInstance(player,tele): player.setInstanceId(0) player.teleToLocation(tele.x, tele.y, tele.z) pet = player.getPet() if pet != None : pet.setInstanceId(0) pet.teleToLocation(tele.x, tele.y, tele.z) class TrueFight(JQuest): def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.worlds = {} self.world_ids = [] def onTalk (self,npc,player): st = player.getQuestState(qn) npcId = npc.getNpcId() if npcId == ROSE : tele = PyObject() tele.x = -238599 tele.y = 219983 tele.z = -10144 enterInstance(self, player, "BloodEmpires.xml", tele) st.playSound("ItemSound.quest_middle") elif npcId == CHEST : npc.decayMe() tele = PyObject() tele.x = 82200 tele.y = 148347 tele.z = -3467 exitInstance(player,tele) st.giveItems(ADENA,27500000) st.giveItems(STONE,2) st.giveItems(SCROLL,2) st.playSound("ItemSound.quest_finish") player.sendPacket(ExShowScreenMessage("Solo Instance Event (84+): Completed", 8000)) return def onKill(self,npc,player,isPet): st = player.getQuestState(qn) npcId = npc.getNpcId() if npcId == SENTRY1 : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] st.playSound("ItemSound.quest_middle") player.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "Master, Fight or Die!!!")) st.giveItems(E_APIGA,2) openDoor(DOOR1,npc.instanceId) elif npcId == SENTRY2 : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] st.playSound("ItemSound.quest_middle") player.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "Master, Fight or Die!!!")) st.giveItems(E_APIGA,2) openDoor(DOOR2,npc.instanceId) elif npcId == HOUND : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] st.playSound("ItemSound.quest_middle") st.giveItems(E_APIGA,3) player.sendPacket(ExShowScreenMessage("Demonic Lord Naglfar Has Appeared!", 8000)) newNpc = self.addSpawn(NAGLFAR,-242754,219982,-9985,306,False,0,False,npc.instanceId) player.sendPacket(Earthquake(240826,219982,-9985,20,10)) elif npcId == NAGLFAR : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] player.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "-beep-!-beep-!-beep-!!!... Defeated... How!???")) player.sendPacket(ExShowScreenMessage("Congratulations Adventurer! You Have Defeated Demonic Lord Naglfar.", 12000)) st.playSound("ItemSound.quest_fanfare_2") st.giveItems(E_APIGA,6) newNpc = self.addSpawn(CHEST,-242754,219982,-9985,306,False,0,False,npc.instanceId) return QUEST = BloodEmpires(-1, qn, "BloodEmpires") QUEST.addStartNpc(65051) QUEST.addTalkId(65051) QUEST.addTalkId(65052) QUEST.addKillId(65053) QUEST.addKillId(65056) QUEST.addKillId(65054) QUEST.addKillId(65054) and I caused the error below Error on: C:\Users\Jimmat0s\Desktop\sever1\gameserver\data\scripts\instances\BloodEmpires\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "__init__.py", line 189, in ? NameError: BloodEmpires plz help me...
  14. exo perasi to parakato script se freya server import sys from com.l2jserver.gameserver.instancemanager import InstanceManager from com.l2jserver.gameserver.model import L2ItemInstance from com.l2jserver.gameserver.model.actor import L2Summon from com.l2jserver.gameserver.model.entity import Instance from com.l2jserver.gameserver.model.itemcontainer import PcInventory 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 from com.l2jserver.gameserver.network.serverpackets import CreatureSay from com.l2jserver.gameserver.network.serverpackets import InventoryUpdate from com.l2jserver.gameserver.network.serverpackets import MagicSkillUse from com.l2jserver.gameserver.network.serverpackets import SystemMessage from com.l2jserver.gameserver.network.serverpackets import ExShowScreenMessage from com.l2jserver.gameserver.network.serverpackets import Earthquake from com.l2jserver.gameserver.network import SystemMessageId from com.l2jserver.gameserver.util import Util from com.l2jserver.util import Rnd qn = "BloodEmpires" #Items E_APIGA = 14720 ADENA = 57 STONE = 9576 SCROLL = 960 #NPCs ROSE = 65051 CHEST = 65052 #Monsters NAGLFAR = 65053 SENTRY1 = 65054 SENTRY2 = 65055 HOUND = 65056 #Doors DOOR1 = 12240001 DOOR2 = 12240002 class PyObject: pass def openDoor(doorId,instanceId): for door in InstanceManager.getInstance().getInstance(instanceId).getDoors(): if door.getDoorId() == doorId: door.openMe() def closeDoor(doorId,instanceId): for door in InstanceManager.getInstance().getInstance(instanceId).getDoors(): if door.getDoorId() == doorId: door.closeMe() def checkConditions(player, new): party = player.getParty() if party: player.sendPacket(SystemMessage.sendString("You may not enter with a party.")) return False if not player.getLevel() >= 84: player.sendPacket(SystemMessage.sendString("You must be level 84 or higher to enter.")) return False if not party: return True return False def teleportplayer(self,player,teleto): player.setInstanceId(teleto.instanceId) player.teleToLocation(teleto.x, teleto.y, teleto.z) pet = player.getPet() if pet != None : pet.setInstanceId(teleto.instanceId) pet.teleToLocation(teleto.x, teleto.y, teleto.z) return def enterInstance(self,player,template,teleto): instanceId = 0 party = player.getParty() if party : for partyMember in party.getPartyMembers().toArray(): st = partyMember.getQuestState(qn) if not st : st = self.newQuestState(partyMember) if partyMember.getInstanceId()!=0: instanceId = partyMember.getInstanceId() else : if player.getInstanceId()!=0: instanceId = player.getInstanceId() if instanceId != 0: if not checkConditions(player,False): return 0 foundworld = False for worldid in self.world_ids: if worldid == instanceId: foundworld = True if not foundworld: player.sendPacket(SystemMessage.sendString("You have entered another zone, therefore you cannot enter this one.")) return 0 teleto.instanceId = instanceId teleportplayer(self,player,teleto) return instanceId else: if not checkConditions(player,True): return 0 instanceId = InstanceManager.getInstance().createDynamicInstance(template) if not instanceId in self.world_ids: world = PyObject() world.rewarded=[] world.instanceId = instanceId self.worlds[instanceId]=world self.world_ids.append(instanceId) print "Instance: Started " + template + " Instance: " +str(instanceId) + " created by " + str(player.getName()) teleto.instanceId = instanceId teleportplayer(self,player,teleto) return instanceId return instanceId def exitInstance(player,tele): player.setInstanceId(0) player.teleToLocation(tele.x, tele.y, tele.z) pet = player.getPet() if pet != None : pet.setInstanceId(0) pet.teleToLocation(tele.x, tele.y, tele.z) class TrueFight(JQuest): def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.worlds = {} self.world_ids = [] def onTalk (self,npc,player): st = player.getQuestState(qn) npcId = npc.getNpcId() if npcId == ROSE : tele = PyObject() tele.x = -238599 tele.y = 219983 tele.z = -10144 enterInstance(self, player, "BloodEmpires.xml", tele) st.playSound("ItemSound.quest_middle") elif npcId == CHEST : npc.decayMe() tele = PyObject() tele.x = 82200 tele.y = 148347 tele.z = -3467 exitInstance(player,tele) st.giveItems(ADENA,27500000) st.giveItems(STONE,2) st.giveItems(SCROLL,2) st.playSound("ItemSound.quest_finish") player.sendPacket(ExShowScreenMessage("Solo Instance Event (84+): Completed", 8000)) return def onKill(self,npc,player,isPet): st = player.getQuestState(qn) npcId = npc.getNpcId() if npcId == SENTRY1 : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] st.playSound("ItemSound.quest_middle") player.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "Master, Fight or Die!!!")) st.giveItems(E_APIGA,2) openDoor(DOOR1,npc.instanceId) elif npcId == SENTRY2 : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] st.playSound("ItemSound.quest_middle") player.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "Master, Fight or Die!!!")) st.giveItems(E_APIGA,2) openDoor(DOOR2,npc.instanceId) elif npcId == HOUND : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] st.playSound("ItemSound.quest_middle") st.giveItems(E_APIGA,3) player.sendPacket(ExShowScreenMessage("Demonic Lord Naglfar Has Appeared!", 8000)) newNpc = self.addSpawn(NAGLFAR,-242754,219982,-9985,306,False,0,False,npc.instanceId) player.sendPacket(Earthquake(240826,219982,-9985,20,10)) elif npcId == NAGLFAR : if npc.getInstanceId() in self.worlds: world = self.worlds[npc.getInstanceId()] player.sendPacket(CreatureSay(npc.getObjectId(), 0, npc.getName(), "-beep-!-beep-!-beep-!!!... Defeated... How!???")) player.sendPacket(ExShowScreenMessage("Congratulations Adventurer! You Have Defeated Demonic Lord Naglfar.", 12000)) st.playSound("ItemSound.quest_fanfare_2") st.giveItems(E_APIGA,6) newNpc = self.addSpawn(CHEST,-242754,219982,-9985,306,False,0,False,npc.instanceId) return QUEST = BloodEmpires(-1, qn, "BloodEmpires") QUEST.addStartNpc(65051) QUEST.addTalkId(65051) QUEST.addTalkId(65052) QUEST.addKillId(65053) QUEST.addKillId(65056) QUEST.addKillId(65054) QUEST.addKillId(65054) k m bgazi to parakato error Error on: C:\Users\Jimmat0s\Desktop\sever1\gameserver\data\scripts\instances\BloodEmpires\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "__init__.py", line 189, in ? NameError: BloodEmpires opios mporis as me helpari
  15. k mena m bgazi to idio error me ton panos999 :S:S pos tha to fixaro??
×
×
  • 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