Jump to content

Recommended Posts

Posted

1 more share from L2J server here for you Ladies & Gentlemans ;D

 

Index: /java/config/Character.properties

===================================================================

--- /java/config/Character.properties (revision 2771)

+++ /java/config/Character.properties (working copy)

@@ -375,6 +375,8 @@

# Retail: true

AltKarmaPlayerCanUseWareHouse = True

 

+AltFlagedPlayerCanUseGK = True

+

#============================================================#

#                          Craft                            #

#============================================================#

Index: /java/net/sf/l2j/Config.java

===================================================================

--- /java/net/sf/l2j/Config.java (revision 2771)

+++ /java/net/sf/l2j/Config.java (working copy)

@@ -154,6 +154,7 @@

    public static boolean ALT_GAME_KARMA_PLAYER_CAN_SHOP;

    public static boolean ALT_GAME_KARMA_PLAYER_CAN_TELEPORT;

    public static boolean ALT_GAME_KARMA_PLAYER_CAN_USE_GK;

+    public static boolean ALT_GAME_FLAGED_PLAYER_CAN_USE_GK;

    public static boolean ALT_GAME_KARMA_PLAYER_CAN_TRADE;

    public static boolean ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE;

    public static boolean IS_CRAFTING_ENABLED;

@@ -1330,6 +1331,7 @@

                ALT_GAME_KARMA_PLAYER_CAN_SHOP = Boolean.parseBoolean(Character.getProperty("AltKarmaPlayerCanShop", "true"));

                ALT_GAME_KARMA_PLAYER_CAN_TELEPORT = Boolean.parseBoolean(Character.getProperty("AltKarmaPlayerCanTeleport", "true"));

                ALT_GAME_KARMA_PLAYER_CAN_USE_GK = Boolean.parseBoolean(Character.getProperty("AltKarmaPlayerCanUseGK", "false"));

+                 ALT_GAME_FLAGED_PLAYER_CAN_USE_GK = Boolean.parseBoolean(Character.getProperty("AltFlagedPlayerCanUseGK", "false"));

                ALT_GAME_KARMA_PLAYER_CAN_TRADE = Boolean.parseBoolean(Character.getProperty("AltKarmaPlayerCanTrade", "true"));

                ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE = Boolean.parseBoolean(Character.getProperty("AltKarmaPlayerCanUseWareHouse", "true"));

                IS_CRAFTING_ENABLED = Boolean.parseBoolean(Character.getProperty("CraftingEnabled", "true"));

@@ -2269,6 +2271,7 @@

        else if (pName.equalsIgnoreCase("AltKarmaPlayerCanShop")) ALT_GAME_KARMA_PLAYER_CAN_SHOP = Boolean.parseBoolean(pValue);

        else if (pName.equalsIgnoreCase("AltKarmaPlayerCanUseGK")) ALT_GAME_KARMA_PLAYER_CAN_USE_GK = Boolean.parseBoolean(pValue);

        else if (pName.equalsIgnoreCase("AltKarmaPlayerCanTeleport")) ALT_GAME_KARMA_PLAYER_CAN_TELEPORT = Boolean.parseBoolean(pValue);

+        else if (pName.equalsIgnoreCase("AltFlagedPlayerCanUseGK")) ALT_GAME_FLAGED_PLAYER_CAN_USE_GK = Boolean.parseBoolean(pValue);

        else if (pName.equalsIgnoreCase("AltKarmaPlayerCanTrade")) ALT_GAME_KARMA_PLAYER_CAN_TRADE = Boolean.parseBoolean(pValue);

        else if (pName.equalsIgnoreCase("AltKarmaPlayerCanUseWareHouse")) ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE = Boolean.parseBoolean(pValue);

        else if (pName.equalsIgnoreCase("AltCastleForDawn")) ALT_GAME_CASTLE_DAWN = Boolean.parseBoolean(pValue);

Index: /java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java

===================================================================

--- /java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java (revision 2771)

+++ /java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java (working copy)

@@ -227,6 +227,13 @@

player.sendPacket(new SystemMessage(SystemMessageId.NO_PORT_THAT_IS_IN_SIGE));

return;

}

+

+ else if (!Config.ALT_GAME_FLAGED_PLAYER_CAN_USE_GK && player.getPvpFlag() > 0)

+ {

+ player.sendMessage("Don't run from PvP!");

+ return;

+ }

+

else if (!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_GK && player.getKarma() > 0) //karma

{

player.sendMessage("Go away, you're not welcome here.");

 

 

I hope you like it ;D

 

Bye :P

 

Credit to L2J Forum

Posted

implemented in all server pack

 

Maybe in L2Jfree that is Implemented, but in L2J its Not. so Before you speak ,think a lil bit..will be better for all.

Guest
This topic is now closed to further replies.


  • Posts

    • Hello, I'm working with custom Icons and noticed that you can use 64x64 icons and the client will handle them without problems in the Inventory and when you Drag them, they look HD so it's really cool, the problem starts when you move them to the shortcut bar, when they're placed there instead of rescaling the icon it just show the upper left corner (so it's 32x32 but showing only the part that fits in that space). I tried checking interface.u but can't find the line where the size for the icons in the shortcut bar are handled.   When in Inventory the item shows in a 32x32 size, if I use a 64x64 icon it re-scales so the icon looks great When dragging the item the image becomes 64x64 which looks pretty big, but it works good When placing the item in the shortcut bar only the top left of the icon is visible   Is there a way I can adjust the shortcut bar so that it re-scales the icon?
    • If you want to edit a large amount of entries in the L2 File-edit I recommend using excel, since both work with columns you can copy the entire file or just a few lines and paste it in excel and it will copy without problems, after you're done with editing you just select the cells and paste them in the .dat file making sure you're formatting correctly. I'm currently doing a massive edit on all gear and that's how i'm handling the .dat work
    • the logic is the "stacking" that is a filter if you use it then the item cannot co-exist (stack)
    • [Exclusive L2Gold Weekend Server] Available ONLY on Saturdays & Sundays – nowhere else, no other time ! Custom Armors (Dynasty, Apella) Custom Weapons (L2Gold Weapons) Custom Jewelry (L2Gold Jewelry) Custom Teleport System Custom AIO Buffer Custom Zones & NPCs Custom Raidboss … and much more waiting for you every weekend! This is not just another private server – it’s a limited-time battleground. When the weekend comes, everyone gathers in one place for the ultimate L2 experience. 👉 Online: Saturday–Sunday only 👉 Contact / Info: [https://www.facebook.com/profile.php?id=61578869175323]
    • ⏳ The price drops like sand slipping down in an hourglass.   📉 USA numbers are already at the lowest 💸 🌍 Next in line: Europe, Asia, and dozens of other countries.     All next week we’ll be actively working on lowering prices. The process has already started  soon costs will be much cheaper. 🔥 Get ready: the price drop will affect every country!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
  • 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