No tienes permiso para ver los enlaces. Para poder verlos Registrate o Conectate.
2015-01-17 17:01:46 1428 [Note] Plugin 'FEDERATED' is disabled.
2015-01-17 17:01:46 2c0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-01-17 17:01:46 1428 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-01-17 17:01:46 1428 [Note] InnoDB: The InnoDB memory heap is disabled
2015-01-17 17:01:46 1428 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-01-17 17:01:46 1428 [Note] InnoDB: Memory barrier is not used
2015-01-17 17:01:46 1428 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-01-17 17:01:46 1428 [Note] InnoDB: Not using CPU crc32 instructions
2015-01-17 17:01:46 1428 [Note] InnoDB: Initializing buffer pool, size = 160.0M
2015-01-17 17:01:46 1428 [Note] InnoDB: Completed initialization of buffer pool
2015-01-17 17:01:46 1428 [Note] InnoDB: Highest supported file format is Barracuda.
2015-01-17 17:01:46 1428 [Note] InnoDB: 128 rollback segment(s) are active.
2015-01-17 17:01:46 1428 [Note] InnoDB: Waiting for purge to start
2015-01-17 17:01:47 1428 [Note] InnoDB: 5.6.21 started; log sequence number 1601066
2015-01-17 17:01:47 1428 [Note] Server hostname (bind-address): '*'; port: 3306
2015-01-17 17:01:47 1428 [Note] IPv6 is available.
2015-01-17 17:01:47 1428 [Note] - '::' resolves to '::';
2015-01-17 17:01:47 1428 [Note] Server socket created on IP: '::'.
<set name="reuse_delay" val="5" />
<item id="728" type="EtcItem" name="Mana Potion">
<set name="icon" val="icon.etc_reagent_blue_i00" />
<set name="default_action" val="skill_reduce" />
<set name="etcitem_type" val="potion" />
<set name="immediate_effect" val="1" />
<set name="reuse_delay" val="5" />
<set name="material" val="liquid" />
<set name="weight" val="180" />
<set name="price" val="2000" />
<set name="is_stackable" val="true" />
<set name="is_oly_restricted" val="true" />
<set name="handler" val="ManaPotion" />
<set name="item_skill" val="10001-1" />
<set name="for_npc" val="true" />
package handlers.voicedcommandhandlers;
import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
public class Teleport implements IVoicedCommandHandler
{
private static final String[] VOICED_COMMANDS =
{
"giran",
"aden",
"oren",
"dion",
"goddard",
"floran",
"gludin",
"gludio",
"rune",
"heine",
"dwarvenvillage",
"darkelvenvillage",
"elvenvillage",
"orcvillage",
"talkingisland",
"schuttgart",
"huntersvillage",
"antharas",
"valakas",
"baium",
"queenant",
"zaken",
"orfen",
"core"
};
@Override
public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
if (activeChar.isFestivalParticipant())
{
activeChar.sendMessage("Can not use this acction at event!");
return false;
}
else if(activeChar.isInJail())
{
activeChar.sendMessage("Can not use this acction at Jail");
return false;
}
else if(activeChar.isDead())
{
activeChar.sendMessage("Can not use this acction Dead.");
return false;
}
else if(activeChar.isInCombat())
{
activeChar.sendMessage("You can't teleport while you are in combat.");
return false;
}
else if (activeChar.isInDuel())
{
activeChar.sendMessage("You can't teleport while you are doing a duel.");
return false;
}
else if (activeChar.isInOlympiadMode())
{
activeChar.sendMessage("You can't teleport while you are in olympiad");
return false;
}
else if (activeChar.inObserverMode())
{
activeChar.sendMessage("You can't teleport while you are in observer mode");
return false;
}
else if (!activeChar.inObserverMode() && !activeChar.isInOlympiadMode() && !activeChar.isInDuel() && !activeChar.isInCombat() && !activeChar.isDead() && !activeChar.isInJail())
{
if(command.startsWith("giran"))
{
activeChar.teleToLocation(82337, 148602, -3467);
}
else if(command.startsWith("dion"))
{
activeChar.teleToLocation(18492, 145386, -3118);
}
else if(command.startsWith("oren"))
{
activeChar.teleToLocation(82769, 53573, -1498);
}
else if(command.startsWith("gludio"))
{
activeChar.teleToLocation(-12864, 122716, -3117);
}
else if(command.startsWith("gludin"))
{
activeChar.teleToLocation(-80928, 150055, -3044);
}
else if(command.startsWith("aden"))
{
activeChar.teleToLocation(147361, 26953, -2205);
}
else if(command.startsWith("schuttgart"))
{
activeChar.teleToLocation(87359, -143224, -1293);
}
else if(command.startsWith("orcvillage"))
{
activeChar.teleToLocation(-44429, -113596, -220);
}
else if(command.startsWith("darkelvenvillage"))
{
activeChar.teleToLocation(11620, 16780, -4662);
}
else if(command.startsWith("elvenvillage"))
{
activeChar.teleToLocation(47050, 50767, -2996);
}
else if(command.startsWith("dwarvenvillage"))
{
activeChar.teleToLocation(115526, -178660, -945);
}
else if(command.startsWith("heine"))
{
activeChar.teleToLocation(111396, 219254, -3546);
}
else if(command.startsWith("huntersvillage"))
{
activeChar.teleToLocation(116440, 76320, -2730);
}
else if(command.startsWith("floran"))
{
activeChar.teleToLocation(17144, 170156, -3502);
}
else if(command.startsWith("goddard"))
{
activeChar.teleToLocation(147720, -55560, -2735);
}
else if(command.startsWith("rune"))
{
activeChar.teleToLocation(43848, -48033, -797);
}
else if(command.startsWith("valakas"))
{
activeChar.teleToLocation(213604, -114795, -1636);
}
else if(command.startsWith("baium"))
{
activeChar.teleToLocation(115213, 16623, 10080);
}
else if(command.startsWith("queenant"))
{
activeChar.teleToLocation(-21610, 181594, -5734);
}
else if(command.startsWith("zaken"))
{
activeChar.teleToLocation(55312, 219168, -3223);
}
else if(command.startsWith("orfen"))
{
activeChar.teleToLocation(43021, 17378, -4394);
}
else if(command.startsWith("core"))
{
activeChar.teleToLocation(17682, 111439, -6584);
}
else if(command.startsWith("antharas"))
{
activeChar.teleToLocation(185708, 114298, -8221);
}
}
return true;
}
@Override
public String[] getVoicedCommandList()
{
return VOICED_COMMANDS;
}
}