Skip to content

Instantly share code, notes, and snippets.

@u3games
u3games / language_system.diff
Last active January 23, 2016 13:52
Language System (for console messages)
Index: dist/game/config/Language/lang_en.xml
===================================================================
--- dist/game/config/Language/lang_en.xml (revision 0)
+++ dist/game/config/Language/lang_en.xml (working copy)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<localization lang="English">
+
+ <!-- Seven Signs -->
+ <message id="ss_teleported_nearest_seal" text="You have been teleported to the nearest town due to the beginning of the Seal Validation period."/>
dist/game/data/stats/npcs/00100-00199.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dist/game/data/stats/npcs/00100-00199.xml b/dist/game/data/stats/npcs/00100-00199.xml
index aed071f..6c22547 100644
--- a/dist/game/data/stats/npcs/00100-00199.xml
+++ b/dist/game/data/stats/npcs/00100-00199.xml
@@ -1013,8 +1013,8 @@
</skillList>
<exCrtEffect>true</exCrtEffect>
@u3games
u3games / AntiAfkTvt.java
Created October 16, 2015 13:19
Anti AFK - TvT
/*
* 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:e04dfb782df2f6f7eeb8
Created July 3, 2015 13:37
L2J_EventEngine - Config
Index: Configs.java
===================================================================
--- Configs.java (revision 43)
+++ Configs.java (working copy)
@@ -19,7 +19,10 @@
package net.sf.eventengine.configs;
import java.util.ArrayList;
+import java.util.HashMap;
import java.util.List;
@u3games
u3games / gist:bc2b0368d98a4c17b5d4
Created June 27, 2015 11:05
L2J-Event Engine - Npc manager in properties
Index: config/EventEngine/EventEngine.properties
===================================================================
--- config/EventEngine/EventEngine.properties (revision 2)
+++ config/EventEngine/EventEngine.properties (working copy)
@@ -3,6 +3,9 @@
# Creado por Fissban #
#---------------------------------------------------------------------------#
+# ID npc manager del event engine:
+NpcManagerId = 36600
@u3games
u3games / gist:00d0ebdd8c31ee5b3f6c
Last active November 21, 2015 15:11
L2JServer - Add/Change email system - Data
Index: game/data/html/mods/ChangeEmail.htm
===================================================================
--- game/data/html/mods/ChangeEmail.htm (revision 0)
+++ game/data/html/mods/ChangeEmail.htm (working copy)
@@ -0,0 +1,10 @@
+<html><body>
+<center>
+<td>
+<tr>Current Email:</tr><tr><edit type="email" var="oldemail" width=150></tr><br>
+<tr>New Email</tr><tr><edit type="email" var="newemail" width=150></tr><br>
@u3games
u3games / gist:67e9f9bfce36c911bcdf
Created June 25, 2015 14:23
L2JServer - Add/Change email system - Data
### Eclipse Workspace Patch 1.0
#P L2Dev_ChangeEmail_Data
Index: dist/sql/login/custom/email.sql
===================================================================
--- dist/sql/login/custom/email.sql (revision 0)
+++ dist/sql/login/custom/email.sql (working copy)
@@ -0,0 +1 @@
+ALTER TABLE `accounts` ADD `email` VARCHAR(255) NULL DEFAULT NULL ;
\ No newline at end of file
Index: dist/game/data/html/mods/ChangeEmail.htm
@u3games
u3games / gist:44fcf25cc70ba2427900
Last active November 21, 2015 15:11
L2JServer - Add/Change email system - Core
Index: dist/game/config/L2JMods.properties
===================================================================
--- dist/game/config/L2JMods.properties (revision 20855)
+++ dist/game/config/L2JMods.properties (working copy)
@@ -507,4 +507,11 @@
# Enables .changepassword voiced command which allows the players to change their account's password ingame.
# Default: False
-AllowChangePassword = False
\ No newline at end of file
@u3games
u3games / gist:c206e9b7d0d2c0598b25
Created June 11, 2015 15:11
L2JServer - High Five - Fake PCs, NPCs as PCs
Index: com/l2jserver/gameserver/datatables/customs/FakePcsTable.java
===================================================================
--- com/l2jserver/gameserver/datatables/customs/FakePcsTable.java (revision 0)
+++ com/l2jserver/gameserver/datatables/customs/FakePcsTable.java (working copy)
@@ -0,0 +1,147 @@
+/*
+ * 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.
@u3games
u3games / gist:1e4dbe6074da4817b3ca
Last active August 29, 2015 14:20
Dev_Events_Data_v1 - U3Games
### Eclipse Workspace Patch 1.0
#P Dev_Events_Data
Index: dist/game/data/scripts/custom/events/CTF/CTFManager/Karma.html
===================================================================
--- dist/game/data/scripts/custom/events/CTF/CTFManager/Karma.html (revision 0)
+++ dist/game/data/scripts/custom/events/CTF/CTFManager/Karma.html (working copy)
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <title>CTF Event</title>