I WANT TO HAPPEN EVERY 1 HOUR FOR EXAMPLE, IT DOES NOT WORK :sssss HOW CAN I MAKE IT TO WORK? CAN ANYONE HELP ME :/
### Eclipse Workspace Patch 1.0
#P testGameserver
Index: java/net/sf/l2j/gameserver/GameServer.java
===================================================================
--- java/net/sf/l2j/gameserver/GameServer.java (revision 5117)
+++ java/net/sf/l2j/gameserver/GameServer.java (working copy)
@@ -217,6 +217,7 @@
import net.sf.l2j.gameserver.instancemanager.RaidBossSpawnManager;
import net.sf.l2j.gameserver.instancemanager.SiegeManager;
import net.sf.l2j.gameserver.model.AutoChatHandler;
+import net.sf.l2j.gameserver.model.entity.AutoRewardLords;
import net.sf.l2j.gameserver.model.AutoSpawnHandler;
import net.sf.l2j.gameserver.model.L2Manor;
import net.sf.l2j.gameserver.model.L2PetDataTable;
@@ -343,6 +344,7 @@
RecipeController.getInstance();
+ AutoRewardLords.getInstance();
SkillTreeTable.getInstance();
ArmorSetsTable.getInstance();
FishTable.getInstance();
Index: java/net/sf/l2j/gameserver/model/entity/AutoRewardLords.java
===================================================================
--- java/net/sf/l2j/gameserver/model/entity/AutoRewardLords.java (revision 0)
+++ java/net/sf/l2j/gameserver/model/entity/AutoRewardLords.java (revision 0)
@@ -0,0 +1,69 @@
+/* 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 2, 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+package net.sf.l2j.gameserver.model.entity;
+
+import java.util.Collection;
+
+import net.sf.l2j.gameserver.Announcements;
+import net.sf.l2j.gameserver.ThreadPoolManager;
+import net.sf.l2j.gameserver.model.L2World;
+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
+
+/**
+ *
+ * @author Cafr
+ */
+public class AutoRewardLords
+{
+ Collection<L2PcInstance> players = L2World.getInstance().getAllPlayers();
+
+ class AutoRewardTask implements Runnable
+ {
+ public void run()
+ {
+ for(L2PcInstance player : players)
+ {
+ if(player != null) if(player.getClan() != null)
+ if(player.getClan().getHasCastle() > 0 && player.isClanLeader())
+ {
+ player.getInventory().addAdena(null, 25000000, player, null);
+ player.sendMessage("Auto rewarding castle lords activated,look your inventory.");
+ }
+ }
+ Announcements.getInstance().announceToAll("All online castle lords rewarded.");
+ System.out.println("Auto Castle Lords Reward Activated");
+ }
+ }
+
+ private AutoRewardLords()
+ {
+ ThreadPoolManager.getInstance().scheduleGeneral(new AutoRewardTask(), 60000);
+ }
+
+
+ public static AutoRewardLords getInstance()
+ {
+ return SingletonHolder._instance;
+ }
+
+ private static class SingletonHolder
+ {
+ @SuppressWarnings("synthetic-access")
+ protected static final AutoRewardLords _instance = new AutoRewardLords();
+ }
+}
\ No newline at end of file
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
OUR OFFICIAL WEBSITE / FORUM - MILLENNIUM-HOOK.NET
CHEAT DESCRIPTION:
Our cheat for Valorant is the best and safest solution for this game. The cheat supports all the most necessary functions such as aimbot. We also support esp, since our esp (visual) is not displayed in screenshots or videos, for example when streaming. Therefore, we cannot be detected by the Riot Vanguard anti-cheat. We offer you the best value for money cheats on the market for this game.
SUPPORTED ANTI-CHEATS: (read more on official website)
- Riot Vanguard AC: Undetected & Safe
Our Valorant cheat has a limited number of slots to ensure greater product security! (Available slots check on official website)
FEATURES:
AIMBOT:
- Bone (Head, Neck, Body, Arms, Stomach)
- Customizable Smooth
- Customizable Fov Size / Fov Circle
- Anti Shake Aim
- Aimkey
- Auto Shot
- RCS
ESP:
- ESP Players
- Player Corpse
- Player Box
- Filled Box
- Line ESP
- Player Skeleton
- Player Health
- Distance ESP
MISC:
- Online config
- No Recoil
- Radar (A Separate Radar that shows locations of the enemies)
REQUIREMENTS:
- Included HWID Spoofer: Yes
- Stream Bypass: Yes
- Supported game modes: Windowed, Borderless
- Supported CPU: Intel & AMD
- Supported OS: Windows 10 (1903,1909,2004,20H2,21H1, 22H2), Windows 11 (All version). Supported OS change and are added periodically. More check on official website.
SCREENSHOTS:
- Check on official website.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
WTS valakas-antharas-zaken-baium-qa on x1 l2 reborn.
A better price will be made if u choose to purchace all of it.
Middleman @PUFA
NOTE: dont even bother to pm me if u only want 1 epic.the minimum trade will be anth+valakas+baium or anth+valakas.or 1 dragon+baium.
Question
KOZANE
I WANT TO HAPPEN EVERY 1 HOUR FOR EXAMPLE, IT DOES NOT WORK :sssss HOW CAN I MAKE IT TO WORK? CAN ANYONE HELP ME :/
Link to comment
Share on other sites
23 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.