Bob!RynthidZerzelikyrAyanAerlintheNeftetgearknightsdarkisleSanctuary

Chaos Helper (Decal Plugin) v2.2.5.0 (with Source)

Plugin/Utility Releases and Community Support. Do not release software without the author's consent.
invisible fire
Posts: 49

Chaos Helper (Decal Plugin) v2.2.5.0 (with Source)

Post#1 » December 28th, 2015, 1:43 am

This is a simple, yet useful (I'm biased), decal plugin that will allow you to customize your commands and make everything a push button instead of using hotkeys and/or chat commands.

NOTE: I am no longer maintaining this project as I have moved on. I might come back, but until then, I have provided the source code to this module. The code is sh*t and I'm well aware, but it works. I didn't spend a lot of time optimizing the code or making it pretty. So deal with it if you want to make changes :D I hope you guys enjoy the software!

If you have questions regarding the code, you can contact me here or skype : chadz777


Currently configured to work with ChaosControl Meta, but can be customized how ever you see fit!

ChaosHelper.png
ChaosHelper.png (371.83 KiB) Viewed 11223 times


To use this plugin, add the files in the zip to the same directory of your choice and add the dll to decal.

To change where you wish the chat text to go, aka /f, /a, etc... modify Chat command: text box and press the 'set' button..

To customize this plugin modify the chaoshelper_config.txt, or any loaded config file. (you can do this while in game, and reload after you save your changes by going to the ? tab and pressing Load button).

to customize the view, modify main.layout or create a new one. Be sure to specify the layout in the top of the config file as it appears in the default file this plugin comes with. Examples Below

A new button was added in v1.2 which allows you to save your defaults. Go to the ? tab and press the save defaults button to save any changes you've made.

New Chat commands were added in v1.2 which allows you to load configs and set chat command through the chat window / metas / etc.
Chat Commands:
- /ch help
- /ch setprofile profileName.txt
- /ch setchatcommand /f
- /ch settab # NEW

Button Configuration File (.txt)
First Line : This is the layout that will be associated with the button layout. Every config needs a layout!
(columns represented by commas ',')
First Column : this is how the script knows which buttons to set to what. <TabName>_Button_##
Second column : This is the text of the button. Set it how ever you wish! Example : Loot Rares
--If you wish for the button to be not visible, set the text to be NOTSET and it will hide from the screen.
--If you want a button to have an icon, add the icon value (Decimal! NOT Hex!) in brackets Example: [12345]
Third column : This is the command that will be sent to the chat. !loot rares
--You can now use any command prefix, aka ! or # or % or & etc etc...
--If you want this to run a /command, just add the /command here. Be sure not to add more than one comma as it may bug it out. For instance: /tell Invisible Fire, boom! will work, but /tell invisible fire, hi, there! will not!
--If you want this meta to only apply to the player calling the command, you can now use [player] to plug the player name into the command. EXAMPLE: /tell [player], I'm talking to myself... OUTPUT: "You think, "I'm talking to myself..."
--If you want to display the coords of the player who calls the command, you can now use [loc] to plug the coordinates of the player into the command. Example: I'm located at [loc]! OUTPUT: "I'm located at 34.5s, 54.2w!

Example:
LAYOUT: main.layout
Adv_Button_01,Loot Rares,!loot rares
Adv_Button_02,Loot All,!loot all
Adv_Button_03,Jiggle On,!jiggle on
Adv_Button_04,Jiggle Off,!jiggle off
Adv_Button_05,Peace On,!peace on
...
Example of [player]:
Adv_Button_01,Talk to Yourself,/tell [player], Hi, how are you?
...
Example of [loc]:
Adv_Button_02,My Loc,[loc]
...
Example of Icons:
Ports_Button_02,[9561],!prim
Ports_Button_03,[9562],!sec
Ports_Button_04,[10733],!pr
Ports_Button_05,[10725],!aphus
Ports_Button_05,[10725|Show Text],!aphus < Will also display text!

Some nice button backgrounds include:
6956, 6957, 6958, 6959
19518, 19519, 19532, 19533, 19534, 19535
etc..

Use Digero's Ac Icon Browser to view all possible icons - http://decal.acasylum.com/icon_browser.php
Right-click an icon to copy the Decimal value

Modifying/Creating the layout: (.layout)
windowposition: 50, 50 < Default load location of window
windowsize: 360, 200 < Sets the main tab size (if not set will default to 360, 200
windowstartopen: true < Sets the layout to default open
buttonpadding: 10 < Padding size (how much space between buttons)
tab: Basic < Tab Name. Buttons in the config text file will need to labeled by TabName_Button_## (example: Basic_Button_01)
tabvisible: false < Sets if the tab should start visible or not (true or false)
tabsize: 340, 350 < Size of the tab and the popout window
tabposition: 390, 50 < Default location of the tab popout
cols: 2 < Number of columns you want
rows: 7 < Number of Rows
Button_01: 2 < Span value for button 1 (make it span 2 columns)
Button_02: 1 < Span value for button 2 (make it only span 1 column)
Button_03: 1 < MORE BUTTONS!!! ARGH
Button_04: 1
tab: Adv < Tab Name for the second tab
tabvisible: false < Sets if the tab should start visible or not (true or false)
tabsize: 340, 350 < Size of the tab and the popout window
tabposition: 390, 50 < Default location of the tab popout
cols: 2 < Number of Columns for this tab
rows: 7 < Number of Rows for this tab
Button_01: 1 < Span of 1
Button_02: 1
etc.

Known Issues:
None at the moment. Please leave feed back so I can properly fix known issues! Thanks :D

Upcoming Features:
Possibly allow the ability to load custom images instead of AC Icons... if I get a big enough request, I will do this.

Change Notes:
V2.2.5 NEW
Added new chat command /ch settab # to auto switch to a tab via command.
V2.2.4 Downloads: 12
Added "windowsize:" option to layout files. This will adjust the main tab (?) size to prevent large layouts from breaking.
V2.2.3 Downloads: 51
Added the ability to set commands with coordinates of the player who issues the command. EX: Misc_Button_04,My LOC ,[loc]
Added functionality so any prefix symbol will work! #, $, %, ^ etc etc.. everything should work now!
V2.2.2 Downloads: 14
Added the ability to set commands with player names. EX : Misc_Button_04,Self Command, /tell [player], !Command
V2.2.1 Downloads: 60
Made it so /ch setprofile profile.txt will not auto-popup main window unless it was already visible. -As requested by snail
Added correct rynthid recall mask icon to the ports tab
V2.2.0 Downloads: 28
New version 'should not' affect old configs/layouts. If it does, Sorry!
Added Icon-able buttons
Added Ability to send /commands (full control of vtank commands if you like!)
Added closable popup windows.
V2.1.0 Downloads: 64
Added Popout tabs
V2.0.0 Downloads: 20
Added customizable windows!!
V1.2.1 Downloads: 22
Fixed command bug causing players to not be able to chat.
V1.2 Downloads: 6
NOTE: Old config files will need to be modified (Remove the first line that says "SETCHATCOMMAND" completely)
Ini file now contains defaults for profile and chat command
Drop down with hot-swappable config files
Chat commands!.
- /ch help
- /ch setprofile profileName.txt
- /ch setchatcommand /f
V1.1 Downloads: 14
Added customization txt file to modify button scripts to anything you'd like.
Attachments
ChaosHelper-VVS-2.2.4.rar
Source code for anyone interested. Its rubbish and poor practice, but it works.
(99.09 KiB) Downloaded 279 times
chaoshelperv2.2.5.zip
Chaos Helper.dll (V2.2.4)
chaoshelper_config.txt
main.layout
chaoshelper.ini
(29.27 KiB) Downloaded 1437 times
Last edited by invisible fire on May 13th, 2016, 8:06 pm, edited 26 times in total.
5 x

User avatar
Immortalbob
Site Admin
Posts: 575
Contact:

Re: BETA: Chaos Helper (Decal Plugin) v1.1.0.0

Post#2 » December 28th, 2015, 8:20 am

very cool!
0 x
Immortalbob of MT

User avatar
HellsWrath
Site Admin
Posts: 388

Re: BETA: Chaos Helper (Decal Plugin) v1.1.0.0

Post#3 » December 28th, 2015, 10:17 am

Beautiful, custom buttons work great.
0 x

Starcrusher
Posts: 28

Re: BETA: Chaos Helper (Decal Plugin) v1.2.0.0

Post#4 » December 28th, 2015, 6:26 pm

Newest version I can only send chat from your plugin and I can type in /a when I set it to be the default. I can't even say out loud or send tells. Windows 10; previous version worked great.
0 x

invisible fire
Posts: 49

Re: BETA: Chaos Helper (Decal Plugin) v1.2.0.0

Post#5 » December 28th, 2015, 9:07 pm

Starcrusher wrote:Newest version I can only send chat from your plugin and I can type in /a when I set it to be the default. I can't even say out loud or send tells. Windows 10; previous version worked great.


Should be fixed.
0 x

User avatar
HellsWrath
Site Admin
Posts: 388

Re: BETA: Chaos Helper (Decal Plugin) v1.2.0.0

Post#6 » December 29th, 2015, 12:22 pm

Request: Pop-out panels for tabs to make mini remotes, so we can have thin rows or individual buttons all over the place.
2 x

Starcrusher
Posts: 28

Re: BETA: Chaos Helper (Decal Plugin) v1.2.0.0

Post#7 » December 29th, 2015, 12:29 pm

invisible fire wrote:
Starcrusher wrote:Newest version I can only send chat from your plugin and I can type in /a when I set it to be the default. I can't even say out loud or send tells. Windows 10; previous version worked great.


Should be fixed.


Working now. Thanks.
0 x

invisible fire
Posts: 49

Re: BETA: Chaos Helper (Decal Plugin) v2.0.0.0

Post#8 » December 30th, 2015, 9:50 pm

Leave screenshots and stuff so people can get some inspiration
0 x

User avatar
Immortalbob
Site Admin
Posts: 575
Contact:

Re: BETA: Chaos Helper (Decal Plugin) v2.0.0.0

Post#9 » December 31st, 2015, 10:16 am

I stickied this. :D
0 x
Immortalbob of MT

invisible fire
Posts: 49

Re: BETA: Chaos Helper (Decal Plugin) v2.1.0.0

Post#10 » December 31st, 2015, 8:03 pm

Version 2.1 was released.

Now you can customize the size of each individual tab.
You can also pop them out as their own windows! YAY
0 x

Return to “Utilities and Plugins”

Who is online

Users browsing this forum: No registered users and 2 guests

Login  •  Register