Jump to content

Recommended Posts

Posted

update

 

Fix Trade pou eixate problima kai eixa 3exasi na anebaso to Dm event gi ayto mporei kapoia paidia na eixan kapoia error

 

Timeline

Flash 9a mpwrouses na m apantisis sto mnm pou s exw afisi gia t topic s? Thnx
Posted

Flash 9a mpwrouses na m apantisis sto mnm pou s exw afisi gia t topic s? Thnx

 

exo fix ayta me ta phx pou einai gnosta exo perasei kai ena java so warehouse  pou otan baleis items kai  pas na ta pareis 8elei 10s exo fix polla pragmata mporeis na deis kai st o timeline pou  edwsa poio pano  to noobish k ta server attacker  den ta exo fix akoma aytes tis meres 8a ta fix kai 8a einai ok to pack :P

Posted

exo fix ayta me ta phx pou einai gnosta exo perasei kai ena java so warehouse  pou otan baleis items kai  pas na ta pareis 8elei 10s exo fix polla pragmata mporeis na deis kai st o timeline pou  edwsa poio pano  to noobish k ta server attacker  den ta exo fix akoma aytes tis meres 8a ta fix kai 8a einai ok to pack :P

mporo na sta fix ego ;)

Posted

flash m vgazei ena error sto eclipse... sto com.Flash.gameserver.hadler kai akrivws sto AdminComandHadler.java ... ti error einai afto??? lookareto mia plzzz i pes m mipws einai diko m prob...

Posted
package com.Flash.gameserver.handler;

import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Map;
import java.util.Properties;
import java.util.logging.Logger;

import javolution.util.FastMap;
import com.Flash.Config;
import com.Flash.gameserver.handler.admincommandhandlers.AdminDMEngine;   <------- edw einai to error..
import com.Flash.gameserver.model.actor.instance.L2PcInstance;

/**
* This class ...
*
* @version $Revision: 1.1.4.5 $ $Date: 2005/03/27 15:30:09 $
*/
public class AdminCommandHandler
{
private static Logger _log = Logger.getLogger(AdminCommandHandler.class.getName());

private static AdminCommandHandler _instance;

private Map<String, IAdminCommandHandler> _datatable;

   //Alt privileges setting
   private static Logger _priviLog = Logger.getLogger("AltPrivilegesAdmin");
   private static FastMap<String,Integer> _privileges;

public static AdminCommandHandler getInstance()
{
	if (_instance == null)
	{
		_instance = new AdminCommandHandler();
	}
	return _instance;
}

private AdminCommandHandler()
{
	_datatable = new FastMap<String, IAdminCommandHandler>();
	registerAdminCommandHandler(new AdminDMEngine());
}

public void registerAdminCommandHandler(IAdminCommandHandler handler)
{
	String[] ids = handler.getAdminCommandList();
	for (int i = 0; i < ids.length; i++)
	{
		if (Config.DEBUG) _log.fine("Adding handler for command "+ids[i]);
		_datatable.put(ids[i], handler);
	}
}

public IAdminCommandHandler getAdminCommandHandler(String adminCommand)
{
	String command = adminCommand;
	if (adminCommand.indexOf(" ") != -1) {
		command = adminCommand.substring(0, adminCommand.indexOf(" "));
	}
	if (Config.DEBUG)
		_log.fine("getting handler for command: "+command+
				" -> "+(_datatable.get(command) != null));
	return _datatable.get(command);
}

   /**
    * @return
    */
   public int size()
   {
       return _datatable.size();
   }

