usedy07
Members-
Posts
17 -
Joined
-
Last visited
-
Feedback
0%
About usedy07

Profile Information
-
Gender
Not Telling
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
usedy07's Achievements
Explorer (4/16)
-
Rare
-
Rare
-
Rare
-
Rare
-
Rare
Recent Badges
-
Discussion Help Repeatable Quest Timer
usedy07 replied to usedy07's topic in Server Development Discussion [L2J]
i get that. Error on: C:\Users\Talha\Desktop\Server_enson\game\data\scripts\quests\263_KillAllSylphs1\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "quests/263_KillAllSylphs1/__init__.py", line 104, in ? NameError: QUEST if u available i want to send teamviewer or anydesk -
Discussion Help Repeatable Quest Timer
usedy07 replied to usedy07's topic in Server Development Discussion [L2J]
Thanks for reply. i try it copy paste.i get this error. Error on: C:\Users\Talha\Desktop\Server_enson\game\data\scripts\quests\263_KillAllSylphs1\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): (no code object) at line 0 SyntaxError: ('invalid syntax', ('quests/263_KillAllSylphs1/__init__.py', 95, 29, ' htmltext = f"<html><body>You can repeat this quest after {remaining_time} passed!</body></html> and i use quest on npc, npc says '' you either not on a quest ..... -
Discussion Help Repeatable Quest Timer
usedy07 replied to usedy07's topic in Server Development Discussion [L2J]
up -
Help Help Repeatable Quest Timer
usedy07 replied to usedy07's question in Request Server Development Help [L2J]
up -
Hello, I edited a quest for the interlude server. However, I want to add a timer to this quest so that it will be reset every 24 hours or at a certain time of the day. I could not do this because my Java knowledge is not very sufficient. If anyone can help me with this, I would be very happy. Note:I created it by editing the existing kill all sphys task. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- # Made by Mr. - Version 0.3 by DrLecter import sys from l2jorion.game.model.quest import State from l2jorion.game.model.quest import QuestState from l2jorion.game.model.quest.jython import QuestJython as JQuest qn = "263_KillAllSylphs1" ORB_OF_WATER = 9998 ORB_OF_FIRE = 9999 ORB_OF_WIND = 10000 ORB_OF_EARTH = 10001 STONE_OF_VALOR = 10002 DROPLIST={ 57000:[ORB_OF_WIND,100], 57001:[ORB_OF_EARTH,100], 57002:[ORB_OF_FIRE,100], 57003:[ORB_OF_WATER,100], } class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent (self,event,st) : htmltext = event if event == "70737-03.htm" : st.set("cond","1") st.setState(STARTED) st.playSound("ItemSound.quest_accept") elif event == "70737-06.htm" : st.exitQuest(1) st.playSound("ItemSound.quest_finish") return htmltext def onTalk (self,npc,player): htmltext = "<html><body>You are either not carrying out your quest or don't meet the criteria.</body></html> st = player.getQuestState(qn) if not st : return htmltext npcId = npc.getNpcId() id = st.getState() if id == CREATED : st.set("cond","0") if st.getInt("cond")==0 : if player.getLevel()<76 : htmltext = "70737-01.htm" st.exitQuest(1) else : htmltext = "70737-02.htm" else : water = st.getQuestItemsCount(ORB_OF_WATER) fire = st.getQuestItemsCount(ORB_OF_FIRE) wind = st.getQuestItemsCount(ORB_OF_WIND) earth = st.getQuestItemsCount(ORB_OF_EARTH) if water == fire == wind == earth == 0 : htmltext = "70737-04.htm" if npcId == 70737 and st.getQuestItemsCount(ORB_OF_WATER) and st.getQuestItemsCount(ORB_OF_FIRE) and st.getQuestItemsCount(ORB_OF_WIND) and st.getQuestItemsCount(ORB_OF_EARTH) : htmltext = "70737-05.htm" st.giveItems(STONE_OF_VALOR,1) st.takeItems(ORB_OF_WATER,-1) st.takeItems(ORB_OF_FIRE,-1) st.takeItems(ORB_OF_WIND,-1) st.takeItems(ORB_OF_EARTH,-1) return htmltext def onKill(self,npc,player,isPet): st = player.getQuestState(qn) if not st : return if st.getState() != STARTED : return item,chance=DROPLIST[npc.getNpcId()] if st.getRandom(100)>1 : st.giveItems(item,1) st.playSound("ItemSound.quest_itemget") return QUEST = Quest(263,qn,"Kill All Sylphs1") CREATED = State('Start', QUEST) STARTING = State('Starting', QUEST) STARTED = State('Started', QUEST) COMPLETED = State('Completed', QUEST) QUEST.setInitialState(CREATED) QUEST.addStartNpc(70737) QUEST.addTalkId(70737) QUEST.addKillId(57000) QUEST.addKillId(57001) QUEST.addKillId(57002) QUEST.addKillId(57003) STARTED.addQuestDrop(57002,ORB_OF_FIRE,1) STARTED.addQuestDrop(57003,ORB_OF_WATER,1) STARTED.addQuestDrop(57000,ORB_OF_WIND,1) STARTED.addQuestDrop(57001,ORB_OF_EARTH,1)
-
Discussion Help Repeatable Quest Timer
usedy07 posted a topic in Server Development Discussion [L2J]
Hello, I organized a quest for the interlude server. However, I want to add a timer to this quest so that it will be reset every 24 hours or at a certain time of the day. I could not do this because my Java knowledge is not very sufficient. If anyone can help me with this, I would be very happy. # Made by Mr. - Version 0.3 by DrLecter import sys from l2jorion.game.model.quest import State from l2jorion.game.model.quest import QuestState from l2jorion.game.model.quest.jython import QuestJython as JQuest qn = "263_KillAllSylphs1" ORB_OF_WATER = 9998 ORB_OF_FIRE = 9999 ORB_OF_WIND = 10000 ORB_OF_EARTH = 10001 STONE_OF_VALOR = 10002 DROPLIST={ 57000:[ORB_OF_WIND,100], 57001:[ORB_OF_EARTH,100], 57002:[ORB_OF_FIRE,100], 57003:[ORB_OF_WATER,100], } class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent (self,event,st) : htmltext = event if event == "70737-03.htm" : st.set("cond","1") st.setState(STARTED) st.playSound("ItemSound.quest_accept") elif event == "70737-06.htm" : st.exitQuest(1) st.playSound("ItemSound.quest_finish") return htmltext def onTalk (self,npc,player): htmltext = "<html><body>You are either not carrying out your quest or don't meet the criteria.</body></html> st = player.getQuestState(qn) if not st : return htmltext npcId = npc.getNpcId() id = st.getState() if id == CREATED : st.set("cond","0") if st.getInt("cond")==0 : if player.getLevel()<76 : htmltext = "70737-01.htm" st.exitQuest(1) else : htmltext = "70737-02.htm" else : water = st.getQuestItemsCount(ORB_OF_WATER) fire = st.getQuestItemsCount(ORB_OF_FIRE) wind = st.getQuestItemsCount(ORB_OF_WIND) earth = st.getQuestItemsCount(ORB_OF_EARTH) if water == fire == wind == earth == 0 : htmltext = "70737-04.htm" if npcId == 70737 and st.getQuestItemsCount(ORB_OF_WATER) and st.getQuestItemsCount(ORB_OF_FIRE) and st.getQuestItemsCount(ORB_OF_WIND) and st.getQuestItemsCount(ORB_OF_EARTH) : htmltext = "70737-05.htm" st.giveItems(STONE_OF_VALOR,1) st.takeItems(ORB_OF_WATER,-1) st.takeItems(ORB_OF_FIRE,-1) st.takeItems(ORB_OF_WIND,-1) st.takeItems(ORB_OF_EARTH,-1) return htmltext def onKill(self,npc,player,isPet): st = player.getQuestState(qn) if not st : return if st.getState() != STARTED : return item,chance=DROPLIST[npc.getNpcId()] if st.getRandom(100)>1 : st.giveItems(item,1) st.playSound("ItemSound.quest_itemget") return QUEST = Quest(263,qn,"Kill All Sylphs1") CREATED = State('Start', QUEST) STARTING = State('Starting', QUEST) STARTED = State('Started', QUEST) COMPLETED = State('Completed', QUEST) QUEST.setInitialState(CREATED) QUEST.addStartNpc(70737) QUEST.addTalkId(70737) QUEST.addKillId(57000) QUEST.addKillId(57001) QUEST.addKillId(57002) QUEST.addKillId(57003) STARTED.addQuestDrop(57002,ORB_OF_FIRE,1) STARTED.addQuestDrop(57003,ORB_OF_WATER,1) STARTED.addQuestDrop(57000,ORB_OF_WIND,1) STARTED.addQuestDrop(57001,ORB_OF_EARTH,1) -
Help After teleport or revive critical errors
usedy07 replied to usedy07's topic in [Request] Client Dev Help
Problem solved.Thanks bro. -
Help After teleport or revive critical errors
usedy07 replied to usedy07's topic in [Request] Client Dev Help
All right, I've attached the files you want. I'd appreciate it if you could take a look. Thanks all. -
Help After teleport or revive critical errors
usedy07 replied to usedy07's topic in [Request] Client Dev Help
yes, these files appear as .u in the system file unlike the others. I will remove them and try again. Thank you very much. I hope the problem is solved.I'm uploading right now. https://fastupload.io/Qxfawtc7ryaxE9i/file they are. -
Help After teleport or revive critical errors
usedy07 replied to usedy07's topic in [Request] Client Dev Help
npcgrp ve npcname ty.i use interlude now. -
Help After teleport or revive critical errors
usedy07 replied to usedy07's topic in [Request] Client Dev Help
It's not a specific area. My guess is that if the distance between the irradiated area and the start is far, a critical error will automatically occur. I tried it on many clients, I think it is something related to the patch I created. The problem is that there are 651 files in my patch (including system files). Total 1.83GB. I guess it will take a long time to find the solution. However, what I want to know is, what system file can get such a problem when it gets corrupted? Any idea ? -
2023.6.1 17:12:40 OS : Windows Vista 6.2 (Build: 9200) CPU : AuthenticAMD Unknown processor @ 4404 MHz with 2047MB RAM Video : AMD Radeon RX 6700 XT (1012) General protection fault! History: UStruct::SerializeBin <- (Class Engine.ShadowBitmapMaterial ShadowActor[0]) <- UObject::Serialize <- (ShadowBitmapMaterial Transient.ShadowBitmapMaterial107) <- TestReach <- (ShadowBitmapMaterial Transient.ShadowBitmapMaterial107) <- UStruct::SerializeBin <- (Class Engine.ShadowProjector ShadowTexture[0]) <- UObject::Serialize <- (ShadowProjector 19_23.ShadowProjector267) <- AActor::Serialize <- TestReach <- (ShadowProjector 19_23.ShadowProjector267) <- ULevelBase::Serialize <- ULevel::Serialize <- TestReach <- (Level 19_23.myLevel) <- UStruct::SerializeBin <- (Class Engine.GameEngine GLevel[0]) <- UObject::Serialize <- (GameEngine Transient.GameEngine0) <- UGameEngine::Serialize <- (GameEngine Transient.GameEngine0) <- UGameEngine::Serialize <- (GameEngine Transient.GameEngine0) <- TestReach <- (GameEngine Transient.GameEngine0) <- TArray<< <- UGameEngine::L2SerializeRootSet <- UGameEngine::L2CollectGarbage <- UGameEngine::DetachLevel <- UGameEngine::CheckPurgeLevel <- Level_was_loaded <- UGameEngine::L2_Teleport <- UGameEngine::Tick <- UpdateWorld <- MainLoop Hello, during the character respawn or teleport on my server, a critical error occurs in the 3rd or 4th try. What could be the main reason for this? I am sharing the error I got.
-
usedy07 started following CriticalError
-
Request Gameserverthread: Login terminated the connection. error
usedy07 replied to usedy07's topic in Request Support [English]
still waiting some answers.
