Jump to content
  • 0

[Help]//sethero


Question

Posted

geia xrisimopoio compile pack l2j to command //sethero den ligourgi. to problem me to character create to ekana. twra to //sethero den litourgi giati gmt?

euxaristo

12 answers to this question

Recommended Posts

  • 0
Posted

geia xrisimopoio compile pack l2j to command //sethero den ligourgi. to problem me to character create to ekana. twra to //sethero den litourgi giati gmt?

euxaristo

 

dld dokimases to command into server kai den se ekane hero???? an einai etc opws ta les kalutera na pas polu apla sta configs kai na ta ftia3eis apo ekei..... Se orismena pack to //sethero einai bugged......

  • 0
Posted

dld dokimases to command into server kai den se ekane hero???? an einai etc opws ta les kalutera na pas polu apla sta configs kai na ta ftia3eis apo ekei..... Se orismena pack to //sethero einai bugged......

 

se poio config??

 

Peigene sto Project pou xrisimopoihs na peis sto forum na kanoun ADD to Sethero

 

lole den 3erw to to site gia to l2jserver/forum :S

  • 0
Posted

Στο Interlude L2J δεν υπάρχει η εντολή //sethero. Ξέρεις να κάνεις compile για να την βάλεις μόνος σου?

3erw na kanw compile... alla den 3erw pws na to balo monos... :S

  • 0
Posted

sorry for double...

 

auto to java gia to hero mporo na to balo kai sto l2jserver???? gia dite ..

 

 

 

 

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 lt.equal.gameserver.handler.admincommandhandlers;

 

import java.util.StringTokenizer;

 

import lt.equal.Config;

import lt.equal.gameserver.GmListTable;

import lt.equal.gameserver.Olympiad;

import lt.equal.gameserver.cache.HtmCache;

import lt.equal.gameserver.datatables.ItemTable;

import lt.equal.gameserver.datatables.NpcTable;

import lt.equal.gameserver.datatables.NpcWalkerRoutesTable;

import lt.equal.gameserver.datatables.SkillTable;

import lt.equal.gameserver.datatables.TeleportLocationTable;

import lt.equal.gameserver.handler.IAdminCommandHandler;

import lt.equal.gameserver.instancemanager.Manager;

import lt.equal.gameserver.model.GMAudit;

import lt.equal.gameserver.model.L2Multisell;

import lt.equal.gameserver.model.actor.instance.L2PcInstance;

import lt.equal.gameserver.network.SystemMessageId;

import lt.equal.gameserver.serverpackets.SystemMessage;

 

/**

* This class handles following admin commands:

* - admin|admin1/admin2/admin3/admin4/admin5 = slots for the 5 starting admin menus

* - gmliston/gmlistoff = includes/excludes active character from /gmlist results

* - silence = toggles private messages acceptance mode

* - diet = toggles weight penalty mode

* - tradeoff = toggles trade acceptance mode

* - reload = reloads specified component from multisell|skill|npc|htm|item|instancemanager

* - set/set_menu/set_mod = alters specified server setting

* - saveolymp = saves olympiad state manually

* - manualhero = cycles olympiad and calculate new heroes.

* @version $Revision: 1.3.2.1.2.4 $ $Date: 2007/07/28 10:06:06 $

*/

