Jump to content

Recommended Posts

Posted

Nop, I don't need it. I never used and I won't use frozen.. :D

 

Well, yeah, it could work since with false you're no longed inside Multifunction zone..

its tested :) so i posted :D 

Posted (edited)

its tested :) so i posted :D

If you say so :troll:

 

@ Wyatt

if (pvp_enabled && (activeChar.getPvpFlag() == 0))
{
       activeChar.updatePvPFlag(1);
}

Dont you think dat would be cleaner/bettah?

if (pvp_enabled)
{
       activeChar.updatePvPFlag(1);
}

No difference if you're already flagged or not. I find it kinda useless hih :P

Edited by SweeTs
Posted

If you say so :troll:

 

@ Wyatt

if (pvp_enabled && (activeChar.getPvpFlag() == 0))
{
       activeChar.updatePvPFlag(1);
}
Dont you think dat would be cleaner/bettah?

if (pvp_enabled)
{
       activeChar.updatePvPFlag(1);
}
No difference if you're already flagged or not. I find it kinda useless hih :P

 

Whatever, who cares of that, it's not gonna be commited anywhere and it works both ways so, QQ
  • 3 weeks later...
Posted (edited)

Hello,

I use H5 Core rev 5667 so it's pretty close, yet I don't have the Java file "ZoneID.java", how can I make this work without that Java? I will share the code if someone helps me fix that problem :/ Also I will try to adapt to newest revision as I will use the newest revision as well later.

Edit: So I managed to adapt it to rev 5667 H5 stable:

http://pastebin.com/wiMKTScH

 

No errors etc in eclipse.

Console Error:

2013.11.06 21:25:25,934    WARNING    1    com.l2jserver.gameserver.instancemanager.ZoneManager    ZoneData: No such zone type: MultiFunctionZone in file: peace.xml

Anyone can help?

 

Best Regards,

DeathSpank287

Edited by DeathSpank287
Posted (edited)
ZoneData: No such zone type: MultiFunctionZone in file: peace.xml

I believe your new file must be named MultiFunctionZone.xml .. :P

 

Edit: Or maybe not.. Well, just check :troll:

Edited by SweeTs
Posted
ZoneData: No such zone type: MultiFunctionZone in file: peace.xml

I believe your new file must be named MultiFunctionZone.xml .. :P

 

Edit: Or maybe not.. Well, just check :troll:

 

Unfortunatelly, after reading you reply, I tried with negative results. Thanks though

Posted (edited)

How can we remove clan of player and put it back when he goes out of the zone? But if he gets client crash his clan should be restored too.

 

You should play with CharInfo.java, so the effect will be just visual.

 

 

Index: java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java
===================================================================
--- java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java    (revision 313)
+++ java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java    (working copy)
@@ -20,6 +20,7 @@
 import net.sf.l2j.gameserver.model.Location;
 import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
 import net.sf.l2j.gameserver.model.itemcontainer.Inventory;
+import net.sf.l2j.gameserver.model.zone.ZoneId;
 import net.sf.l2j.gameserver.skills.AbnormalEffect;
 
 public class CharInfo extends L2GameServerPacket
@@ -153,10 +154,20 @@
         else
             writeS(_activeChar.getTitle());
         
-        writeD(_activeChar.getClanId());
-        writeD(_activeChar.getClanCrestId());
-        writeD(_activeChar.getAllyId());
-        writeD(_activeChar.getAllyCrestId());
+        if(_activeChar.isInsideZone(ZoneId.ZONE_MULTIFUNCTION))
+        {
+            writeD(0);
+            writeD(0);
+            writeD(0);
+            writeD(0);
+        }
+        else
+        {
+            writeD(_activeChar.getClanId());
+            writeD(_activeChar.getClanCrestId());
+            writeD(_activeChar.getAllyId());
+            writeD(_activeChar.getAllyCrestId());
+        }
Edited by SweeTs
Posted

 

You should play with CharInfo.java, so the effect will be just visual.

Index: java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java
===================================================================
--- java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java    (revision 313)
+++ java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java    (working copy)
@@ -20,6 +20,7 @@
 import net.sf.l2j.gameserver.model.Location;
 import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
 import net.sf.l2j.gameserver.model.itemcontainer.Inventory;
+import net.sf.l2j.gameserver.model.zone.ZoneId;
 import net.sf.l2j.gameserver.skills.AbnormalEffect;
 
 public class CharInfo extends L2GameServerPacket
