Jump to content

Recommended Posts

Posted (edited)

Pretty self explanatory. I was messing around with MFA and TOTP and I thought I would just write one of L2.

It has all the core functionality but feel free to extend it and make the HTMLs better. Maybe Stinky can come up with something awesome.

 

How it works?

  • By default it is disabled
  • Player logs in and presses .mfaon
  • At this point they need to use an authenticator app on their phone such as Google Authenticator
  • For the best UX the user will need to scan the QR code but if that's not possible they can also type the key manually (Not shown in the video)
  • After that they need to put the current code to enable the system
  • Once that's done, any other login, will require them to put the current code
  • You can simply disable it by pressing .mfaoff once logged in

 

L2jTesla is using Gradle so I don't have to manually add any jars. If you're not using Gradle or maven you need to find and add the following libraries:

  • commons-codec, name: commons-codec, version: 1.10
  • com.google.zxing, name: core, version: 3.4.0

  • com.google.zxing, name: javase, version: 3.4.0

 

Video showing the functionality:

 

Code: https://gist.github.com/Elfocrash/c6764432e30193fdc441d55209b4ad11

 

Elfo

Edited by Elfocrash
Posted

I personally do not understand why you constantly post things while you do not support them many times I have seen your customers ask you something and they are ignored What is your purpose to be here.

Posted
1 hour ago, L2Darkangel said:

I personally do not understand why you constantly post things while you do not support them many times I have seen your customers ask you something and they are ignored What is your purpose to be here.

what customers, u got shares for free ...

 

Posted
3 hours ago, Elfocrash said:

Pretty self explanatory. I was messing around with MFA and TOTP and I thought I would just write one of L2.

It has all the core functionality but feel free to extend it and make the HTMLs better. Maybe Stinky can come up with something awesome.

 

How it works?

  • By default it is disabled
  • Player logs in and presses .mfaon
  • At this point they need to use an authenticator app on their phone such as Google Authenticator
  • For the best UX the user will need to scan the QA code but if that's not possible they can also type the key manually (Not shown in the video)
  • After that they need to put the current code to enable the system
  • Once that's done, any other login, will require them to put the current code
  • You can simply disable it by pressing .mfaoff once logged in

 

L2jTesla is using Gradle so I don't have to manually add any jars. If you're not using Gradle or maven you need to find and add the following libraries:

  • commons-codec, name: commons-codec, version: 1.10
  • com.google.zxing, name: core, version: 3.4.0

  • com.google.zxing, name: javase, version: 3.4.0

 

Video showing the functionality:

 

Code: https://gist.github.com/Elfocrash/c6764432e30193fdc441d55209b4ad11

 

Elfo

this could be used for bot protection as well?

or its waste of time , could be bypassed easy ?

Posted
3 minutes ago, GsL said:

this could be used for bot protection as well?

or its waste of time , could be bypassed easy ?


I thought about that. The problem is that the user also knows the secret key, it’s part of the spec, so in theory they can generate the right passcode for a given moment in time.

1 hour ago, L2Darkangel said:

I personally do not understand why you constantly post things while you do not support them many times I have seen your customers ask you something and they are ignored What is your purpose to be here.

To innovate and give food for thought and ideas to people with more time than me

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

    • No complicated KYC, instant setup after purchase!  Boost your connection speed and secure your privacy today!  Official Website: https://novproxy.com?kwd=tt-max
    • I don't know this guy and I don't care about him or the server. What I want to say I already do it. And yes, it does seem like he has some mental problems to make up these stories. 
    • L2JForge Edition Update Revision: V1.0.119  Update: 15 June – 1 July 2026  Fixes & Improvements Fixed PawnShop pagination and inactive Community Board actions. Added thread-safe caching to the PawnShop system. Fixed MMOTopVote vote tracking. Fixed PvP Event participant cleanup. Restored the missing PvP Ranking broadcast. Improved CTF flag handling and zone validation. Added Try Skin / Hat Preview handlers to the Community Board. Improved character skin appearance refreshes without requiring a restart. Improved NPC positioning to reduce train and collision abuse. Fixed Seal of Ruler casting from invalid artifact positions. Added stricter castle artifact, range and height validation. Fixed character restoration stability during Enter World. Reworked Community Board Home, Shop, Bosses and Events sections. Added live Raid/Epic Boss status and respawn information. Added upcoming PvP and GvG event schedules. Integrated character services, settings and statistics into the Community Board. Moved Vote Rewards from a voiced command into the Character Menu in Community Board. Removed the obsolete Achievements / .rewards system.  Removed unused multilingual resources and simplified datapack loading. Improved datapack startup and HTML cache stability. Added automatic build revision and build-date metadata. Reorganized runtime libraries and standardized generated server jars. Refined the Player, Creature, GameClient, Clan and Frintezza systems. Performed extensive source cleanup and reliability improvements. Updated build configuration and repository exclusions.  Work in Progress Development continues with additional gameplay fixes, performance improvements, system cleanup and more upgrades already in progress..
    • this is how i feel about a 1 post acc clearly a friend of the scammers trying to defend it LOL anyways... i wish this wasnt real. i cant make this up.  
    • 𝐈𝐌𝐏𝐑𝐎𝐕𝐄𝐃 𝐂𝐋𝐀𝐒𝐒𝐈𝐂 𝟐.𝟓 - 𝐋𝐈𝐍𝐄𝐀𝐆𝐄 𝐈𝐈 𝐄𝐈𝐍𝐇𝐎𝐕𝐀𝐍𝐓 - Opening Date: 10th July 2026 - Time: 20:00 GMT+3 - Mid Rate x3 - Adena x3 - 100% Drop Rate - Quest Reward Adena x3 - Vitality System - Classic Zaken 2.5 Based - Improved Classic Gameplay - Improved Buff System - No Dual Box - No Pay to Win - 7 Members Party System - Dynamic Stages Progression - Reworked Support Classes - Reworked Skills & New Skills - New Skill Visual Effects - Improved Quests & Better Rewards - Daily Missions & Daily Quests - Weekly Solo Instances - In-Game Wiki with .wiki Command - Olympiad Rework - Castle Siege Improvements - Grand Boss & Raid Boss Progression ⚔ Designed to deliver a competitive, rewarding, and long-term Classic experience without destroying the original Lineage II feeling.   Don't forget to check the in-game wiki and discover all the unique features and gameplay improvements we prepared for you! Website: https://l2einhovant.net/en Discord: https://discord.gg/VfNngPrzaf Instagram: https://www.instagram.com/l2einhovant_classic/ Youtube: https://www.youtube.com/@L2Einhovant TikTok: https://www.tiktok.com/@vedi2300
  • 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..