Jump to content

Recommended Posts

Posted

                                                         - L2 SOFTWARE -

 

 

Dear Mxc Community,

 

It took me months to decide publishing my script for Lineage 2. This will probably be the biggest share in any Lineage 2 relevant forum. 

 

I am the rightful owner/writer of this script, part of which was based on a script made by a person i appreciate a lot and without whom i would not be able to share mine today, with you.

 

I will keep his name private for self-explanatory  reasons. Full functionalities of the script can be found down below. 

 

You can find the full script and fork it from my github account for free:

 

 

Spoiler

 

 

 

Regards,

Software

 

 

 

 

 

  1. Functionalities
  2.  1. 6 Class-based customizable Hotkeys to select targets from a list of preselected classes, that are either flagged or belong to a clan with War.
  3.             If Hotkey is pressed again, you change to the 2nd closest target from the desired Classlist, if pressed again to the 3rd and then back to
  4.             1st again providing a variety of targets to choose from, without being restrained to 1-2 targets.
  5.             e.g. "Hotkey 1 assigned: "p"  -- Select closest targets from List 1:{x,y,z,...,t}, where x,y,etc. are the classes you group in the same list.
  6.  
  7.  2. Interrupt Skills casted by enemies with High/Mid/Low priority, using a skill that you select.
  8.  
  9.  3. 1  Hotkey for Auto-targeting ON/OFF. When the current target dies script selects the next closer to you target. 
  10.             If class-based Hotkey is pressed target changes to the desired one.
  11.  
  12.  4. 1  Hotkey for Events ON/OFF. This option is useful for mid/high rate server with events (TvT, Domination,5v5,Treasure Hunt, etc.)
  13.             For pvp in open world (out of events) Events:OFF which is set by default.
  14.  
  15.  5. 1 Hotkey for Blacklist ON/OFF. This is is used when in a mass pvp you wish to focus 1 ally/clan specifically and not hit others. When this mode is ON, 
  16.             you will take targets only classes from this ally/clan, ignoring other wars/flagged around you. Auto-targeting/res-kill are also adjusted for this case,
  17.             when Blacklist ON. (added 17/11/2018)
  18.  
  19.  6.  SkillCast. Assign a hotkey/button to use skills that you select. The skill casting is accelerated as if you were using macros for maximum dps and
    1. will attack any target without having to use CTRL. While hotkey is pressed, you spam the pre-selected skills non stop - after you let the hotkey
    2. button, casting ends. (added 21/1/2019)
  20.                      
  21.  7. 9v9 Mode. In addition to BlackList ON, using a list of character's names which will be "white-listed" (excluded from targeting) regardless of clan, war status,
  22.  flagged or not, will give to the user the ability to 9v9 without picking unwanted targets, but strictly focusing on enemy party. (added 19/11/2018)
  23.  
  24.  8. 1 customizable Hotkey for Auto-assisting ON/OFF
  25.  
  26.  9. Res-kill, with available option of choosing a skill you would like to cast automatically for rez-kill (rush/deathshot/etc.) depending on your class.
  27.             It is needed only in open world pvp, so you need to have Events:OFF. 
  28.  
  29. 10. Dead Main-Assister - even when dead you will be able to select targets using the hotkeys or auto-target, same as if you were alive.
  30.  
  31. 11.  Anti-hate (for pts/off files it ignores hate - for java files when aggression de-buff is off, you take back the target you had before)
  32.  
  33. 12.  Anti-backstab
  34.  
  35. 13. Anti-fear
  36.  
  37. 14. HoldTarget 
  38.  
  39. 15 . Disarm
  40.  
  41. 16. WarCount. It calculates wars within a big distance and prints in party chat the total number of wars around and the number of wars from each clan 
  42.             in detail. Available when Events:OFF.
     

Lastly the script includes many build-in functions for effective targeting. Does not target medused players, players on celestial, etc. (GOD + Chronicles only)

 

The script has gone through countless hours of testing - 0 bugs.

Works in all chronicles of L2 from Interlude to GoD+ and Classic.

                           

 

Posted (edited)

Generally its poorly done, 30 threads with barely any concurrency control or queuing/syncing? lol, it will fail miserably when few threads will meet conditions to execute own actions. Clan names for war detection instead of relation mask. AbnormalID shouldn't be read as integer but bitmask, so all uses will fail when target will have more than 1 debuff. Constant pooling for casting instead of using events (waitaction). Half seems to be copied with exactly same errors from other shares :D

 

Prolly biggest adr script shared here on mxc and many might find it useful as example, but far from "0 bugs" or effective.

 

Edited by AlmostGood
Posted
4 minutes ago, AlmostGood said:

overlay its poorly done, 30 threads with barely any concurrency control or queuing/syncing? lol, it will fail miserably when few threads will meet conditions to execute own actions. Clan names for war detection instead of relation mask. AbnormalID shouldn't be read as integer but bitmask, so all uses will fail when target will have more than 1 debuff. Constant pooling for casting instead of using events (waitaction). Half seems to be copied with exactly same errors from other shares :D

 

