Jump to content

Recommended Posts

Posted
18 minutes ago, An4rchy said:

Idk where you read this, we're not in 2006 btw.

Well is not the fastest language in the world. Except some spots like object creation which is faster than C++ in other stuff it slow and has big memory consume. 

I know since '2006' java made a huge process but still its not like it can be super super fast.

Posted
17 minutes ago, tazerman2 said:

1.4 mass heal if healer is 2 bad code.. i know heal give 2.1k heal if pt have 3 healers? give 800 hp ?

all party match is die. and dont forget l2 no have only heal's you can fix debuff. stun, silence, fear

all this.

 

Generally the code he "shared".. god call it code anyway.. it's really bad in term's of gameplay. Why would you split the heal in half 

nobody would add 2 or more bishops. Simply cause its a waste (if heal is splitted / size) and because bishops are easy target to die from daggers e.t.c 

Posted
3 minutes ago, Evie Frye said:

Well is not the fastest language in the world. Except some spots like object creation which is faster than C++ in other stuff it slow and has big memory consume. 

I know since '2006' java made a huge process but still its not like it can be super super fast.

 

Performance wise C++ and Java are currently very close. The reason you see C++ being used more by big companies is because their engines/software is written in C++ since years (maybe even before Java was being used) and the most important is that you have the ability to manage your memory in C++. On top of that, C++ is more flexible and you can do many things that you can't in Java. On the other hand C++ is more complicated and will not allow users (like the topic's author) that have no knowledge of how things work to write code like the above.

 

Nowadays the difference in performance of the 2 languages is minimal and barely noticable, if you ask me.

Posted
1 minute ago, An4rchy said:

 

Performance wise C++ and Java are currently very close. The reason you see C++ being used more by big companies is because their engines/software is written in C++ since years (maybe even before Java was being used) and the most important is that you have the ability to manage your memory in C++. On top of that, C++ is more flexible and you can do many things that you can't in Java. On the other hand C++ is more complicated and will not allow users (like the topic's author) that have no knowledge of how things work to write code like the above.

 

Nowadays the difference in performance of the 2 languages is minimal and barely noticable, if you ask me.

 

Yeap obviously since hardware is upgraded. Back in 2001 with single core and 512 RAM it was noticable in seconds (not even ms).

And i agree with you difference between C++ and J is small both obj oriented and syntax simillary too (even tho it was an example) still java is heavier (in term of memory). Although i love java as many for the garbage collector, the fact that it does not have memory leaks. In my opinion is the fastest language in creating objects. you can run a loop creating 100.000 objects and it will take average 0.1 second. 

Posted
52 minutes ago, tazerman2 said:

1.4 mass heal if healer is 2 bad code.. i know heal give 2.1k heal if pt have 3 healers? give 800 hp ?

all party match is die. and dont forget l2 no have only heal's you can fix debuff. stun, silence, fear

all this.

 

34 minutes ago, Evie Frye said:

Why would you split the heal in half 

nobody would add 2 or more bishops. Simply cause its a waste (if heal is splitted / size) and because bishops are easy target to die from daggers e.t.c 

 

probably try to make parties being equal in terms of healing, or prevent a player to carry 3-4 bps bots for autoheals on an area for pvp ,but still this way makes it worse than better at all,and like tazer said it's more than healing,and by this logic, tanks should also decrease their def if there are 2 or mroe in the pt, wich makes non sense at all. For example having 2 tanks alrdy in pt you miss the dmg so it's pretty much the same,no need for such change.

  • Upvote 1
Posted
11 hours ago, Evie Frye said:

 

Yeap obviously since hardware is upgraded. Back in 2001 with single core and 512 RAM it was noticable in seconds (not even ms).

And i agree with you difference between C++ and J is small both obj oriented and syntax simillary too (even tho it was an example) still java is heavier (in term of memory). Although i love java as many for the garbage collector, the fact that it does not have memory leaks. In my opinion is the fastest language in creating objects. you can run a loop creating 100.000 objects and it will take average 0.1 second. 

 

