Jump to content

Question

Posted

       if(_text.equals("/test") || _text.equals("//test"))
       {
          activeChar.sendPacket(ActionFailed.STATIC_PACKET);
          activeChar.logout();
          return;
       }

Hello, I add this in Say2, why it isn't working? Also doesn't working with // and etc.

Thanks for help!

8 answers to this question

Recommended Posts

  • 0
Posted (edited)

when you use / prefix it isnt say2 but requestbypasstoserver

Edited by xdem
  • 0
Posted
            else if(_command.equals("/test") || _command.equals("//test"))
              {
                 activeChar.sendPacket(ActionFailed.STATIC_PACKET);
                 activeChar.logout();
                 return;
              }

in RequestBypassToServer, doesn't working

  • 0
Posted (edited)
            else if(_command.equals("/test") || _command.equals("//test"))
              {
                 activeChar.sendPacket(ActionFailed.STATIC_PACKET);
                 activeChar.logout();
                 return;
              }

in RequestBypassToServer, doesn't working

 

 

 

the bypasss itself isn't /test dude. its something like -v test or voicecommand test I dont remember, just use the commandhandler provided by ur pack jesus

 

PS: // commands are always comming into the server as admin commands or they never leave ur client unless you have gm access

Edited by xdem
  • 0
Posted (edited)

So okey, for /test create in usercommand, what about //test? For players, not GMs

 

if it never leaves client due to the lack of privilages theres no possible way

 

use phx to find out

Edited by xdem
Guest
This topic is now closed to further replies.


  • Posts

    • if you are sending him clients i have no words mate that means you know him.
    • Looking to hire a skilled L2J developer or team to build a custom private server for solo play with advanced server-side AI bots. This is NOT for public launch — just a self-hosted project where I can simulate a full L2 experience alone or with a few friends. 🔹 What I Need A private L2J server ( High Five preferred, newer versions can work as well) with bots that: Farm 24/7 on their own (solo or in bot parties) Can be invited into party and follow basic orders (attack, follow, res, heal, etc.) Are able to join Olympiad, fight with proper logic (per class), and rank up Can coordinate for Raid Bosses (check spawn, move, assist, heal, DPS, etc.) Act like real players: town routines, rebuffing, restocking, even chatting if possible Have different roles: tanks, healers, nukers, archers, etc. Can interact through simple in-game commands or NPC interface 🔹 Your Job Set up the server and geodata Integrate a scalable bot system (written in Java or scriptable) Write clean, modular AI behavior (farming, PvP, party play, raid logic, etc.) Allow me to control/assign bots easily (in-game or config) Bonus: basic UI or GM panel for bot config 🔹 Payment Serious budget for serious work PayPal, crypto, or preferred method Project-based or hourly, negotiable Milestone-based OK 🔹 Contact Send me: Your experience with L2J or similar projects Any bot/AI systems you've built before Estimated timeframe Pricing expectations
    • Yeah, it’s wild how much gambling has changed. When I was growing up, even scratch-off tickets felt like a big thing, but now with so many casino apps and betting sites, it’s just everywhere. I know a few people who got caught up in online slots during lockdown and really struggled to stop, just because it was always on their phone.   I stick to in-game stuff like skin trading for games like CS2 or Dota, which to me feels less risky, especially if you know the value of the items. If you’re curious how these trades work or want to see some guides, just visit website—there’s a lot of info about trading without real gambling involved.
  • 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