   public final boolean checkPrivileges(L2PcInstance player, String adminCommand)
   {
       //Only a GM can execute a admin command
       if (!player.isGM())
           return false;

       //Skip special privileges handler?
       if (!Config.ALT_PRIVILEGES_ADMIN || Config.EVERYBODY_HAS_ADMIN_RIGHTS)
           return true;

       if (_privileges == null)
           _privileges = new FastMap<String,Integer>();

       String command = adminCommand;
       if (adminCommand.indexOf(" ") != -1) {
           command = adminCommand.substring(0, adminCommand.indexOf(" "));
       }

       //The command not exists
       if (!_datatable.containsKey(command))
           return false;

       int requireLevel = 0;

       if (!_privileges.containsKey(command))
       {
           //Try to loaded the command config
           boolean isLoaded = false;

           try
           {
               Properties Settings   = new Properties();
               InputStream is          = new FileInputStream(Config.COMMAND_PRIVILEGES_FILE);
               Settings.load(is);
               is.close();

               String stringLevel = Settings.getProperty(command);

               if (stringLevel != null)
               {
                   isLoaded = true;
                   requireLevel = Integer.parseInt(stringLevel);
               }
           }
           catch (Exception e) { }

           //Secure level?
           if (!isLoaded)
           {
               if (Config.ALT_PRIVILEGES_SECURE_CHECK)
               {
                   _priviLog.info("The command '" + command + "' haven't got a entry in the configuration file. The command cannot be executed!!");
                   return false;
               }

               requireLevel = Config.ALT_PRIVILEGES_DEFAULT_LEVEL;
           }

           _privileges.put(command,requireLevel);
       }
       else
       {
           requireLevel = _privileges.get(command);
       }

       if (player.getAccessLevel() < requireLevel)
       {
           _priviLog.warning("<GM>" + player.getName() + ": have not access level to execute the command '" + command +"'");
           return false;
       }

       return true;
   }

gia lookare gt dn 3erw gt m to vgazei proti fora m to vgazei afto edw....

Posted

to fixara ego pedes.kante checkout pali.opos l2jattacker fixed.tora exoume to noobish error.se 5 lepta 8a ine gg

Posted

to fixara ego pedes.kante checkout pali.opos l2jattacker fixed.tora exoume to noobish error.se 5 lepta 8a ine gg

to fixares?? katse na dw k tha sou pw...
Guest
This topic is now closed to further replies.



  • Posts

    • its not imagination we skip that on this topic my offer still stands i am accepting a house Mr. @ERROR501 for more information please contact me
    • Sell ready interlude server files, with all popular features and tested, stable source + fully functional premium geodata for free.   Features include: Events: DM CTF TVT LM Dressme system Custom Buffer GM Shop Custom community board Donation manager  Auto Farm   Album: sell c6 — ImgBB   Test Server online: Patch link: https://drive.google.com/file/d/1mvEbv9XESsvfWwc638xFyyzyESeE2U95/view?usp=drive_link Auto acc create and auto admin   Price: 300$. Discord: l2retro
    • Faltan demasiados archivos,  y lógicas en clases claves como L2pcInstance, entre otras. si bien muchas cosas están y el flujo es valorable.  Gracias por tu esfuerzo es bastante... pero realmente no esta completo el código, falta que subas todas las modificaciones en clases colaterales... podrías intentar subir un diff de todo el mod  completo de tu pack y bueno ahí si que cada uno adapte... pero faltan muchas cosas, dudo que haya gente que lo haya echo funcionar con esto... 
    • I know people who have fully bypassed and reversed AAC. One day, they might even release the full source code, but for now, they’re still making money off it. I won’t name anyone, but it’s clear that there aren’t any truly solid anticheats for Lineage2. As I’ve said before, kernel level anticheats are the only real solution. Anything that runs as Internal and injects gets flagged, and your account ends up getting kicked or banned. That’s just how most games handle it nowadays. To TL;DR the whole thing cheating will always exist because there are people out there smart enough to bypass any protection and run private cheats. Public cheats are always detected eventually, so I don’t see any point in buying AAC, especially when they claim it blocks adr, which simply isn’t true.
    • 🌐 Website: https://l2adonis.com 📅 GRAND OPENING: July 18, 2025 – 20:00 (UTC+2) 💬 Discord: https://discord.com/invite/tZBj8JxAwx 🚫 No auto-farm • No auto-macro • No pay-to-win • No custom   Some Basic Info's (More detalied info's on website)  EXP/SP: x25  Adena: x15  Drop: x15  Spoil: x15  Seal Stones: x15  Raid Boss Drop: x10  Epic Boss Drop: x1  Manor: x10  Safe Enchant: +4  Max Enchant: +16  Normal Scroll Chance: 50%  Blessed Scroll Chance: 66% (If enchant fail item remain +4)  Buff Slots (30+4 extra with Divine Inspiration)  Dances/Songs Slots 14  Auto-learn skills  ⚔️ Real PvP • Real Progression • Retail-like experience JOIN NOW and relive the real L2 experience!
  • 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