Your knowledge is minimal, so you better keep your opinion for your self because you talk about things you don't understand 

Posted
11 hours ago, An4rchy said:

 

Performance wise C++ and Java are currently very close. The reason you see C++ being used more by big companies is because their engines/software is written in C++ since years (maybe even before Java was being used) and the most important is that you have the ability to manage your memory in C++. On top of that, C++ is more flexible and you can do many things that you can't in Java. On the other hand C++ is more complicated and will not allow users (like the topic's author) that have no knowledge of how things work to write code like the above.

 

Nowadays the difference in performance of the 2 languages is minimal and barely noticable, if you ask me.

 

Not true, if you want to be fast with c++ you can use C libraries and do stuff with the highest efficiency and speed possible in cost of developing time, this alone sets Java miles behind c++ in terms of speed. 

 

Never forget that Java has overhead that can never be avoided, like exception handling, fake generics, virtual machine and generally lots of layers of code for it's semantics, security and memory management under the hood. Of course everything of the above vmcan be avoided in c++

Posted
3 hours ago, xxdem said:

 

Your knowledge is minimal, so you better keep your opinion for your self because you talk about things you don't understand 

 

Which one is invalid from the stuff i've said? The fact that VM uses more memory? Its not true that it uses minimum 8 byte per ob ?

Posted

C++ doesn't have memory leaks if you know what you are doing, Java pre-allocates memory during VM initialization so thats why the "C++ vs Java" benchmarks you saw say that object initialization is much faster in java (The memory allocation happened beforehand and it just stays there even if you don't use it). C++ objects are raw memory blocks that are given by the OS on the run and that costs (nothing can be faster than that) whereas Java objects are not since there are lots of layers bellow them that simply call the preallocated memory block.

 

Anyway Im not going to discuss more about it, lots of what you said is untrue and amateurish

Posted
1 hour ago, xxdem said:

C++ doesn't have memory leaks if you know what you are doing, Java pre-allocates memory during VM initialization so thats why the "C++ vs Java" benchmarks you saw say that object initialization is much faster in java (The memory allocation happened beforehand and it just stays there even if you don't use it). C++ objects are raw memory blocks that are given by the OS on the run and that costs (nothing can be faster than that) whereas Java objects are not since there are lots of layers bellow them that simply call the preallocated memory block.

 

Anyway Im not going to discuss more about it, lots of what you said is untrue and amateurish

 

I didn't say the opposite of what you said. I said Java uses more allocated memory and is faster in object creating and u say the same with the difference that you describe the procedure (of allocation). Also u don't need to see berchmarks. Just a simple loop and print is enough to see the respond in nanoseconds. But whatever don't discuss. If disqussion for you mean 1 side conversation then write down stuff and read them all your self. You act as if i disagree or anything.

Posted (edited)
7 hours ago, xxdem said:

The memory allocation happened beforehand and it just stays there even if you don't use it

 

Large engines written on C++ (talking about game engines mainly because that's what I'm studying) actually have memory management systems which do that exact thing. One of my coursework specifications is to actually make a memory management system for a game engine we are writing that allocates memory when the engine starts and allocates more (if needed) while the engine is running.

 

To be honest, I've only just started working with C++ (first and second year at uni we used Java) so I wouldn't be the one to compare it with Java performance wise. However the statement I made is based on things I've read. Most comparison articles clearly say that you can't directly compare the languages since their performance differs based on what part of the language you're talking about.

Edited by An4rchy
  • 2 years later...
Posted

can anyone help me how to make maximum 2 healers/titan in party ?? 

 

 

i added this to requestjoinparty

 

            if (target.getClassId().getId() == 113 ) 
                {
                    requestor.sendMessage("Maximum 2 titans are allowed in party !");
                    return;
                }
