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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • What could be the price for source?
    • Yea actually you can tell this to whole mc shares about, there is no point on this. If you have some skills you can easy solve problems.
    • sql procedure missed and wrong...fixed it...ZOUMHS 
    • Hello Dexters! https://lineage2dex.com    This is pre-announcing of NEW season server, so we want to share some key points of it. Full details with road map, patch notes we will announce a bit latter Opening September 27 at 19:00 (UTC +3) Open Beta Test from September 23 What’s New This Season?, This is just a short preview of the most exciting changes and updates. A patch note with balance change will be posted later in this thread – one topic with all patchnotes history from 2022 year EXP/SP x25 - Over the past few seasons, our servers were drifting closer to a mid-rate style. And hard to call it now pure PVP server. That’s why we’ve reduced EXP/SP rates from x50 to x25 – making progression smoother, more balanced, and more in line with the mid-rate identity., Improved Olympiad matchmaking – opponents will be matched by strength, making feeding much harder., K/D stats for CC – track your real impact!, New In-Game Shop Interface - no more running to NPCs for supplies – buy everything directly from the interface. NPC Astarte will now only handle services like WH, sales, LS insertion, etc., Balance Adjustments - small but important tweaks for a smoother PvP experience (details in patch notes)., Replica Instance System Reworked - upgrading replicas now requires not only fragments but also real jewellery from B to S grades. You can choose from 3 instance types: PvP Instance – biggest rewards (everyone spawns together for mass PvP)., CC Instance – private instance for your CC., Party Instance – private instance for your party., , Dino Island Returns - back by popular demand: Dark Zone (PvP) and Light Zone (PvE)., Newbie Pass Questline - available at character creation – helps you get familiar with the server and make start progression faster., Clan members taxation system, Full announce - read on forum, https://forum.lineage2dex.com/threads/16723/ (edited)   We’re excited to show you how the Newbie Path will look on the Seasonal Server and share a few details about it. The Newbie Path is designed to help new players on Dex adapt more easily on project. While it won’t reveal the full content of the game, it will greatly assist during the early stages of your journey. But it’s not just for newcomers! Even veteran players will find it useful — completing Newbie Path steps will grant you small progression boosts and extra rewards(exp boosts, some gear, potions etc). Definitely worth using! You’ll be able to test the full Newbie Path system yourself during the Open Beta, launching on September 23rd!
  • 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