Prolly biggest adr script shared here on mxc and many might find it useful as example, but far from "0 bugs" or effective.

 

Thanks for the feedback - any contribution to my github is welcome if you feel like doing so.

  • 1 month later...
  • 6 months later...
  • 4 months later...

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

    • Μάγκες καλησπέρα,   Παίζω Lineage 2 εδώ και χρόνια και πήρα απόφαση ότι θέλω επιτέλους να μάθω πώς δουλεύουν τα πράγματα πίσω από τις κάμερες. Δεν ψάχνομαι ούτε να ανοίξω τον επόμενο μεγάλο x5000 server ούτε να βγάλω λεφτά. Καθαρά από περιέργεια και για μένα θέλω να μάθω πώς στήνεται ένας server από το απόλυτο μηδέν. Το θέμα είναι ότι από development πλευρά είμαι τελείως άσχετος. Ξέρω τη βασική ιδέα, αλλά όταν βλέπω όλα αυτά που πρέπει να μάθω, ψιλοπελαγώνω. Από αυτά που έχω καταλάβει μέχρι στιγμής, πρέπει να μάθω πώς να στήνω το local περιβάλλον στο PC μου με Java, MySQL και κάποιο πρόγραμμα τύπου Navicat για να κουμαντάρω τη βάση δεδομένων. Μετά είναι το κομμάτι του compilation (με IntelliJ ή Eclipse), ή έστω το πώς να δουλεύω με έτοιμα datapacks και gameservers χωρίς να τα διαλύω όλα.   Εκτός από το server-side κομμάτι δηλαδή να αλλάζω stats σε items, να πειράζω spawns από NPCs, formulas για skills και custom μαγαζιά, πρέπει να μάθω και το client-side. Πράγματα όπως το να πειράζω τα .dat αρχεία με το L2FileEdit για να επικοινωνεί σωστά ο server με το παιχνίδι. Και για να είμαι ειλικρινής, το πιο ζόρικο κομμάτι θα είναι να μάθω να διαβάζω εκείνα τα τεράστια error logs όταν κρασάρει ο server, αντί να τα κοιτάω σαν χαζός. Ψάχνω λοιπόν κάποιον που να έχει μια εμπειρία και να γουστάρει να με καθοδηγήσει λίγο σαν μέντορας, ή ακόμα και κάποιον άλλον αρχάριο που θέλει να φάμε τα μούτρα μας παρέα μέχρι να το βρούμε.   Φράγκα δεν παίζουν μιας και το βλέπω καθαρά σαν χόμπι, αλλά έχω άπειρη υπομονή, δεν περιμένω από τον άλλον να κάνει τη δουλειά για μένα και είμαι διατεθειμένος να φάω ώρες για να μάθω. Απλά χρειάζομαι έναν άνθρωπο να ρωτάω μια γνώμη όταν αναπόφευκτα σκαλώνω σε κάποιο config αρχείο.   Αν βαριέστε και θέλετε να βοηθήσετε έναν παλιό παίκτη να μάθει τα βασικά, αφήστε ένα reply ή στείλτε μου PM με το Discord σας. Να 'στε καλά προκαταβολικά για οποιαδήποτε βοήθεια!
    • Hey guys 😃   I’ve been playing Lineage 2 for years, and I’ve finally decided I want to learn how the magic actually happens behind the scenes. I’m not trying to launch the next big x5000 server or make money. I literally just want to learn how to build one from absolute scratch for my own fun and curiosity. The issue is, I’m a total newbie when it comes to the dev side of things. I know the basic idea, but looking at everything I need to learn is getting pretty overwhelming. From what I've gathered so far, I need to figure out how to set up a local environment on my PC using Java, MySQL, and a tool like Navicat just to get the database running. Then there's compiling source code with IntelliJ or Eclipse, or at least figuring out how to work with a pre-compiled data pack and game server without breaking everything.   On top of the server side ike modifying item stats, editing NPC spawns, tweaking skill formulas, and setting up custom shops—I also need to learn the client-side stuff. Things like editing .dat files with L2FileEdit to make sure the server and client actually talk to each other correctly. And honestly, the scariest part is just learning how to read those massive error logs when the server crashes instead of just staring at them blankly.   I'm looking for someone who has some experience and wouldn't mind mentoring me a bit, or even another beginner who wants to team up so we can figure it out together. I can't pay anything since this is just a hobby project, but I’m super patient, I don't expect you to do the work for me, and I’m down to put in the hours to learn. I just need someone I can bounce questions off of when I inevitably mess up a config file.   If you’re bored and want to help a passionate player learn the ropes, drop a reply or shoot me a PM with your Discord. Appreciate any help I can get! ❤️
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • Season IV online in 3 hours 😄
    • Season IV online in 3 hours 😄
  • 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..