Jump to content

[SOLVED][1.12.2] The received string length is longer than maximum allowed 29 > 20


Recommended Posts

Posted (edited)

So I made a small collection of mods to play with a friend of mine. I set up a forge server and everything's fine until i try to join the game. As the title says, I'm getting a "The received string length is longer than maximum allowed 29 > 20" error. I am using the latest forge 2847 on both client and server.

I've already done loads of research but it always lead to bukkit/spigot related bugs.

Here's my mods list:

  Reveal hidden contents

 

Client error log:

  Reveal hidden contents

Server login log:

  Reveal hidden contents

 

If you need any other info tell me. I also use some client side mods like Optifine, journeymap, betterfoliage, sound filter, mo' bends and wawla

 

EDIT:  it looks like i cant upload the debug.log, it gives a -200 error 

Edited by AlexCreeper25
included more info
Posted

Please provide debug.log from both client and server using one of the sites listed in my signature below

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

  • 2 weeks later...
  • 6 months later...
Posted

i have the same error massage too it says string length longer than maximum allowed (24 > 20)

here are my mods 

Age of Weapons  XxRexRaptorxXAge of Weapons 1.12.2 (v.0.13.5).jar

Baubles  Azanor13Baubles-1.12-1.5.2.jar

BetterFps  GuichaguriBetterFps-1.4.8.jar

BiblioCraft  NuchazBiblioCraft[v2.4.5][MC1.12.2].jar

Biomes O' Plenty  ForstrideBiomesOPlenty-1.12.2-7.0.1.2441-universal.jar

ChocoCraft 3  TheSlayer5934chococraft_1.12.2-0.9.8.0.jar

ConnectedTextures  Modtterrag1098CTM-MC1.12.2-1.0.2.31.jar

Death Compass  vadis365DeathCompass-0.0.3.jar

Decocraft  RazzleberryFoxDecocraft-2.6.3_1.12.2.jar

dotHack Weapons  AzureDoomCdotHack Weapons-2.1.8.jar.disabled

GraveStone   Modhenkelmaxgravestone-1.10.3.jar

Gravity Gun  ohaiiChunGravityGun-1.12.2-7.1.0.jar

Gun Customization: Infinity  CAS_ual_TYgci-0.6-1.12.2.jar

HatsohaiiChunHats-1.12.2-7.1.1.jar

Ice and Fire: Dragons in a whole new light!alex1the1666iceandfire-1.9.1-1.12.2.jar

iChunUtilohaiiChuniChunUtil-1.12.2-7.2.2.jar

Immersive EngineeringBluSunrizeImmersiveEngineering-0.12-98.jar

Inventory PetsPurplicious_Cow_inventorypets-1.12-2.0.6.jar

Iron ChestsProgWML6ironchest-1.12.2-7.0.72.847.jar

JJ Weapon ConfigJdiJack_JJ Weapon Config 1.12-1.12.2-v1.0.2.jar

JourneyMaptechbrewjourneymap-1.12.2-5.7.1.jar

Just Enough Items (JEI)mezzjei_1.12.2-4.15.0.291.jar

LLibrary_ForgeUser11902522llibrary-1.7.19-1.12.2.jar

LootBagsMalorolamLootBags-1.12.2-2.5.8.5.jar

Lycanites MobsLycanitelycanitesmobs-1.12.2-2.0.7.2.jar.disabled

MantlemDiyoMantle-1.12-1.3.3.55.jar

More Performance OptionswivioMorePreformanceMods.jar

MorphohaiiChunMorph-1.12.2-7.2.0.jar

Mowzie's Mobsbobmowziemowziesmobs-1.5.6.jar

MrCrayfish's Furniture ModMrCrayfishfurniture-6.3.1-1.12.2.jar

Not Enough PetsAstroTibsNotEnoughPets-1.12.2-v2.1.0.jar

Pam's HarvestCraftpamharvestcraftPam's HarvestCraft 1.12.2zg.jar

PatchouliVazkiiPatchouli-1.0-20.jar

PTRLibRazzleberryFoxPTRLib-1.0.4.jar

The Twilight ForestBenimatictwilightforest-1.12.2-3.10.1013-universal.jar

Tinkers ConstructmDiyoTConstruct-1.12.2-2.13.0.183.jar

Traveler's BackpackTiviacz1337TravellersBackpack-1.12.2-1.0.25.25.jar

WaystonesBlayTheNinthWaystones_1.12.2-4.1.0.jar

Posted

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • The problem occurs also in 1.20.1 Forge, but with an "Error executing task on client" instead. I have "Sinytra Connector" installed. On 1.21.5 Fabric, there is no problem. When this happens, the chat message before the death screen appears gets sent, with an extra dash added.
    • Well, as usual, it was user error. Naming mismatch in sounds.json.  Please delete this post if you find it necessary. 
    • Hello Forge community.  I'm running into an issue with a mod I'm working on.  To preface, I can call /playsound modId:name music @a and I can hear the sound I registered being played in game. Great!  However, I cannot get it to trigger via my mod code.    Registration: public static final RegistryObject<SoundEvent> A_WORLD_OF_MADNESS = SOUND_EVENTS.register("a_world_of_madness", () -> new SoundEvent(new ResourceLocation("tetheredsouls", "a_world_of_madness")));   Playback: Minecraft mc = Minecraft.getInstance(); if (!(mc.player instanceof LocalPlayer) || mc.level == null) return; LocalPlayer player = (LocalPlayer) mc.player; BlockPos pos = player.blockPosition(); SoundEvent track = ModSounds.A_WORLD_OF_MADNESS.get(); System.out.println(track); System.out.println(pos); System.out.println(player); // play exactly like the tutorial: client-only, at the player's position try { mc.level.playLocalSound( player.getX(), player.getY(), player.getZ(), track, SoundSource.MUSIC, // Or MASTER if needed 1f, 1f, false ); System.out.println("[DEBUG] playSound success: " + track.getLocation()); } catch (Exception e) { System.err.println("[ERROR] Failed to play sound: " + track.getLocation()); e.printStackTrace(); } Sounds.json:   { "theme_of_laura": { "category": "music", "sounds": [ { "name": "tetheredsouls:a_world_of_madness", "stream": true } ] } } Things I have tried: - multiple .ogg files. Short .ogg files (5 seconds, <100KB).  - default minecraft sounds imported from import net.minecraft.sounds.SoundEvents; These work given my code. No idea why these are different.  - playSound() method, as well as several others in past iterations that did not work   I would be forever grateful if somebody could point me in the right direction. I've looked at several mod github repositories and found extremely similar code to what I'm doing. I've also found several threads in this forum that did not solve my issue. I just cannot figure out what I'm doing differently, and why I'm able to queue sounds manually with playsound but the code won't play it (despite confirming the code is being run with the debug statements.)
    • Delete the tensura-reincarnated/common.toml file (config folder)
  • Topics

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.