In every chaotic Zone (auto flag) out there, the target instantly loses the pvp flag when it leaves the pvp zone, instead of losing it the normal way, some 15 seconds afters (blinking purple/white).
In my experience, that is not a good thing cause people will simply run out the zone to run from pvp.
I tried to fix that by using a few things, but none worked correctly. In my attempts so far, the target takes flag when runing out, but it will never go away. To make it disapear I need to relog.
Most of the times, that is what happens.
I looked in the SiegeZone.java to check how it worked there, and tried that as well, but in that case the Flag stays just for 1 second and disapear (But it works corrrectly when in siege).
In the shared MultiFunctionZone.java, it is set like this:
if(pvp_enabled)
activeChar.stopPvPFlag(); (instantly removes the flag)
So I tried to use the same method used for siege zone:
if (character instanceof L2PcInstance)
{
((L2PcInstance) character).sendPacket(new SystemMessage(SystemMessageId.LEFT_COMBAT_ZONE));
// Set pvp flag
if (((L2PcInstance) character).getPvpFlag() == 0)
{
((L2PcInstance) character).startPvPFlag();
}
}
}
But it doesnt work like in a siege zone.
I Also tried something like this:
if (activeChar.getPvpFlag() != 0)
activeChar.setPvpFlag(0);
activeChar.updatePvPFlag(1);
With this, the target will get pvp flag when it run out the flag zone, but the flag will never go aways like it was intented.
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.
To sum it up, just because that topic still exists and just because there's still tolerance for such garbage and missleading topics to exist in here.
Files worse than the free version, https://bitbucket.org/MobiusDev/l2j_mobius.git/src
A dumb fuck that claims that mobius sources contain backdoors yet none found so far in an opensource project.
4 Pages of replies to a "very skilled developer" that uses google translate in order to reply in his own topic.
Yet this topic is still available. Every traffic is a good traffic I guess!
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/bDVQYKMUb3
https://campsite.bio/utchihaamkt
And I have never met someone with so little intelligence to truly understand what a backdoor is.
I believe there are great programmers in this forum, so I challenge any of them to tell me if there is any backdoor in this code.
@Bruto As for you, I don't care about your opinion; you don't even have the knowledge to compile a simple project.
You need to find a doctor to help you understand why your brain doesn't work properly.
🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
I've already lost count of how many words like that you've said.
Let's talk about those serious mistakes in your project that was posted on Bit, which even you can't resolve.
You talk a lot about what I think, but everything you're doing is exactly the same.
You also don't provide any information to prove that I'm wrong.
You can't solve your own problems, and yet you have to charge euros to deceive people.
What else do you have to say?
Where is your evidence to prove that I'm wrong?
Of course, you won't say anything because you want to keep deceiving people and charging euros for misleading code. 🤣🤣🤣🤣🤣🤣🤣🤣🤣
Bump
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
NEW USER IN TELEGRAM AND DISCORD IS "mileanum"
Question
tiguz
Hello once again dear users.
In every chaotic Zone (auto flag) out there, the target instantly loses the pvp flag when it leaves the pvp zone, instead of losing it the normal way, some 15 seconds afters (blinking purple/white).
In my experience, that is not a good thing cause people will simply run out the zone to run from pvp.
I tried to fix that by using a few things, but none worked correctly. In my attempts so far, the target takes flag when runing out, but it will never go away. To make it disapear I need to relog.
Most of the times, that is what happens.
I looked in the SiegeZone.java to check how it worked there, and tried that as well, but in that case the Flag stays just for 1 second and disapear (But it works corrrectly when in siege).
In the shared MultiFunctionZone.java, it is set like this:
if(pvp_enabled)
activeChar.stopPvPFlag(); (instantly removes the flag)
So I tried to use the same method used for siege zone:
if (character instanceof L2PcInstance)
{
((L2PcInstance) character).sendPacket(new SystemMessage(SystemMessageId.LEFT_COMBAT_ZONE));
// Set pvp flag
if (((L2PcInstance) character).getPvpFlag() == 0)
{
((L2PcInstance) character).startPvPFlag();
}
}
}
But it doesnt work like in a siege zone.
I Also tried something like this:
if (activeChar.getPvpFlag() != 0)
activeChar.setPvpFlag(0);
activeChar.updatePvPFlag(1);
With this, the target will get pvp flag when it run out the flag zone, but the flag will never go aways like it was intented.
Any help pls?
Im using l2jfrozen 1118
44 answers to this question
Recommended Posts
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.