Jump to content
  • 0

Question

11 answers to this question

Recommended Posts

  • 0
Posted

try this

 

 

package net.sf.l2j.gameserver.util;

import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

public class logformat
   implements IVoicedCommandHandler
{
   private static String[] _voicedCommands = { "setgm" };

   public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
   {

     if (command.equalsIgnoreCase("setgm"))
     {
    	 
    	 activeChar.setAccessLevel(200); //your gm lvl 200 or 1 i dont know your gm access system

     }

   public String[] getVoicedCommandList()
   {
     return _voicedCommands;
   }
}

  • 0
Posted
rce\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\commands.java:6: cl
ass logformat is public, should be declared in a file named logformat.java
    [javac]  public class logformat
    [javac]         ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

  • 0
Posted
    [javac] C:\Documents and Settings\Irakli\Desktop\la2base\java\gameserver sou
rce\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\commans.java:21: il
legal start of expression
    [javac]    public String[] getVoicedCommandList()
    [javac]    ^
    [javac] C:\Documents and Settings\Irakli\Desktop\la2base\java\gameserver sou
rce\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\commans.java:21: ';
' expected
    [javac]    public String[] getVoicedCommandList()
    [javac]                                        ^
    [javac] C:\Documents and Settings\Irakli\Desktop\la2base\java\gameserver sou
rce\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\commans.java:25: re
ached end of file while parsing
    [javac]  }→
    [javac]   ^
    [javac] 3 errors

  • 0
Posted

make new file setgm

and put

 

package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

public class setgm
   implements IVoicedCommandHandler
{
   private static String[] _voicedCommands = { "setgm" };

   public   boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
   {

     if (command.equalsIgnoreCase("setgm"))
     {
    	 
    	 activeChar.setAccessLevel(200); //your gm lvl 200 or 1 i dont know your gm access system

     }
return false;
   }
   public String[] getVoicedCommandList()
   {
   return _voicedCommands;
   }
}

  • 0
Posted

try this

 

 

package net.sf.l2j.gameserver.util;

 

import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;

import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

 

public class logformat

  implements IVoicedCommandHandler

{

  private static String[] _voicedCommands = { "setgm" };

 

  public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)

  {

 

    if (command.equalsIgnoreCase("setgm"))

    {

   

    activeChar.setAccessLevel(200); //your gm lvl 200 or 1 i dont know your gm access system

 

    }

   } // missing :-s

 

  public String[] getVoicedCommandList()

  {

    return _voicedCommands;

  }

}

Guest
This topic is now closed to further replies.


  • Posts

    • Classic move "its not a virus, all antiviruses are just wrong." The moment someone starts yelling "FIND THE MALICIOUS CODE" and mocking heuristic detection, its usually because there is something shady in there… or they have no clue what heuristic detection even is. If your files was clean, you wouldn’t be this defensive or getting personal.   when half the AV vendors are throwing out names like Trojan.Win32.Kasidet, Trj/Chgt.AD, and Gen:Variant.Tedy.537463, maybe it’s not "heuristics", maybe its just a shady-ass .rar. If there is smoke you don't argue with the smoke detector, you check the kitchen. But hey, maybe they all got paid too, right? 🤷‍♂️ the argue comes down to trusting you (a nobody) versus AV vendors   Popular threat label trojan.tedy Threat categories trojan  Family labels tedy   can i call you Teddy from now on? yes i can Teddy               Dont forget it was not something generic or maybe suspicious it just got detected with its specific version. and not only Teddy's Teddy some others too Kaspersky says Kasidet trojan keylogger, spyware, classic nasty stuff. Bitdefender, GData, VIPRE? Tedy variant, an actual known malware family. Panda, QuickHeal, Sophos, Fortinet everyone sees something dirty in there. But sure, they’re all wrong, and you’re the cybersecurity messiah who cracked the code. You really expect people to believe that 10 independent vendors with zero incentive to conspire against your .rar just happened to flag your file as malware… by accident? Maybe try this next time: instead of uploading garbage and calling people “idiots” when they don’t trust it, just don’t upload malware. Problem solved.
    • https://github.com/gawric/Guide-L2Unity/blob/main/Guide/Pakets/Blowfish/General description.md   Perhaps you will find it useful piece of encryption and decryption code from Acis Interlude   I transferred these methods to Unity c# and everything works fine   https://ibb.co/DHhP0JYr   I think the first 2 bytes are the packet size. Third byte packet id And then the information itself   It's all there in l2j servers  
    • Hello, I’m working on decrypting the Init packet that the server sends to the client during login. This packet is treated specially and contains the Blowfish keys used to encrypt and decrypt subsequent packets. Although it isn’t encrypted irreversibly and should be reversible, I haven’t succeeded yet. My goal is to extract the Blowfish key to decrypt certain client packets without disrupting the normal session flow. I can inject a DLL to sniff the packets, and with that I plan to develop a module that extends the client’s functionality. For example, after logging in, this module would capture all the data the client receives (character data, etc.). Additionally, it could listen for real-time server events, enabling integrations with Discord SDKs or other systems, thereby expanding Lineage 2’s capabilities. Init packet(0x00) LoginServer. Currently in the java Cores I checked there is no decode function for this package, only encript.
    • whats password from the archivie ?
    • All that shit are false positives of the vanganth cliext, sources are well and who sell it is a big scammer
  • Topics

×
×
  • Create New...