Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Botbosa

    Members
    • Posts

      1
    • Joined

    • Last visited

    Posts posted by Botbosa

    1. I have a Kotlin script where I'm trying to use gRPC to send messages to a server. When I build and run the shaded jar manually, everything works. When I load the script in DreamBot I get the following error:
       

      java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;CLjava/lang/Object;)V
          at io.grpc.Metadata$Key.validateName(Metadata.java:754)
          at io.grpc.Metadata$Key.<init>(Metadata.java:762)
          at io.grpc.Metadata$Key.<init>(Metadata.java:671)
          at io.grpc.Metadata$AsciiKey.<init>(Metadata.java:971)
          at io.grpc.Metadata$AsciiKey.<init>(Metadata.java:966)
          at io.grpc.Metadata$Key.of(Metadata.java:708)
          at io.grpc.Metadata$Key.of(Metadata.java:704)
          at io.grpc.internal.GrpcUtil.<clinit>(GrpcUtil.java:98)
          at io.grpc.netty.shaded.io.grpc.netty.Utils.<clinit>(Utils.java:83)
          at io.grpc.netty.shaded.io.grpc.netty.UdsNettyChannelProvider.isAvailable(UdsNettyChannelProvider.java:34)
          at io.grpc.ManagedChannelRegistry$ManagedChannelPriorityAccessor.isAvailable(ManagedChannelRegistry.java:211)
          at io.grpc.ManagedChannelRegistry$ManagedChannelPriorityAccessor.isAvailable(ManagedChannelRegistry.java:207)
          at io.grpc.ServiceProviders.loadAll(ServiceProviders.java:68)
          at io.grpc.ManagedChannelRegistry.getDefaultRegistry(ManagedChannelRegistry.java:101)
          at io.grpc.ManagedChannelProvider.provider(ManagedChannelProvider.java:43)
          at io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:39)
          at org.botbosa.untitled2.TestScript.onStart(TestScript.kt:16)
          at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:170)
          at java.lang.Thread.run(Thread.java:750)
       
       
      As far as I can tell, I'm assuming this is being caused because DreamBot also uses gRPC? Any idea how I might get past this?
       
      Thanks
    ×
    ×
    • Create New...

    Important Information

    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.