Skip to content
Snippets Groups Projects
  1. May 25, 2015
  2. Mar 22, 2015
  3. Mar 15, 2015
  4. Mar 14, 2015
    • Zoey76's avatar
      Reworking Beleth · b8dc5050
      Zoey76 authored
      Fully rewritten the script, no more Runnables at all.
      Fixed the untargetable Beleth.
      Includes retail like fix - only real Beleth cast horn of rising.
      Includes retail like fix - all Beleth dissapear for 60 seconds only if
      the chosen one gets killed, and not the opposite like it was.
      Npcs are properly spawned / deleted whenever needed.
      
      Notes:
      Cameras are probably a bit wrong, they are too low on floor and
      sometimes you see sky because of that.
      Removed that part with broadcasting of Missing Text, at least until
      someone would get the real text they should broadcast with proper
      conditions... (if any at all).
      
      Patch by: sahar
      Reviewed by: @Zoey76
      b8dc5050
  5. Mar 04, 2015
  6. Feb 19, 2015
  7. Feb 10, 2015
  8. Jan 19, 2015
  9. Jan 02, 2015
  10. Oct 31, 2014
  11. Jul 16, 2014
  12. Mar 01, 2014
  13. Feb 11, 2014
  14. Jan 24, 2014
  15. Dec 15, 2013
  16. Nov 15, 2013
  17. Oct 09, 2013
  18. Aug 24, 2013
  19. Aug 06, 2013
    • Zoey76's avatar
      BETA: Datapack part for [L6149]. · 28ee17d4
      Zoey76 authored
      	* Removed lot of casting.
      
      '''Note:''' If you get errors on your custom scripts after synchronizing, just check and change methods from getXXXId() to getId().
      28ee17d4
  20. Apr 30, 2013
  21. Mar 11, 2013
  22. Mar 10, 2013
  23. Mar 03, 2013
  24. Feb 11, 2013
  25. Jan 08, 2013
    • Zoey76's avatar
      BETA: L2J !DataPack's license update: · 1ad03aa5
      Zoey76 authored
      	* Proper GPLv3 license.
      	* Updated all Java DP files.
      	* Added missing license to the following files:
      		* !FirstClassTransferTalk
      		* !AdminInstanceZone
      	* Updated Eclipse preferences for new files (header).
      		* ''Same'' settings as Core.
      1ad03aa5
  26. Dec 26, 2012
  27. Sep 01, 2012
    • Zoey76's avatar
      BETA: Continuing with AI review: · 3f37dba6
      Zoey76 authored
      	* Do not use SkillTable.getInstance().getInfo(id, level) instead use SkillHolder DTO.
      		* Is possible to change the underlying implementation without reworking every single script.
      		* Avoids some problems during reloading.
      	* Static final variables should be upper case.
      	* Minimize the use of @formatter:off
      	* Use arrays of Location instead of arrays of arrays of int.
      	* Don't use literal values in the middle of the code, use static final variables for Ids, levels and other values.
      	* Document the code when something is not finished/retail like.
      		* When you work in open source is important to note that you knew it wasn't finished and let others know it as well.
      3f37dba6
  28. Aug 27, 2012
    • Rumen Nikiforov's avatar
      BETA: ai scripts revise: · dcab7193
      Rumen Nikiforov authored
      	* All scripts extending AbstractNpcAI instead of L2AttackableAIScript.
      	* All static variables to upper-case.
      	* All constructors moved just after variables and private instead of public.
      	* Initiating script with new Script(Script.class.getSimpleName(), "ai") instead of new Script("Script", "ai")
      	* Removed useless checks example addKillId(123) onKill() if (npc.getNpcId() == 123).
      	* Moved registerMobs method into AbstractNpcAI.
      	* L2AttackableAIScript is now final please do not extend it anymore.
      	* Cleanup
      dcab7193
  29. Aug 25, 2012
    • Ahmed's avatar
      BETA: Misc fixes: · ba97a4dc
      Ahmed authored
      1. Within !AdminBan.java:
      - '''(Style)''' String.equals("") is now replaced with String.isEmpty().
      (Avoid bad practice of returning true/false based on equating a String, instead use the strings length.)
      2. Within !BeastFarm.java, !EnergySeeds.java, !FeedableBeasts.java:
      - '''(Clean Up)''' Organized imports.
      3. Within ''Beleth.java'':
      - '''(Clean Up)''' Formatted to adhere to L2J code style.
      - '''(NPE)''' Within public void run(), there is a check to see if _npc is null or not, yet _npc.getAi... is outside this check. If _npc was indeed null, a null pointer exception would have occured.
      - '''(NPE)''' Within private static void deleteAll(), there is a check to see if minions is null or not, yet minions.clear() is outside this check. If minions was indeed null, a null pointer exception would have occured.
      - '''(Style)''' Initialization of static field's spawnTimer and belethKiller are now set by a setter i.e getters and setters.
      (Avoid writing to static from instance method's and bad initialization practice.)
      ba97a4dc
  30. Jun 21, 2012
  31. Jun 18, 2012
  32. May 30, 2012
  33. May 28, 2012
    • Zoey76's avatar
      BETA: Datapack fixes: · 688428ed
      Zoey76 authored
      	* Avoiding synthetic access.
      	* Avoiding potential NPEs.
      	* Minor JavaDocs fixes.
      	* Added some TODO tasks.
      688428ed
  34. May 11, 2012
  35. Apr 02, 2012
  36. Mar 03, 2012
    • Zoey76's avatar
      BETA: Datapack part for [L5214]: · ac3a3723
      Zoey76 authored
      	* Cleanup of random related methods and imports.
      	* Fix for FairyTrees AI with wrong parameter type wouldn't override onKill(..) method.
      ac3a3723
  37. Jan 24, 2012
  38. Jan 07, 2012
    • Zoey76's avatar
      BETA: Datapack refactoring: · 02f3887a
      Zoey76 authored
      	* Using same Code warning/error configuration than core.
      	* Fixed respective warnings and errors.
      	* Fixing Extractable Skills restriction properly.
      		1. Unhardcode Skills Ids.
      		1. Now only Item Skills are restricted.
      		1. Items with consume count won't be consumed without giving the reward.
      		1. Applied to reuse time greater than 5 seconds, there is no point on restrict item skills with less reuse time.
      		1. Unhardcoded system message for item reward.
      	* Hellbound fixes:
      		1. Hellbound should start closed at server start (level 0), thanks Trev.
      		1. Quarry ClassCastException fix.
      	* Q290_ThreatRemoval removed unnecessary int cast.
      	* Q636_TruthBeyond proper method to get an int.
      	* Skill Santa Claus' Gift - Luck(22018) typo fix.
      02f3887a
  39. Nov 15, 2011
  40. Nov 03, 2011
Loading