Jump to content

Recommended Posts

Posted

Long story short, I recently shared the Autobots engine and many people were very quick to message me to help them set it up.

I am not really doing that sort of thing, paid or otherwise and I'm leaving it to the leeches to scam them for shared code.

 

That being said, the biggest issue I had selling Autobots was that I had to adapt it to so many projects.

 

L2jTesla was originally a private project that I've been working on for over a year now.

This public version is a blank slate of the project based on aCis 382. I will slowly start migrating some of the "cool" features of the private Tesla to the public one. The private one is NOT for sale so don't even ask.

 

DO NOT EXPECT ME TO ACTIVELY WORK ON THE PROJECT. I WON'T

 

GitHub repo: https://github.com/Elfocrash/L2jTesla


There is currently nothing special in the project except for:

  • Migrated to Java 14 and also running Kotlin interop
  • shadowJar (Fat jar) compilation
  • Autobots engine
  • bcrypt with an option for SHA1 for backwards compatibility purposes
  • Uses HikariCP instead of c3p0

 

I will be adding more things as I go and every share I do in the future will be added in this single project. This saves me a lot of time cherrypicking code when I share.

 

How to build (Will create a simple video too):

  • Open in Intellij IDEA. Don't use Eclipse, it's not 2011 anymore. Download it here
  • Make sure you have git bash installed and run "git clone https://github.com/Elfocrash/L2jTesla" or simply checkout the repo via the Open dialog in Intellij
  • This is a monorepo so you need to copy the folders in a single repo. You can install SQL via the tools folder as you would do normally
    • config
    • data
    • The contents of "dist"
  • To build the project simply run the "shadowJar" task in the gradle window. It will create a single l2jtesla.jar that you can drop at the top level of the folder you moved the other files to
    image.png.fcfa0aac20c5f495f9a7d603ea725adc.png

 

I might add a single gradle task at some point to automate all this.

 

You can easily run this through Intellij by simple clicking the Run or Debug (if you wanna debug) button in the LoginServer.java or Gameserver.java

image.png.05715c26454ece2d0bd1ee983ed0cbb1.png

 

The code is licensed under GPL v3, not because I wanted it to be but because l2j is GPL v3 and you can't sublicense that. Tk and whoever else is doing sublicensing over GPL v3 is actually breaking open source licensing law.

 

Anyway, that's it.

 

  • Like 5
  • Thanks 1
  • Upvote 2
Posted

Thats the most awkward way to work i've ever seen... so prepare people for unrecoverable errors, elfo will fix 1-2 just so he can shut me up and then "project abandoned" nothing new here just thank him for the half-done work he did and the bugs he shares with you just so he can brag for the kotlin

  • Like 1
  • Sad 1
Posted

Elfo malakizese apo tote p se thimame sto forum :P 

 

pote ta fraga sto mualo .. apla oti s mpei sto kefali to kaneis xd 

 

( no hate )

 

 

<GR>

Posted (edited)

i call it trash and i am not even talking about structure...  what sane person would transfer all l2j classes into another project while its already unstable where it is.... for people info i just installed this bot system... its not worth the time or the project revision is based on, changing revision or for adaption on other projects means you have to know kotlin too, conclusion it was dead from the moment it started on kotlin through gradle with the amazing touch of elfo/kotlin-show-off.

 

PS: l2j was already hard to achieve a "build" for some people and then you go and do this...

Edited by iTopZ
  • Sad 1
Posted
1 hour ago, iTopZ said:

i call it trash and i am not even talking about structure...  what sane person would transfer all l2j classes into another project while its already unstable where it is.... for people info i just installed this bot system... its not worth the time or the project revision is based on, changing revision or for adaption on other projects means you have to know kotlin too, conclusion it was dead from the moment it started on kotlin through gradle with the amazing touch of elfo/kotlin-show-off.

 

PS: l2j was already hard to achieve a "build" for some people and then you go and do this...

not defending anyone here, but if you know java, you know kotlin too. Kotlin is super easy to learn if you already know java. Syntax is like 90% the same... If people can adapt between revisions, Kotlin-> java is almost the same...

