Skip to content

Instantly share code, notes, and snippets.

@u3games
u3games / gist:6141356
Created August 2, 2013 16:39
GiftOfVitality (add new case custom for user Vip)
Index: dist/game/data/scripts/events/GiftOfVitality/GiftOfVitality.java
===================================================================
--- dist/game/data/scripts/events/GiftOfVitality/GiftOfVitality.java (revision 9817)
+++ dist/game/data/scripts/events/GiftOfVitality/GiftOfVitality.java (working copy)
@@ -35,6 +35,8 @@
{
// NPC
private static final int STEVE_SHYAGEL = 4306;
+ // Item
+ private static final int ITEM_VIP = 6673; // Festival Adena
@u3games
u3games / gist:9992531
Created April 5, 2014 14:15
L2j-Server: Core_CTF-DM_EventEngine_v0
Index: dist/game/config/L2JMods.properties
===================================================================
--- dist/game/config/L2JMods.properties (revision 6498)
+++ dist/game/config/L2JMods.properties (working copy)
@@ -127,7 +127,6 @@
# ---------------------------------------------------------------------------
# Team vs. Team Event Engine (by FBIagent)
# ---------------------------------------------------------------------------
-
# <u><b><font color="red">WARNING: this mod require custom NPC table support turned on !</font></b></u>
@u3games
u3games / gist:9992540
Created April 5, 2014 14:15
L2j-Server: Core_CTF-DM_EventEngine_v0
Index: dist/game/config/L2JMods.properties
===================================================================
--- dist/game/config/L2JMods.properties (revision 6498)
+++ dist/game/config/L2JMods.properties (working copy)
@@ -127,7 +127,6 @@
# ---------------------------------------------------------------------------
# Team vs. Team Event Engine (by FBIagent)
# ---------------------------------------------------------------------------
-
# <u><b><font color="red">WARNING: this mod require custom NPC table support turned on !</font></b></u>
@u3games
u3games / gist:9992556
Created April 5, 2014 14:16
L2j-Server: Core_CTF-DM_EventEngine_v0
Index: dist/game/config/L2JMods.properties
===================================================================
--- dist/game/config/L2JMods.properties (revision 6498)
+++ dist/game/config/L2JMods.properties (working copy)
@@ -127,7 +127,6 @@
# ---------------------------------------------------------------------------
# Team vs. Team Event Engine (by FBIagent)
# ---------------------------------------------------------------------------
-
# <u><b><font color="red">WARNING: this mod require custom NPC table support turned on !</font></b></u>
Index: dist/game/config/L2JMods.properties
===================================================================
--- dist/game/config/L2JMods.properties (revision 6498)
+++ dist/game/config/L2JMods.properties (working copy)
@@ -127,7 +127,6 @@
# ---------------------------------------------------------------------------
# Team vs. Team Event Engine (by FBIagent)
# ---------------------------------------------------------------------------
-
# <u><b><font color="red">WARNING: this mod require custom NPC table support turned on !</font></b></u>
@u3games
u3games / gist:10018593
Last active December 13, 2019 11:53
L2j-Server Script: Anti-Bots (Autolevel)
/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
@u3games
u3games / gist:70cf86deb2459bd557c0
Created August 13, 2014 11:11
Rin4a's scheme buffer (L2J-Server H5-Beta)
Index: dist/game/data/scripts.cfg
===================================================================
--- dist/game/data/scripts.cfg (revision 10404)
+++ dist/game/data/scripts.cfg (working copy)
@@ -316,6 +316,7 @@
custom/ShadowWeapons/ShadowWeapons.java
custom/NewbieCoupons/NewbieCoupons.java
custom/RaidbossInfo/RaidbossInfo.java
+custom/NpcBuffer/NpcBuffer.java
custom/NpcLocationInfo/NpcLocationInfo.java
@u3games
u3games / gist:89eabaa5920dc711527b
Created August 13, 2014 11:18
Rin4a's scheme buffer (L2J-Server H5-Beta)
Index: dist/game/data/scripts.cfg
===================================================================
--- dist/game/data/scripts.cfg (revision 10413)
+++ dist/game/data/scripts.cfg (working copy)
@@ -310,6 +310,7 @@
custom/ShadowWeapons/ShadowWeapons.java
custom/NewbieCoupons/NewbieCoupons.java
custom/RaidbossInfo/RaidbossInfo.java
+custom/NpcBuffer/NpcBuffer.java
custom/NpcLocationInfo/NpcLocationInfo.java
@u3games
u3games / gist:f04f36b0dfa44f2dbc86
Last active August 29, 2015 14:05
L2J-Server_Core-6625_Fences
Index: java/com/l2jserver/gameserver/datatables/ColosseumFenceTable.java
===================================================================
--- java/com/l2jserver/gameserver/datatables/ColosseumFenceTable.java (revision 0)
+++ java/com/l2jserver/gameserver/datatables/ColosseumFenceTable.java (working copy)
@@ -0,0 +1,137 @@
+/*
+ * Copyright (C) 2004-2014 L2J Server
+ *
+ * This file is part of L2J Server.
+ *
@u3games
u3games / gist:0b707303ed09387ce6dc
Created October 23, 2014 09:35
Fantasy Isle Parade - L2J-Server Rev.10471 BETA H5
package ai.fantasy_isle;
import java.text.SimpleDateFormat;
import java.util.Iterator;
import java.util.concurrent.ScheduledFuture;
import javolution.util.FastList;
import ai.npc.AbstractNpcAI;
import com.l2jserver.gameserver.GameTimeController;