Jump to content
  • 0

Question

Recommended Posts

  • 0
Posted

Afto einai ena apo ta problimata tis l2jarchid .Katebase to revision 1050 einai poli kalo... kapou enas eixa kanei post ta mkapia compiled packs tis l2jarchid.Kane ena search kai 8a ta breis ;)

  • 0
Posted

Afto einai ena apo ta problimata tis l2jarchid .Katebase to revision 1050 einai poli kalo... kapou enas eixa kanei post ta mkapia compiled packs tis l2jarchid.Kane ena search kai 8a ta breis ;)

exeis la8os lpn perimene na sto ftiaxw kai na sto doso

Edit!

phgene edw

com.l2jarchid.gameserver.handler.admincommandhandlers

ftiaxe ena new arxeio me name AdminHero.java

kai bale auto mesa

/*
* 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.l2jarchid.gameserver.handler.admincommandhandlers;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.l2jarchid.gameserver.GmListTable;
import com.l2jarchid.gameserver.handler.IAdminCommandHandler;
import com.l2jarchid.gameserver.model.L2Object;
import com.l2jarchid.gameserver.model.actor.instance.L2PcInstance;
import com.l2jarchid.gameserver.network.serverpackets.SocialAction;

/**
*L2J-Archid
**/
public class AdminHero implements IAdminCommandHandler
{
private static String[]		ADMIN_COMMANDS	=
											{ "admin_sethero" };
private final static Log	_log			= LogFactory.getLog(AdminHero.class.getName());

public boolean useAdminCommand(String command, L2PcInstance activeChar)
{
	if (activeChar == null)
		return false;

	if (command.startsWith("admin_sethero"))
	{
		L2Object target = activeChar.getTarget();

		if (target instanceof L2PcInstance)
		{
			L2PcInstance targetPlayer = (L2PcInstance) target;
			boolean newHero = !targetPlayer.isHero();

			if (newHero)
			{
				targetPlayer.setHero(true);
				targetPlayer.sendMessage("You are now a hero.");
				sendMessages(true, targetPlayer, activeChar, true, true);
				targetPlayer.broadcastPacket(new SocialAction(targetPlayer.getObjectId(), 16)); 
				targetPlayer.broadcastUserInfo();
			}
			else
			{
				targetPlayer.setHero(false);
				targetPlayer.sendMessage("You are no longer a hero.");
				sendMessages(false, targetPlayer, activeChar, true, true);
				targetPlayer.broadcastUserInfo();
			}
		}
		else
		{
			activeChar.sendMessage("Impossible to set a non Player Target as hero.");
			_log.info("GM: " + activeChar.getName() + " is trying to set a non Player Target as hero.");
			return false;
		}
	}
	return true;
}

private void sendMessages(boolean fornewHero, L2PcInstance player, L2PcInstance gm, boolean announce, boolean notifyGmList)
{
	if (fornewHero)
	{
		player.sendMessage(gm.getName() + " has granted Hero Status for you!");
		gm.sendMessage("You've granted Hero Status for " + player.getName());

		if (notifyGmList)
			GmListTable.broadcastMessageToGMs("Warn: " + gm.getName() + " has set " + player.getName() + " as Hero !");
	}
	else
	{
		player.sendMessage(gm.getName() + " has revoked Hero Status from you!");
		gm.sendMessage("You've revoked Hero Status from " + player.getName());

		if (notifyGmList)
			GmListTable.broadcastMessageToGMs("Warn: " + gm.getName() + " has removed Hero Status of player" + player.getName());
	}
}

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

meta phgene edw

com.l2jarchid.gameserver.handler

meta sto  AdminCommandHandler.java

bres auto

import com.l2jarchid.gameserver.handler.admincommandhandlers.AdminHelpPage;

kai bale auto apo kato

import com.l2jarchid.gameserver.handler.admincommandhandlers.AdminHero;
meta bres auto [code]registerAdminCommandHandler(new AdminHelpPage());

kai apo kato bale auto

registerAdminCommandHandler(new AdminHero());

elpizo na doulepsei[/code]

  • 0
Posted

dn einai set_hero einai //sethero

dn 3erw an einai prob =/

 

Molis ekana compile to teleuteo revision, patisa //set_hero kai tpt.Patisa //sethero tpt.Den katalabenw ti exei ginei.... kai sto gameserver console lei pws den eiparxi afti i entoli... omfg

  • 0
Posted

Molis ekana compile to teleuteo revision, patisa //set_hero kai tpt.Patisa //sethero tpt.Den katalabenw ti exei ginei.... kai sto gameserver console lei pws den eiparxi afti i entoli... omfg

 

OMG AFOY soy lei einai //sethero.. an den doylevi exi kapio prob to pack.. an den iparxi to commant kanto esi !!!disolo men :D

  • 0
Posted

Molis ekana compile to teleuteo revision, patisa //set_hero kai tpt.Patisa //sethero tpt.Den katalabenw ti exei ginei.... kai sto gameserver console lei pws den eiparxi afti i entoli... omfg

 

OMG AFOY soy lei einai //sethero.. an den doylevi exi kapio prob to pack.. an den iparxi to commant kanto esi !!!disolo men :D

fae -1 karma gt to xeis kanei to 8ema spam sunexeia

timoskoure des pio panw to ftiaxa..

