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

    • buenas no puedo poner el server On para que entren mis amigos   LoginServer # ================================================= # Settings authorization server # ================================================= # Host and port for client connections LoginserverHostname = 127.0.0.1 LoginserverPort = 2106 # Host and port for game servers LoginHost = 192.168.100.25 ( mi Ip interna) LoginPort = 9014     GameServer   # =============================== # Network Configuration Server  # # =============================== # IP which Bind Game server, * - all possible GameserverHostname = * GameserverPort = 7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname = 186.158.144.71 ( Ip externa ovbio) # This is transmitted to the client from the same network, so it has to be a local IP or resolvable host name InternalHostname = 192.168.100.25 # AdvIpSystem Make more GameServerIDs. Every Ip should be Protected by a DDoS Guard. # Your Server will have Success with this system Online. AdvIPSystem = False # Address \ port LS LoginPort = 9014 LoginHost = 192.168.100.25 LoginUseCrypt = true # How to request ID of LS RequestServerID = 4 # Permission to take a different id, if requested busy AcceptAlternateID = False     en que estaria fallando ?    
    • mporeis na valeis l2jaCis i kapoio etimo project  free sources gia aCis edw https://acis.i-live.eu/index.php?topic=1974.0 server install ktl edw https://acis.i-live.eu/index.php?topic=10190.0 an dn vgaleis akrh steile mou discord margazeas2
    • 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.
  • 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..