Jump to content

Recommended Posts

Posted (edited)
2 minutes ago, valentin said:

ye  pastebin. Looks ugly the code posted on mxc

Ok next share i'm bored now.

 

PS. the boy on your photo is ugly too but i don't complain >.<

Edited by Kara`
Posted
+public class PvPColor extends PEvent
+{
+	public PvPColor(int r, int g, int b)
+	{
+		values = new Object[3] { r, g, b };
+	}
+	
+	@Override
+	public void getEffect(L2PcInstance player)
+	{
+		player.getAppearance().setNameColor((int) values[0], (int) values[1], (int) values[2]);
+		player.broadcastUserInfo();
+	}
+}

what the...?

Posted
8 hours ago, xxdem said:

+public class PvPColor extends PEvent
+{
+	public PvPColor(int r, int g, int b)
+	{
+		values = new Object[3] { r, g, b };
+	}
+	
+	@Override
+	public void getEffect(L2PcInstance player)
+	{
+		player.getAppearance().setNameColor((int) values[0], (int) values[1], (int) values[2]);
+		player.broadcastUserInfo();
+	}
+}

what the...?

Ελα ενταξει σκασε ειπα δεν χρειαζεται καν extend ενα interface μονο, το εγραφα ενω εκανα δουλεια ταυτοχρονα.

Posted
1 hour ago, Elfocrash said:

[GR] Ρε άσε τις δικαιολογίες και μην κάνεις σαν 10αχρονο. Δεν έχει σημασία πως έγραψες τον κώδικα, σημασία έχει το αποτέλεσμα που παρουσιάζεις και μόνο.

Δικαιολογιες? Τι ειναι εδω πανεπιστημιο και δινω αυριο? Λες και με νοιαζει να απολογηθω στον Σταυρο.

 

Posted

diladi itane diskolo na kaneis declare ena int sto child class, eprepe na dialekseis ton xirotero kai pio periploko tropo gia na to paikseis eksipnos

Posted
23 minutes ago, xxdem said:

diladi itane diskolo na kaneis declare ena int sto child class, eprepe na dialekseis ton xirotero kai pio periploko tropo gia na to paikseis eksipnos

Kai ama argotera theleis na kaneis store title as poume? 

Posted

to base class einai absract kai i getEffects einai abstract, kaneis extend kai ftiaxneis oti container thes pou kanei extend to kai implement tin getEffects

Posted
1 minute ago, Elfocrash said:

Κάνεις ένα string field στο PvpTitle class. Δεν υπάρχει λόγος να κάνεις generalisation στο επίπεδο που το κάνεις για δύο λόγους.

Πρώτον κάνεις violate single responsibility γιατί δίνεις στο values field ιδιότητες που δεν θα έπρεπε να έχει.

Δεύτερον, δεν χρειάζεσαι κάν abstract class, μπορείς να το κάνεις με interface πολύ πιο απλά.

 

abstract class kai interface kamia diafora an den se niazei melontika na kaneis implement panw apo ena

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

    • [Share]korean protocol 606 new lobby collection   kr 606 new lobby assassin     kr 606 new lobby bartz       kr 606 new lobby basic       Instructions: Place the files into the 'Video' folder within your game client. (Remember to create backups of your files before replacing them.)   Supported game protocols: 110,140,152,166,196,228,235,245,272,286,306,311,338,362,388,390,393,395,413,414,415,417,418,419,422, 424,425,426,430,437,438,439,444,446,447,449,450,458,459,460,462,464,465,470,474,480,481,482,487, 493,495,502,507,509,511,513,516,520   Download link > https://drive.usercontent.google.com/download?id=1hZy-CcerRDy49gC0VWN_1jxPyHAcd0SU&export <  7zip compression; password  RED-TEAM-REVERSECODE             
    • GRAND OPENING TODAY! 30/10/2026, FRIDAY, 20:00 +3 GMT 
    • Hey everyone! Just a quick update from the WARFRONT team. After months of development, testing and plenty of changes based on player feedback, we're finally opening tomorrow, 30 October at 18:00 UTC. For anyone who hasn't heard about the project, WARFRONT is a heavily customised Interlude GvE server focused on Angels vs Demons faction PvP. The main difference is our battlefield system. Instead of fighting endlessly over random kills, factions capture Outposts, unlock the Main Outpost and eventually push into enemy territory to destroy the opposing Headquarters. We've also spent a considerable amount of time working on class balance, progression, faction balancing and giving traditionally overlooked classes a useful role in PvP. Some of the main features: Level 80 start with free B Grade equipment Rotating faction battlefields with objectives 31 rebalanced classes Daily faction siege Grand Boss faction events Chaos, TvT, CTF, Deathmatch and King of the Hill Gear Battle XP and character progression Free and Premium Battle Pass Custom faction balancing and mercenary system We had 110 participants during Closed Beta and made numerous improvements following their feedback. If you enjoy Interlude faction PvP, feel free to give us a try. Grand Opening: Friday, 30 October 2026 at 18:00 UTC Website: https://l2warfront.com/ See you tomorrow!
    • OPEN BETA STARTS ON FRIDAY, OCTOBER 30, AT 18:00 EASTERN EUROPEAN TIME - don't forget to join!
    • 🤝 Team and agency packs available: Bulk discounts across ChatGPT Plus, Claude Pro, and YouTube Premium subscriptions.     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..