Giter Club home page Giter Club logo

charge-calc's Introduction

Charges Calculator

This plugin mainly used for content where you would need to "quickly" calculate how many charges should be removed from a charged item. For example Tombs of Amascut getting souls, although it's handy for simply filling your items.

Known limitations

  • Can't bind to modifiers
  • Can't bind to numpad
  • Some keys don't work, jagex limitation e.g. button next to 1

charge-calc's People

Contributors

vikke1234 avatar

Stargazers

Eivind Norling avatar

Watchers

 avatar

charge-calc's Issues

Add hotkey for custom entry

Would be nice to have the ability to use a hotkey for choosing whether to fill or do a -X action.

I believe this would just involve adding an enum @ConfigItem to the Config with {OFF, REMOVE, FILL} as the enum items, as well as a @ConfigItem that returns Keybind.

Then in the Plugin.java in showWidget() you would conditionally add a setOnKeyListener depending on the enum config item state that either the fill callback or the -X callback, assuming the key pressed matches the Keybind config item.

Let me know what you think and/or if you have any questions. More than happy to help if needed!

Duplicate charge entry

When applying charges to items (sanguinesti/shadow/blowpipe etc.) all typed inputs (number of charges I wish to apply) are duplicated upon entry - ie

Attempting to put in 4500 charges; I type '4', but '44' is the prompted input, when I backspace and type '5', '55' is entered, backspace again such that my prompt is '45' now and I type '0', '00' is entered.

I was able to reproduce the error with all charged items I have (sanguinesti/shadow/blowpipe/accursed/webweaver/scythe/venator). When I turn the plugin off the error is eliminated, It does not affect any other part of gameplay or user experience.

I have restarted plugin and client, to no success.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.