Jump to content

Recommended Posts

Posted

Hi.

 

I always wanted to learn how to write my own codes, and I am surprised about how many people were able to learn it within a few years. I'm just wondering what methods you have used to learn java. I searched the web for code analyzers to see if I can upload a code that will be explained line-by-line, but to no avail. So, except if there is such a source and I just miss it, then there has to be another way.

 

Applying already made codes doesn't really help to widen coding knowledge. I've applied thousands of patches but I'm not able to write one. So, I've come to the conclusion that there was another trick for all those MaxCheaters gamers out there suddenly mastering java language within a few months / years.

 

So, tell me, what methods did you use and what would you recommend for me?

 

Thank you.

Posted

Mainly you have to understand how programming works. Then try to create things on your own, thats the best practice i believe.

Posted

Define mastery...?

 

I haven't coded in Java, but I am pretty comfortable looking at code and saying what it does. I learned programming on MATLAB.

 

Certain operators/functions do things. You can write your own functions to do things. It's obviously more efficient to use existing functions to keep the code tidy, ease troubleshooting, etc, if possible.

A lot of systems that you'd require to make are typically driven by logic. If your logic comprehension is not great, programming will be very tough for you. But that's not difficult to fix, you will see common patterns the more you look at logic related subjects. 

 

Knowing how to code on a programming language really comes down to having the appropriate documentation for the functions and operators. Then it's just google. 

When you get more experience you become less reliant on documentation.

 

Getting into L2J now would probably be very difficult. Think about it - decade worth of code, L2jserver pulled the documentation. Getting the necessary support would be extremely difficult if you are not familiar with the code.

Posted

I am also new to java you can start with compile tutorials and then watch l2j timeline there are explainations and codes, code your first add an if statement if you fail try again and thats it :)

Posted (edited)

I like to say than L2J is 80% project knowledge and 20% java practice.

 

Java is one of the easiest langage to learn, I learnt it without opening any book and simply applying diff patches and reading the core. The only concepts you have to learn is Object Oriented ones, http://docs.oracle.com/javase/tutorial/java/concepts/

 

About diff patch, it's automatically generated if you use a SVN, so...

 

Basically said, whatever you need, if you need or are lazy to code it and know where to search, you can find a similar code, copy-paste and edit it at will.

 

About Java (in general), you can find numerous tutorials on the internet. For frenchs you got http://java.developpez.com/ for exemple. About L2J there is no secret, you have to explore, know what class does what, and try to reuse as much as possible existing methods (because whatever you need, it's coded 95% of the time).

 

The idea isn't to simply apply diff patches, but read the content of what you apply, transform it to what you want, and experiment different things.

Edited by Tryskell
Posted

Try c++ if you think java is difficult.I never bothered opening a book to learn java.There are far more interesting languages than java.

 

lmao

Posted

So, none used a guide or something?

 

 

I like to say than L2J is 80% project knowledge

 

You mean like which .class and which part of the code is for what? Well, that's what I'm looking for actually.

 

You made a whole pack without mastering java? Wow.

Posted (edited)

I made a Java project mastering pack organization with time. You just need a lot of time. I know exactly where to search if I need something and I know what methods do what.

 

And I repeat, Java is easy. Most problems can be solved Googling it (90% of time). You don't have to busy about collecting dead variables (but still if you can code it well to avoid terrible optimizations it's always better). What is hard on Java is what would be hard on any other langage : CREATE EXACTLY WHAT YOU WANT (and I would add as a personal challenge and aCis motto : USING THE LESS POSSIBLE RESSOURCES).

 

The hard part is taking time to explore, and how you handle YOURSELF your code organization. If you can't organize yourself you can't support big reworks and are limited to little edits.

 

To be a "L2J dev" you need 4 things :

  • a working brain with basic notions of logic
  • CTRL+F from Eclipse
  • Google search (mostly stackoverflow website answers and javadoc)
  • a lot of time to explore the project.

