Jump to content

tazerman2

Members
  • Posts

    678
  • Credits

  • Joined

  • Last visited

  • Days Won

    9
  • Feedback

    0%

Everything posted by tazerman2

  1. check this is good ? if player target knownlist radius this sendpacket delay 10 sec treadpoolmanager private L2WalkingMonsterInstance target; private L2GameServerPacket mov; public void check() { for(L2Character o : target.getKnownList().getKnownCharactersInRadius(1000 * 10 * 80)) { if(o instanceof L2WalkingMonsterInstance) { L2WalkingMonsterInstance mob = (L2WalkingMonsterInstance) o; if(mob.isMoving() || mob.isRunning()) { o.sendPacket(mov); } } } }
  2. any can help me for fix this problem plz i am looking for this 4 days for fix it :S
  3. finish service locket
  4. on my i think is not automatic after player is not move i see only 3 mob in walking and in move i see all mobs move and in radius 500+ mob is stuck only in my instance how to fix or make a update knowlist every 5 sec for custom instance ?
  5. [GR] nomizo den ginete na bgaleis to scroll bar apo oti exo dokimasi ston c6. Apo hi5 apo oso exo dokimasi ginete
  6. hello all i have a problem with a code.. i have make a code for walker some mobs is work all good but i have problem with graphics mob is move and after 3 loc is stuck here i click target to mob and i see in opposite side how to fix can player see all time move mobs ? here is a video for see walker monsters --> http://sendvid.com/9r17sv7x
  7. okk okkk public class YOURNAMENPCInstance extends L2FolkInstance { public YOURNAMENPCInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onAction(L2PcInstance activeChar) { if (!(canTarget(activeChar))) { return; } if (this != activeChar.getTarget()) { activeChar.setTarget(this); activeChar.sendPacket(new MyTargetSelected(getObjectId(), 0)); activeChar.sendPacket(new ValidateLocation(this)); } else if (!(canInteract(activeChar))) { activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); } else { showHtmlWindow(activeChar, toString()); } activeChar.sendPacket(new ActionFailed()); } private void showHtmlWindow(L2PcInstance activeChar, String command) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/1.htm"); // <--- YOUR LINK HTML BaseBBSManager.separateAndSend(text, activeChar); } }
  8. free service for your server you want good template and you dont know good html? no problem i am here for help you for make a good template and with good appearance i can make anything template for more info or help add me skype: typerakos
  9. add me skype:typerakos i give free npc connect community boards
  10. ready copy accept me skype: typerakos
  11. good luck!
  12. error fixed but is not working. I dont know why :-\ mob is spawn
  13. hi i am looking for some know visual c++ i have i have fix this rGuard and is work on interlude but need rework and need add some extra code
  14. public class WalkerMonster implements Runnable { public static L2NpcInstance npc; protected FastList<L2NpcInstance> _allMobs = new FastList<>(); protected static final Logger LOGGER = Logger.getLogger(Quest.class); private static int _isWalkTo = 0; private static int X = 0; private static int Y = 0; private static int Z = 0; private static int walkerNpc = 90; private static final int[][] WALKS = { { 141569, -45908, -2387 }, { 142494, -45456, -2397 }, { 141569, -45908, -2387 }, { 142494, -45456, -2397 }, { 141569, -45908, -2387 }, { 142494, -45456, -2397 } }; public void DoWalkerMonster() { if (npc == null || npc.getSpawn() == null) { if (npc.getTemplate().getNpcId() != walkerNpc) { _isWalkTo++; if (_isWalkTo < 55) { _isWalkTo = 1; } X = WALKS[_isWalkTo - 1][0]; Y = WALKS[_isWalkTo - 1][1]; Z = WALKS[_isWalkTo - 1][2]; // TODO: find better way to prevent teleporting to the home location npc.getSpawn().setLocx(X); npc.getSpawn().setLocy(Y); npc.getSpawn().setLocz(Z); npc.setRunning(); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(X, Y, Z, 0)); } } LOGGER.info("walker mob working!"); // only for check is work or not } @Override public void run() { DoWalkerMonster(); } }
  15. any can help me ?
  16. i need make this is in antharas lair. like 30 mobs same ID walker in a my location. I tried to make this
  17. i dont know i use if(npc !=null) and is not running i can't understand where is the problem
  18. hello all i have make a code for walker same mobs but i dont know why is not running and in console show me error can any tell me where is the problem ? public void DoWalkerMonster() { if (npc == null || npc.getSpawn() == null) { if (npc.getTemplate().getNpcId() != walkerNpc) { _isWalkTo++; if (_isWalkTo < 55) { _isWalkTo = 1; } X = WALKS[_isWalkTo - 1][0]; Y = WALKS[_isWalkTo - 1][1]; Z = WALKS[_isWalkTo - 1][2]; // TODO: find better way to prevent teleporting to the home location npc.getSpawn().setLocx(X); npc.getSpawn().setLocy(Y); npc.getSpawn().setLocz(Z); npc.setRunning(); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(X, Y, Z, 0)); } return; } LOGGER.info("walker mob working!"); // only for check work or not. }
  19. hello all i have a problem with siege i tried to fix it but nathink i reinstall database and again show me error can any help me tnx This is Error
  20. hello all i am looking for augmenter npc i need only html file from all augment skill active/passive like l2damage if any have this plz send me tnx
  21. problem solver lucket tnx sweets :)
  22. hello i have make a droplist panel and i need use one button after stats to go droplist but i have stuck in button. i tried to use voice command and is not work. i tried to make connect like (public void) but again nathing. can any help me for make this problem ? Code for go to droplist i want to add a button for go to droplist html1.append("<table border=1 width=\"100%\">"); html1.append("<tr><td><center>Item Name</center></td><td width=\"55\" valign=middle align=center><center>Category</center></td><td width=\"50\" valign=middle align=center><center>Chance</center></td></tr>"); if (getTemplate().getDropData() != null) for (L2DropCategory cat : getTemplate().getDropData()) for (L2DropData drop : cat.getAllDrops()) { String name = ItemTable.getInstance().getTemplate(drop.getItemId()).getName(); html1.append("<tr><td><font color=\"33EEEE\">" + name + "</font></td><td width=\"55\" valign=middle align=center>" + (drop.isQuestDrop() ? "<font color=\"FF6600\">Quest</font>" : (cat.isSweep() ? "<font color=\"LEVEL\">Sweep</font>" : "<font color=\"33FF77\">Drop</font>")) + "</td><td width=\"50\" valign=middle align=center>" + (drop.getChance() >= 10000 ? (double)drop.getChance() / 10000 : drop.getChance() < 10000 ? (double)drop.getChance() / 10000 : "N/A") + "%</td></tr>"); } html1.append("</table>");
  23. hello all. i am looking for a code code is this i need a gatekeeper for faction system and i need change zone automatic with a time like 20 min and after 20 min change zone random without vote. if any can make this code add me skype:typerakos tell me for price (sorry for my bad english)
×
×
  • Create New...