@@ -153,10 +154,20 @@
         else
             writeS(_activeChar.getTitle());
         
-        writeD(_activeChar.getClanId());
-        writeD(_activeChar.getClanCrestId());
-        writeD(_activeChar.getAllyId());
-        writeD(_activeChar.getAllyCrestId());
+        if(_activeChar.isInsideZone(ZoneId.ZONE_MULTIFUNCTION))
+        {
+            writeD(0);
+            writeD(0);
+            writeD(0);
+            writeD(0);
+        }
+        else
+        {
+            writeD(_activeChar.getClanId());
+            writeD(_activeChar.getClanCrestId());
+            writeD(_activeChar.getAllyId());
+            writeD(_activeChar.getAllyCrestId());
+        }

 

Thanks! Awesome!

Posted

Hello,

Edit: So I managed to adapt it to rev 5667 H5 stable:

http://pastebin.com/wiMKTScH

 

No errors etc in eclipse.

Console Error:

2013.11.06 21:25:25,934    WARNING    1    com.l2jserver.gameserver.instancemanager.ZoneManager    ZoneData: No such zone type: MultiFunctionZone in file: peace.xml

Anyone can help?

 

Best Regards,

DeathSpank287

 

Anyone else can help?

Posted (edited)

If you say so :troll:

 

@ Wyatt

if (pvp_enabled && (activeChar.getPvpFlag() == 0))
{
       activeChar.updatePvPFlag(1);
}

Dont you think dat would be cleaner/bettah?

if (pvp_enabled)
{
       activeChar.updatePvPFlag(1);
}

No difference if you're already flagged or not. I find it kinda useless hih :P

Whatever, who cares of that, it's not gonna be commited anywhere and it works both ways so, QQ

 

 

Actually it does make a difference! A BIG difference as I have previously shown. But I guess he likes bugs in his code.

 

"commited" to a mod? LoL. This isn't a svn, or a project, it's a mod, fix the stupid bug and get over it. It's not even that complete. You're actually missing many checks that should be in other parts of the core. If you would like to see a fully complete "pvp" flag zone, I'll be happy to share mine. For instance where are your checks in the ZoneManager class? Where are the security and zone checks in the MapRegionTable class? I could go on and on, but I won't. Fix the stupid bug and be done with it.

 

Just because "it works" , and really it doesn't work properly, doesn't mean it's perfect. Stop being so stubborn and ignorant and take advice and bug reports/corrections when given.

 

It can be exploited so people in the "zone" will eventually go back to unflagged status. Doesn't matter if it's an "enclosed" zone or not. Simply hit someone before you teleport or run in to the zone, wait 30-60 seconds after going in to the zone, and you will UNFLAG, if you have not died. If you attack people inside the zone it's simply delayed until you stop attacking + 30-60 seconds (depending on server config).

 

http://www.maxcheaters.com/topic/139771-multifunctionzone/page-9?do=findComment&comment=2245950

 

Wondering if I will be 'punished' with de-rep or whatever because I spoke the truth... Time will tell..

