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

    • ⭐⭐⭐⭐⭐L2Lusty 50x [Essence - High Five] Start 08 February⭐⭐⭐⭐⭐  L2Lusty Essence - High Five 50x Website: https://l2lusty.online/ Starts on 08/02/2025 16:00 London Time Rates: XP 50X, Adena 20X, Spoil 20X, Drop 20X, Max enchant +16 with 50% normal and 60% blessed, Chaos Event whit 3x Lcoins Drop 24h Website:  https://l2lusty.online/
    • Hi, I inviting you to join L2Einhovant server, lets give them chanse. It's x1 Classic with some bonus futures, no duals box, no wipes, buffs stores and etc. Grow up by litle steps together with the server population.   🔥 Why L2Einhovant? ✅ Authentic Classic Gameplay – No dual box, all classes inportant, no auto farm. ✅ Hardcore x1 Rates – A true test of your gameplay skill, level up stages. ✅ Active Community & Fair Administration – A server built for passionate players. ✅ Long-Term Stability – Grow your character in a world that lasts.   Gather your allies, sharpen your weapons, and prepare for an unforgettable journey. Join to our comunity now and prepare for start.   Open beta: 1th February. Grand opening: 7th February, 20:00 UTC+2.   🔗 Discord: https://discord.gg/zfKd4tU9N2
    • ElmoreLab Harbor - Eternal C1 x1: ✅ https://harbor.elmorelab.com ElmoreLab Harbor - Eternal C1 x1 - is an exclusive server of the Eternal C1 chronicles from the top project ElmoreLab Harbor.   A unique server of its kind, on which everyone will have maximum pleasure, such as oldschool players who dream of nostalgia and to feel the warmest and classic C1 chronicles, as well as experienced players who are tired of thousands unbalanced servers of late chronicles. Due to the professional corrections of the balance system and the HONEST gameplay system - on this server, EVERY player will feel like in their own, warm and cozy Harbor C1. Let's return to the origins of L2 - back to 2004 in C1! ❤️   ⭐ Server characteristics:   STRICTLY 1 window, NO BOXES Bans for RMT and bots/cheats No donations with benefits Unique and high-quality PTS-build from Master Toma Professional corrections and full class-balance Reworked economy and closed all abuses Improved animations and all aspects of the game Exclusive HD-client with high-quality textures Experienced administration and management Fixed all bugs, geodata, exploits and holes Maximum sociality due to the 1-box system Discovering, exploring and researching Big online International server Nostalgia and oldschool-feelings   Rates: x1 Server start: 14.02.2025   The server is at the final stages of development and preparation for release. Information on the server will be updated, soon the patchnotes and changes/edits will be posted. Don't miss the legendary and epic experience on the best server in the last 20 years! ❤️ Join our C1-forum with a lot of information about server and active discussions.   ⭐ Website: https://harbor.elmorelab.com   ✅ Forum: https://forum-harbor.elmorelab.com   💥 Telegram: https://t.me/l2harbor https://t.me/l2harbor_chat   ⚡ Discord: https://discord.gg/harborelmorelab
    • yeah ok, if you say what is fuctional 100% i can't say something different 😛  but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
  • Topics

×
×
  • Create New...