but when i have party with 2 duelist for example and i try to invite 1 titan i can't ..

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

    • State-of-the-art сryptocurrency mixer 💰 Our service does not "mix transactions," but immediately issues CLEAN cryptocurrency with low AML. The principle is simple: you give us your coins, we return our clean coins to you, without any traces or unnecessary procedures. ✔ Complete confidentiality. No "pseudo-mixers" — at the exit, a transaction without traces. ✔ Flexible commission. From 2% to 6%, depending on the destination and amount. ✔ Popular currencies: LTC, BTC, ETH, USDT, BNB, XRP, XMR, TRX. Others available upon request.   ✔ Ready accounts ✔   Business accounts ✅ Account Qonto Business 🗂️ 2 in stock ✅ Account Finom Business 🗂️ 1 in stock ✅ Account PayPal Business 🗂️ 1 in stock ✅ Account Wallester Business 🗂️ 1 in stock ✅ Account Stripe Business 🗂️ 1 in stock ✅ Account Wittix Business 🗂️ 2 in stock ✅ Account Ebay com Seller US|EU, new 🗂️ 2 in stock ✅ Account Blackcatcard Business 🗂️ 2 in stock ✅ Account Mistertango Business 🗂️ 1 in stock ✅ Account Payset Business 🗂️ 1 in stock ✅ Account Wise Business 🗂️ 1 in stock ✅ Account Revolut Business 🗂️ 2 in stock   Payments-system / Crypto-Exchange ✅ Account AlchemyPay 🗂️ 1 in stock ✅ Account Astropay 🗂️ 1 in stock ✅ Account 4x4 io 🗂️ 1 in stock ✅ Account Bunq 🗂️ 2 in stock ✅ Account Bilderlings 🗂️ 1 in stock ✅ Account BitPay 🗂️ 1 in stock ✅ Account Bitinvestor / swapped 🗂️ 1 in stock ✅ Account Bitmex 🗂️ 1 in stock ✅ Account Bitsa 🗂️ 3 in stock ✅ Account Blackcatcard 🗂️ 1 in stock ✅ Account Btcdirect 🗂️ 1 in stock ✅ Account BBVA 🗂️ 1 in stock ✅ Account Binance 🗂️ 2 in stock ✅ Account Bitget 🗂️ 1 in stock ✅ Account Blackwell Global 🗂️ 1 in stock ✅ Account Brighty app 🗂️ 4 in stock ✅ Account Bankera 🗂️ 1 in stock ✅ Account Coinbase card 🗂️ 1 in stock ✅ Account Coinfinity 🗂️ 1 in stock ✅ Account Capitalist 🗂️ 2 in stock ✅ Account CoinW 🗂️ 1 in stock ✅ Account Coinmetro 🗂️ 1 in stock ✅ Account Coinpayments 🗂️ 1 in stock ✅ Account Cryptomus 🗂️ 1 in stock ✅ Account Curve 🗂️ 3 in stock ✅ Account Cryptopay 🗂️ 1 in stock ✅ Account Egera 🗂️ 1 in stock ✅ Account e PN 🗂️ 1 in stock ✅ Account FasterPay 🗂️ 1 in stock ✅ Account Finci 🗂️ 1 in stock ✅ Account fillit eu 🗂️ 1 in stock ✅ Account Gate 🗂️ 3 in stock ✅ Account Grey 🗂️ 1 in stock ✅ Account HTX (Huobi) 🗂️ 1 in stock ✅ Account IN1 🗂️ 1 in stock ✅ Account Imagenpay 🗂️ 1 in stock ✅ Account ICard 🗂️ 1 in stock ✅ Account IPRoyal 🗂️ 1 in stock ✅ Account Kraken 🗂️ 3 in stock ✅ Account Kucoin 🗂️ 1 in stock ✅ Account Kauri Finance 🗂️ 1 in stock ✅ Account Kriptomat 🗂️ 1 in stock ✅ Account Luno 🗂️ 1 in stock ✅ Account LuxonPay 🗂️ 1 in stock ✅ Account MEXC 🗂️ 1 in stock ✅ Account MyBrocard 🗂️ 1 in stock ✅ Account Moonpay 🗂️ 2 in stock ✅ Account Monzo 🗂️ 1 in stock ✅ Account moneyjar world 🗂️ 1 in stock ✅ Account Naga Pay 🗂️ 1 in stock ✅ Account Nash 🗂️ 1 in stock ✅ Account Nebeus 🗂️ 1 in stock ✅ Account Nexo 🗂️ 1 in stock ✅ Account Nearpay 🗂️ 2 in stock ✅ Account Neteller 🗂️ 1 in stock ✅ Account N26 🗂️ 1 in stock ✅ Account OKX 🗂️ 1 in stock ✅ Account PayDo 🗂️ 1 in stock ✅ Account Paypal 🗂️ 3 in stock ✅ Account Paysera 🗂️ 1 in stock ✅ Account PST 🗂️ 1 in stock ✅ Account Paybis 🗂️ 1 in stock ✅ Account Payoneer 🗂️ 1 in stock ✅ Account Paysafecard 🗂️ 2 in stock ✅ Account Paytend 🗂️ 1 in stock ✅ Account Quppy 🗂️ 1 in stock ✅ Account RedotPay 🗂️ 1 in stock ✅ Account Ramp 🗂️ 1 in stock ✅ Account Revolut 🗂️ 1 in stock ✅ Account Santander 🗂️ 1 in stock ✅ Account Spendl 🗂️ 1 in stock ✅ Account Skrill 🗂️ 1 in stock ✅ Account Swapin 🗂️ 3 in stock ✅ Account Trustee Plus 🗂️ 1 in stock ✅ Account Valora 🗂️ 1 in stock ✅ Account Volet 🗂️ 1 in stock ✅ Account W1TTY 🗂️ 1 in stock ✅ Account Wallet Telegram 🗂️ 1 in stock ✅ Account Weststein 🗂️ 1 in stock ✅ Account Wirex 🗂️ 1 in stock ✅ Account Wise 🗂️ 4 in stock ✅ Account Whitebit 🗂️ 1 in stock ✅ Account Wittix 🗂️ 1 in stock ✅ Account XGo 🗂️ 1 in stock
    • Boss is not working on HF, because npcgrt is formatted for Interluder
    • Good luck with your project!
    • Hola Fissban , che queria preguntarte algo estoy tratando de hacer que el testserver ande pro que cuando logeo y voy a elejir el servidor no aparece y he estado con la ia incluso buscando que puede ser pero no e logrado decifrarlo me darias una mano o alguien ?  
    • The Return of L2Elixir – A Legacy Reborn in 2025 Read more features: https://l2elixir.org/features/ It’s time to relive the magic. Many of you remember L2Elixir, first launched in 2008 – a server that brought players together, created friendships, rivalries, and unforgettable memories. For two+ incredible years, until its closure in 2010, Elixir was more than just a server… it was home. In 2018, a fake project borrowed the name and damaged that legacy, but the true memories of L2Elixir never died. Today, in 2025, we are proud to announce that a new dedicated team has taken up the mantle to bring L2Elixir back to life – with respect for the past and a fresh vision for the future.   What to Expect We’re not here to be “just another server.” Our mission is to bring back nostalgia with innovation, offering a unique progression experience: Interlude-Like start, capturing that classic old-school feeling. A natural evolution into Gracia Final. Followed by Gracia Epilogue, keeping the journey alive without losing balance. This is not a copy-paste server – it’s a carefully crafted world designed to honor the spirit of Lineage II while introducing fresh ideas to keep the gameplay alive and rewarding. Why L2Elixir? A balanced environment where community comes first. A project built with passion, not profit. A server that values longevity, fairness, and nostalgia.   📅 Launch Date & Details Closed Beta: Online. Open Beta & Rewards: November 15 & 21:00 UTC +2 Launch: November 28 & 21:00 UTC +2   🔗 Join the Community Be part of history once again. Follow our Discord, join the discussion, and prepare to step back into the world where legends were made.   https://l2elixir.org/ https://discord.gg/5ydPHvhbxs L2Elixir 2025 – Honoring the Past. Building the Future.
  • 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