I just added in pvp zones to get pvp point. But it does not update istant. The pvp winner must teleport or die so his pvps update +1. So i would like it to update instant if its possible.
l2jaCis
Here is the code:
// If in pvp zone, add pvp point.
if (isInsideZone(ZoneId.PVP) && targetPlayer.isInsideZone(ZoneId.PVP))
{
setPvpKills(getPvpKills() + 1);
// Until the zone was a siege zone. Check also if victim was a player. Randomers aren't counted.
if (target instanceof L2PcInstance && getSiegeState() > 0 && targetPlayer.getSiegeState() > 0 && getSiegeState() != targetPlayer.getSiegeState())
{
// Now check clan relations.
final L2Clan killerClan = getClan();
if (killerClan != null)
killerClan.setSiegeKills(killerClan.getSiegeKills() + 1);
final L2Clan targetClan = targetPlayer.getClan();
if (targetClan != null)
targetClan.setSiegeDeaths(targetClan.getSiegeDeaths() + 1);
}
return;
}
Hello everyone,
Im Looking for a database wich was used on a live server.
If anyone has one Laying around, it would be nice if you could share it with me.
Ofcourse you can delete the User Mail Adresses. Its just for Private purpose, im making a webinterface just for fun and wanted to have a database wich is "filled" with Real data. If anyone is intrested, i could share the webinterface later for free when i Finished the Project.
Thanks
Interlude, At the moment I'm already able to compile and decompile, now I just need to make the files connect, that's all I need, inside my Skill.usk I couldn't see anything that's inside my LineageEffect.u, that's all I need, can you help me?
**INTERLUDE REMASTERED**
Moonland is a server that's been running for about three years without wipe, and they don't plan on wiping it anytime soon.
I'm selling my items or even the account with full auguments for duelist/archer/mage due to not having much time to play anymore.
I'm selling only for $$$ OR CS2 skins. Not going to disclose my nickname in the server, but here are some of the items:
Lvl 5 equipment for both mage and fighter, +100 mage pvp set, 2mastery jewels for fighter, 2 for mage, blessed antharas, blessed queen ant, ring of fallen angel, earring of fafurion.
1k + col(donate coins), VIP cosmetics for armor, agathion and weapons(duals + mage wep)
I'm only selling for real money via paypal or cs2 skins so don't offer me anything else.
comment your contact details and I will get in touch with you.
up
Question
MaDu7zU
Hello Guys!
I just added in pvp zones to get pvp point. But it does not update istant. The pvp winner must teleport or die so his pvps update +1. So i would like it to update instant if its possible.
l2jaCis
Here is the code:
// If in pvp zone, add pvp point. if (isInsideZone(ZoneId.PVP) && targetPlayer.isInsideZone(ZoneId.PVP)) { setPvpKills(getPvpKills() + 1); // Until the zone was a siege zone. Check also if victim was a player. Randomers aren't counted. if (target instanceof L2PcInstance && getSiegeState() > 0 && targetPlayer.getSiegeState() > 0 && getSiegeState() != targetPlayer.getSiegeState()) { // Now check clan relations. final L2Clan killerClan = getClan(); if (killerClan != null) killerClan.setSiegeKills(killerClan.getSiegeKills() + 1); final L2Clan targetClan = targetPlayer.getClan(); if (targetClan != null) targetClan.setSiegeDeaths(targetClan.getSiegeDeaths() + 1); } return; }
Okay i just found the problem!
I added this line:
setPvpKills(getPvpKills() + 1); + sendPacket(new UserInfo(this));
Any mod please close the topic. Dont delete it, maybe helps someone. :)
Thank you!
Edited by MaDu7zU1 answer to this question
Recommended Posts