Skip to content

Instantly share code, notes, and snippets.

@St3eT
St3eT / ClanTraders.diff
Last active December 15, 2015 20:49
Clan Traders moved from core do datapack
### Eclipse Workspace Patch 1.0
#P L2J_Server_BETA
Index: java/com/l2jserver/gameserver/model/actor/instance/L2ClanTraderInstance.java
===================================================================
--- java/com/l2jserver/gameserver/model/actor/instance/L2ClanTraderInstance.java (revision 5918)
+++ java/com/l2jserver/gameserver/model/actor/instance/L2ClanTraderInstance.java (working copy)
@@ -1,150 +0,0 @@
-/*
- * Copyright (C) 2004-2013 L2J Server
- *
@St3eT
St3eT / NecromancerValley.diff
Created April 5, 2013 17:57
Rewrite AI NecromancerValley (Diff version)
### Eclipse Workspace Patch 1.0
#P L2J_DataPack_BETA
Index: dist/game/data/scripts/ai/individual/NecromancerValley.java
===================================================================
--- dist/game/data/scripts/ai/individual/NecromancerValley.java (revision 9545)
+++ dist/game/data/scripts/ai/individual/NecromancerValley.java (working copy)
@@ -25,7 +25,7 @@
import com.l2jserver.gameserver.model.actor.L2Character;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
@St3eT
St3eT / Recommend.diff
Created April 5, 2013 18:00
Patch for 20 recommend on first login
### Eclipse Workspace Patch 1.0
#P L2J_Server_BETA
Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (revision 5806)
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy)
@@ -1113,6 +1113,9 @@
player.setBaseClass(player.getClassId());
// Kept for backwards compatibility.
player.setNewbie(1);
@St3eT
St3eT / IntoTheFlame_618.diff
Created April 5, 2013 18:01
Quest Into The Flame (618) from py to java
Index: game/data/scripts.cfg
===================================================================
--- game/data/scripts.cfg (revision 9399)
+++ game/data/scripts.cfg (working copy)
@@ -650,7 +650,7 @@
quests/615_MagicalPowerOfFirePart1/__init__.py
quests/616_MagicalPowerOfFirePart2/__init__.py
quests/Q00617_GatherTheFlames/Q00617_GatherTheFlames.java
-quests/618_IntoTheFlame/__init__.py
+quests/Q00618_IntoTheFlame/Q00618_IntoTheFlame.java
@St3eT
St3eT / H5Olympiad.diff
Created April 5, 2013 18:02
High give random olympiad select
Index: dist/game/config/Olympiad.properties
===================================================================
--- dist/game/config/Olympiad.properties (revision 52)
+++ dist/game/config/Olympiad.properties (working copy)
@@ -138,6 +138,11 @@
# Default: 120
AltOlyWaitTime = 120
+# Old system for creating olympiad matches, based on random selection
+# If set false, point based selection is used (retail like)
@St3eT
St3eT / HTML's.diff
Last active December 15, 2015 21:29
Fixed some formating bugs in HTML's
### Eclipse Workspace Patch 1.0
#P L2J_DataPack_BETA
Index: dist/game/data/scripts/quests/Q10288_SecretMission/32780-06.html
===================================================================
--- dist/game/data/scripts/quests/Q10288_SecretMission/32780-06.html (revision 9612)
+++ dist/game/data/scripts/quests/Q10288_SecretMission/32780-06.html (working copy)
@@ -1,5 +1,4 @@
-<html><body>
-Aquilani:<br>
+<html><body>Aquilani:<br>
@St3eT
St3eT / HellboundWithoutQ.diff
Last active December 15, 2015 21:29
Hellbound without Q config
### Eclipse Workspace Patch 1.0
#P L2J_DataPack_BETA
Index: dist/game/data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java
===================================================================
--- dist/game/data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java (revision 9607)
+++ dist/game/data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java (working copy)
@@ -22,6 +22,7 @@
import quests.Q00133_ThatsBloodyHot.Q00133_ThatsBloodyHot;
import ai.npc.AbstractNpcAI;
@St3eT
St3eT / Aicleanup.diff
Created April 18, 2013 10:49
Cleanup for Ai HTML's
### Eclipse Workspace Patch 1.0
#P L2J_DataPack_BETA
Index: dist/game/data/scripts/ai/npc/Teleports/GrandBossTeleporters/31540-02.htm
===================================================================
--- dist/game/data/scripts/ai/npc/Teleports/GrandBossTeleporters/31540-02.htm (revision 9631)
+++ dist/game/data/scripts/ai/npc/Teleports/GrandBossTeleporters/31540-02.htm (working copy)
@@ -1,4 +1,4 @@
-<HTML><BODY>Watcher of Valakas Klein:<BR>
-So far, between 50 and 100 people have entered the Hall of Flames. Do you wish to enter?<BR>
+<html><body>Watcher of Valakas Klein:<br>
@St3eT
St3eT / FameManager.diff
Last active December 16, 2015 09:38
L2FameManagerInstance moved from core to dp
### Eclipse Workspace Patch 1.0
#P L2J_Server_BETA
Index: java/com/l2jserver/gameserver/model/L2Object.java
===================================================================
--- java/com/l2jserver/gameserver/model/L2Object.java (revision 5933)
+++ java/com/l2jserver/gameserver/model/L2Object.java (working copy)
@@ -151,7 +151,6 @@
L2AdventurerInstance(L2NpcInstance),
L2AuctioneerInstance(L2Npc),
L2ClanHallManagerInstance(L2MerchantInstance),
@St3eT
St3eT / cleanup.diff
Last active December 16, 2015 11:29
Another HTML cleanup
This file has been truncated, but you can view the full file.
### Eclipse Workspace Patch 1.0
#P L2J_DataPack_BETA
Index: dist/game/data/scripts/instances/RankuFloor/gk-noparty.htm
===================================================================
--- dist/game/data/scripts/instances/RankuFloor/gk-noparty.htm (revision 9639)
+++ dist/game/data/scripts/instances/RankuFloor/gk-noparty.htm (working copy)
@@ -1,4 +1,3 @@
-<html><body>
-Teleport Device:<br>
+<html><body>Teleport Device:<br>