Jump to content

Tassadar

Members
  • Posts

    131
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Tassadar

  1. +100500, Taurin the best dwarf
  2. Thank you :) I hope I will be able to open server this year
  3. Hi :), some time ago I made ​​a small patch for client and server interlude in the style of C2. http://i20.fastpic.ru/big/2011/0505/06/fb451efc38988791750cb2e2a3a10e06.jpg interface alpha version http://i20.fastpic.ru/big/2011/0505/10/3c133888cb02a2b2b9f8f22189e5b610.jpg login screen http://i20.fastpic.ru/big/2011/0505/2f/5b3f4dcc11c289bc395686132c1df52f.jpg old C2 MDT http://i20.fastpic.ru/big/2011/0505/69/5fe8448c40f1bb5cb022db8bac2fd669.jpg all catacombs deleted http://i20.fastpic.ru/big/2011/0505/8b/4a95c5c7af9499136a82afe8e9621a8b.jpg fortress too http://i20.fastpic.ru/big/2011/0505/8e/bfe0a37e720d3dca985f2183988e8d8e.jpgC2 map http://i20.fastpic.ru/big/2011/0505/c6/862708cd280e8a8c9023e1fab0b8a8c6.jpgC2 map http://i20.fastpic.ru/big/2011/0505/06/a656183adb57648ebafb6e87f6097b06.jpg forgotten boss http://i20.fastpic.ru/big/2011/0505/78/7eebfa00eccf652caf6e4b3d2cf0c478.jpg drop from boss and old C2 staff of the evil spirit http://i20.fastpic.ru/big/2011/0505/ff/605c3de9b1118b60d80d1b97eba999ff.jpg replies boss http://i20.fastpic.ru/big/2011/0505/c1/6e1e17cb96727dda92cfbb89f07c86c1.jpg B grade shots (any shots) blue animation effect http://i20.fastpic.ru/big/2011/0505/74/697d48a0b425347407f0c173ca417e74.jpg colored mobs like in C2 http://i20.fastpic.ru/big/2011/0505/db/1c377742ece75b33e113b59399635fdb.jpg drop from Baium http://i20.fastpic.ru/big/2011/0505/00/a16efc804d94034dcb3f4084cebe5a00.jpg custom boss http://i20.fastpic.ru/big/2011/0505/95/cabc4965e1d96ce506e7de2bda85e495.jpg Might mortal SA in demon dagger (old name demons sword)
  4. C1 http://imageshack.us/photo/my-images/52/43190591.jpg/ http://imageshack.us/photo/my-images/571/77692992.jpg/ http://imageshack.us/photo/my-images/683/26932251.jpg/ http://imageshack.us/photo/my-images/822/43989869.jpg/ http://imageshack.us/photo/my-images/821/43171921.jpg/ http://imageshack.us/photo/my-images/29/45616894.jpg/ http://imageshack.us/photo/my-images/202/96909969.jpg/ C2 http://imageshack.us/photo/my-images/857/45026120.jpg/ http://imageshack.us/photo/my-images/638/55473358.jpg/ http://imageshack.us/photo/my-images/593/47583215.jpg/ http://imageshack.us/photo/my-images/691/17006808.jpg/ http://imageshack.us/photo/my-images/101/26086153.jpg/ http://imageshack.us/photo/my-images/508/65378699.jpg/ http://imageshack.us/photo/my-images/819/71941252.jpg/
  5. Good day, Help me please with script, how change script to make NPC say text when hi spawn Thanks!
  6. Yeah, i try make like a c1-c5, when i stay without target even if mob hit me, and have target only when i click to mob.
  7. Good day, help me please with my problem How i can disable autotarget from mobs? Thanks!
  8. Hi all! Help me please with my problem. Maybe someone have this feature? or known how make code?
  9. Hi peoples, help me please with question, how make NPC (guard or gatekeeper or any friendly NPC) who used selfbuff every 1 second or used social action every 1 second. La2base 1.1.7. Thanks... sorry - moved please this topic to english section.
  10. thanks all!I found it) http://forum.100nt.ru/index.php/topic/14175-%D0%B7%D0%B0%D1%82%D0%BE%D1%87%D0%B5%D0%BD%D0%BD%D0%BE%D0%B5-%D0%BE%D1%80%D1%83%D0%B6%D0%B8%D0%B5-%D1%83-%D0%BC%D0%BE%D0%B1%D0%BE%D0%B2/
  11. Good day, i long time searching, but nothing :-[ maybe someone have this java code?
  12. I have, if you want PM me ICQ 414183936
  13. In first post nice movie)
  14. ;D okay okay i'm half protoss and half elf :) thank you))
  15. Sorry this not sourse, just i try make that on my home server, and ask help
  16. Good evening peoples Please maybe someone help me change script for Raid Boss Gordon (who walked around Godard, and have agression only with characters who have cursed weapon) He must attack all players, not only who have cursed weapon. package ai.individual; import java.util.Collection; import net.sf.l2j.gameserver.ai.CtrlIntention; import net.sf.l2j.gameserver.datatables.SpawnTable; import net.sf.l2j.gameserver.model.L2Attackable; import net.sf.l2j.gameserver.model.L2CharPosition; import net.sf.l2j.gameserver.model.L2Spawn; import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import ai.group_template.L2AttackableAIScript; public class Gordon extends L2AttackableAIScript { private static final int GORDON = 29095; private static int _npcMoveX = 0; private static int _npcMoveY = 0; private static int _isWalkTo = 0; private static int _npcBlock = 0; private static int X = 0; private static int Y = 0; private static int Z = 0; private static final int[][] WALKS = { {141569, -45908, -2387},{142494, -45456, -2397},{142922, -44561, -2395}, {143672, -44130, -2398},{144557, -43378, -2325},{145839, -43267, -2301}, {147044, -43601, -2307},{148140, -43206, -2303},{148815, -43434, -2328}, {149862, -44151, -2558},{151037, -44197, -2708},{152555, -42756, -2836}, {154808, -39546, -3236},{155333, -39962, -3272},{156531, -41240, -3470}, {156863, -43232, -3707},{156783, -44198, -3764},{158169, -45163, -3541}, {158952, -45479, -3473},{160039, -46514, -3634},{160244, -47429, -3656}, {159155, -48109, -3665},{159558, -51027, -3523},{159396, -53362, -3244}, {160872, -56556, -2789},{160857, -59072, -2613},{160410, -59888, -2647}, {158770, -60173, -2673},{156368, -59557, -2638},{155188, -59868, -2642}, {154118, -60591, -2731},{153571, -61567, -2821},{153457, -62819, -2886}, {152939, -63778, -3003},{151816, -64209, -3120},{147655, -64826, -3433}, {145422, -64576, -3369},{144097, -64320, -3404},{140780, -61618, -3096}, {139688, -61450, -3062},{138267, -61743, -3056},{138613, -58491, -3465}, {138139, -57252, -3517},{139555, -56044, -3310},{139107, -54537, -3240}, {139279, -53781, -3091},{139810, -52687, -2866},{139657, -52041, -2793}, {139215, -51355, -2698},{139334, -50514, -2594},{139817, -49715, -2449}, {139824, -48976, -2263},{140130, -47578, -2213},{140483, -46339, -2382}, {141569, -45908, -2387}}; private static boolean _isAttacked = false; private static boolean _isSpawned = false; public Gordon (int id, String name, String descr) { super(id,name,descr); int[] mobs = {GORDON}; registerMobs(mobs); // wait 2 minutes after Start AI startQuestTimer("check_ai", 120000, null, null, true); _isSpawned = false; _isAttacked = false; _isWalkTo = 1; _npcMoveX = 0; _npcMoveY = 0; _npcBlock = 0; } public L2NpcInstance findTemplate(int npcId) { L2NpcInstance npc = null; for (L2Spawn spawn : SpawnTable.getInstance().getSpawnTable().values()) { if (spawn != null && spawn.getNpcid() == npcId) { npc = spawn.getLastSpawn(); break; } } return npc; } public String onAdvEvent (String event, L2NpcInstance npc, L2PcInstance player) { X = WALKS[_isWalkTo-1][0]; Y = WALKS[_isWalkTo-1][1]; Z = WALKS[_isWalkTo-1][2]; if (event == "time_isAttacked") { _isAttacked = false; if (npc.getNpcId() == GORDON) { npc.setWalking(); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(X, Y, Z, 0)); } } else if (event == "check_ai") { cancelQuestTimer("check_ai", null, null); if (_isSpawned == false) { L2NpcInstance gordon_ai = findTemplate(GORDON); if (gordon_ai != null) { _isSpawned = true; startQuestTimer("Start", 1000, gordon_ai, null, true); return super.onAdvEvent(event, npc, player); } } } else if (event == "Start") { if (npc != null && _isSpawned == true) { // check if player have Cursed Weapon and in radius if (npc.getNpcId() == GORDON) { Collection<L2PcInstance> chars = npc.getKnownList().getKnownPlayers().values(); if (chars != null && chars.size() > 0) { for (L2PcInstance pc : chars) { if (pc.isCursedWeaponEquiped() && pc.isInsideRadius(npc,5000,false,false)) { npc.setRunning(); ((L2Attackable)npc).addDamageHate(pc,0,9999); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, pc); _isAttacked = true; cancelQuestTimer("time_isAttacked",null, null); startQuestTimer("time_isAttacked",180000, npc, null); return super.onAdvEvent(event, npc, player); } } } } // end check if (_isAttacked == true) return super.onAdvEvent(event, npc, player); if (npc.getNpcId() == GORDON && (npc.getX()-50) <= X && (npc.getX()+50) >= X && (npc.getY()-50) <= Y && (npc.getY()+50) >= Y) { _isWalkTo++; if (_isWalkTo > 55) _isWalkTo = 1; X = WALKS[_isWalkTo-1][0]; Y = WALKS[_isWalkTo-1][1]; Z = WALKS[_isWalkTo-1][2]; npc.setWalking(); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(X, Y, Z, 0)); } // Test for unblock Npc if (npc.getX() != _npcMoveX && npc.getY() != _npcMoveY) { _npcMoveX = npc.getX(); _npcMoveY = npc.getY(); _npcBlock = 0; } else if (npc.getNpcId() == GORDON) { _npcBlock++; if (_npcBlock > 2) { return super.onAdvEvent(event, npc, player); } if (_npcBlock > 0) npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(X, Y, Z, 0)); } // End Test unblock Npc } } return super.onAdvEvent(event, npc, player); } public String onSpawn (L2NpcInstance npc) { if (npc.getNpcId() == GORDON && _npcBlock == 0) { _isSpawned = true; _isWalkTo = 1; startQuestTimer("Start", 1000, npc, null, true); } return super.onSpawn(npc); } public String onAttack (L2NpcInstance npc, L2PcInstance player, int damage, boolean isPet) { if (npc.getNpcId() == GORDON) { _isAttacked = true; cancelQuestTimer("time_isAttacked", null, null); startQuestTimer("time_isAttacked", 180000, npc, null); if (player != null) { npc.setRunning(); ((L2Attackable)npc).addDamageHate(player, 0, 100); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); } } return super.onAttack(npc, player, damage, isPet); } public String onKill (L2NpcInstance npc, L2PcInstance killer, boolean isPet) { if (npc.getNpcId() == GORDON) { cancelQuestTimer("Start", null, null); cancelQuestTimer("time_isAttacked", null, null); _isSpawned = false; } return super.onKill(npc,killer,isPet); } public static void main(String[] args) { new Gordon(-1,"gordon","ai"); } }
  17. little patch disable/enable fog in lineage 2 client (i try on interlude but i think this work on gracia and other cronicles) http://depositfiles.com/files/mz1dym4yk http://rapidshare.com/files/432497206/user.ini put this file to system folder, in game - use option "enter chat" after this use button num 5 on keyboard. excuse me for my bad English Credits by me 8)
  18. http://us.ua/76101/ Yesterday i found this on l2 russian funsite :D
×
×
  • Create New...