Old-LiquidBounce-Issues icon indicating copy to clipboard operation
Old-LiquidBounce-Issues copied to clipboard

[FEATURE] Integrate Scripts into modules

Open Tcm9 opened this issue 4 years ago • 9 comments

Describe your feature request. A script should not only be able to create own modules. Scripts should also add own modules and settings in existing modules. e.g. Velocity -Simple -AAC -AACPush -AACZero -Reverse -SmoothReverse -Jump -Glitch -NewAAC (added with Script)

It should be an icon next to the new mode or setting that you know this setting has been added by scripts. (The puzzle symbol should be able to be turned on/off in the ClickGUI module.) e.g. a puzzle piece.

I think it is important for the ScriptAPI.

Additional context Velocity here the puzzle icon: icon

Tcm9 avatar May 12 '20 01:05 Tcm9

that's nice but you can change lb's source

chocopie69 avatar May 12 '20 02:05 chocopie69

and what's the problem? If you would remove velocity from the source, the velocity script would not be displayed. Only in Velocity. All other features like creating another module still work.

Tcm9 avatar May 12 '20 10:05 Tcm9

wtf remove velocity? i mean change it, not delete it

chocopie69 avatar May 16 '20 01:05 chocopie69

I mean something else. If you write a script that changes the velocity, but you have deleted velocity from the source in Intelij, this is what happens.

That was an answer to your question with that the souce is changed.

Unless you change the existing modules by adding features.

Tcm9 avatar May 19 '20 19:05 Tcm9

"Unless you change the existing modules by adding features" i mean that lmao

chocopie69 avatar May 20 '20 14:05 chocopie69

One of the more useful features, but the structure of LiquidBounce and it's modules would make those changes hard. It is better to just make a new module instead of patching an old one. If you want to change LiquidBounce's modules you can fork it btw.

superblaubeere27 avatar May 24 '20 20:05 superblaubeere27

Of course it's hard to change because of the structure of LiquidBounce but not impossible.

1zun4 avatar May 25 '20 04:05 1zun4

@kawaiinekololis Would be a nice feature, but I wouldn't work it xD

superblaubeere27 avatar May 25 '20 21:05 superblaubeere27

You can add value via reflections easily. How would you inject your code into the module?

CzechHek avatar Jun 17 '20 18:06 CzechHek