If you read aCis changesets from 0 to latest, you will figure by yourself I learnt in 4 years of coding. Even OOP stuff like inheritance I DISCOVERED IT one day. And by discovered, I really meant I was  ^-^ in front of my computer when I discovered L2PcInstance was a L2Character, which was itself a L2Object and than a method from L2Object could be used on L2PcInstance, or even overriden to handle different behavior.

 

I had logic concept as I code since my 13yo, but that was on BASIC langage which got strictly nothing similar.

 

And you won't learn project organization on any book, nor L2J javadoc which is deprecated most of the time. You have to take your balls, take time and learn by yourself.

 

Or find someone who will teach you. I, personally, took time to create tutorials, correct my helpers quests and say where it was wrong, in order they deliver better written quests (and I got less code to fix). roko91 for example mastered quests rework, he does almost 0 error both coding and quest-related and it helps me a lot :). Obviously quest system is limited to methods from quest, and my own help is limited to my pack and this section of forums for others projects.

Edited by Tryskell
Posted

I made a Java project mastering pack organization with time. You just need a lot of time. I know exactly where to search if I need something and I know what methods do what.

 

And I repeat, Java is easy. Most problems can be solved Googling it (90% of time). You don't have to busy about collecting dead variables (but still if you can code it well to avoid terrible optimizations it's always better). What is hard on Java is what would be hard on any other langage : CREATE EXACTLY WHAT YOU WANT (and I would add as a personal challenge and aCis motto : USING THE LESS POSSIBLE RESSOURCES).

 

The hard part is taking time to explore, and how you handle YOURSELF your code organization. If you can't organize yourself you can't support big reworks and are limited to little edits.

 

To be a "L2J dev" you need 4 things :

  • a working brain with basic notions of logic
  • CTRL+F from Eclipse
  • Google search (mostly stackoverflow website answers and javadoc)
  • a lot of time to explore the project.

If you read aCis changesets from 0 to latest, you will figure by yourself I learnt in 4 years of coding. Even OOP stuff like inheritance I DISCOVERED IT one day. And by discovered, I really meant I was  ^-^ in front of my computer when I discovered L2PcInstance was a L2Character, which was itself a L2Object and than a method from L2Object could be used on L2PcInstance, or even overriden to handle different behavior.

 

I had logic concept as I code since my 13yo, but that was on BASIC langage which got strictly nothing similar.

 

And you won't learn project organization on any book, nor L2J javadoc which is deprecated most of the time. You have to take your balls, take time and learn by yourself.

 

Or find someone who will teach you. I, personally, took time to create tutorials, correct my helpers quests and say where it was wrong, in order they deliver better written quests (and I got less code to fix). roko91 for example mastered quests rework, he does almost 0 error both coding and quest-related and it helps me a lot :). Obviously quest system is limited to methods from quest, and my own help is limited to my pack and this section of forums for others projects.

You said you created tutorials. Can you redirect me? I want to check them out.

 

By the way, thank you for your helpful post.

Posted (edited)

Search for Guides tag on Server Development Discussion, I made for AI system and quests (scripts). You got also SweeTs one regarding zone system.

 

http://acis.i-live.eu/index.php?board=46.0

Edited by Tryskell
Posted

Search for Guides tag on Server Development Discussion, I made for AI system and quests (scripts). You got also SweeTs one regarding zone system.

 

http://acis.i-live.eu/index.php?board=46.0

 

This need rewrite by the new architecture.  :happyforever:

Posted

Hi.

 

I always wanted to learn how to write my own codes, and I am surprised about how many people were able to learn it within a few years. I'm just wondering what methods you have used to learn java. I searched the web for code analyzers to see if I can upload a code that will be explained line-by-line, but to no avail. So, except if there is such a source and I just miss it, then there has to be another way.

 

Applying already made codes doesn't really help to widen coding knowledge. I've applied thousands of patches but I'm not able to write one. So, I've come to the conclusion that there was another trick for all those MaxCheaters gamers out there suddenly mastering java language within a few months / years.

 

So, tell me, what methods did you use and what would you recommend for me?

 

Thank you.

