Jump to content

Recommended Posts

Posted (edited)

Hello everyone

 

As the title implies I'm selling the source code for https://maxcheaters.com/topic/222457-l2j-l2-battle-royale/

 

The project ran for a week without any technical problems but failed as expected due to low demand.

 

I did get many messages during and after the development to sell it but I rejected them. I now feel comfortable to sell it.

 

Just a disclaimer. The pack is a stripped out version of a gameserver and it contains no functionality other than the game engine and the relevant features. Everything else has been removed to enhance performance.

 

The only reason you might wanna buy this pack is to extract it's features and use them for your own server.

 

What's in the pack?

 

The Tesla event engine

 

The Tesla event engine was made to be a modular and easy to work with event engine to house the battle royale gameplay.

However, it is not a battle royale specific engine and it is a general purpose event engine that you can use for any type of event.

 

The engine is designed to work with a queue system which full-fills a supply and demand relationship between users and events. If there are enough users that wanna play the event then they can. It supports multiple queues and multiple team size types like solo, duo or squads where people make parties in order to play together. It is insanely easy to create a game and add a queue for it.

 

Each game is fully instanced which makes maps reusable. The GMs have a special control panel to teleport to those instances and see the games.

 

The games themselves are made with the idea of game stages in mind.

Each game consists of at least 4 game stages.

 

  • TeleportIntoLobbyStage
  • StartGameStage
  • n number of other stages here
  • GameEndStage

 

All you need to do to create a new event is to extend a class and write some minimum code. Then just add the logic you want in the stages themselves. That way you keep your Game classes lean and you have isolated reusable logic.

 

Here is what the 10-man Duo event class looks like for L2BattleRoyale

 

package net.sf.l2j.battleroyale.games;

import net.sf.l2j.battleroyale.GameCircle;
import net.sf.l2j.battleroyale.GameType;
import net.sf.l2j.battleroyale.GameUtils;
import net.sf.l2j.battleroyale.annotations.GameInfo;
import net.sf.l2j.battleroyale.gamestages.CircleStage;
import net.sf.l2j.battleroyale.gamestages.GameEndStage;
import net.sf.l2j.battleroyale.gamestages.StartGameStage;
import net.sf.l2j.battleroyale.gamestages.TeleportIntoLobbyStage;
import net.sf.l2j.gameserver.model.location.Location;

import static net.sf.l2j.battleroyale.GameUtils.getCircleInsideCircle;

@GameInfo(gameName = "10-Man Duo", codeName = "tenmanduo", mapName = "Gludio Town", minimumPlayers = 4, maximumPlayers = 10, teamSize = 2, gameType = GameType.Duo)
public class BattleRoyaleTenManDuo extends TeamGame {

    public BattleRoyaleTenManDuo() {
        super();

        Location center = new Location(-14225, 123540, -3121);
        GameCircle firstBlue = new GameCircle(3000, center);
        GameCircle firstWhite = getCircleInsideCircle(firstBlue, 2000);
        GameCircle secondWhite = getCircleInsideCircle(firstWhite, 1500);
        GameCircle thirdWhite = getCircleInsideCircle(secondWhite, 1000);
        GameCircle fourthWhite = getCircleInsideCircle(thirdWhite, 200);
        GameCircle fifthWhite = getCircleInsideCircle(fourthWhite, 10);

        super.addStage(new TeleportIntoLobbyStage(this, 15));
        super.addStage(new StartGameStage(this, 10));
        super.addStage(new CircleStage(this, 120, firstBlue, firstWhite, 2, 2));
        super.addStage(new CircleStage(this, 90, firstWhite, secondWhite, 3, 3));
        super.addStage(new CircleStage(this, 90, secondWhite, thirdWhite, 4,4));
        super.addStage(new CircleStage(this, 60, thirdWhite, fourthWhite, 6, 5));
        super.addStage(new CircleStage(this, 60, fourthWhite, fifthWhite, 8, 6));
        super.addStage(new GameEndStage(this, 10));
    }
	
    @Override
    public int getAdenaPerKill() {
        return 110;
    }

    @Override
    protected int getAdenaOnWin() {
        return 200;
    }
}

 

As you can see, it's pretty clean, to the point where it could be extracted to an XML file pointing to the staging classes (but i didn't have the time to implement that).

 

The game stages themselves have only 3 methods you need to implement. 

 

  • onStart - is called when the stage starts
  • onUpdate - is called every second you are in this stage
  • onTeardown - is called when the stage ends

 

The dressing room engine

 

The dressing room is your typical dress me system.

It's on the community board and it supports buying and dressing up from the community board itself.

 

The skins are dynamically sorted into categories which you specify and it also has dynamic pagination to make navigation easy.

Here is what the skins.xml looks like.

 

<skin itemId="8557" adena="25000" rarity="Accessory"/>
<skin itemId="8558" adena="25000" rarity="Accessory"/>
<skin itemId="8560" adena="25000" rarity="Accessory"/>
<skin itemId="8561" adena="25000" rarity="Accessory"/>
<skin itemId="8562" adena="25000" rarity="Accessory"/>
<skin itemId="8563" adena="25000" rarity="Accessory"/>

 

The title engine

 

The title engine is another community board feature. It basically awards titles when a requirement is met.

Here is what the titles.xml file looks like.

<title id="28" text="The Dragonborn" description="Own the Draconic Set." color="F63C00" requirementChecker="ownDraconicSet" category="Skins" order="28"/>
<title id="29" text="The Imperial" description="Own the Imperial Set." color="FFED58" requirementChecker="ownImperialSet" category="Skins" order="29"/>
<title id="30" text="The Arcane" description="Own the Major Arcana Set." color="FFFAD3" requirementChecker="ownArcanaSet" category="Skins" order="30"/>
<title id="31" text="Classy" description="Own the Formal Wear." color="86A49E" requirementChecker="ownFormalWear" category="Skins" order="31"/>

