Source Code Refactored Siege + Castle Bonus

Unencrypted Source Code Resource

BettyBoop

New member
Rep
1
0
0
Rep
1
Vouches
0
0
0
Vouches
0
Posts
4
Likes
11
Bits
2 MONTHS
2 MONTHS OF SERVICE
LEVEL 5 40 XP

Hey everyone,

I’m thrilled to make my first post here! I’ve been working on some exciting updates to the siege system, and I’m happy to share them with you all today. The code for these changes was written for L2J Acis 401.

[Description]

The siege system has undergone significant improvements, and the biggest change is the castle bonus mechanic. Here’s how it works now:

✅ Castle Bonus During Siege – The castle bonus disappears while the siege is ongoing, ensuring a fair and balanced fight for both the defenders and attackers.

✅ Post-Siege Bonus Allocation – After the siege ends, the winning clan will receive the castle bonus.
  • If the defenders successfully defend their castle, they keep the castle bonus.
  • If the attackers take control of the castle, they receive the castle bonus.
This system makes the siege more exciting and ensures that the castle bonus is always tied to the ownership of the castle after the siege concludes.

✅ Admin-Controlled Siege Scheduling – The admin sets the specific day and time for the sieges, giving structure and consistency to the battles.

These changes are designed to make the sieges more strategic, fair, and competitive. I hope you’re as excited about them as I am!

Feel free to share your thoughts or ask any questions. I’m looking forward to hearing from you all!
--> CODE <--
 

Attachments

  • Castle SQL.txt
    1.3 KB · Views: 3
  • Client Side.txt
    1.5 KB · Views: 4

xbaus Bulgaria

Interface & GFX/UGX developer
Staff
xbaus Rep
1
0
0
Rep
6
xbaus Vouches
1
0
0
Vouches
1
Posts
46
Likes
79
Bits
9 MONTHS
9 MONTHS OF SERVICE
LEVEL 20 15 XP
Thanks for sharing this, Betty my brother!

200.gif
 
Liked By 1 member :

Azayaka

Allelujah
Administrator
Azayaka Rep
3
0
0
Rep
9
Azayaka Vouches
0
0
0
Vouches
0
Posts
321
Likes
221
2 YEARS
2 YEARS OF SERVICE
LEVEL 99 60 XP
This is a great first post. Welcome to Emudevs!
 
Liked By 1 member :

splicho

Emudevs Founder
Administrator
splicho Rep
6
0
0
Rep
6
splicho Vouches
3
0
0
Vouches
3
Posts
1,003
Likes
1,435
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 250 75 XP
We need more of these people, great post!
 
Liked By 1 member :

BettyBoop

New member
Rep
1
0
0
Rep
1
Vouches
0
0
0
Vouches
0
Posts
4
Likes
11
Bits
2 MONTHS
2 MONTHS OF SERVICE
LEVEL 5 40 XP
I really appreciate the positive feedback. It means a lot to see the community engaged and interested in the work I’m doing. I’ll definitely keep sharing more of my custom systems in the future this is just the beginning!

Again, thanks for the support! Looking forward to contributing more to the community.
 
Liked By 3 members :

OnlyFans

Divine
Divine
OnlyFans Rep
0
0
0
Rep
0
OnlyFans Vouches
0
0
0
Vouches
0
Posts
84
Likes
55
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 6 180 XP
that's really awesome. thanks! gg
 

3,400

1,272

9,557

428

Top