Skip to content

Instantly share code, notes, and snippets.

@VlLight
VlLight / core.patch
Created December 5, 2013 15:50
Advanced champion mod
Index: dist/game/config/L2JMods.properties
===================================================================
--- dist/game/config/L2JMods.properties (revision 6306)
+++ dist/game/config/L2JMods.properties (working copy)
@@ -14,47 +14,13 @@
# To set all champion mobs to Passive, set True.
ChampionPassive = False
-# % chance for a mob to became champion (0 to disable).
-ChampionFrequency = 5
@VlLight
VlLight / core.patch
Last active October 17, 2016 22:02
Premium service
Index: dist/game/config/Services.properties
===================================================================
--- dist/game/config/Services.properties (revision 0)
+++ dist/game/config/Services.properties (working copy)
@@ -0,0 +1,55 @@
+# ---------------------------------------------------------------------------
+# Common Service Options
+# ---------------------------------------------------------------------------
+AllowServiceVoiced = False
+
Index: dist/game/data/stats/skills/06300-06399.xml
===================================================================
--- dist/game/data/stats/skills/06300-06399.xml (revision 10049)
+++ dist/game/data/stats/skills/06300-06399.xml (working copy)
@@ -1034,14 +1034,21 @@
<set name="abnormalLvl" val="#abnormalLvls" />
<set name="abnormalTime" val="10800" />
<set name="abnormalType" val="SOA_BUFF1" />
+ <set name="castRange" val="400" />
<set name="effectPoint" val="1" />
@VlLight
VlLight / dp.patch
Last active December 29, 2015 04:59
Q00327_RecoverTheFarmland
Index: dist/game/data/scripts/quests/Q00327_RecoverTheFarmland/Q00327_RecoverTheFarmland.java
===================================================================
--- dist/game/data/scripts/quests/Q00327_RecoverTheFarmland/Q00327_RecoverTheFarmland.java (revision 10044)
+++ dist/game/data/scripts/quests/Q00327_RecoverTheFarmland/Q00327_RecoverTheFarmland.java (working copy)
@@ -35,7 +35,7 @@
public final class Q00327_RecoverTheFarmland extends Quest
{
- // NPC
+ // NPCs
@VlLight
VlLight / core.patch
Last active December 28, 2015 20:39
Support for "scripted" spawn in universe or instance The main idea is to unhardcode script spawn. Instead of describing spawn in script, now we can create XML spawnlist for this puprose with <spawn name="someName" scripted="true">. Scripted spawns will not be initialized, when server boots; just readed and stored. Now it is possible to spawn NPC…
Index: java/com/l2jserver/gameserver/datatables/SpawnTable.java
===================================================================
--- java/com/l2jserver/gameserver/datatables/SpawnTable.java (revision 6302)
+++ java/com/l2jserver/gameserver/datatables/SpawnTable.java (working copy)
@@ -22,8 +22,10 @@
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
+import java.util.ArrayList;
import java.util.Collections;
@VlLight
VlLight / core.patch
Created November 19, 2013 07:32
This is patch is related to some NPC variables. 1. Script variables (those are done as NpcVariables class here). It is dynamic data, that changes during NPC "lifetime", reinitializes at NPC spawn, could contains several variable and related to certain NPC. We already have setScriptValue() and isScriptValue() methos but their paradigm is supporte…
Index: java/com/l2jserver/gameserver/datatables/NpcPersonalAIData.java
===================================================================
--- java/com/l2jserver/gameserver/datatables/NpcPersonalAIData.java (revision 0)
+++ java/com/l2jserver/gameserver/datatables/NpcPersonalAIData.java (working copy)
@@ -0,0 +1,132 @@
+/*
+ * Copyright (C) 2004-2013 L2J Server
+ *
+ * This file is part of L2J Server.
+ *
@VlLight
VlLight / core.patch
Last active December 28, 2015 08:09
Sel Mahum Training Grounds
Index: dist/game/config/NPC.properties
===================================================================
--- dist/game/config/NPC.properties (revision 6299)
+++ dist/game/config/NPC.properties (working copy)
@@ -194,4 +194,4 @@
# A comma separated list of all NPCs who have no dialog, i.e. double-clicking on them doesn't open a chat window
# Default: 18684,18685,18686,18687,18688,18689,18690,19691,18692,31202,31203,31204,31205,31206,31207,31208,31209,31266,31557,31593,31606,31671,31672,31673,31674,31758,31955,32026,32030,32031,32032,32306,32619,32620,32621
-NonTalkingNpcs = 18684,18685,18686,18687,18688,18689,18690,19691,18692,31202,31203,31204,31205,31206,31207,31208,31209,31266,31557,31593,31606,31671,31672,31673,31674,31758,31955,32026,32030,32031,32032,32306,32619,32620,32621
+NonTalkingNpcs = 18684,18685,18686,18687,18688,18689,18690,19691,18692,18927,18933,31202,31203,31204,31205,31206,31207,31208,31209,31266,31557,31593,31606,31671,31672,31673,31674,31758,31955,32026,32030,32031,32032,32306,32619,
@VlLight
VlLight / dp.patch
Last active December 28, 2015 03:48
Turek Orks AI
Index: dist/game/data/scripts.cfg
===================================================================
--- dist/game/data/scripts.cfg (revision 10040)
+++ dist/game/data/scripts.cfg (working copy)
@@ -114,6 +114,7 @@
ai/group_template/StakatoNest.java
ai/group_template/StarStones.java
ai/group_template/SummonMinions.java
+ai/group_template/TurekOrcs.java
ai/group_template/VarkaKetra.java
Index: java/com/l2jserver/gameserver/model/interfaces/ILocational.java
===================================================================
--- java/com/l2jserver/gameserver/model/interfaces/ILocational.java (revision 6253)
+++ java/com/l2jserver/gameserver/model/interfaces/ILocational.java (working copy)
@@ -37,5 +37,4 @@
public int getInstanceId();
public ILocational getLocation();
- public ILocational getLocation(L2Object obj);
}
Index: dist/game/data/html/default/32484-1.htm
===================================================================
--- dist/game/data/html/default/32484-1.htm (revision 9861)
+++ dist/game/data/html/default/32484-1.htm (working copy)
@@ -1,7 +1,7 @@
-<html><body>Pathfinder Agent:<br>
+<html><head><body>Pathfinder Agent:<br>
The Chamber of Delusion is a dream maze discovered not long ago. Like Rim Kamaloka, it is presumed to be the power of darkness invading our world.<br>
It exists in the empty space between dream worlds. In terms of shape and structure, we presume it is related to the <font color="LEVEL">Dimensional Rift</font>, but we don't know details.<br>
What we do know is that there are rewards for defeating the enemies who inhabit this place. If you have the courage, perhaps you would be interested in challenging the Chamber of Delusion.<br>