Jump to content

Recommended Posts

  • 1 month later...
Posted

as i can see you use the Say2.PARTYROOM_COMMANDER (`)..

hmm.. you could select the color with other way? cause chat handlers colors are limited..

(orange for all, green for party etc)

 

  • 3 months later...
Posted

hello my cliente freya look error

 

2yovqm1.jpg

 

 

look my cod

 

 

/*

* 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.

*/

package handlers.admincommandhandlers;

 

import java.util.logging.Logger;

 

import br.xtreme.Config;

import br.xtreme.gameserver.GmListTable;

import br.xtreme.gameserver.handler.IAdminCommandHandler;

import br.xtreme.gameserver.model.L2Object;

import br.xtreme.gameserver.model.L2World;

import br.xtreme.gameserver.model.actor.instance.L2PcInstance;

import br.xtreme.gameserver.network.SystemMessageId;

import br.xtreme.gameserver.network.clientpackets.Say2;

import br.xtreme.gameserver.network.serverpackets.CreatureSay;

import br.xtreme.gameserver.network.serverpackets.SystemMessage;

 

/**

* This class handles following admin commands:

* - gmchat text = sends text to all online GM's

* - gmchat_menu text = same as gmchat, displays the admin panel after chat

*

* @version $Revision: 1.2.4.3 $ $Date: 2005/04/11 10:06:06 $

*/

public class AdminGmChat implements IAdminCommandHandler

{

private static Logger _log = Logger.getLogger(AdminGmChat.class.getName());

private static final String[] ADMIN_COMMANDS =

{

"admin_gmchat",

"admin_snoop",

"admin_gmchat_menu"

};

 

public boolean useAdminCommand(String command, L2PcInstance activeChar)

{

if (Config.ENABLE_SAFE_ADMIN_PROTECTION)

{

if (!activeChar.isSafeAdmin())

{

activeChar.punishUnSafeAdmin();

_log.warning("Character " + activeChar.getName() + "(" + activeChar.getObjectId() + ") tryed to use an admin command.");

return false;

}

}

if (command.startsWith("admin_gmchat"))

handleGmChat(command, activeChar);

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

snoop(command, activeChar);

if (command.startsWith("admin_gmchat_menu"))

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

return true;

}

 

/**

* @param command

* @param activeChar

*/

private void snoop(String command, L2PcInstance activeChar)

{

L2Object target = null;

if (command.length() > 12)

{

target = L2World.getInstance().getPlayer(command.substring(12));

}

if (target == null)

target = activeChar.getTarget();

 

if (target == null)

{

activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.SELECT_TARGET));

return;

}

if (!(target instanceof L2PcInstance))

{

activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.INCORRECT_TARGET));

return;

}

L2PcInstance player = (L2PcInstance) target;

player.addSnooper(activeChar);

activeChar.addSnooped(player);

}

 

public String[] getAdminCommandList()

{

return ADMIN_COMMANDS;

}

 

/**

* @param command

* @param activeChar

*/

private void handleGmChat(String command, L2PcInstance activeChar)

{

try

{

int offset = 0;

String text;

if (command.startsWith("admin_gmchat_menu"))

offset = 18;

else

offset = 13;

text = command.substring(offset);

CreatureSay cs = new CreatureSay(0, Say2.PARTYROOM_COMMANDER, "[staff]"+activeChar.getName(), text);

Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();

for (L2PcInstance player : pls) 

{

  player.sendPacket(cs);

}

}

catch (StringIndexOutOfBoundsException e)

{

// empty message.. ignore

}

}

}

 

Posted

/*

* 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.

*/

package handlers.admincommandhandlers;

 

import java.util.logging.Logger;

 

import java.util.Collection

 

import br.xtreme.gameserver.handler.IAdminCommandHandler;

import br.xtreme.gameserver.model.L2Object;

import br.xtreme.gameserver.model.L2World;

import br.xtreme.gameserver.model.actor.instance.L2PcInstance;

import br.xtreme.gameserver.network.SystemMessageId;

import br.xtreme.gameserver.network.clientpackets.Say2;

import br.xtreme.gameserver.network.serverpackets.CreatureSay;

import br.xtreme.gameserver.network.serverpackets.SystemMessage;

 

/**

* This class handles following admin commands:

* - gmchat text = sends text to all online GM's

* - gmchat_menu text = same as gmchat, displays the admin panel after chat

*

* @version $Revision: 1.2.4.3 $ $Date: 2005/04/11 10:06:06 $

*/

public class AdminGmChat implements IAdminCommandHandler

{

private static Logger _log = Logger.getLogger(AdminGmChat.class.getName());

private static final String[] ADMIN_COMMANDS =

{

"admin_gmchat",

"admin_snoop",

"admin_gmchat_menu"

};

 

public boolean useAdminCommand(String command, L2PcInstance activeChar)

{

if (Config.ENABLE_SAFE_ADMIN_PROTECTION)

{

if (!activeChar.isSafeAdmin())

{

activeChar.punishUnSafeAdmin();

_log.warning("Character " + activeChar.getName() + "(" + activeChar.getObjectId() + ") tryed to use an admin command.");

return false;

}

}

if (command.startsWith("admin_gmchat"))

handleGmChat(command, activeChar);

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

snoop(command, activeChar);

if (command.startsWith("admin_gmchat_menu"))

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

return true;

}

 

/**

* @param command

* @param activeChar

*/

private void snoop(String command, L2PcInstance activeChar)

{

L2Object target = null;

if (command.length() > 12)

{

target = L2World.getInstance().getPlayer(command.substring(12));

}

if (target == null)

target = activeChar.getTarget();

 

if (target == null)

{

activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.SELECT_TARGET));

return;

}

if (!(target instanceof L2PcInstance))

{

activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.INCORRECT_TARGET));

return;

}

L2PcInstance player = (L2PcInstance) target;

player.addSnooper(activeChar);

activeChar.addSnooped(player);

}

 

public String[] getAdminCommandList()

{

return ADMIN_COMMANDS;

}

 

/**

* @param command

* @param activeChar

*/

private void handleGmChat(String command, L2PcInstance activeChar)

{

try

{

int offset = 0;

String text;

if (command.startsWith("admin_gmchat_menu"))

offset = 18;

else

offset = 13;

text = command.substring(offset);

CreatureSay cs = new CreatureSay(0, Say2.PARTYROOM_COMMANDER, "[staff]"+activeChar.getName(), text);

Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();

for (L2PcInstance player : pls) 

{

  player.sendPacket(cs);

}

}

catch (StringIndexOutOfBoundsException e)

{

// empty message.. ignore

}

}

}

 

try heliocsQQ

 

sorry for doblepost.

Posted

Rework please

1. ERROR in D:\L2J 2011 HIGH FIVE\L2J_Server\game\data\scripts\han

dlers\admincommandhandlers\AdminGmChat.java (at line 108)

        Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().val

ues();

                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

^^^^^

Type mismatch: cannot convert from L2PcInstance[] to Collection<L2PcInstance>

----------

1 problem (1 error)Type mismatch: cannot convert from com.l2jserver.gameserver.m

odel.actor.instance.L2PcInstance[] to java.util.Collection<com.l2jserver.gameser

ver.model.actor.instance.L2PcInstance>

Failed executing script: D:\L2J 2011 HIGH FIVE\L2J_Server\game\dat

a\scripts\handlers\MasterHandler.java. See MasterHandler.java.error.log for deta

ils.

Posted

Rework please

1. ERROR in D:\L2J 2011 HIGH FIVE\L2J_Server\game\data\scripts\han

dlers\admincommandhandlers\AdminGmChat.java (at line 108)

        Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().val

ues();

                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

^^^^^

Type mismatch: cannot convert from L2PcInstance[] to Collection<L2PcInstance>

----------

1 problem (1 error)Type mismatch: cannot convert from com.l2jserver.gameserver.m

odel.actor.instance.L2PcInstance[] to java.util.Collection<com.l2jserver.gameser

ver.model.actor.instance.L2PcInstance>

Failed executing script: D:\L2J 2011 HIGH FIVE\L2J_Server\game\dat

a\scripts\handlers\MasterHandler.java. See MasterHandler.java.error.log for deta

ils.

 

 

Paste your file plz :)

Posted
/*
* 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.
*/
package handlers.admincommandhandlers;
import java.util.Collection;
import com.l2jserver.gameserver.GmListTable;
import com.l2jserver.gameserver.handler.IAdminCommandHandler;
import com.l2jserver.gameserver.model.L2Object;
import com.l2jserver.gameserver.model.L2World;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.SystemMessageId;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.CreatureSay;

/**
* This class handles following admin commands:
* - gmchat text = sends text to all online GM's
* - gmchat_menu text = same as gmchat, displays the admin panel after chat
*
* @version $Revision: 1.2.4.3 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGmChat implements IAdminCommandHandler
{

private static final String[] ADMIN_COMMANDS =
{
	"admin_gmchat",
	"admin_snoop",
	"admin_gmchat_menu"
};

@Override
public boolean useAdminCommand(String command, L2PcInstance activeChar)
{
	if (command.startsWith("admin_gmchat"))
		handleGmChat(command, activeChar);
	else if (command.startsWith("admin_snoop"))
		snoop(command, activeChar);
	if (command.startsWith("admin_gmchat_menu"))
		AdminHelpPage.showHelpPage(activeChar, "gm_menu.htm");
	return true;
}

/**
 * @param command
 * @param activeChar
 */
private void snoop(String command, L2PcInstance activeChar)
{
	L2Object target = null;
	if (command.length() > 12)
	{
		target = L2World.getInstance().getPlayer(command.substring(12));
	}
	if (target == null)
		target = activeChar.getTarget();

	if (target == null)
	{
		activeChar.sendPacket(SystemMessageId.SELECT_TARGET);
		return;
	}
	if (!(target instanceof L2PcInstance))
	{
		activeChar.sendPacket(SystemMessageId.INCORRECT_TARGET);
		return;
	}
	L2PcInstance player = (L2PcInstance) target;
	player.addSnooper(activeChar);
	activeChar.addSnooped(player);
}

@Override
public String[] getAdminCommandList()
{
	return ADMIN_COMMANDS;
}

/**
 * @param command
 * @param activeChar
 */
private void handleGmChat(String command, L2PcInstance activeChar)
{
	try
	{
		int offset = 0;
		String text;
		if (command.startsWith("admin_gmchat_menu"))
			offset = 18;
		else
			offset = 13;
		text = command.substring(offset);
		//CreatureSay cs = new CreatureSay(0, Say2.ALLIANCE, activeChar.getName(), text);
		//GmListTable.broadcastToGMs(cs);
		CreatureSay cs = new CreatureSay(0, Say2.PARTYROOM_COMMANDER, "[staff]"+activeChar.getName(), text);
		Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();
		for (L2PcInstance player : pls)   
		{
		   player.sendPacket(cs);
		}
	}
	catch (StringIndexOutOfBoundsException e)
	{
		// empty message.. ignore
	}
}
}

  • 2 weeks later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • I fixed it now my friends can join too, with what do you want help with? Also can you upload the interlude client of gx-ext for c4? just to have it because i deleted the rar i just have the folder
    • me ayudas a montar ese pack por que no entiendo tanto es para tener de prueba
    • GX-C4 pack, its ok...just used it.
    • This post originally appeared on MmoGah. Arena Breakout: Infinite is a hardcore tactical extraction shooter that demands precision, patience, and strategy. This guide will walk you through everything a beginner needs to know—from gear and combat to survival and extraction.     What Is Arena Breakout: Infinite? Arena Breakout: Infinite (ABI) is a free-to-play online extraction shooter developed by MoreFun Studios and released on Steam in September 2025. Unlike traditional battle royales, ABI focuses on risk vs. reward rather than being the last one standing. Players enter instanced maps called "raids," where they must scavenge loot, survive enemy encounters, and extract safely.   Core Gameplay Mechanics 1. Raids and Extraction Each raid features 4–6 teams (solo or squad) dropped into a map. The goal is to loot valuable items and extract through designated points. Extraction is not exclusive—multiple teams can leave the map alive. 2. PvPvE Combat You'll face both human players and AI enemies. AI can be unpredictable and deadly, especially in high-tier zones. 3. No Hand-Holding ABI offers no tutorials or guidance. You learn by dying—and surviving.   Gear and Loadouts 1. Choose Wisely Your gear determines your survivability. Armor, helmets, and medical supplies are essential. Weapons vary in recoil, damage, and handling. Start with low-cost rifles like the AKS-74U or MP5. 2. Insurance System You can insure gear to recover it if you die and it isn't looted. Use insurance for expensive items, but don't rely on it blindly. 3. Backpacks and Storage Larger backpacks allow more loot but make you a bigger target. Organize your inventory to quickly access meds and ammo during combat.   Tactical Tips for Beginners 1. Know What to Loot Prioritize high-value items like weapon parts, medical kits, and rare electronics. Learn loot hotspots on each map—warehouses, bunkers, and military zones often yield better gear. 2. Sound Is Everything Footsteps, gunfire, and reloads are loud. Use headphones and move cautiously. Crouch-walking and slow peeking reduce noise and improve stealth. 3. Map Knowledge Study maps offline or in low-risk raids. Learn extraction points, choke zones, and sniper nests. 4. Stamina Management Sprinting drains stamina, which affects aim and movement. Rest in safe zones and avoid overexertion during firefights.   Combat and Survival 1. Engage Smartly Don't chase kills—survival and extraction are the real goals. Use cover, lean mechanics, and suppressive fire to control fights. 2. Healing and Damage ABI features a detailed health system: limbs can be fractured, bleeding, or disabled. Carry splints, bandages, and painkillers. Know how to treat each condition. 3. Death Is a Lesson You will die—a lot. Use each death to learn positioning, gear value, and enemy behavior.   Progression and Economy 1. Free-to-Play Friendly ABI is generous with starter gear and daily rewards. You can earn the currency Arena Breakout: Infinite Koens through successful raids and selling loot. 2. Marketplace Trade gear with other players or sell to vendors. Prices fluctuate—learn market trends to maximize profit. 3. No Skill Trees Unlike similar games, ABI doesn't use operator skills. Progression is gear-based and tactical, not RPG-style.   Settings and Optimization 1. Graphics and Performance Lower shadows and post-processing for better visibility. Use high FPS settings for smoother combat. 2. Keybinds Customize controls for quick access to healing, leaning, and inventory. Practice muscle memory in offline raids. 3. Audio Settings Maximize footstep and gunfire volume. Reduce ambient noise to focus on threats.   Beginner Loadout Recommendation Slot Item Notes Primary Gun AKS-74U or MP5 Low recoil, easy to handle Secondary Pistol (optional) Backup for emergencies Armor Basic Vest Better than nothing Helmet Light Helmet Protects against headshots Backpack Medium Balance between space and size Meds Bandages, Splints Treat bleeding and fractures Ammo 2–3 extra mags Always reload before fights         Final Advice for New Players Start slow: Don't rush into high-tier zones. Learn the basics in low-risk areas. Play with friends: Squad play improves survival and makes learning easier. Watch and learn: Study streamers and guides to understand advanced tactics. Don't hoard: Use your gear. Hoarding leads to stagnation and fear of loss. Extract often: Surviving and extracting builds confidence and resources. Arena Breakout: Infinite is brutal, but deeply rewarding. With patience and practice, you'll evolve from a terrified scavenger to a confident operator. Every raid is a story—make yours one of survival and triumph.
  • 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