[LUA] The CS2D Dynamic Menu Library (Y.A.T.E.S) 
14 comments08.08.16 06:15:49 pm

13 kb, 447 Downloads
The CS2D Dynamic Menu Library (TCDML for short) is what you'd expect it to be. With the table structure and parsing being based on
EngiN33R &
VADemon's unimenu, it provides many functions for your full control over the menu(s).
It's been tested and works great with Inventory Menus or any type of menu that is dynamic and requires rapid updates to its contents. TCDML is still stable and working as any other menu script but I plan to add more functionality.
If you want to have a quick look at how TCDML works, check out the example directory!
What's new in 1.3.0.0?
Version format change
Made README.md more easier to navigate
Added an example directory filled with some common usage examples and scripts
Fixed documentation errors
Added Y.A.T.E.S. plugin support!
Added more configuration options
Error and Debug Log Prints are colored in the console
dmenu:switchButton is renamed to dmenu:setButtonState
Added moar functions
dmenu:setButtonName
dmenu:setButtonDescription
dmenu:setButtonFunction
dmenu:getButtonPropertyByButtonNameMatch(id, menuName, buttonNameMatch) (This supports regex matching!)
dmenu:getPlayerMenuCount(id)
dmenu:playerMenuObjectExists(id)
dmenu:isEmpty(id, menuName)
Read more at the docs!
Features
Dynamic
Your full control
Colorful Logging
Pagination
Configuration
Documentation
View Code
Code Examples
The almost linear screenshots below are the product of the example code


It's been tested and works great with Inventory Menus or any type of menu that is dynamic and requires rapid updates to its contents. TCDML is still stable and working as any other menu script but I plan to add more functionality.
If you want to have a quick look at how TCDML works, check out the example directory!
What's new in 1.3.0.0?
















Read more at the docs!
Features





Documentation
View Code
Code Examples
The almost linear screenshots below are the product of the example code
edited 10×, last 15.04.17 07:44:23 pm

Comments
14 comments



Log in!
You need to log in to be able to write comments!Log in
Hey copy,
I've forgotten to upload the new version of dmenu here. Sorry about that!
You can get the latest version from here: https://github.com/irfan-dahir/the-cs2d-dynamic-menu-library
Extract it, rename to 'dmenu' and drop it in the plugins folder.
You'll now be able to use dmenu in any other plugin.
If anyone has issues with installing or using, drop me a PM.
Edit; I've updated the file here as well.
I've forgotten to upload the new version of dmenu here. Sorry about that!
You can get the latest version from here: https://github.com/irfan-dahir/the-cs2d-dynamic-menu-library
Extract it, rename to 'dmenu' and drop it in the plugins folder.
You'll now be able to use dmenu in any other plugin.
If anyone has issues with installing or using, drop me a PM.
Edit; I've updated the file here as well.
hey com ,
would you mind to leave a simple statement how to run that example code as it just dont worked 4me with my poor knowledge
i downloaded the file extract them to plugins but it doesnt work and the more i read in the descriptions the more confusion stays.
as i understand it from all users it is very simple... well hopefully a 1.2.step can help me?
greez copy
[Y.A.T.E.S]: Uh-oh! The file 'sys/lua/_yates/plugins/dmenu-0.2/startup.lua' could not be found or opened!
wow i got the examplemenu
but only without yates adminscript
when the adminscripts also gets involved it wont work4me
any ideas?
btw: there is no startup file in the dmenu folder , as i saw such a file in all other plugins (emoticons/bad words)
would you mind to leave a simple statement how to run that example code as it just dont worked 4me with my poor knowledge
i downloaded the file extract them to plugins but it doesnt work and the more i read in the descriptions the more confusion stays.
as i understand it from all users it is very simple... well hopefully a 1.2.step can help me?
greez copy
[Y.A.T.E.S]: Uh-oh! The file 'sys/lua/_yates/plugins/dmenu-0.2/startup.lua' could not be found or opened!
wow i got the examplemenu
but only without yates adminscript
when the adminscripts also gets involved it wont work4me
any ideas?
btw: there is no startup file in the dmenu folder , as i saw such a file in all other plugins (emoticons/bad words)
edited 2×, last 07.04.17 06:29:03 pm
@
Gaios: It's a different method of approaching the menu structure. Unimenu is more user friendly whereas TCDML gives you more control. It requires you to properly operate it using the docs available over at the github page and in return it gives you a dynamic menu that you have complete control over.
It's a question of preferability.

It's a question of preferability.

Pretty impressive. Really dynamic, I'm in full control, just like in the description. I'm not going to use it anyway, but great job. Deserves a like.

Nice file, waiting for new update (for the new stuff not in archive)
@
G3tWr3ck3d: The "Third Menu" is just an example, like the others.
@




