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. I need help in JavaScript of liquidbounce b100

I need help in JavaScript of liquidbounce b100

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

    I really want to ask for help, and ask a master who knows Liquid Bounce Legacy B100 JavaScript to help me solve this problem.My JavaScript:
    *

    • var script = registerScript({
    • name: "TestScript",
      
    • version: "1.0",
      
    • authors: ["test"]
      
    • })
    • var C03PacketPlayer = Java.type("net.minecraft.network.play.client.C03PacketPlayer")
    • script.registerModule({
    • name: "TestScript",
      
    • description: "testscrpit",
      
    • category: "Combat"
      
    • }, function(module) {
    • module.on("packet", function(e) {
      
    •     try { 
      
    •         if (e.getPacket() instanceof C03PacketPlayer) {
      
    •             e.cancelEvent()
      
    •         }
      
    •     } catch (err) { 
      
    •         Chat.print(err);
      
    •     }
      
    • })
      
    • })
    • Why can't liquidbounce b100 call packet event? It doesn't work and outputs many errors, such as TypeError: null has no such function "get packet". I'm sure there are many other errors, but I don't understand. How can I call packet event now?
    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    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