your making to much toughts, words in your mind, that not what acctualy need to be ! more you talk or think less time you have to acctualy make something that will give you knowledge !

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

    • 🚀 IronLock Shield - Closed Beta Update Hello everyone, Since our first announcement, IronLock Shield has received several major protection upgrades. IronLock Shield is a security platform developed specifically for Lineage II Interlude servers, focused on launcher integrity, runtime protection, session security, and anti-bot hardening. Current protection features: ✓ Secure Launcher Architecture ✓ HWID-Based Licensing ✓ Signed Launcher Session System ✓ Gateway Session Verification ✓ Automatic Session Revoke on Critical Detection ✓ Replay Protection with Nonce Validation ✓ Runtime Integrity Verification ✓ Secure Update System Client-side protections: ✓ Anti-Debug Protection ✓ Anti-Dump Protection ✓ DLL Injection Detection ✓ Manual Map Detection ✓ Remote Thread Detection ✓ Runtime Patch Detection ✓ Suspicious Handle Detection ✓ Memory Read / Write Guard ✓ Strict DLL Hash / Allowlist Control ✓ Launcher Self-Protection ✓ Watchdog Protection Bot and automation hardening: ✓ Adrenaline / Memory Reader Hardening ✓ Runtime Decoy Memory Regions ✓ Fake Pointer-Chain / Offset Noise ✓ Per-Build Mutation System ✓ Pointer Scan Disruption ✓ Virtual Keyboard Input Detection ✓ Hookless Virtual Mouse Click Detection ✓ Raw Input Based Mouse Verification Server and gateway security: ✓ Signed Launcher-to-Server Requests ✓ Build ID Binding ✓ HWID Binding ✓ IP / Session Binding ✓ Expired Session Blocking ✓ Revoked Session Blocking ✓ Gateway Runtime Session Checks ✓ Critical Detection Reporting Panel Recent improvements: ✓ Improved protection against memory-reading bots ✓ Added decoy pointer-chain memory traps ✓ Added per-build mutation data ✓ Added stricter process handle policy ✓ Added hookless virtual mouse click detection ✓ Improved watchdog stability to reduce false positives ✓ Improved session revoke logic for critical detections ✓ Updated website and protection feature list IronLock Shield is currently in closed beta. Selected Lineage II Interlude server owners can receive 1 month of free access in exchange for testing and feedback. Website: https://ilshield.com If you are interested, feel free to send me a private message or contact me through Discord. Thank you.
    • Contacts for communication. Telegram https://t.me/a_dvertising_man Telegram short link @a_dvertising_man   Delta Chat https://i.delta.chat/#11D46642C67CF6BDD4BD6430EB8AE99106CC54D7&v=3&i=u1npSLMZpUfcnWi5FGHNBn-1&s=GjBgI7oXKcuCXGl1acvt0tcp&a=p2norrc0e%40nine.testrun.org&n=advertisingman Hello. I participate in "forum deal" in role middleman. Paid services in graphic design,garant service(https link to profile) is provided only from buyer. Please write me in messenger for contact who are you by nationality and in which country you live.   I will not conduct deals with buyers and sellers from Ukraine. I do not cooperate with country Ukraine. If you Ukrainian by nationality or live in Ukraine,ignore this topic. If you other nationality: paid service from garant service buyer pays using own money.   Garant service(https link to profile) provided only from buyer. Buyer provides address guarantor service(https link to profile) or multiple addresses guarantors services. If seller don't like this garant service address(seller may doubt whether he will receive money from this garant service),then buyer offers another address garant service or multiple addresses guarantors services. If neither address seller doesn't like,then buyer is leaving from me.   Buyer deposits full amount to payment details guarantor service, plus my commission(my percent above amount for service in graphic design). In "forum questionnaire" buyer writes: payment details from seller,payment details seller i will send to buyer in advance via messenger.   Paid creation avatar and banner(price depends from complexity work). Paid creation visuals for music releases,for promo art(price depends from complexity work). Original posters using stock images(price depends from complexity work). Design for social media:covers,previews(price depends from complexity work). Other paid services in graphic design(price depends from complexity work).  
  • 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..