  • 0
Posted

kai kati akoma sto revision 1027 pou exw oi hero bgenoun kanonika exei kana problem 3eretai tpt???

 

Mia xara einai... mono na ri8miseis ta configs kai tin wra tou sistimatos sou, kai 8a eisai ok.. ;)

  • 0
Posted

kai kati akoma sto revision 1027 pou exw oi hero bgenoun kanonika exei kana problem 3eretai tpt???

lol sto 1027 einai prin ginei stable opote

to //sethero douleuei..

  • 0
Posted

kai kati akoma sto revision 1027 pou exw oi hero bgenoun kanonika exei kana problem 3eretai tpt???

Mia xara einai... mono na ri8miseis ta configs kai tin wra tou sistimatos sou, kai 8a eisai ok.. ;)

 

 

paidia  eleos i versios pou exei to paidi einai poly pali para poly... file kane compile tin new versio tin archid giati tora poia to pack tis l2jarchid den exei custom kai tin version pou exeis esu  to //sethero ama to kaneis se  ena aplos char meta apo to  restart den bgenei..

  • 0
Posted

einai kai 1 ali entoli p einai se polous server //hero ..... isos na doulebi kai afto

 

afto den pezei me tpt ! den exw dei se kanena pack to //hero  omfg... esi 8a enoeis ///hero  opou einai ena fake-hero pou to blepeis mono esi..

Guest
This topic is now closed to further replies.


  • Posts

    • 新品上线! 快来抢购最优质的 GMAIL 账号,享受 超低价格,注册年份范围从 2005–2022! 老版 Gmail.com 账号(已启用 2FA 双重验证) | 使用 MIX IP 注册 | 年份:2005 至 2022(可自行选择) | 账号可能包含邮件 | 格式:email:password:submail | 无需短信验证 | 已启用 IMAP | 附带 Submail | 价格起步:$0.9 我们还提供 Outlook、Firstmail、Rambler、Onet、Gazeta.pl、GMX、Yahoo、Proton、Web.de 等邮箱账号。 立即通过我们的网站或机器人购买! 活跃链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 方便快捷地访问商店。 其他服务: Telegram Stars 购买机器人:进入 – 快速又实惠地购买 Telegram Stars。 SMM 面板:进入 – 推广您的社交媒体账号。 我们为您呈现当前 促销活动 与 特别优惠,适用于购买我们的商品和服务: 1. 优惠码 OCTOBER2025(8% 折扣)适用于九月在我们的商店(网站、机器人)购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获取 $1 商店余额或 10–20% 折扣 —— 注册后在我们网站的论坛贴中按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(Support)中创建名为 “Get Trial Bonus” 的支持工单。 4. 每周在我们的 Telegram 频道和 Stars 购买机器人中举行 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
    • 新品上线! 快来抢购最优质的 GMAIL 账号,享受 超低价格,注册年份范围从 2005–2022! 老版 Gmail.com 账号(已启用 2FA 双重验证) | 使用 MIX IP 注册 | 年份:2005 至 2022(可自行选择) | 账号可能包含邮件 | 格式:email:password:submail | 无需短信验证 | 已启用 IMAP | 附带 Submail | 价格起步:$0.9 我们还提供 Outlook、Firstmail、Rambler、Onet、Gazeta.pl、GMX、Yahoo、Proton、Web.de 等邮箱账号。 立即通过我们的网站或机器人购买! 活跃链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 方便快捷地访问商店。 其他服务: Telegram Stars 购买机器人:进入 – 快速又实惠地购买 Telegram Stars。 SMM 面板:进入 – 推广您的社交媒体账号。 我们为您呈现当前 促销活动 与 特别优惠,适用于购买我们的商品和服务: 1. 优惠码 OCTOBER2025(8% 折扣)适用于九月在我们的商店(网站、机器人)购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获取 $1 商店余额或 10–20% 折扣 —— 注册后在我们网站的论坛贴中按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(Support)中创建名为 “Get Trial Bonus” 的支持工单。 4. 每周在我们的 Telegram 频道和 Stars 购买机器人中举行 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
    • New Products! Hurry up and grab the best GMAIL accounts at low prices with creation years from 2005–2022! Old Gmail.com accounts (with 2FA enabled) | Registered with MIX IP | Age: from 2005 to 2022 (choose the year you prefer) | Accounts may contain messages | Format: email:password:submail | No SMS verification required | IMAP enabled | Submail included | Price from: $0.9 We also offer email accounts for Outlook, Firstmail, Rambler, Onet, Gazeta.pl, GMX, Yahoo, Proton, and Web.de. Buy now in our store via website or bot! Active Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store directly through Telegram messenger. Other Services: Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code: SOCNET (15% discount). 2. Get $1 to your store balance or a 10–20% discount — simply post your username after registration on our website using the following format "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • New Products! Hurry up and grab the best GMAIL accounts at low prices with creation years from 2005–2022! Old Gmail.com accounts (with 2FA enabled) | Registered with MIX IP | Age: from 2005 to 2022 (choose the year you prefer) | Accounts may contain messages | Format: email:password:submail | No SMS verification required | IMAP enabled | Submail included | Price from: $0.9 We also offer email accounts for Outlook, Firstmail, Rambler, Onet, Gazeta.pl, GMX, Yahoo, Proton, and Web.de. Buy now in our store via website or bot! Active Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store directly through Telegram messenger. Other Services: Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code: SOCNET (15% discount). 2. Get $1 to your store balance or a 10–20% discount — simply post your username after registration on our website using the following format "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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