-
Posts
66 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by zilbe333
-
Hello, coul'd anyone share a simple code or similar made object to make own made NPC recharge mp to anyone who aproaches it at some closer distance (not too far). I figured one simple way out on my own: I made npc as aggro, and signed skill for him to use Recharge + val="TARGET_AURA. It worked some way, on Hellbound,Gracia,H5 projects, but for some reason on Interlude it instead of cast Recharge - hits you physically when you stand next to it. I don't want him to use anything physical, only magic skill - mp recharge type. If there is a simple object written, where I could adjuse JUST few things like npc class and skill chosen, pls share.. Not beeing good at it I still tried to experiment with few similar examples in Eclipse, some didn't work, some couldn't even ant build it, and could not resolve errors, I did manage some to understand and resolve, but some did not.
-
Sorted. I searched deeper into Source side, I think it was same place markwil talked about. I found a Squash seeds name still being used for skill into datapack source. Renamed it to Mana Drug, ant built it, just quickly replaced data folder for check and it changed system message to Mana Drug. Not sure yet which file as I can't replace just all folder having a lot of adjucements and there are a lot of files, will dig in folder by folder. BUT, that wasn't the solution I used. SweeTs was right in his last posts, I re-checked skillname into client, for some strange mickeymouse reason I missed out it still has its Squash seed name, and I could almost swear I checked the damn file. Without any other adjucements, changing this sorted the issue. Tnx.
-
Tnx for replies. SweeTs, what is the name of proper topic section for these issues? I'll look up next time. I'll re-check skillname with editor.
-
Hello, On Interlude server I have Mana Drug working, skill as mostly - 2003, skill name is Mana Drug, Database is Mana Drug, ItemnName-e.dat is Mana Drug, (I have set reuse deley for 5 sec) and when system message, where it uses "$s1 is not available at this time: being prepared for reuse. " the $s1 has been called Squash seed... Where am I missing out on the old name? How to rename it Mana Drug for system to use? I tried to search Eclipse sided, but couldn't find path..
-
Tnx, I'll give it a go with Frozen.
-
Hi, I know L2jOneo project is not an air anymore, there can be found some compiled pack versions etc... Has anyone got L2jOneo source in files - checked out on Eclipse into workspace etc..? pls share
-
Help No Grandboss Auto Spawn.
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
checked, they .py file match with database table. Here is my Core .py file import sys from net.sf.l2j.util import Rnd from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest from net.sf.l2j.gameserver.serverpackets import NpcSay from net.sf.l2j.gameserver.serverpackets import PlaySound # Boss: Core class core(JQuest) : # init function. Add in here variables that you'd like to be inherited by subclasses (if any) def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.Core = 29006 self.Minions = [29007,29008,29011] self.FirstAttacked = False def onAttack (self,npc,player,damage,isPet): objId=npc.getObjectId() if self.FirstAttacked: if Rnd.get(100) : return npc.broadcastPacket(NpcSay(objId,0,npc.getNpcId(),"Removing intruders.")) else : self.FirstAttacked = True npc.broadcastPacket(NpcSay(objId,0,npc.getNpcId(),"A non-permitted target has been discovered.")) npc.broadcastPacket(NpcSay(objId,0,npc.getNpcId(),"Starting intruder removal system.")) return def onKill(self,npc,player,isPet): npcId = npc.getNpcId() if npcId == self.Core: objId=npc.getObjectId() npc.broadcastPacket(PlaySound(1, "BS02_D", 1, objId, npc.getX(), npc.getY(), npc.getZ ())) npc.broadcastPacket(NpcSay(objId,0,npcId,"A fatal error has occurred.")) npc.broadcastPacket(NpcSay(objId,0,npcId,"System is being shut down...")) npc.broadcastPacket(NpcSay(objId,0,npcId,"......")) self.FirstAttacked = False self.addSpawn(31842,16502,110165,-6394,0,False,900000) self.addSpawn(31842,18948,110166,-6397,0,False,900000) elif self.FirstAttacked : self.addSpawn(npcId,17726,108915,-6480,npc.getHeading(),True,0) return # now call the constructor (starts up the ai) QUEST = core(-1,"core","ai") QUEST.addKillId(QUEST.Core) QUEST.addAttackId(QUEST.Core) for minion in QUEST.Minions : QUEST.addKillId(minion) p.s. Does the other bosses, apart from baium,antharas, core, -needs to be in py or .java? later chronicles are all in .java, some I've seen mixedd content. I managed to find valakas py file on web, but the syntax doesnt match. I also tried to implement gracias/h5 .java files, trying to match import paths but unsucccessfuly. -
LF Ct 1.5 Hellbound Source
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
tnx for reply, I have sneaked through it's files already, and meny others, all above versions have them in .java files, mine seems to be .py, even though I dont have all bosses in AI/individuals folder listed, should they be in .py - all Grand bosses in ct 1.5? should they be there in that folder, absolutely all? even so, example with Core, I have its .py file, its line in scripts.cfg, in dadabase table, and still location is empty. BUT, Baium works perfect!! <-- My issue is I don't know what exactly to look for, what is the issue, the trigger that doesnt work with my grand bosses. No one seem to talk about it, no key words in search engine find anything useful. -
Help No Grandboss Auto Spawn.
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
Core for instance: I have it listed in database table, I have its .py file, I have it listed in scripts.cfg, but the location is empty! Baium again all same files, line in scripts.cfg and he is working fine. So how/why Core is missing out? I keep on reading, and reading, endlessly and can't understand, what is missing, where to look, atleast sort the Core issue, so I would have an exaple to follow with others, little by little finding right code..I just don't know what exactly is missing.. why auto spawn has not been triggered/handled.. -
LF Ct 1.5 Hellbound Source
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
Grand Boss issue: H5 files in AI/induvidual folder have them all in .java Already tried to compose some conection from other chronicles, unsuccessfuly. Here must be ppl working with l2j for years, could anyone explain the chain how it works and where to look for an answer into my files or Eclipse sided: -I have all Grand bosses listed in database table grandboss_data, locations etc. All are spawnable manually, all npc are there, working, I just don't have the AUTO spawn, for instance Quen Ant, Core, Orfen is missing in their locations. BUT Baium works, is there, stone, I can wake him up, status changes in my console from 0 to 1 like it should etc. Works fine. but the rest is missing.. I want to understand where who handles their spawn. They are not regular spawns.. For instance Core: it is listed in database Grand boss table, I have its .py file, and its line in the scripts.cfg, but the location is empty.. -
Greetings to all L2/l2j fans, I've been working on CT 1.5 Hellbound server, seems like a lot of work has been successfuly done, as the pack was half empty. But it seems that Im not competent to overcome few issues, nor in my datapack, nor Eclipse sided. In the past I've been messing around a bit in with servers from interlude to h5, having no major issues that couldn't be sorted out by reading and looking for missing or better code blocks etc. I love Hellbound chronicle, it's size etc., I would love to not to give up on this project.. Is there outhtere, by any chance, a kind hearted persont to share a decent server source and data pack for ct 1.5 Hellbound with working Grand Bosses spawns and Hellbdound instance (towers etc)..
-
Help No Grandboss Auto Spawn.
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
I checked other chronicles, all bosses seems to be in .java, I've got only 3 bosses in AI/induvidual folder, .py files -Baium, Antharas, Core. Core is missing same as the rest. Only 1 working for sure is Baium, all states, as written in .py stone, awake, dead. Auto spawn, timers auto set, all fine. I keep on reading, but not sure, what Im looking for, as I dont know whats missing. Ant Queen, Core, Orfen, where should I check addSpawn? Is there any code block I could copy and Implement where needed to correct? Or better source file to use for ant build from ct 1.5 Hellbound? -
Help No Grandboss Auto Spawn.
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
Exactly my point about AQ, Core etc.. I couldn't find any other decent pack, source for Hellbound, this one was the one shared around. Link after link I found elswere the same pack. A lot of quests were missing, potion/skill/icon issues. I managed to sort all that out, finding and implementing good working code blocks into Eclipse and then ant building core again. This one about Bosses, I'm trying to understand first what exactly should I look for. I will deal with the script.cfg now, will try to find fully written and AI/individual folder with all Bosses .py's. As I understant I should have .py file for each gboss? "Verify/reset timers on grandboss table, if it's put in 2050 you won't find any respawn. If all others scripts are working, there aren't a lot of solutions/problems anyway. " -If I understand correctly it's Eclipse sided? If so, could you write s path to the file? My grandboss_data table was half empty, I found most of missing data and filled the table, I believe i still don't have Beleth. this is how it looks like: So I understood they are not regular spawns, all the respawn timer handling.. Could you please state those GBosses, that are being spawned by triggering an event? tnx for your reply. p.s. still, If I have Core same as Baium - .py file, in scripts.cfg, why doesn't it spawn.. -
Help No Grandboss Auto Spawn.
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
Must mention, that I've got Baium sleeping, you can wake him up and fight - after wake status goes from 0 to 1, as it should, so Baium is fine, working. I've got Antharas in its cave. I believe both bosses are working. Missing ones are rest: AQ, Core, Orfen, Zaken, Valakas, Frint.... Checked my scripts.cfg, this is what the AI lines about Bosses looks like: # AI Section ai/fantasy_isle/mc_show.py ai/group_template/chests.py ai/group_template/feedable_beasts.py ai/group_template/polymorphing_angel.py ai/individual/antharas.py ai/individual/baium.py ai/individual/core.py ai/individual/drchaos.py ai/individual/fleeNpc.java Only 3 bosses mentioned, could that be the issue of no-auto spawn? I've got no Core spawn too. This is what core.py looks like in AI/individual folder: import sys from net.sf.l2j.util import Rnd from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest from net.sf.l2j.gameserver.serverpackets import NpcSay from net.sf.l2j.gameserver.serverpackets import PlaySound # Boss: Core class core(JQuest) : # init function. Add in here variables that you'd like to be inherited by subclasses (if any) def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.Core = 29006 self.Minions = [29007,29008,29011] self.FirstAttacked = False def onAttack (self,npc,player,damage,isPet): objId=npc.getObjectId() if self.FirstAttacked: if Rnd.get(100) : return npc.broadcastPacket(NpcSay(objId,0,npc.getNpcId(),"Removing intruders.")) else : self.FirstAttacked = True npc.broadcastPacket(NpcSay(objId,0,npc.getNpcId(),"A non-permitted target has been discovered.")) npc.broadcastPacket(NpcSay(objId,0,npc.getNpcId(),"Starting intruder removal system.")) return def onKill(self,npc,player,isPet): npcId = npc.getNpcId() if npcId == self.Core: objId=npc.getObjectId() npc.broadcastPacket(PlaySound(1, "BS02_D", 1, objId, npc.getX(), npc.getY(), npc.getZ())) npc.broadcastPacket(NpcSay(objId,0,npcId,"A fatal error has occurred.")) npc.broadcastPacket(NpcSay(objId,0,npcId,"System is being shut down...")) npc.broadcastPacket(NpcSay(objId,0,npcId,"......")) self.FirstAttacked = False self.addSpawn(31842,16502,110165,-6394,0,False,900000) self.addSpawn(31842,18948,110166,-6397,0,False,900000) elif self.FirstAttacked : self.addSpawn(npcId,17726,108915,-6480,npc.getHeading(),True,0) return # now call the constructor (starts up the ai) QUEST = core(-1,"core","ai") QUEST.addKillId(QUEST.Core) QUEST.addAttackId(QUEST.Core) for minion in QUEST.Minions : QUEST.addKillId(minion) Tnx for your replys. -
Help No Grandboss Auto Spawn.
zilbe333 replied to zilbe333's question in Request Server Development Help [L2J]
L2j Hellbound ct 1.5 server version: 2340, datapack version: 4995. At the begining I statrted with ready compiled pack, don't knowing the Eclipse part. I've checked same from Interlude till H5. Then at some point, you just understand that with out knowing tools for core editing, it's not serious. I stucked with HB, as I like the chonicle and its size fits the plans. Checked lot of different sources, and differences between chronicles. Found and stayed with this source for Eclipse: http://svn.l2jserver.com/branches/L2_GameServer_T1.5/ , http://svn.l2jdp.com/branches/ I kept reading..there was so meny empty holes to fill. Managed to fixe admin panels, potion issues other people write about, quests etc. Maxcheater was a great source to find needed code blocks missing in source inEclipse. I have two issues left, couldn't find a good article about Grand boss auto spawn/ or its handler. and HB instance (abouut that I'll post diferent topic to keep this onto tracks.) -
Hello, I've got isseu on CT1.5 - no GrandBoss auto spawn. All/any boss can be spawned manualy, all npc's are fine, there. But the GrandBoss, for instance Queen Ant, core, orfen etc. areas are empty. I can't find what, and WHERE who handles them. I'm trying to read and understand Eclipse part. Database has the data of all boses, locations etc. GrandbossManager.java has a comend " * NOTE: The current version does NOT spawn the Grand Bosses, * it just stores and retrieves the values on reboot/startup, * for AI scripts to utilize as needed." Does the GrandBossManager should saturate the info/ handle the autospawn? If yes, pleas post the java content, that works, if shouldnt, pleas explain where to look..
