i passed whole code of chaos event and i had 0 errors .then i started event in game message appeard type .joinchaos to join and .leavechaos to leave but nothing happened the command didnt work...
code of commands:
/* 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 com.l2jfrozen.gameserver.handler.voicedcommandhandlers;
import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler;
import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
import com.l2jfrozen.gameserver.model.entity.ChaosEvent;
/**
*
* @author Anarchy
*/
public class Chaos implements IVoicedCommandHandler
{
private static final String[] VOICED_COMMANDS = { "joinchaos", "leavechaos" };
@Override
public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
ChaosEvent chaos = new ChaosEvent();
if (command.startsWith("joinchaos"))
{
if (ChaosEvent._isChaosActive)
{
chaos.registerToChaos(activeChar);
return true;
}
activeChar.sendMessage("Chaos Event is not currently active.");
return false;
}
if (command.startsWith("leavechaos"))
{
if (ChaosEvent._isChaosActive)
{
chaos.removeFromChaos(activeChar);
return true;
}
activeChar.sendMessage("Chaos Event is not currently active.");
return false;
}
return true;
}
@Override
public String[] getVoicedCommandList()
{
return VOICED_COMMANDS;
}
}
Hello. You may encounter the Push item fail error when trying to pick up an item dropped on the ground by a mob.
or
You can throw something out of your inventory and pick it up again, several times.
Probably this is a quantum dependency) I don't understand at what point this happens, sometimes two items one after another experience push item errors, and sometimes I don't have enough thousands of attempts to repeat this trick)
In any case, this is just a visual error and after the relog, the item appears in the inventory. I think first i need to disconnect the extender and check it on a bare server. I still need time to check this, maybe it's not even about the autoloot function.
https://youtu.be/6mcfmdImofE
-----------
In general, I would like to thank our wonderful Emca Eressea for her deep knowledge in programming and reverse engineering. And for the fact that her work is open to everyone, this is very amazing, and incredibly valuable.
ADENA
500 K = 40e
1kk = 70e
3kk = 190e
ITEMS
staff of life = 150e
karmian set = 90e
elven jewls top D = 30e
Orcish Poleaxe+1 best C pole = 680e
any D grade armor on demand
discord
wiz0642_81242
Question
aris96
i passed whole code of chaos event and i had 0 errors .then i started event in game message appeard type .joinchaos to join and .leavechaos to leave but nothing happened the command didnt work...
code of commands:
5 answers to this question
Recommended Posts