Edited by MlDNlGHT

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

    • 🤝 SocNet is looking for new partners and suppliers!  We are building a reliable partner network across all areas of online business.  If you're in digital, traffic, accounts, or media — let’s discuss collaboration opportunities.   📌 Open to:  — Webmasters and media buyers  — Telegram channel and website owners  — Sellers of accounts and auto-registered profiles  — Developers of digital services  — Marketing agencies and freelancers 💬 We value quality, transparency, and growth. If that resonates with you — get in touch!   📎 Our current list of partners:  🔗 https://socnet.bgng.io/partners   📦 Our key products:  🛒 Online Store: Click ✅  🤖 Telegram Bot: Click ✅  📲 SMM Panel: Click ✅   📩 Contact us:  💬 Telegram: https://t.me/solomon_bog  📱 WhatsApp: https://wa.me/79051904467  🎮 Discord: https://discord.gg/y9AStFFsrh  📧 Email: solomonbog@socnet.store   📢 Follow updates: https://t.me/accsforyou_shop ✅
    • 🤝 SocNet is looking for new partners and suppliers!  We are building a reliable partner network across all areas of online business.  If you're in digital, traffic, accounts, or media — let’s discuss collaboration opportunities. 📌 Open to:  — Webmasters and media buyers  — Telegram channel and website owners  — Sellers of accounts and auto-registered profiles  — Developers of digital services  — Marketing agencies and freelancers 💬 We value quality, transparency, and growth. If that resonates with you — get in touch! 📎 Our current list of partners:  🔗 https://socnet.bgng.io/partners 📦 Our key products:  🛒 Online Store: Click ✅  🤖 Telegram Bot: Click ✅  📲 SMM Panel: Click ✅ 📩 Contact us:  💬 Telegram: https://t.me/solomon_bog  📱 WhatsApp: https://wa.me/79051904467  🎮 Discord: https://discord.gg/y9AStFFsrh  📧 Email: solomonbog@socnet.store 📢 Follow updates: https://t.me/accsforyou_shop ✅
    • 🤝 SocNet is looking for new partners and suppliers!  We are building a reliable partner network across all areas of online business.  If you're in digital, traffic, accounts, or media — let’s discuss collaboration opportunities. 📌 Open to:  — Webmasters and media buyers  — Telegram channel and website owners  — Sellers of accounts and auto-registered profiles  — Developers of digital services  — Marketing agencies and freelancers 💬 We value quality, transparency, and growth. If that resonates with you — get in touch!   📎 Our current list of partners:  🔗 https://socnet.bgng.io/partners   📦 Our key products:  🛒 Online Store: Click ✅  🤖 Telegram Bot: Click ✅  📲 SMM Panel: Click ✅   📩 Contact us:  💬 Telegram: https://t.me/solomon_bog   📱 WhatsApp: https://wa.me/79051904467  🎮 Discord: https://discord.gg/y9AStFFsrh  📧 Email: solomonbog@socnet.store   📢 Follow updates: https://t.me/accsforyou_shop ✅
    • 🔥 **L2MADPvP - Interlude x1200 | GRAND OPENING 19  2025!** 🔥 ✅ Classic Interlude PvP experience — No custom items, only fair gameplay. ✅ Balanced classes — No OP donations, pure skill PvP. ✅ Epic battles, daily GM events, active community. ✅ Auto Farm areas — No grind, just fight! ✅ Vote Reward system — Earn Donate Coins for free. 🌍 Website: www.l2madpvp.com   💬 Join our Discord: https://discord.gg/qDmRjMQ2   🎁 Grand Opening Giveaway  🗓️ Opening: **23/07/2025 at 16:00 GMT+2** 👉 Gather your clan, dominate the battlefield & become legend!
    • [center][size=6][b][color=#FF0000]🔥 L2MadPvP - Lineage 2 Interlude 🔥[/color][/b][/size] [b]🌍 Website:[/b] [url=https://www.L2MadPvP.com]www.L2MadPvP.com[/url]   [b]💬 Discord:[/b] [i]Coming Soon[/i] (Βάλε το link σου εδώ)   [b]📅 Grand Opening:[/b] [i]Βάλε ημερομηνία[/i] [hr] [size=5][b][color=#00BFFF]🎯 Server Rates[/color][/b][/size] [b]• Instant Level:[/b] 80   [b]• EXP/SP:[/b] x1200   [b]• Drop:[/b] Custom   [b]• Epic RB Jewel Drop:[/b] x1 (Most Damage) [hr] [size=5][b][color=#00BFFF]🔨 Enchant Details[/color][/b][/size] [b]• Safe Enchant:[/b] +3   [b]• Max Blessed Enchant:[/b] +14   [b]• Max Crystal Enchant:[/b] +16 [b]• Normal Scroll Chance:[/b] 65% (+0 → +14)   [b]• Blessed Scroll Chance:[/b] 100% (+0 → +14)   [b]• Crystal Scroll Chance:[/b] 50% (+14 → +16) [i](Fail = Same enchant)[/i] [b]• Custom Scroll Chance:[/b]   → +0 → +16: 100%   → +16 → +17: 95%   → +17 → +18: 90%   → +18 → +19: 85%   → +19 → +20: 80% [i]Fail = Item remains at previous enchant.[/i]   Example: Fail from +19 → +20 = stays +19 [hr] [size=5][b][color=#00BFFF]💎 Augmentation[/color][/b][/size] [b]• Max Augment Skills:[/b] 1 Active + 1 Passive   [b]• High Grade Lifestone:[/b] 10%   [b]• Top Grade Lifestone:[/b] 20% [hr] [b][color=#FF0000]👉 JOIN US NOW! PvP Madness Awaits![/color][/b]   [url=https://www.L2MadPvP.com][b]🌐 www.L2MadPvP.com[/b][/url][/center]
  • 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