Jump to content
  • 0

Interlude java error


Question

Posted

anyone know how to fix this?         

        String str = tb.stringValue();

i get it error in interlude mmocore and dont tell learn java or search cause i already did so if you know the answer reply

Recommended Posts

  • 0
Posted

The error is in the server console or in the core?

maybe you can post me a screen ?

 

the error is in recievablepacket.java

 

   protected String readS()

   {

       TextBuilder tb = TextBuilder.newInstance();

       char ch;

       while((ch = getByteBuffer().getChar()) != 0)

           tb.append(ch);

       String str = tb.stringValue();

       TextBuilder.recycle(tb);

       return str;

 

 

the problem is

       String str = tb.stringValue();

  • 0
Posted

try to replace it with that

    protected String readS()
    {
        TextBuilder tb = TextBuilder.newInstance();
        char ch;
        
        while((ch = getByteBuffer().getChar()) != 0)
            tb.append(ch);

        String str = tb.stringValue();
        TextBuilder.recycle(tb);
        return str;
    }

  • 0
Posted

try to replace it with that

    protected String readS()
    {
        TextBuilder tb = TextBuilder.newInstance();
        char ch;
        
        while((ch = getByteBuffer().getChar()) != 0)
            tb.append(ch);

        String str = tb.stringValue();
        TextBuilder.recycle(tb);
        return str;
    }

what? this is exactly the same... and it doesnt work...

  • 0
Posted

 

Gosh, 4shared >_>

 

Anyway, it's as it should be.

It is probably connected with other mmocore packets that cause this error because of a chain reaction.

http://www.maxcheaters.com/forum/index.php?topic=110159.0

Use these. They'll work.

  • 0
Posted

You are not modifying the original string.

 

What happens is that you create a new String object with the expression "n" + str, and you assign that new String object to the variable str. The old String object that str was referring to is discarded.

 

Class String is indeed immutable, which means that the content of a String object cannot be modified after it has been created. But ofcourse you can make variables of type String refer to a different String object.

 

And btw ,

 

String str = Your string.

 

tb ( just see your edit ) = your string has been changed.

 

PS : If you don't understand something , do not hesitate to ask me.

Guest
This topic is now closed to further replies.


  • Posts

    • EspadaWorld Reborn - Lineage 2 High Five Private Server Official Website: https://l2espadaworld.com   GitHub Presentation: https://github.com/worldespada-cloud/EspadaWorld   About EspadaWorld Reborn   EspadaWorld Reborn is a cinematic Lineage 2 High Five private server project built on a customized FandC / L2J-style High Five core. The project is focused on balanced gameplay, PvP competition, PvE progression, custom systems, vote rewards, rankings, protection integration, website features, and long-term stability. EspadaWorld is not a clean stock pack. The server has been extended with custom systems, website integration, vote reward logic, protection-related modules, custom instance content, gameplay improvements, and server-side adjustments. Server Foundation Chronicle: Lineage 2 High Five Base: FandC High Five core, heavily customized Core style: L2J-based server architecture Build system: Apache Ant Java target: Java 25 Database: MySQL Project type: Active development / production server environment Main Features - Custom Lineage 2 High Five server environment - FandC-based core with custom improvements - Custom Community Board systems - Player ranking systems - PvP-focused gameplay logic - PvE progression support - Custom Espada instance and custom gameplay content - Vote reward system with multiple vote website integrations - Unified .getreward command - Website, account, ranking, vote, media, and download integration - Protection module integration - Admin tools and server management systems - Datapack and server packaging scripts Vote Reward System EspadaWorld includes a custom vote reward flow based around the .getreward command. The system verifies votes from all enabled vote websites and gives one unified global reward only after all required votes are confirmed. Current vote integration includes: - iTopZ - HopZone - L2Network - L2JBrasil - L2TopZone - L2Votes Vote system features: - Unified reward after all votes are confirmed - Configurable global reward list - Item amount and chance configuration - Cooldown / reuse protection - HWID / IP-based reward protection - Debug logging for vote verification - Anti-abuse logic for repeated reward claims Protection & Security The project includes protection-related modules and integration points designed to improve server and client-side security. Protection-related areas include: - Runtime protection module integration - Client protection support - Server-side validation systems - Anti-abuse logic around vote rewards and account actions - Configuration-driven security behavior - Release packaging support for protected builds Private protection details, keys, internal configuration, and production security data are not public. Custom Gameplay Content EspadaWorld Reborn includes custom gameplay work designed to give the server its own identity while keeping the Lineage 2 High Five feeling. Examples of custom content and systems: - Custom Espada instance - PvP-oriented systems and zones - PvE progression systems - Ranking and competition systems - Community Board extensions - Custom HTML and datapack content - Gameplay scripts and server-side feature extensions - Vote reward progression Website & Community Platform EspadaWorld also includes a modern web platform connected to the server community. Website features include: - Modern responsive website - Account panel - Download section - Vote section - Ranking pages - Media section - News and information system - Admin-controlled website settings - Theme/template system - SEO optimization - Performance optimization The website has been optimized for speed, accessibility, best practices, and SEO, offering a clean public presentation for the server and community. Useful Links Website: https://l2espadaworld.com   GitHub Presentation: https://github.com/worldespada-cloud/EspadaWorld   EspadaWorld Reborn is a cinematic Lineage 2 High Five private server project built on a customized FandC-based core.     Preserving safety and trust within our community is our priority. Thank you for your understanding and support!   Best regards,VastoLordes. Contact Information :  support@l2espadaworld.com
    • Hi,im looking for "stable" mid rate high five l2j files source included,i prefer not clean files but something already used by another server in the past,if you have something intrested and not shared pm me.
    • Hello, We are currently looking for an experienced Lineage 2 High Five client developer for our project EldoriaWorld. At the moment we need help with: High Five client edits Launcher integration Interface/UI improvements Branding changes Textures/icons/loading screens System modifications Client optimization We already have website, launcher setup and server infrastructure prepared. If interested, please message me with: your experience previous projects/work contact details Contact: Telegram: FrankJan Discord: LosBanannos Regards, Frank EldoriaWorld
    • Hi guys, I am interested. Added you on Telegram. Please reply.
  • 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..