Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. Methods with the same name but different arguments possibly causing issues

Methods with the same name but different arguments possibly causing issues

Scheduled Pinned Locked Moved Unsolved ScriptAPI
3 Posts 2 Posters 197 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AjaxA Offline
    AjaxA Offline
    Ajax
    wrote on last edited by
    #1

    Hello, I've recently encountered an issue while writing my script and it looks like this is likely the cause.

    Here is my code, trying to call the 'drawGuiTexture' method, as in method_52706 with 5 arguments.
    9f3e10aa-18ea-451d-a162-d2ac3fd0e401-image.png

    When I try and run this script it throws an exception complaining about the wrong amount of arguments.
    6aa52059-6cdb-4970-a436-a3634dea6b82-image.png

    My guess is that it's trying to call method_52709, which does have 10 arguments.

    My best guess is that this is an issue with how LiquidBounce handles obfuscated methods in Minecraft, hence why I came here rather than anywhere else.

    I'm looking for some possible solution to my problem, it's still likely I'm just being dumb and this is not an issue with LB at all. I've thought of possibly trying to "bypass" the translator somehow, but I have no idea how to even achieve this. So, please, help.

    Thanks for your time < 3

    1 Reply Last reply
    👀
    0
    • C Offline
      C Offline
      commandblock2
      wrote on last edited by commandblock2
      #2

      Hi I am also quite interested in about that one, I do know where the remapper implementation is remapper.

      Will later try if I can reproduce this, do you mind sharing a example script? Having other project going on at the moment.

      Sorry for this low effort answer but do you mind opening a issue on LiquidBounce github? oh and do @commandblock2 (same username) on that issue.

      1 Reply Last reply
      0
      • AjaxA Offline
        AjaxA Offline
        Ajax
        wrote on last edited by
        #3

        Thanks for the reply. Honestly, good point about making an issue on GitHub, I dunno how that hasn't crossed my mind lol. Here's a link to my issue https://github.com/CCBlueX/LiquidBounce/issues/4964.

        ayaxperson created this issue in CCBlueX/LiquidBounce

        open [BUG] ScriptAPI mapping issue with method overloading #4964

        1 Reply Last reply
        1

        About
        • Terms of Service
        • Privacy Policy
        • Status
        • Contact Us
        Downloads
        • Releases
        • Source code
        • License
        Docs
        • Tutorials
        • CustomHUD
        • AutoSettings
        • ScriptAPI
        Community
        • Forum
        • Guilded
        • YouTube
        • Twitter
        • D.Tube
        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups