Jump to content

Recommended Posts

Posted

Hello guys another interlude event coded by me.This one register the players into 2 teams The attackers and the defenders.Tha attackers are spawned outside of stutgart castle and they have to kill the 3 flags within 10 minutes.If they do the event stops automatically and rewards the attackers if not the defenders win. here are some pictures!

Register Proccess:

Z1cbLXQ.jpg

RDolo2W.jpg

 

Teleporting players:

s5sCXyQ.jpg

t0DI8hl.jpg

 

Photo of the flags:

v9B7iRS.jpg

ku3y8n6.jpg

 

i hope you like it here is the link that contains both dp and core part leave a nice comment thanks!

http://www.4shared.com/office/SRreSkT5/corecastle.html?

 

:not bad: :not bad:

Posted

if any flag killed it iwill win attacker even if its not the third

:

+        		if (getNpcId() == 36006)
+        			{
+        				if(!CastleWars.isFinished)
+        				{
+        					CastleWars.flagskilled++;
+        					CastleWars.attackersWin();
+        				}
+        				
+        			}
         

 

you should check

if(CastleWars.flagskilled == 3){
CastleWars.attackersWin();
}

Posted

if any flag killed it iwill win attacker even if its not the third

:

+        		if (getNpcId() == 36006)
+        			{
+        				if(!CastleWars.isFinished)
+        				{
+        					CastleWars.flagskilled++;
+        					CastleWars.attackersWin();
+        				}
+        				
+        			}
         

 

you should check

if(CastleWars.flagskilled == 3){
CastleWars.attackersWin();
}

 

Nope if you read the code you will see that this check CastleWars.flagskilled == 3 is already implemented in CastleWars.attackersWin() method ;)

Posted

Thanks bro!!!

 

Am I the only one around here who thinks that this fast coded events are buggy? o_0 btw gj for your work mate

Posted

Am I the only one around here who thinks that this fast coded events are buggy? o_0 btw gj for your work mate

Feel free to report any bugs if you find them i will be pleased to fix them i did some test before sharing them but neither do i think that it was enough to say that they were trully bugless

Posted

Thanks dude i will!

for example what happens if a player logouts or gets crashed? or what happens if we have a karma situation or cursed weapon... Or what happens if you leave the area... I mean this events need more time...

Posted

for example what happens if a player logouts or gets crashed? or what happens if we have a karma situation or cursed weapon... Or what happens if you leave the area... I mean this events need more time...

at happens if we have a karma situation or cursed weapon. i didn't add exception for that neither the player crashed,(although since the defaults are false in l2pcinstance after an rr it will resolve it's self) because i am working on an event engine with marwan and i will add exception for all events there..

Posted

omg, how to start event????? i watched script 10x times and didn't find a command... ? and in script where is 1 problem in frozen in this part " if (CastleWars.isRunning && (isinCastleWars && pk.isinCastleWars)" the problem is that variable " pk"  is not found.

Posted

omg, how to start event????? i watched script 10x times and didn't find a command... ? and in script where is 1 problem in frozen in this part " if (CastleWars.isRunning && (isinCastleWars && pk.isinCastleWars)" the problem is that variable " pk"  is not found.

Then your project is different than the one i coded also about the start thingy just make an admin command and put that inside CastleWars.openRegi();

Guest
This topic is now closed to further replies.



  • Posts

    • SocNet x Dolphin Anty Partnership — Reaching New Heights Together! We’re excited to announce our new partnership with the anti-detect browser Dolphin Anty! Thank you for your trust and support — it's because of you that we continue to grow, expand, and bring even more value and opportunities to our customers. This partnership with Dolphin Anty offers more convenience, security, and flexibility for your work and automation needs. Read more on Dolphin Anty’s official blog: https://dolphin-anty.com/blog/en/socnet-and-dolphin-anty/ We’re also looking for new suppliers! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Contact us via DM or support to discuss terms — we’re always open to partnership proposals! Explore our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, and emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter X Premium, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers To celebrate the partnership, use promo code DOLPHIN15 for 15% off in our online store! SMM Panel Services: ➡ Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, website traffic, TikTok, TrustPilot, Apple Music, TripAdvisor, Snapchat, and more. Get $1 Trial Credit for your first SMM Panel launch: Just submit a support ticket titled "Get Trial Bonus" on our website. ➡ Go to the SMM Panel (clickable) or contact support via bot. Our Key Products: ➡ Online Store: Click ➡ Telegram Store Bot: Click ➡ SMM Panel: Click Payment methods: bank cards · crypto · other popular methods Returning customers get extra discounts & promo codes! Support Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — consult about bulk purchases — propose partnerships (our partners: https://socnet.bgng.io/partners ) — become a supplier SocNet — Digital Goods & Premium Subscriptions Store
    • SocNet x Dolphin Anty Partnership — Reaching New Heights Together! We’re excited to announce our new partnership with the anti-detect browser Dolphin Anty! Thank you for your trust and support — it's because of you that we continue to grow, expand, and bring even more value and opportunities to our customers. This partnership with Dolphin Anty offers more convenience, security, and flexibility for your work and automation needs. Read more on Dolphin Anty’s official blog: https://dolphin-anty.com/blog/en/socnet-and-dolphin-anty/ We’re also looking for new suppliers! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Contact us via DM or support to discuss terms — we’re always open to partnership proposals! Explore our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, and emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter X Premium, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers To celebrate the partnership, use promo code DOLPHIN15 for 15% off in our online store! SMM Panel Services: ➡ Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, website traffic, TikTok, TrustPilot, Apple Music, TripAdvisor, Snapchat, and more. Get $1 Trial Credit for your first SMM Panel launch: Just submit a support ticket titled "Get Trial Bonus" on our website. ➡ Go to the SMM Panel (clickable) or contact support via bot. Our Key Products: ➡ Online Store: Click ➡ Telegram Store Bot: Click ➡ SMM Panel: Click Payment methods: bank cards · crypto · other popular methods Returning customers get extra discounts & promo codes! Support Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — consult about bulk purchases — propose partnerships (our partners: https://socnet.bgng.io/partners ) — become a supplier SocNet — Digital Goods & Premium Subscriptions Store
    • SocNet x Dolphin Anty Partnership — Reaching New Heights Together! We’re excited to announce our new partnership with the anti-detect browser Dolphin Anty! Thank you for your trust and support — it's because of you that we continue to grow, expand, and bring even more value and opportunities to our customers. This partnership with Dolphin Anty offers more convenience, security, and flexibility for your work and automation needs. Read more on Dolphin Anty’s official blog: https://dolphin-anty.com/blog/en/socnet-and-dolphin-anty/ We’re also looking for new suppliers! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Contact us via DM or support to discuss terms — we’re always open to partnership proposals! Explore our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, and emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter X Premium, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers To celebrate the partnership, use promo code DOLPHIN15 for 15% off in our online store! SMM Panel Services: ➡ Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, website traffic, TikTok, TrustPilot, Apple Music, TripAdvisor, Snapchat, and more. Get $1 Trial Credit for your first SMM Panel launch: Just submit a support ticket titled "Get Trial Bonus" on our website. ➡ Go to the SMM Panel (clickable) or contact support via bot. Our Key Products: ➡ Online Store: Click ➡ Telegram Store Bot: Click ➡ SMM Panel: Click Payment methods: bank cards · crypto · other popular methods Returning customers get extra discounts & promo codes! Support Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — consult about bulk purchases — propose partnerships (our partners: https://socnet.bgng.io/partners ) — become a supplier SocNet — Digital Goods & Premium Subscriptions Store
    • Wipe. Open Date: 2025-08-02, 18:00 GMT+2
  • 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