Jump to content
  • 0

[HELP] PvP Pk announced to Party color


Question

Posted

Hi there..... i need a code to make this

[80]BARO vs [79]MaxCheaters

[LVL]playername vs[LVL]playername but not to announcement ...i need this for green color    

i know is something with CreatureSay

for interlude

Recommended Posts

  • 0
Posted

Nobody  know anyone how to make this ?

I was thinking  here i found some help

 

 

 

If is to hard i want to make for announcement

 

Player[lvl] PvP Player[LVL]

 

  • 0
Posted

You can create a new CreatureSay with the requested text. The different kinds of chats (shout, party, trade, etc..) can be found at Say2, as static final int values. Just, broadcast it all the players you want

  • 0
Posted

You should also provide info about when this message should be send, anyway litle example:

 

L2PcInstance player, target;

player.sendPacket(new CreatureSay(0, Say2.PARTY, "Server", "[" + player.getLevel() + "]" + player.getName() + " vs " + "[" + target.getLevel() + "]" + target.getName()));

  • 0
Posted

thanks for your help

but i need full coded if you want to help will be great....

with diff files

 

PLEASE

Thx Matim

  • 0
Posted

thanks for your help

but i need full coded if you want to help will be great....

 

PLEASE

Thx Matim

 

How can I provide full code without basic info, in my previous post i said:

 

You should also provide info about when this message should be send (...)

 

And still no answer.

 

Also I gave u want do u exactly need, now simply use your brain and use it where u want.

  • 0
Posted

I need this exaclty after pvp or pk ....this show "announcements" like

Announcements: Blabla assassinate ALBALB

  • 0
Posted

I need this exaclty after pvp or pk ....this show "announcements" like

Announcements: Blabla assassinate ALBALB

 

I told you, use your brain.

 

L2PcInstance.java

 

Check how does pvp/pk increase works.

  • 0
Posted

i`m noob of java ....

is my 1st time when i want to make a code with creatureSay

U are smart ....this is the reason i asked here ....

MaxCheaters have many people smart to help me

  • 0
Posted

You should understand that this is "request dev help section", not request ready code.

 

The point is that you should show some personal effort to make it insteaf od asking for ready sollutions.

 

With this approach, you will never make your own code, trust me.

 

Anyway, there is another "hint", take a look at this share:

 

This one.

 

You can find there how to reward someone for each pvp/pk kill.

 

With this share, you may easily learn how to make your request (to send message after pvp/pk kill)

 

Simply replace this rewarding method with send packet (i gave u code at begining)

  • 0
Posted
// Add karma to attacker and increase its PK counter

setPvpKills(getPvpKills() + 1);

 

L2PcInstance player =

null, target =

null;

player.sendPacket(new CreatureSay(0, Say2.PARTY, "Server", "[" + player.getLevel() + "]" + player.getName() + " vs " + "[" + target.getLevel() + "]" + target.getName()));

 

Something Like this??

  • 0
Posted

Think a bit, whats the point to "send packet" to player object which is null?

 

Since its L2PcInstance, you don't have to use object of player, simply use:

 

sendPacket(new CreatureSay(0, Say2.PARTY, "Server", "[" + player.getLevel() + "]" + player.getName() + " vs " + "[" + target.getLevel() + "]" + target.getName()));

 

instead of:

 

player.sendPacket(new CreatureSay(0, Say2.PARTY, "Server", "[" + player.getLevel() + "]" + player.getName() + " vs " + "[" + target.getLevel() + "]" + target.getName()));

 

And about target object, it was just example, do not create new L2PcInstance object called target, simply you have to refer to this player which was killed by our player (ye ye, It may be confusing now)

  • 0
Posted

I can`t understand how to make this ....i`m noob

if you have pleasure to help me i said thanks

 

I want this

Guest
This topic is now closed to further replies.


  • Posts

    • Provide proofs not providing any kind of proofs i will just issue warnings
    • For the odbc you have to run the Instalador.exe and click crear dsn, but you have to rename them so the lin2clancomm.dsn for example becomes l2c4_lin2clancomm but also check if the file inside has as database value the correct file name, about the client i also wanted a clean client because i had a problem with the monsters because the character didn't have collision with the monsters and he was running through them but i fixed it with files from a normal interlude client, also my client is now c3 😛 i changed the maps, staticmeshes, systextures so now i do not have the fortresses at antharas lair for example but i also have the c3 sounds and login screen. Where is @GX-Ext
    • I really wonder if they launched the server without testing it even once. All players are creating new characters and transferring the level 20 reward to their main ones. It seems banning people is much easier than sending them a direct message in-game. If you can’t do your job properly, get in touch with people who can help you. I made 17 million in 10 minutes on a 1x Adena rate server and got an Icarus weapon. My suggestion to you — as it's written on the character you banned — is to wipe the server and run a proper OBT. Good luck with your time as administrators; although it doesn't look like it will last very long.  
    • all the reports vanished into thin air  
    • 🔥L2 INTERPRIDE - Pride Style  OPENING THIS NOVEMBER! 🔥  ✅ Grand Opening - November 15th! ✅ ❤️ Open Beta - October 08th! ❤️  🩵  The most up-to date client on the market! ▶️  Retail Pride Style Interlude with the new Client! 💡Discord: https://discord.gg/l2interpride 🌍 General Information Client: Interlude Type: Custom PvP Server Rates: High Rates Starting Level: 56 Balanced PvP Environment Unique PvP Enchant System PvP Synergy System: Support Classes earn PvP Score when assisting DDs in kills Toggle Skills → Now Passive Killing Spree: Every 25 kills grants Hero Aura + Hero Skills until death 🐉 Raid Boss System If you are within 1500 radius when a Raid Boss dies, you automatically receive 1 Raid Boss Chest in your inventory! 💫 Join the Battle ⚔️ Experience modern PvP gameplay on a classic Interlude foundation! 🔥 Build your power. Earn glory. Dominate Aden. 🧙 Custom Items Armors: 🛡️ Tier 1: Dread ⚔️ Tier 2: Titanium 👑 Tier 3: Pride Weapons: 🔱 Tier 1: Unique (PvP / PvE) ⚔️ Tier 2: Pride 💀 Tier 3: Abyssal Accessories: Up to 30 custom accessories with unique stats Legendary Dyes: +5 / -2 Belts: Various special stats ⚔️ Custom PvP Skills PvPs Name Color Reward Skill 500 Blue Firework CP Heal +800 1000 Violet Firework Cleanse 1500 Green Blessed Body 2000 Yellow MP Recharge 2500 Light Blue Special Focus 3000 Orange Death Whisper Debuff 3500 Dark Purple Might 4000 Red Empower 4500 Red Increase Weight Debuff 5000 Red Wind Walk 6000 Red Berserker Spirit 7000 Red Recall NPC 🛒 Shops & NPCs Item Store: Up to A/S grade, Potions, Consumables & more Mysterious Merchant: Custom Armors, Weapons, Accessories NPC Buffer: All Buffs + Scheme System Class Master: Free Class Change 🔥 Enchant System Safe Enchant: +7 Max Enchant: +25 Weapon Rate: Custom (higher enchant = lower rate) Armor Rate: Custom (higher enchant = lower rate) Jewel Rate: Custom (higher enchant = lower rate) ⚙️ Rates Experience: x5000 Skill Points: x5000 Drop Rate: x1 Adena: x500 🏆 Events Team vs Team (TvT) Capture the Flag (CTF) Death Match Castle Siege Hunting Grounds URF TvT 💎 Custom Features ALT + Left Click → Remove selected Buff ALT + F → Teleport System Shift + Left Click → View Monster Droplist
  • 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