Jump to content

Recommended Posts

Posted (edited)

Great design. gj mate!

 

Thanks dude

 

[GR] gj poli kalo kai gia kapion pou to xriazete kai gia kapion pou mporei apla na to anabathmisi.

sinexise etsy :)

 

[GR] Δεν είναι ο κώδικας του "Designatix" είναι δικός μου από έναν Server που είχα... Μπορεί να το κάνω Share αν το θέλει κόσμος [/GR]

[EN] It is not the code of "Designatix" is mine from a Server I had... i can share it if peoples like it [/EN]

Edited by StinkyMadness
Posted

i can share it if peoples like it

Please don't. All noobish servers are the same by features, you want em to have even htm 1:1 the same? :lol:

Posted

[GR] gj poli kalo kai gia kapion pou to xriazete kai gia kapion pou mporei apla na to anabathmisi.

sinexise etsy :)

[gr] ευχαριστώ αγορίνα

 

Thanks dude

 

 

[GR] Δεν είναι ο κώδικας του "Designatix" είναι δικός μου από έναν Server που είχα... Μπορεί να το κάνω Share αν το θέλει κόσμος [/GR]

[EN] It is not the code of "Designatix" is mine from a Server I had... i can share it if peoples like it [/EN]

[gr] εγώ το θέλω πάντως, το δικό σου design είναι πιο ωραίο, στείλε σε pm αν θές η link στο φβ

  • 1 month later...
Posted

Now the Configs

    public static boolean ENABLE_SHIFT_CLICK_TO_NPCS;


    ENABLE_SHIFT_CLICK_TO_NPCS = npcs.getProperty("EnableShiftClickToNpcs", false);

 

 

 

Where actually have to put this?

Posted

Now the Configs

public static boolean ENABLE_SHIFT_CLICK_TO_NPCS;

 

 

ENABLE_SHIFT_CLICK_TO_NPCS = npcs.getProperty("EnableShiftClickToNpcs", false);

 

 

 

Where actually have to put this?

Config.java

Just find the property of npcs.

Posted

I think with your code you can see and Gatekeeper droplist :P
So you have to add a check so dont work at all npcs
 

This is one way:

+++ java/net/sf/l2j/gameserver/model/actor/L2Npc.java

import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.L2WorldRegion;
import net.sf.l2j.gameserver.model.ShotType;
+import net.sf.l2j.gameserver.model.actor.instance.L2ChestInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2FestivalMonsterInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2FishermanInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2GrandBossInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2RaidBossInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2TeleporterInstance;



else if (Config.ENABLE_SHIFT_CLICK_TO_NPCS)
{
	if (this instanceof L2MonsterInstance || this instanceof L2RaidBossInstance || this instanceof L2GrandBossInstance || this instanceof L2FestivalMonsterInstance || this instanceof L2ChestInstance)
	{
		final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
		html.setFile("data/html/mods/npcinfo.htm");
		html.replace("%class%", getClass().getSimpleName());
		html.replace("%id%", getTemplate().getNpcId());
		html.replace("%lvl%", getTemplate().getLevel());
		html.replace("%name%", getTemplate().getName());
		html.replace("%race%", getTemplate().getRace().toString());
		html.replace("%tmplid%", getTemplate().getIdTemplate());
		html.replace("%aggro%", getTemplate().getAggroRange());
		html.replace("%corpse%", StringUtil.getTimeStamp(getTemplate().getCorpseTime()));
		html.replace("%enchant%", getTemplate().getEnchantEffect());
		html.replace("%hp%", (int) getCurrentHp());
		html.replace("%hpmax%", getMaxHp());
		html.replace("%mp%", (int) getCurrentMp());
		html.replace("%mpmax%", getMaxMp());
		html.replace("%patk%", getPAtk(null));
		html.replace("%matk%", getMAtk(null, null));
		html.replace("%pdef%", getPDef(null));
		html.replace("%mdef%", getMDef(null, null));
		html.replace("%accu%", getAccuracy());
		html.replace("%evas%", getEvasionRate(null));
		html.replace("%crit%", getCriticalHit(null, null));
		html.replace("%rspd%", getWalkSpeed());
		html.replace("%aspd%", getPAtkSpd());
		html.replace("%cspd%", getMAtkSpd());
		player.sendPacket(html);
	}
}
Posted

