Jump to content

[Share] .cl voice command - Teleports you to your clan leader


Recommended Posts

Posted

need help please i am newbie so i don't know how to create this file Cl.java help me please...

 

Use search next time, its so hard to take a look at sticked guides?

 

For example check this one and others too.

  • 1 month later...
Posted

eh..... Check that in the code:

               activeChar.teleToLocation(leaderx, leadery, leaderz);
     activeChar.sendMessage("You have been teleported to your leader!");
    activeChar.getInventory().destroyItemByItemId("RessSystem", 3470, 1, activeChar, activeChar.getTarget());
    activeChar.sendMessage("One GoldBar has dissapeared! Thank you!");

RessSystem?? xexe. Anyway very usefull like .ch thanks.

  • 3 months later...
Posted

There is a bag this this command... when someone is at tvt event he can go to take buffs...

 

So put simple check to fix it.

Posted

There is a bag this this command... when someone is at tvt event he can go to take buffs...

 

A bag? Dooh..

 

if (activeChar.isInTvTEvent()) //or however it is in your pack
              {
                 activeChar.sendMessage("You can't use this command while participating in TvT!");
                 return false;
              }

-------------------

if(leader.isInTvTEvent()) //same
            {
                activeChar.sendMessage("You can't teleport to your leader, because he is currently participating in the TvT Event.");
                return false;
            }

 

Big deal..

  • 1 month later...
Posted

lol its not same,,

if (activeChar.isInTvTEvent()) //or however it is in your pack

              {

                activeChar.sendMessage("You can't use this command while participating in TvT!");

                return false;

              }

means *YOU* in a TVT

and thisif

(leader.isInTvTEvent())

            {

                activeChar.sendMessage("You can't teleport to your leader, because he is currently participating in the TvT Event.");

                return false;

            }

your *CLAN LEADER* is in TVT :)

Posted

lol its not same,,

if (activeChar.isInTvTEvent()) //or however it is in your pack

              {

                activeChar.sendMessage("You can't use this command while participating in TvT!");

                return false;

              }

means *YOU* in a TVT

and thisif

(leader.isInTvTEvent())

            {

                activeChar.sendMessage("You can't teleport to your leader, because he is currently participating in the TvT Event.");

                return false;

            }

your *CLAN LEADER* is in TVT :)

 

you sir Fail

Posted

here for party leader

 

          if (activeChar.getParty() == null)

              {

                return false;

              }

       

            L2PcInstance leader;

            leader = (L2PcInstance)L2World.getInstance().findObject(activeChar.getParty().getLeader());

 

but i got a error The method findObject(int) in the type L2World is not applicable for the arguments (L2PcInstance)

 

Edit: found problem Ty for nice share!

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

    • 🎙️ 1/ Creators, meet your new favorite tool: Chord.fm Record. Enhance. Deliver. A fully AI-powered recording studio, right in your browser. 🎧 Whether you're a podcaster, interviewer, or team running remote interviews — this is your upgrade. 🎥 2/ Record high-quality audio & video effortlessly ✅ Up to 4K video ✅ Uncompressed WAV audio ✅ Network-proof performance ✅ Multi-participant recording ✅ AI-powered post-processing 💡 No more "can you hear me?" moments. 🔊 3/ Get individual tracks for every participant One of Chord.fm’s superpowers: 🎚️ Each speaker's audio/video is recorded and exported separately. Perfect for post-production: 🎛️ Clean edits 🎧 Custom audio mixes 🎙️ Noise isolation per track   🧠 4/ Let AI do the heavy lifting 💬 Auto-generated subtitles 📝 Transcriptions you can trust 🧾 Smart summarization of recordings 🔍 Keyword highlights & topics Turn raw content into share-ready material without lifting a finger. 🧰 5/ Built for creators who value quality 🎬 Audiograms from your voice 🎚️ Auto-leveling 🌐 Browser-based (no install) 📁 Local backups during recording ⏱️ Time-saving features everywhere Chord.fm isn’t a Zoom alternative — it’s a production studio. 🚀 6/ Ready to level up? If you’re creating podcasts, interviews, or async team content — Chord.fm is what you've been waiting for. 🆓 Start for free: https://chord.fm You won't look back.
    • Who doesn't? 🤣 On topic. I would suggest you to work on Mobius files since there is a lot of space to work on things. @Mobius has done amazing job and deserves as match help as possible, this guy needs to be rewarded! Different type of packs since he has the most of the chronicles. I dont want to say that aCis hasn't done amazing job, it's one of the most stable and oldest projects around but I'm with mobius just because he supports way more clients. Working on either of projects will make you better.
    • I have a working PetitionD with a new Petition client for anything between C4 and Gracia it's here Link
  • 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