Posted
9 minutes ago, HyperBlown said:

not defending anyone here, but if you know java, you know kotlin too. Kotlin is super easy to learn if you already know java. Syntax is like 90% the same... If people can adapt between revisions, Kotlin-> java is almost the same...

true, then add a little delphi, and just on top small parts of c# so it will look like a clown.

  • Haha 1
  • Sad 1
Posted (edited)
44 minutes ago, zemaitis said:

So this is essentially acis 382 with autobots?

what revision of acis was with CPU load 100% and then crash? it was 380+ something :laughing: and movement rework all the bugs until 390 still there good luck.

add to that his changes before 1 year.

Edited by iTopZ
  • Sad 1
Posted
6 hours ago, Elfocrash said:

I mean isn’t syntax isn’t really that similar even though it’s close enough. It’s way more scale than Java. The main reason for using its isn’t to brag. I don’t have anything to prove to anyone. It’s a practical reason. Autobots uses Coroutines instead of the thread pool to function which allows to do delays without locking the thread. You also end up writing significantly less code. 

 You could use also only the coroutines to do those tasks, no?

Posted
6 hours ago, HyperBlown said:

 You could use also only the coroutines to do those tasks, no?

Do you mean threads from the thread pool?

Posted
2 hours ago, Elfocrash said:

Do you mean threads from the thread pool?

Yes, having all main code in java, but sending them to be executed on coroutines instead of thread pool

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

    • Hello! I am new to l2 server creation and i need your help please!!! I want to make my own l2 interlude c6 server with custom thing in it.  I need help with where to start. What source pack to pick to start and what to do. Please if you can help me i would appreciate it very much !!!
    • Need Discord with rare badge? VISIT US AND SHOP WITH US! NEW STOCK   Aged, Early Supporter Discord Accounts I sell HQ Aged and Early, Discord Accounts that are inactive and not flagged by discord at cheap prices   If you want to contact me, you can add me on discord: worldcoldwar Features: Format - age : email : pass : token Not flagged and undetected by discord HQ % With OGE Emails, password etc can be changed Unverified Early Supporter 24M Boost Badge HypeSquad Events Early Verified Bot Developer Early Supporters SHOP LINK: disvault1.mypaylix.gg/ For PayPal payments, please open a ticket. If you experience any problems with cryptocurrency payments, please open a ticket as well.
    • Tired of frantically switching between windows trying to find that specific Warlock who should be casting saves? Forgot which server you left your Warsmith on? This mod solves these problems! What it does: Turns the boring window title into an information panel: Server Name - Character Name [Class] Real-life examples: - ServerName - HardcoreFarm [Spoilerr] (who's been spoiling for 3 months already) - ServerName - ClericHelper [Buffer] (eternal buffer on standby) - ServerName - MainChar [Gladiator] (main character who's always AFK) Why you need this: For multiboxers - to avoid confusing where the DD is and where the healer is For the forgetful - if your memory is like a goldfish For streamers - viewers immediately see who's on screen For adults - when playing at work and need to quickly hide the window DLL only - no Interface files needed Installation (more complicated than making tea): 1. Download the DLL 2. Drop it into the System folder 3. Launch the client 4. Be amazed how you lived without this before!   Purchase Conditions: Price: 100$ Payment Method: USDT. How to Buy: Contact me on Telegram: @kiselevwv for a quick response. I will answer all your questions and provide additional information if needed. I guarantee functionality at the moment of sale and prompt assistance with setup after purchase.    
    • Hello Everyone   Wts adena  L2 REBORN C5 FRANZ x1 50kk stock 😉   Contact Discord :  topseller4081  
    • tratando de crear un GvE tengo problemas con el scripts como no se mucho de esto me estoy ayudando con IA pero no puedo salir de este bache      [06:19:43]  WARN Quest GvE_AI not found! [06:19:45]  WARN Quest GvE_AI not found! [06:19:50]  WARN Quest GvE_AI not found! [06:25:51]  WARN Quest GvE_AI not found!
  • 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..