Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Source L2jTesla - The Interlude project you shouldn't use


Recommended Posts

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 4
  • Thanks 1
  • Upvote 2
  • Downvote 1

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
35 minutes ago, iTopZ said:

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

I don't need to shut you up. I don't even know you. Like I said, the project is not a live project that you should use. It's just what I will use as a basis for my shares. That's it. Consider it abandoned. It's in the description :) 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
31 minutes ago, GsL said:

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>

[GR] τι να τα κάνω τα ψίχουλα του L2. Για την πλάκα μου το κάνω 

24 minutes 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...

Awwwee, is it hard for you sweetheart? I’m sorry. I don’t have time for people like you mate. Just follow my lead and try to be something better than the skid you are. Have a good one.

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
15 hours ago, Elfocrash said:

I don't need to shut you up. I don't even know you. Like I said, the project is not a live project that you should use. It's just what I will use as a basis for my shares. That's it. Consider it abandoned. It's in the description :) 

So its literally a dev source nothing more. You should clearly state that in your post so people stop complaining.

 

But yeah, nice to see you still contribute to this community. You doing good. Thanks :)

Edited by Ugleethyn

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
2 hours ago, zemaitis said:

So this is essentially acis 382 with autobots?

Yeap. Folks didn’t know where to start with the Autobots code base standalone so I shared it all together with a functional grader setup so they can get started. It also has some other changes like hikari instead of c3p0 which makes db related things way faster. That’s it. Like the title says, you shouldn’t really use it. It’s only here to prevent scammers from adapting Autobots and selling it to kids. They’ll still do it but at least I did as much as I could to give them some guidance.

 

8 hours 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...

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. 

  • Like 1
  • Upvote 2

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.