The  requirementChecker value is pointing to a method which is implemented with the logic that checks this specific requirement.

 

Other minor features include

  • Microbalance engine
  • Season system
  • Properly working API based individual vote reward

 

More info for the server can be found on the server's topic.

 

We can talk about the price in private.

A server to test anything you need will be provided on demand.

Edited by .Elfocrash
  • Like 1
  • SweeTs locked this topic
Guest
This topic is now closed to further replies.


  • Posts

    • ## [1.5.5] - 2026-02-02   ### ✨ New Features - **Discord Login**: You can now sign in with your Discord account. Admins enable and configure Discord login in **cpadmin → Users** (Discord auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum, Google, or legacy), signing in with Discord links to that account so you keep one profile. Discord login is available on Add Server, My Servers, Vote page, and Premium Ads booking. - **Setup Links**: In **cpadmin → Users**, both Google and Discord login settings now include direct links to their official developer portals (Google Cloud Console and Discord Developer Portal) for easier OAuth app setup.   ### 🔒 Security - **Email Required for Registration**: New user registration via OAuth (Forum, Google, Discord) now requires a valid email address. If the OAuth provider doesn't provide an email (e.g. unverified Discord email), registration is rejected with a clear message. This prevents anonymous accounts and ensures all users can receive important notifications.   ### 🔄 Improvements - **User Auth Badges**: In **cpadmin → Users**, the Registered Members table now shows auth method badges: **Forum**, **Google**, **Discord**, or **Legacy**. Users can have multiple badges if they've linked multiple login methods. - **Server Info Labels**: Translated server info labels (Owner Name, Language, Server Location) are now properly localized in all 5 languages (English, Spanish, Portuguese, Greek, Russian).   ---   ## [1.5.4] - 2026-02-01   ### ✨ New Features - **Google Login**: You can now sign in with your Google account. Admins enable and configure Google login in **cpadmin → Users** (Google auth settings: Client ID, Client Secret, Redirect URI). If you already have an account with the same email (e.g. forum or legacy), signing in with Google links to that account so you keep one profile. The login menu (navbar and login prompts) offers **Login with Forum Account**, **Login with Google** (when enabled), and **Create Forum Account**. Google login is available on Add Server, My Servers, Profile Settings, Vote page, and Premium Ads booking. - **Ban/Unban Members**: In **cpadmin → Users**, admins can ban or unban registered members. Banned users see a full-page message: "Sorry, you are banned from using this site." When a user is banned, all their servers are set to inactive. - **Moderator Activity Log**: **cpadmin → Moderators** now records when a moderator or admin enters the CPAdmin panel (e.g. "Moderator X entered CPAdmin panel at &lt;time&gt;") and when they change any cpadmin settings (only write actions are logged; read-only use is not). - **Clear Moderator Logs**: Admins can clear all moderator activity log entries via a **Clear logs** button with confirmation. Logs are shown at 100 per page with pagination. - **Filter by Moderator**: In the Moderator Activity Log, a **Filter by moderator** dropdown lets you view activity for a specific moderator or "All moderators." - **cpadmin → Users Tab**: New **Users** tab in the admin panel with Registered Members list (paginated), Google auth settings card, and per-user Ban/Unban and server links.   ### 🔄 Improvements - **cpadmin → Servers**: Each server name in the servers table is now clickable and opens that server’s info page. - **cpadmin → Users – Servers column**: The servers count/list is clickable and opens a small modal listing that user’s servers; each server name in the modal links to the server info page. - **cpadmin → Users – Search**: A search bar above the Registered Members table lets you search by **username**, **email**, or **server name**. Results are filtered on the server (paginated); clearing the search resets the list. - **Moderator Activity Log**: Pagination shows "Showing X–Y of Z" and "Page N of M" with Previous/Next when there are more than 100 entries. - **Login UI**: Login options (Forum, Google, Create account) are shown in a consistent dropdown and in modals (Add Server, My Servers, Vote, Premium Ads) for a clearer sign-in experience. - **Vote Page – Unauthenticated**: When you must log in to vote, the page now shows "Vote for [Server Name]" as the main heading and presents login options in a compact section.   ---   ## [1.5.3] - 2026-01-30   ### ✨ New Features - **File Logs in Admin Panel**: Admins can now view CodeIgniter PHP logs (api/writable/logs) directly in **cpadmin → Logs**. Select a date to view the log file, refresh to reload, or delete all log files to free up space.   ### 🔄 Improvements - **Cache System**: Full cache audit and improvements — when you clear cache in cpadmin, both backend and frontend caches are cleared. Server listings, My Servers, pricing, ad config, and chronicles all refresh with fresh data. New paid servers now appear in listings and My Servers immediately. - **Admin Panel – Server Rates**: Server rates in the admin servers table now display in compact format (e.g. x10000 → x10k, x100000 → x100k, x1000000 → x1m) for easier scanning. Hover to see the full value.
    • WTB High Five source running on Salvation/Fafurion client
    • MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
    • Hello, i am selling a project that was going to open but at the end i have not the time to do it Its a c4 server ( scripts) with all the c5 changes played from Interlude Client    the server is 1:1 copy of the legendary 2007 L2Revenge server with some bits like events and some more sync stuff There is a lot of retail fixes included  , extender is vanganth and has a lot of mods but mostly fixes on the retail stuff.   Test server is available through discord , i offer client/patch/server/sources The price is 300 Euro and for testing the server you have to pm me at discord banshee1019 , dont really wanna let anybody log because some people are "bad"   Once you buy you also have free support for 1 year , that doesnt mean i will code all your ideas but support you if something comes up , and guide you to do simple edits
  • 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..