-
Posts
143 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by povis111
-
Hello, i usually find what i'm looking for, but this time... I need those double fists shown in the title, like in the picture I have found that RelationChanged packet has to do something with it.. but didn't understood if it actually has something to do. So, if someone knows anything, even clues, please reply :-X
-
Bypass To Npc Which Starts Quest
povis111 replied to Guesswho777's question in Request Server Development Help [L2J]
You can add a check to add the quest whenevert player talks to a npc, if you don't work with source code, the only way to start the quest is bypass -
Well, i got bored of same game servers, so i started making my own kind of type l2jserver too... a server in which i would like to play :)
-
Discussion Change The Hero Weapons
povis111 replied to Icarus Dev's topic in Server Development Discussion [Greek]
Hi, hero weapons equiping and stuff is managed in the source code, but the weapon give is managed in a python script. Easiest way would be remaking the client side files, making hero weapons look like other weapons and be named other names. Ofcourse, statuses can be remade in gameserver/xml/stats/weapon usually. If you don't want them to have hero weapon stats. LoL i accidentally wrote in the Greek section. I'm so sorry xD -
LF .ccp Options For L2Jserver
povis111 replied to Vegetta's question in Request Server Development Help [L2J]
that's a default code in my pack.... i could have done that... but i just didn't :D -
LF .ccp Options For L2Jserver
povis111 replied to Vegetta's question in Request Server Development Help [L2J]
Lol, i don't think that's mutch of a code with 2. In fact, i could bet that it's related to PcKnownList.java class. I think imma make that... I don't know if this works.. but try finding 'public void refreshInfos()' in PcKnownList.java and add a check for offline traders. I don't know how to check if the player is in offline trade, just try this: public void refreshInfos() { for (L2Object object : _knownObjects.values()) { if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).getOfflineStartTime()>0) continue; sendInfoFrom(object); } } oh i misread xD it's just stores :D public void refreshInfos() { for (L2Object object : _knownObjects.values()) { if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).isInStoreMode() || ((L2PcInstance) object).isInCraftMode()) continue; sendInfoFrom(object); } } -
Request Custom Earthquake For Spawn Epic Boss
povis111 replied to l2alterkdos's question in Request Server Development Help [L2J]
try it like this: @Override public void onSpawn() { if(this.getSpawn().getNpcid()==12345/*frintezza id*/ || this.getSpawn().getNpcid()==12345/*valakas id*/ || this.getSpawn().getNpcid()==12345/*baium id*/ || this.getSpawn().getNpcid()==12345/*antharas id*/ ) { Earthquake eq = new Earthquake(this.getSpawn().getLocx(), this.getSpawn().getLocy(), this.getSpawn().getLocz(), 14, 3); Broadcast.toAllOnlinePlayers(eq); } super.onSpawn(); if(!this.getSpawn().is_customBossInstance()) GrandBossManager.getInstance().addBoss(this); } -
Request Custom Earthquake For Spawn Epic Boss
povis111 replied to l2alterkdos's question in Request Server Development Help [L2J]
you must have mistaken something when applying the code... it would be faster if you pm'ed me your skype -
Request Custom Earthquake For Spawn Epic Boss
povis111 replied to l2alterkdos's question in Request Server Development Help [L2J]
Here's an answer: In your case, you're using frozen, so i downloaded l2jfrozen and made the thing, but didn't test it. As you can see, you have to replace '12345' with your boss ids. Good luck :poker face: @Override public void onSpawn() { if(this.getSpawn().getNpcid()==12345/*frintezza id*/ || this.getSpawn().getNpcid()==12345/*valakas id*/ || this.getSpawn().getNpcid()==12345/*baium id*/ || this.getSpawn().getNpcid()==12345/*antharas id*/ ) { Earthquake eq = new Earthquake(player.getX(), player.getY(), player.getZ(), 14, 3); Broadcast.toAllOnlinePlayers(eq); } super.onSpawn(); if(!this.getSpawn().is_customBossInstance()) GrandBossManager.getInstance().addBoss(this); } -
Request Custom Earthquake For Spawn Epic Boss
povis111 replied to l2alterkdos's question in Request Server Development Help [L2J]
-
Request Custom Earthquake For Spawn Epic Boss
povis111 replied to l2alterkdos's question in Request Server Development Help [L2J]
well, for that, you gonna have to add a boss id check somehow.... -
Request Custom Earthquake For Spawn Epic Boss
povis111 replied to l2alterkdos's question in Request Server Development Help [L2J]
what do you mean? fix what is wrong, i don't see it :poker face: -
Request Custom Earthquake For Spawn Epic Boss
povis111 replied to l2alterkdos's question in Request Server Development Help [L2J]
Here's a quick guide that i think would work 1. Find the L2GrandBossInstance.java between gamserver/model/actor/instance 2. Find CursedWeapon.java between gamserver/model/ 3. Find this in CursedWeapon.java private void dropIt(L2Attackable attackable, L2PcInstance player, L2Character killer, boolean fromMonster) { _isActivated = false; if (fromMonster) { _item = attackable.dropItem(player, _itemId, 1); _item.setDropTime(0); // Prevent item from being removed by ItemsAutoDestroy // RedSky and Earthquake ExRedSky packet = new ExRedSky(10); Earthquake eq = new Earthquake(player.getX(), player.getY(), player.getZ(), 14, 3); Broadcast.toAllOnlinePlayers(packet); Broadcast.toAllOnlinePlayers(eq); } 4. Find this in L2GrandBossInstance.java @Override public void onSpawn() { setIsNoRndWalk(true); super.onSpawn(); } 5. Take lines from CursedWeapon.java and paste them in L2GrandBossInstance.java @Override public void onSpawn() { Earthquake eq = new Earthquake(player.getX(), player.getY(), player.getZ(), 14, 3); Broadcast.toAllOnlinePlayers(eq); setIsNoRndWalk(true); super.onSpawn(); } 6. Don't forget to paste imports in GrandBossInstance.java (should look similar) import net.sf.l2j.gameserver.network.serverpackets.Earthquake; import net.sf.l2j.gameserver.util.Broadcast; 7. I don't know if this works, but it should. Good luck :happyforever: -
WTS Some Custom Features / Developer Services
povis111 replied to Erlandys's topic in Marketplace [L2Packs & Files]
You're a very well skilled guy, goodluck :) -
What do you mean by 'anything', yes, i only changed imports and textbuilder > stringbuilder. But i still changed something... Btw, i was asked to do this and thought some more people would need it ;)
-
Hey guys, i'm going to share Grand Boss Info Manager... for aCis. Tested and works on rev. 290. The link: http://www68.zippyshare.com/v/97642276/file.html Install: 1. put BossRespawn folder into scripts/custom/ 2. add into scripts.cfg file custom/BossRespawn/BossRespawn.java 3. Change NPC_ID=30951; in BossRespawn.java into any npc id you want, just keep in mind that npc's type must be L2NpcInstance. 4. Credits to BigBoss and Dleogr. Remade to work by povis111.
-
Ultimate Buffer For Acis By Povis111
povis111 replied to povis111's topic in Server Shares & Files [L2J]
The topic says it has sql... so, i don't know what you downloaded... -
Ultimate Buffer For Acis By Povis111
povis111 replied to povis111's topic in Server Shares & Files [L2J]
Well, when, you create a scheme, it's obviously stored somewhere. That somwhere is, in the mysql database. So, you didn't execute sql files into the database ;). That's what the error says " "db.buffsets" does not exists " -
Ultimate Buffer For Acis By Povis111
povis111 replied to povis111's topic in Server Shares & Files [L2J]
Use the guide... you don't have to make any instances... it's a quest -
Ultimate Buffer For Acis By Povis111
povis111 replied to povis111's topic in Server Shares & Files [L2J]
thanks ;D i had no idea how quest start works... the code was very hard for me to understand in there :) -
My buffer can't heal .. why ?
povis111 replied to spartakos77's question in Request Server Development Help [L2J]
LOL not like that.... it should be st.getPlayer().setCurrentHp(st.getPlayer().getMaxHp()) setCurrentCp/setCurrentMp -
When loading buffs listed in all of the types, all buffs are also loaded into a one arraylist, from which i check whether the buff is added or not... with the 'checkAvailability(id)' ...
-
NO IT'S NOT! You should test yourself, before trying to prove such nonsense...
-
What? no it's NOT, 1st + else if (_command.startsWith("Buffer ")) + { + try { + if (activeChar.getTarget() instanceof L2BufferInstance && activeChar.isInsideRadius(activeChar.getTarget(), L2Npc.INTERACTION_DISTANCE, false, false)) + ((L2BufferInstance) activeChar.getTarget()).onBypassFeedback(activeChar, _command.replace("Buffer ", "")); + } catch (Exception e) {_log.info(e + " / " +e.getMessage()); } + } 2nd + int type = Integer.parseInt(st.nextToken()); + int page = Integer.parseInt(st.nextToken()); + int id = Integer.parseInt(st.nextToken()); + + if(data.checkAvailability(id)) + SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id)).getEffects(player, player); + public boolean checkAvailability(int id){ + try{ + if(allSkills.contains(SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id)))) + return true; + }catch(Exception e){_log.info("Exception in checking skill availability: " + e);} + return false; + } but that try/catch was really unnecessary :(
-
I have been working on this buffer for a long time, making it from 0 and slowly... a lot of necessary stuff is missing in it so count it as a tryout or beta buffer, whatever you call it... i know that if you looked at the code the first question from you would be: 'Why So Many try/catch Statements?' Well, thats because i had lots of errors... I'm not puting any video cause i want a little bit of sleep... video or screens tomorrow... tested and working fine :) lol a little bit wrong section xD i would be glad if someone moved it to l2jserver section ;D here's a vid: back to adding some neccessary features ;D (updated the link) http://www59.zippyshare.com/v/12775127/file.html UPDATE: 1. Buffs cancel 2. Current buffs save to a scheme 3. Heal all