kapoios na mou pei ti exw kanei la8os se afton ton code gt to psaxnw na dw ti la8os exw kanei apo tis 6 kai mou exei spasei ta nevra...einai apo to guide to Fanky..to pack pou xrisimopoiw einai aCis...den mou vgazei kapio error,apla den litourgei
Index: java/net/sf/l2j/gameserver/handler/itemhandlers/UnSponsored.java
===============================================================
package net.sf.l2j.gameserver.handler.itemhandlers;
import net.sf.l2j.Config;
import net.sf.l2j.gameserver.cache.HtmCache;
import net.sf.l2j.gameserver.handler.IItemHandler;
import net.sf.l2j.gameserver.model.L2ItemInstance;
import net.sf.l2j.gameserver.model.actor.L2Playable;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
/**
* @author UnSponsored
*
*/
public class PopUpItem implements IItemHandler
{
private static final int[] ITEM_ID = { Config.AIO_ITEM_ID };
@Override
public void useItem(L2Playable playable, L2ItemInstance item, boolean forceUse)
{
if (!(playable instanceof L2PcInstance))
return;
L2PcInstance activeChar = (L2PcInstance)playable;
int itemId = item.getItemId();
if (itemId == Config.AIO_ITEM_ID)
{
String htmFile = "data/html/AIO/AIO.htm";
String htmContent = HtmCache.getInstance().getHtm(htmFile);
NpcHtmlMessage infoHtml = new NpcHtmlMessage(1);
infoHtml.setHtml(htmContent);
activeChar.sendPacket(infoHtml);
}
}
@Override
public int[] getItemIds()
{
// TODO Auto-generated method stub
return null;
}
/**
* @return the itemId
*/
public static int[] getItemId()
{
return ITEM_ID;
}
}
Index: config/player.properties
==============================================================
# % regeneration of normal regeneration speed
HpRegenMultiplier = 100
MpRegenMultiplier = 100
CpRegenMultiplier = 100
+# Aio Item Configuration
+# When ActiveChar will use this item a html will pop up
+# Id Itemn Need's
+AioItemId = 6673
# Player Protection after teleporting or login in seconds, 0 for disabled
PlayerSpawnProtection = 0
Index: java/net/sf/l2j/Config.java
==============================================================
public static boolean ALT_GAME_FREIGHTS;
public static int ALT_GAME_FREIGHT_PRICE;
+public static int AIO_ITEM_ID;
ALT_GAME_DELEVEL = Boolean.parseBoolean(players.getProperty("Delevel", "True"));
DEATH_PENALTY_CHANCE = Integer.parseInt(players.getProperty("DeathPenaltyChance", "20"));
+AIO_ITEM_ID = Integer.parseInt(players.getProperty("AioItemId", "6673"));
Index: java/net/sf/l2j/gameserver/handler/itemhandlers.java
=============================================================
import net.sf.l2j.gameserver.handler.itemhandlers.PetFood;
+import net.sf.l2j.gameserver.handler.itemhandlers.PopUpItem;
import net.sf.l2j.gameserver.handler.itemhandlers.Recipes;
registerItemHandler(new SummonItems());
registerItemHandler(new BeastSpice());
registerItemHandler(new Elixir());
+registerItemHandler(new PopUpItem());
Welcome to SmurfsZone
Buy League of Legends accounts across all servers and jump straight into Ranked Games with amazing quality and support.
Why Choose SmurfsZone?
24/7 Instant Delivery: Get your full access LoL smurf account immediately.
100% Hand-Leveled: High-quality accounts leveled by hand.
Versatile MMR Options: High MMR, Standard MMR, Fresh MMR (ARAMs), and Ranked accounts available.
Valorant Accounts: Expand your gaming experience.
Our Commitment to You:
Unopened Loot: Customize your champion pool.
Lifetime Warranty: Valid if you change the email, username, and password upon purchase.
Password Changeable: Ensure your account's security.
Full Recovery Information: Complete access to account recovery details.
Unverified and Changeable Email: Easy to personalize and secure your account.
Completely Unranked: Fresh start with no ranked history in any season.
Responsive Customer Support: Our dedicated team is available to assist you 24/7.
Experience the best place to buy League of Legends accounts with exceptional quality and dedicated support. We're here for YOU!
Question
UnSponsored
kapoios na mou pei ti exw kanei la8os se afton ton code gt to psaxnw na dw ti la8os exw kanei apo tis 6 kai mou exei spasei ta nevra...einai apo to guide to Fanky..to pack pou xrisimopoiw einai aCis...den mou vgazei kapio error,apla den litourgei
Link to comment
Share on other sites
47 answers to this question
Recommended Posts