Config.java

Just find the property of npcs.

 

I can't make the VoicedCommandHandler

net.sf.l2j.gameserver.handler.VoicedCommandHandler.java <- not exist

 

btw I think that cuz i use а new version of acis

Posted

I can't make the VoicedCommandHandler

[/background][/size][/font]

I can't understand why author uses voicedcommand anyway...

Skip this part. Useless..

Posted

You don't need voiced command.

So u have mean to edit only net.sf.l2j.gameserver.model.actor.L2Npc.java and net.sf.l2j.config.java and config.npcs.properties , are u?

Posted

I can't make the VoicedCommandHandler

net.sf.l2j.gameserver.handler.VoicedCommandHandler.java <- not exist

 

btw I think that cuz i use а new version of acis

 

You can use "RequestBypassToServer.java" for this part of code with some changes

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

    • Hello everyone, this is ADENA L2REBORN / LU4 / MASTERWORK We also have items, epics, etc. discord - adver745645 Our prices are reasonable, so have a nice shopping and a nice day.
    • Dear friends, we are pleased to announce great news — we are launching our new bot for purchasing and renting virtual numbers for receiving SMS from any services! Are you tired of reused or resold numbers from other platforms? Try our solution! Our service allows you to receive SMS from any major popular services. The list includes more than 200 services! SMS receiving country: USA (+1). Real physical US numbers are used — never previously used on other platforms! Currently, only short-term rental is available. The rental duration for each phone number is shown when purchasing. The cost of each number is also shown next to the service before purchase. You can also receive an additional SMS for your number for the selected service (no extra charge for receiving one more SMS). To quickly find the service you need, you can use the convenient search — just type the name of the service you need and get a number for activation. Available payment methods: cryptocurrencies, bank cards, and balance transfer from our other bots. Thank you for your trust! Active links: Virtual Number Service: Go Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store through Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing goods and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during October! You can also use the promo code for your first purchase: SOCNET (15% discount) 2. Get $1 credited 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 and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear friends, we are pleased to announce great news — we are launching our new bot for purchasing and renting virtual numbers for receiving SMS from any services! Are you tired of reused or resold numbers from other platforms? Try our solution! Our service allows you to receive SMS from any major popular services. The list includes more than 200 services! SMS receiving country: USA (+1). Real physical US numbers are used — never previously used on other platforms! Currently, only short-term rental is available. The rental duration for each phone number is shown when purchasing. The cost of each number is also shown next to the service before purchase. You can also receive an additional SMS for your number for the selected service (no extra charge for receiving one more SMS). To quickly find the service you need, you can use the convenient search — just type the name of the service you need and get a number for activation. Available payment methods: cryptocurrencies, bank cards, and balance transfer from our other bots. Thank you for your trust! Active links: Virtual Number Service: Go Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store through Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing goods and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during October! You can also use the promo code for your first purchase: SOCNET (15% discount) 2. Get $1 credited 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 and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear friends, we are pleased to announce great news — we are launching our new bot for purchasing and renting virtual numbers for receiving SMS from any services! Are you tired of reused or resold numbers from other platforms? Try our solution! Our service allows you to receive SMS from any major popular services. The list includes more than 200 services! SMS receiving country: USA (+1). Real physical US numbers are used — never previously used on other platforms! Currently, only short-term rental is available. The rental duration for each phone number is shown when purchasing. The cost of each number is also shown next to the service before purchase. You can also receive an additional SMS for your number for the selected service (no extra charge for receiving one more SMS). To quickly find the service you need, you can use the convenient search — just type the name of the service you need and get a number for activation. Available payment methods: cryptocurrencies, bank cards, and balance transfer from our other bots. Thank you for your trust! Active links: Virtual Number Service: Go Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store through Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to present to you the current list of promotions and special offers for purchasing goods and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during October! You can also use the promo code for your first purchase: SOCNET (15% discount) 2. Get $1 credited 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 and 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