Jump to content
  • 0

Ctf For L2Jserver H5


Question

Posted

Hello all i want generaly event for my project i have only default TvT. I used this one http://www.maxcheaters.com/topic/108134-sharefreya-ctf-fully-configurable/?hl=%2Bcapture+%2Bflag

i try to addapt it but i have errors Warnings and many problems.. Have any1 a working one? or help me with it?

 

Thanks !

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

tell us where are your errors and warnings

 

btw it needs a small adaption for H5.. i adapted it on my pack and working properly..!

hmm im new :)

i have errors especially in CTF.java with SocialAction, getPet(solved with getSummon)

with systemmessage :

// Add by CTF Event
else if (_haveFlagCTF)
{
// You cannot mount a steed while holding a flag.
sendPacket(ActionFailed.STATIC_PACKET);
sendPacket(new SystemMessage(SystemMessageId.YOU_CANNOT_MOUNT_A_STEED_WHILE_HOLDING_A_FLAG));
return false;
}

no systemmessageIdi dont know show for sullotion create contsant and create field. And if i create one of those then ask to make puplic

 

about socialaction :

i change this 

_player.broadcastPacket(new SocialAction(player, 16)); // amazing glow

with:

_player.broadcastPacket(new SocialAction(_player.getObjectId(), 16)); // amazing glow

and Many warnnings

 

About db:

in masterhandler

 // Add by CTF Event if (Config.CTF_ALLOW_VOICE_COMMAND)
 VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new CTFCmd());

This ? i must add it like this?:

(Config.L2JMOD_ALLOW_WEDDING ? Wedding.class : null),
or just CTF.Cmd.class,?

And General problems with db part.

Edited by drgn
  • 0
Posted (edited)

just replace

sendPacket(new SystemMessage(SystemMessageId.YOU_CANNOT_MOUNT_A_STEED_WHILE_HOLDING_A_FLAG));

with this

activeChar.sendMessage("You cannot mount a steed while holding a flag.");

put this on MasterHandler

  (Config.L2JMOD_ALLOW_WEDDING ? Wedding.class : null),
+ (Config.CTF_ALLOW_VOICE_COMMAND ? CTFCmd.class : null),

about

_player.broadcastPacket(new SocialAction(_player.getObjectId(), 16)); // amazing glow

try to resolve them with the quick fix option

Edited by xXObanXx
  • 0
Posted (edited)

just replace

_player.broadcastPacket(new SocialAction(_player.getObjectId(), 16)); // amazing glow

try to resolve them with the quick fix option

 

i edit to this now its ok. (from _player.broadcastPacket(new SocialAction(_player, 16)); // amazing glow )

 

Lets try Compile ! Many Warrings (!). Lets see.

Edited by drgn
  • 0
Posted

i edit to this now its ok. (from _player.broadcastPacket(new SocialAction(_player, 16)); // amazing glow )

 

Lets try Compile ! Many Warrings (!). Lets see.

better resolve all the warnings and then try to compile..!

  • 0
Posted

Compiled.. First problem when i open //admin every tab try to open ask me if im sure to execute command ... (admin7 etc..)

  • 0
Posted

Compiled.. First problem when i open //admin every tab try to open ask me if im sure to execute command ... (admin7 etc..)

this is from AdminHandlers folder...

 

i can help you fix it if you want by adding me on skype..!

just pm me your skype and i will accept you in some minutes!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Contact me, Discord: xbaus
    • Hi,   I’m reporting @nuturazvan for attempting to scam me out of 70€.   Last week, he contacted me on Discord saying he was looking for a control panel. I initially offered NimeraCP, but after I told him the price, he said he couldn’t afford it. I then told him I could develop a custom control panel within his budget. After discussing the details, we agreed on the following:   Control / Donate Panel includes: Donate page Account registration page Login page Password reset page Stripe integration Agreed price: 70€ Deal date: December 3, 2025   I finished developing the panel on December 6, 2025, but I have not delivered it yet. The code is complete and currently sitting in a private GitHub repository, waiting for payment. As of December 14, 2025, I still haven’t received any payment. I’ve asked him multiple times when I can expect it, and he keeps making excuses, saying a friend owes him money and that he’s waiting to get paid first.   If you don’t have the money, you shouldn’t be ordering work. I take responsibility for starting the work without upfront payment, but that doesn’t excuse repeatedly delaying payment.   Posting this as a warning to others.  
    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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