public class AdminAdmin implements IAdminCommandHandler {

 

private static final String[] ADMIN_COMMANDS = {"admin_admin", "admin_admin1", "admin_admin2", "admin_admin3", "admin_admin4", "admin_admin5",

"admin_gmliston", "admin_gmlistoff", "admin_silence", "admin_diet", "admin_tradeoff", "admin_reload", "admin_set", "admin_set_menu", "admin_set_mod",

"admin_saveolymp", "admin_manualhero", "admin_sethero"};

 

private static final int REQUIRED_LEVEL = Config.GM_MENU;

 

public boolean useAdminCommand(String command, L2PcInstance activeChar) {

 

if (!Config.ALT_PRIVILEGES_ADMIN)

if (!(checkLevel(activeChar.getAccessLevel()) && activeChar.isGM()))

return false;

 

GMAudit.auditGMAction(activeChar.getName(), command, (activeChar.getTarget() != null?activeChar.getTarget().getName():"no-target"), "");

 

if (command.startsWith("admin_admin"))

{

showMainPage(activeChar,command);

}

else if(command.startsWith("admin_gmliston"))

{

GmListTable.getInstance().showGm(activeChar);

activeChar.sendMessage("Registerd into gm list");

}

else if(command.startsWith("admin_gmlistoff"))

{

GmListTable.getInstance().hideGm(activeChar);

activeChar.sendMessage("Removed from gm list");

}

else if(command.startsWith("admin_silence"))

{

if (activeChar.getMessageRefusal()) // already in message refusal mode

{

activeChar.setMessageRefusal(false);

activeChar.sendPacket(new SystemMessage(SystemMessageId.MESSAGE_ACCEPTANCE_MODE));

}

else

{

activeChar.setMessageRefusal(true);

activeChar.sendPacket(new SystemMessage(SystemMessageId.MESSAGE_REFUSAL_MODE));

}

}

else if(command.startsWith("admin_saveolymp"))

{

try

{

Olympiad.getInstance().save();

}

catch(Exception e){e.printStackTrace();}

activeChar.sendMessage("olympiad stuff saved!!");

}

                else if (command.startsWith("admin_sethero"))

{

L2PcInstance target = null;

 

if (activeChar.getTarget() instanceof L2PcInstance)

{

target = (L2PcInstance) activeChar.getTarget();

target.setHero(target.isHero() ? false : true);

}

else

{

target = activeChar;

target.setHero(target.isHero() ? false : true);

}

target.broadcastUserInfo();

}

else if(command.startsWith("admin_manualhero"))

{

try

{

Olympiad.getInstance().manualSelectHeroes();

}

catch(Exception e){e.printStackTrace();}

activeChar.sendMessage("Heroes formed");

}

else if(command.startsWith("admin_diet"))

{

try

{

StringTokenizer st = new StringTokenizer(command);

st.nextToken();

if(st.nextToken().equalsIgnoreCase("on"))

{

activeChar.setDietMode(true);

activeChar.sendMessage("Diet mode on");

}

else if(st.nextToken().equalsIgnoreCase("off"))

{

activeChar.setDietMode(false);

activeChar.sendMessage("Diet mode off");

}

}

catch(Exception ex)

{

if(activeChar.getDietMode())

{

activeChar.setDietMode(false);

activeChar.sendMessage("Diet mode off");

}

else

{

activeChar.setDietMode(true);

activeChar.sendMessage("Diet mode on");

}

}

finally

{

activeChar.refreshOverloaded();

}

}

else if(command.startsWith("admin_tradeoff"))

{

try

{

String mode = command.substring(15);

if (mode.equalsIgnoreCase("on"))

{

activeChar.setTradeRefusal(true);

activeChar.sendMessage("Trade refusal enabled");

}

else if (mode.equalsIgnoreCase("off"))

{

activeChar.setTradeRefusal(false);

activeChar.sendMessage("Trade refusal disabled");

}

}

catch(Exception ex)

{

if(activeChar.getTradeRefusal())

{

activeChar.setTradeRefusal(false);

activeChar.sendMessage("Trade refusal disabled");

}

else

{

activeChar.setTradeRefusal(true);

activeChar.sendMessage("Trade refusal enabled");

}

}

}

else if(command.startsWith("admin_reload"))

{

StringTokenizer st = new StringTokenizer(command);

st.nextToken();

try

{

String type = st.nextToken();

if(type.equals("multisell"))

{

L2Multisell.getInstance().reload();

activeChar.sendMessage("multisell reloaded");

}

else if(type.startsWith("teleport"))

{

TeleportLocationTable.getInstance().reloadAll();

activeChar.sendMessage("teleport location table reloaded");

}

else if(type.startsWith("skill"))

{

SkillTable.getInstance().reload();

activeChar.sendMessage("skills reloaded");

}

else if(type.equals("npc"))

{

NpcTable.getInstance().reloadAllNpc();

activeChar.sendMessage("npcs reloaded");

}

else if(type.startsWith("htm"))

{

HtmCache.getInstance().reload();

activeChar.sendMessage("Cache

: " + HtmCache.getInstance().getMemoryUsage()  + " megabytes on " + HtmCache.getInstance().getLoadedFiles() + " files loaded");

}

else if(type.startsWith("item"))

{

ItemTable.getInstance().reload();

activeChar.sendMessage("Item templates reloaded");

}

else if(type.startsWith("instancemanager"))

{

Manager.reloadAll();

activeChar.sendMessage("All instance manager has been reloaded");

}

else if(type.startsWith("npcwalkers"))

{

NpcWalkerRoutesTable.getInstance().load();

activeChar.sendMessage("All NPC walker routes have been reloaded");

 

}

 

}

catch(Exception e)

{

activeChar.sendMessage("Usage:  //reload <multisell|skill|npc|htm|item|instancemanager>");

}

}

 

else if(command.startsWith("admin_set"))

{

StringTokenizer st = new StringTokenizer(command);

String[] cmd=st.nextToken().split("_");

try

{

String[] parameter = st.nextToken().split("=");

String pName = parameter[0].trim();

String pValue = parameter[1].trim();

if (Config.setParameterValue(pName, pValue))

activeChar.sendMessage("parameter "+pName+" succesfully set to "+pValue);

else

activeChar.sendMessage("Invalid parameter!");

}

catch(Exception e)

{

if (cmd.length==2)

activeChar.sendMessage("Usage: //set parameter=vaue");

}

finally

{

if (cmd.length==3)

{

if (cmd[2].equalsIgnoreCase("menu"))

AdminHelpPage.showHelpPage(activeChar, "settings.htm");

else if (cmd[2].equalsIgnoreCase("mod"))

AdminHelpPage.showHelpPage(activeChar, "mods_menu.htm");

}

}

}

return true;

}

 

public String[] getAdminCommandList()

{

return ADMIN_COMMANDS;

}

 

private boolean checkLevel(int level)

{

return (level >= REQUIRED_LEVEL);

}

 

private void showMainPage(L2PcInstance activeChar, String command)

{

int mode = 0;

String filename=null;

try

{

mode = Integer.parseInt(command.substring(11));

}

catch (Exception e) {}

switch (mode)

{

case 1:

filename="main";

break;

case 2:

filename="game";

break;

case 3:

filename="effects";

break;

case 4:

filename="server";

break;

case 5:

filename="mods";

break;

default:

if (Config.GM_ADMIN_MENU_STYLE.equals("modern"))

filename="main";

else

filename="classic";

break;

}

AdminHelpPage.showHelpPage(activeChar, filename+"_menu.htm");

}

}

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • 🔥 Apresentação I present to you a new fully customized DressMe system, developed for DreamV2, inspired by the best servers and enhanced with unique features that guarantee performance, customization and stunning visuals. ✨ Funcionalidades ✅ Aplicação de visual de armas e armaduras sem alterar o item real equipado. ✅ Compatível com qualquer tipo de arma/armadura (ex: skins de bow visíveis apenas com bows equipados). ✅ Remoção automática do visual quando parte do set real é desequipada. ✅ Efeitos visuais (skills) aplicados com suporte a: Aplicação única ou recorrente Intervalo configurável via XML Remoção automática ao desativar o visual ✅ Interface limpa e lógica modular, fácil de expandir com novos visuais ou efeitos.     <?xml version="1.0" encoding="UTF-8"?> <dressMeList> <dress skillId="9100" name="Draconic Armor" type="ARMOR" isVip="false" > <visualSet chest="6379" legs="0" gloves="6380" feet="6381" helmet="6841" /> <visualEffect skillId="445" level="1" recurring="true" interval="35" /> </dress> <dress skillId="9102" name="Cloak Style Armor" type="CLOAK" isVip="false"> <visualSet chest="7000" legs="0" gloves="0" feet="0" helmet="0" /> <visualEffect skillId="10005" level="1" recurring="false" /> </dress> <dress skillId="9103" name="Valakas Style Weapon" type="WEAPON" isVip="false"> <visualWep type="bow" rhand="7575" lhand="0" lrhand="0" /> <visualEffect skillId="10005" level="1" recurring="false" /> </dress> </dressMeList> 📸 Imagens & Vídeo 🛠️ Detalhes Técnicos Desenvolvido com base no L2J DreamV2 Integração direta com L2PcInstance, Inventory, ThreadPoolManager e SkillTable Sistema de gerenciamento central via DressMeEffectManager Agendamento e cancelamento seguro de efeitos recorrentes Totalmente thread-safe e compatível com jogadores offline 📂 Instalação A instalação é feita via patch e inclui: Classes: DressMeHolder, DressMeEffectManager, modificações em L2PcInstance XML de exemplo Suporte completo à expansão por armas, cloaks e visuais parciais 📎 Download https://pastebin.com/raw/7i843yKh 💬 Feedback & Sugestões Sinta-se à vontade para comentar abaixo com sugestões, dúvidas ou feedbacks. Toda contribuição é bem-vinda para futuras versões!
    • @Tinker123aa Guytis, I have nothing against you, but it's very clear to me who is behind this files. I'm talking about the one that came with the captcha anti-bot system. I personally bought it from the real owner, who was one of the administrators of L2Gold.cc. This can be confirmed by him if he wishes. 😊 Maybe you worked on the files, but they didn’t start from you.   To the people trying to buy the files I’m just advising you not to waste your money. This is 100% verified information.   I honestly don't know how people believe you. 🙂 I'll share the link to the guy's topic below.   ps  
    • Hello,  Anyone knows how I can communicate to purchase this emulator.  Nobody answered in the forum of eternity neither Kate neither lord winter.    Thanks in advance.
  • 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