Jump to content

[DEV]DjSt3rios

Members
  • Posts

    672
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by [DEV]DjSt3rios

  1. Yep as Tryskell said, you need to change it from navicat. If you don't know how to make it for all mobs automatically, just make a txt file, and save it as .sql... you could do it like that: UPDATE `spawnlist` SET `respawn_delay` = secondshere WHERE `respawn_delay` > 0; That would work.. or if you want to change the respawn time of a specific NPC Id, try this: UPDATE `spawnlist` SET `respawn_delay` = secondshere WHERE `npc_templateid` = npcID; if the second has an error, try to make it == npcID;
  2. an sto bgazi sto gameserver, an ekanes java metatropes mpori gi auto na sto bgazi... ego mia fora ekana merikes metatropes, ebala kai ena faction sistima kai dn anige o server :P bebea auto ftiaxnete... dokimase na pas o ipoligistis mou, anikse ton topiko sou disko, meta anikse program files(i arxeia efarmogon, analoga tin glossa twn windows), meta anikse ton fakelo MySQL, meta ton fakelo MySQL Server 5.x, k meta anikse to my.ini me simiomatario. kapou 8a deis 8a leei auto: max_connections=100 mpori na mn leei 100, alla opos k na exei, bres to max_connections kai kanto 900000. Elpizo na boi8isa
  3. I tried, not working.. but I think I found out anyway.
  4. file joker, auto 8a xriasti na kaneis allagi sto source code tou server sou, an to exeis.. tora den eimai 100% sigouros ti pezi, alla 8a mporouses na balis kati san loop, i isos iparxi kana function pou trexi molis allazis zone, kai isos mpori na checkari to weapon/armor pou foras.. ligo diskolo men alla oxi kai adinaton.
  5. Lol i am not that noob, I meant in java XD
  6. Hello, I have a small problem. I got some guards, but the problem is that I want to make them chase a player when they start attacking.. right now they only hit the enemy, if the enemy is inside the attack range.
  7. No it's not. getSex returns a boolean value, which means it's true or false... so, you should write activeChar.getAppearance().getSex() == true/false false = male and true = female. I hope I helped.
  8. Hello, I need some help... I want to delete at a specific time, a specific NPC Id.. there is only 1 NPC with this ID, so it could find it probably, But im not sure how I can make it.. maybe someone can help me?
  9. Thanks man! I just tested it and it works fine! Good work mate!
  10. I took a look on the server side files, and I couldnt find any code that puts the siege icon at the attacker.. now i might just didnt notice, but it also could be client side.... but I am not sure though. And another problem will probably be to find the name or sth from this icon to do that
  11. Im not really sure if i can make it.. i thought of changing ittention to attack when he sees a player, and then check again, and if the player is friendly player change to active again... or something like.. it could work... EDIT: I made some changes and looks fine now, but i still have a small problem, if there is for example giran is under control by good faction, and there is a member of good faction near the guards, and an evil faction member come near the guards, the guards wont hit him unless good member goes away... if someone has any idea about this, please let me know. 2nd EDIT: Fixed, please lock the thread. Thanks everyone for the help.
  12. Who is stupid enough to give you money? stop scamming as***le
  13. I totally agree with this... who will co-operate with this scammer? since he has a bad history, I wouldn't recommend anyone to work with this guy, you will waste your time, and when donations start you will suddenly try to connect to the server and you will be banned...
  14. Hey Tryskell... I am actually using your pack, and i tried to do it with AI.. right now my problem is that, if i attack the crystal, and capture the place, if i go near the guards they hit me. if i die and i go again, they dont hit me... I need something like a timer to fix it.. but I am not damn sure how to make it.
  15. Well, I don't think anyone can give you a right answer, since we don't know your codes etc. First of all you have the TVT right? Well i can give you some tips to fix it. First of all, find the TVT Files in your source (if you donth ave source dont read the rest, without source you can't do that.). Find where it rewards the winners, by searching the word "addItem". Then make something similar, and add a reward for the losers, except if you want to give the same reward to the losers.. (althought i dont think you want that). for the AFK system i am not sure since i never worked on something like that, I hope someone else can help you with this... you can search on the forums, you will probably find something. Good luck.
  16. Well, I think this can be done by server and client modification. Actually i think you will need to import this icon somehow to L2, I dont really know much about client modding, now, for server modification, for sure you need the source of a pack. as far as i remember, when a siege start, if you are the attacker, you have a small icon over your name... I dont remember though, I only went to a siege 2 times like 3 years ago lol. Anyway, so you can probably see in java how it places the small icon over the name of the character, and do something simillar with this icon.
  17. double check ? hmmm, maybe I should recheck my code.. and i dont really want to hit them only in the castle, as you see there is also "else" which means if it is not in castle zone, it checks the town area, and they should hit the enemies. any other help?
  18. Check here some of the code i made: if (target instanceof L2PcInstance && ((L2PcInstance) target).isTeam1Member() || ((L2PcInstance) target).isTeam2Member()) { if(getActiveChar().getNpcId() == 90005) { if(MapRegionTable.getInstance().getClosestTownName(getActiveChar()).contains("Giran")) { if(getActiveChar().isInsideZone(L2Character.ZONE_CASTLE)) { if(GameServer.girancastle == 1) { if(((L2PcInstance) target).isTeam2Member()) { return GeoData.getInstance().canSeeTarget(me, target); } } else { if(((L2PcInstance) target).isTeam1Member()) { return GeoData.getInstance().canSeeTarget(me, target); } } } if(GameServer.girantown == 1) { if(((L2PcInstance) target).isTeam2Member()) { return GeoData.getInstance().canSeeTarget(me, target); } } else { if(((L2PcInstance) target).isTeam1Member()) { return GeoData.getInstance().canSeeTarget(me, target); } } } What could be wrong?
  19. I have a problem... in L2AttackableAI... actually look, i dont want to make it with 1000 pvp's, i just said it as an example but it seems i shouldnt hide it. so, i am making a Good vs Evil server, and i want to make guards hit only the enemies. so i used code 1st to check the location, I used getClosest Town, and also i checked if its inside zone, named ZONE_CASTLE so then it reads who owns this territory, and attack the enemies. Now, about your code, a lot of errors appear in gameserver console, the error is: Actor: Guard onEvtThink() L2GuardInstance can not be cast to L2PcInstance. I think this cant be fixed so.. i need an other idea or somehow fix this :/
  20. Sounds interesting, thanks, i will probably try it
  21. I can't since there is no function to get all the npc, and then make them if they are at a specific town and their ID is blah blah to respawn them...
  22. Hello.. I am making a mod, where you can get territories... but i have a small problem. I have some NPC which are guards, and they hit the enemies... the problem is that when i hit the flag, and i take the territorry, the guards still hit me.. if i go back to the base, and go again, they won't hit me... the same with the enemies, if they go near guards, while near the flag, if they go near the guards the guards does not hit him. Also it takes a lil bit time to attack... I used code like this: int hating2 = npc.getHating(target); if (hating2 == 0) npc.addDamageHate(target, 5000, 5000); setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); this code in L2AttackableAI.java, in ThinkActive... maybe another idea to make it faster and work as I want? thanks in advance.
  23. Thats the best joke I ever heard. hmm as I see you are still scamming huh? aren't you bored of this? You managed to scam a friend of mine, but you are not gonna scam everyone here so you should stop trying.. you are making useless posts, thats all :)
  24. When you mean you can't open it what exactly do you mean by this? Give some more details or no one will be able to help you.. Do you have some errors?
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock