Jump to content

Recommended Posts

Posted

Hello mates.Again a new code by me.Also thanks Coyote for his help :-*

So i didn't find any code for this,so i decided to make it.It's more simple than my previous code.So let's see what i did.

Index: java/net/sf/l2j/gameserver/GameServer.java
===================================================================
--- java/net/sf/l2j/gameserver/GameServer.java	(revision 160)
+++ java/net/sf/l2j/gameserver/GameServer.java	(working copy)
@@ -210,6 +210,7 @@
import net.sf.l2j.gameserver.handler.usercommandhandlers.Time;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Banking;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Online;
+import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Res;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.ServerInfos;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stats;
@@ -633,6 +634,9 @@

		if(Config.ENABLE_INFOS_VC)
			_voicedCommandHandler.registerVoicedCommandHandler(new ServerInfos());
+		
+		if(Config.RES_COMMAND)
+		   _voicedCommandHandler.registerVoicedCommandHandler(new Res());

		_log.config("VoicedCommandHandler: Loaded " + _voicedCommandHandler.size() + " handlers.");

Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java	(revision 160)
+++ java/net/sf/l2j/Config.java	(working copy)
@@ -965,6 +965,7 @@
    public static int           TRADE_UNITS;
    public static boolean       ONLINE_PLAYERS;
    public static boolean		ENABLE_INFOS_VC;
+    public static boolean       RES_COMMAND;
    /** Custom Project Modifications - End */
    
    /** FloodProtector - Start */
@@ -2073,6 +2074,7 @@
                TRADE_UNITS                        = Integer.parseInt(L2JModSettings.getProperty("TradeUnits", "250"));
                ONLINE_PLAYERS     = Boolean.parseBoolean(L2JModSettings.getProperty("OnlinePLayers", "False"));
                ENABLE_INFOS_VC     = Boolean.parseBoolean(L2JModSettings.getProperty("InfosVoicedCommand", "False"));
+                RES_COMMAND         =Boolean.parseBoolean(L2JModSettings.getProperty("ResVoicedCommand" , "False"));
                /** Custom Project Modifications - End */

                
Index: java/config/l2jmods.properties
===================================================================
--- java/config/l2jmods.properties	(revision 160)
+++ java/config/l2jmods.properties	(working copy)
@@ -295,8 +295,11 @@
# Default : False
OnlinePLayers = False

# Allow the use of .info command?
# An html window pops up and shows infos to the player
# the admin sets what the html window will show from
# the file at data/html/ServerInfos.htm
InfosVoicedCommand = False
+
+# Allow the use of .res command?
+ResVoicedCommand = False
Index: java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Res.java
===================================================================
--- java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Res.java	(revision 0)
+++ java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Res.java	(revision 0)
@@ -0,0 +1,55 @@
+/*
+ * 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.handler.voicedcommandhandlers;
+
+import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
+
+
+/**
+ * @author Ventic
+ */
+
+public class Res implements IVoicedCommandHandler
+{
+	private static final String[] VOICED_COMMANDS = { "res" };
+	
+	public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
+    {
+		
+        if (command.startsWith("res"))
+        {
+        	if (activeChar.isInOlympiadMode())
+        	{
+        		activeChar.sendMessage("Res in oly? Forget it bro!");
+        		return false;
+        	}
+        	
+        	activeChar.doRevive();
+        	activeChar.sendMessage("Revived!");
+        }
+        return true;
+    }
+	
+	public String[] getVoicedCommandList()
+	{
+		return VOICED_COMMANDS;
+	}
+}

Give me feedback plz.

-Ventic

Posted

i make it,more easier anyway i am waiting for someone to give me feedback.

another good job to you my friend we have a new java coder in team :D gl

i need more practise.but thanks for your good words about me.

Posted

what is the defferent between this? http://www.maxcheaters.com/forum/index.php?topic=34221.0

 

Only you remove the checks and the consumable item?

 

And what you check only the olympiad mode?

 

If it is on castle siege... or fort siege?

 

Wen you try to make something make something new... ;]

Posted

what is the defferent between this? http://www.maxcheaters.com/forum/index.php?topic=34221.0

 

Only you remove the checks and the consumable item?

 

And what you check only the olympiad mode?

 

If it is on castle siege... or fort siege?

 

When you try to make something make something new... ;]

It was my second code.What did you exept from me?I am not professional java dev.

Anyway i am waiting for a feedback.

lol...you think we're stupid? Your both shares are just c/p and you just change some things! ok ok you know now how to make a custom command! gratz :)

c/p?what did you drink?drugs or what?check my two codes and tell me if they are leeched

 

 

Posted

It was my second code.What did you exept from me?I am not professional java dev.

Anyway i am waiting for a feedback.

 

 

what second code...?? x[ is just a c/p and not a second code next time write the proper credits!

 

~Locked

Posted

what second code...?? x[ is just a c/p and not a second code next time write the proper credits!

 

~Locked

http://www.maxcheaters.com/forum/index.php?topic=122994.0

It's c/p and this?I didn't c/p any code and this i made it by myself.Anyway i won't continue it

re-locked

Posted

http://www.maxcheaters.com/forum/index.php?topic=122994.0

It's c/p and this?I didn't c/p any code and this i made it by myself.Anyway i won't continue it

re-locked

 

Write the proper credits!!!

 

You just remove some lines ....you add nothing NOTHING!

 

 

 

Guest
This topic is now closed to further replies.


  • Posts

    • Gaining attention on Instagram today is more competitive than ever. Whether you're a content creator, entrepreneur, or influencer, building a loyal audience is essential—but often slow. That’s why many users turn to free Instagram followers to kickstart their growth and establish credibility early. With services like GoupSocial, you no longer have to wait months to build traction. By using tools such as instagram followers panel free and free smm panels, you can gain real followers and reach your goals faster. Why Free Instagram Followers Make a Difference Let’s face it—numbers matter. A higher follower count directly affects how others see your brand or profile. When people visit your account and see a big audience, they’re more likely to trust you, follow you, and engage with your content. Here’s how free Instagram followers impact your account: ✅ Boosted credibility: People associate large followings with trust and value. ✅ Greater reach: The Instagram algorithm favors high-engagement accounts. ✅ Brand appeal: Businesses want to collaborate with profiles that already have visibility. ✅ Faster momentum: Platforms like instagram free followers panel eliminate slow, organic-only growth paths. Add tools like free ig likes every 24 hours, and you're not just growing—you’re staying active and visible across the platform. Top Benefits of Using Free Instagram Followers 1. Gain Social Proof Instantly When visitors see a high follower count, it validates your profile. Tools like idigic Instagram followers allow you to generate this social proof fast—without compromising on quality. 2. Consistent Engagement With Likes and Views Pairing followers with tools like free ig likes every 24 hours ensures your content gets seen and interacted with. The algorithm loves engagement, and this keeps your posts fresh and prioritized. 3. Easier Entry Into Explore Page Profiles with high engagement have a better shot at being featured on trending pages. Platforms like igtools followers can help drive those early signals Instagram uses to recommend content. 4. Save Time While Looking Organic Building your presence takes time—unless you have help. With instagram free followers 100 real services, your account grows quickly and still looks natural, without spammy or fake-looking numbers. 5. Attract Collaborations With Brands Businesses look for influencers who can amplify their message. When your profile has strong numbers—boosted via instagram free followers like and free smm panels—you’re more likely to land partnerships and deals. Is It Safe to Get Free Instagram Followers? Yes, if done correctly. The key is using trusted sources. Some platforms fill your profile with bots, which can get your account flagged or banned. That’s why services like GoupSocial are essential—they deliver real, safe engagement through tools like instagram followers panel free. With idigic Instagram followers or igtools followers, the goal isn’t just more numbers—it’s smart, consistent growth that Instagram’s algorithm can respect. How to Use GoupSocial to Get Free Instagram Followers Getting started is simple: 🖊️ Enter your Instagram username 🎯 Choose the number of followers you want 🚀 Click "submit" and watch your count increase in real time Whether you want to test the waters with a few followers or boost engagement with free ig likes every 24 hours, GoupSocial has the tools to help. The Power of Using Growth Tools Strategically Gaining traction with free Instagram followers isn’t about cheating the system—it’s about working smarter. Using platforms that offer instagram free followers 100 real ensures you don’t just inflate numbers, but also increase your influence. Tools like instagram free followers like, free smm panels, and instagram followers panel free create a foundation of trust, engagement, and visibility. It’s the perfect launchpad for creators who want to focus on content—not on chasing every new follower manually. Start Strong, Grow Smarter Instagram success is no longer reserved for those with large budgets. With the right tools, anyone can build influence. Free Instagram followers from reputable services like GoupSocial help you achieve fast, safe, and impactful growth. Use features like free ig likes every 24 hours, explore tools like idigic Instagram followers, and make use of instagram free followers like strategies to grow with confidence. The power to scale is in your hands—start now and watch your audience thrive.
    • Buying & Selling FFXIV FFXI Horizon Eden and other server
    • Buying & Selling Torn City Cash
    • Added: payment method MidTrans - for Indonesia MercadoPago - for Brazil and etc.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock