AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   Official AMX Super Menu version 0.8.2 (https://forums.alliedmods.net/showthread.php?t=66996)

YamiKaitou 02-13-2008 10:32

Official AMX Super Menu version 0.8.2
 
You guys annoyed the crap out of us for one, so here it is. This will be the official version. Other people are free to make one, but it will not be supported by the AMX Super staff, thus meaning your post will get moved/nuked if you post about it in this section.


THIS IS JUST A WORK IN PROGRESS VERSION. OFFICIAL VERSION IS STILL IN DEVELOPMENT


This topic will remain locked until a final version has been posted. There is and will be NO ETA as to when I will be done with it as personal life takes priority.



WARNING, the final version will be only able to run on AMXx 1.8. So, if you plan on using this, I would think about upgrading now so you can easily transition into this plugin.




Second post will contain Update log and Menu features. This is just an informative post about it. Plugin and plugin updates will be attached to second post.


EDIT: I have decided to open the topic because I feel like it. :)

YamiKaitou 02-13-2008 10:33

Re: Official AMX Super Menu
 
39 Attachment(s)
Reserved for update logs and plugin attachments

Below shows planned updates and what they will include
Quote:

Originally Posted by Upcoming Log
Version 0.0.0
* Added amx_weapon menu
* Added seperate command to trigger amx_weapon menu
* Lang file expected to be finished. Translation request post made


Version 0.9.0
* Secret

Version 1.0.0
* Release of final stable version
* Hopefully lang file will be nearing completion with translations


Below shows what has changed/added in each released version
Quote:

Originally Posted by Change Log
Version 0.8.2
* Bug Fix: Some Lock Team display thing
* Added new cvar that allows the Exit buttons to take you back to the main menu.
* Make colors in menus match each other
* Add redisplaying of menu after each choice

Version 0.8.1
* Fixed the menus from not working correctly
* Fixed the edit commands
* Added the menu to the amxmodmenu
* Updated Lang file with new translations

Version 0.7.3
* Fixed error that prevented arrays from initilizing
* Updated Lang file with new translations

Version 0.7.2
* Fixed dynamic menus from not appearing (hopefully)
* Updated Lang file with new translations

Version 0.7.1
* Plugin forced to be AMXx 1.8 ONLY
* supermenu_* commands no longer have a required limit to parameters
* Added a better description on what the supermenu_* commands are for
* Added commands amx_supermenu and amx_supermenu_edit
* Updated Lang file with new translations
* Attached compiled version in case you don't want to compile it

Version 0.6.1
* Reduced amount of code and file size by more than half
* Bug Fix: Money menu would display a ML Not Found error
* This will be the last version that will be able to run on 1.76d and below
* Added all ML translations that have been provided in the translation request post so far

Version 0.5.3
* Bug Fix: Hopefully fixed out of bounds errors
* Bug Fix: Forced menu options to start over
* Made the Bury/Unbury titles change depending on what menu you are viewing
* Translation post has been made, click here
* Note: amx_weapon menu will not be in the 1.0 version


Version 0.5.2
* Add @team features to menus that use it
* Allowed you to target yourself (with immunity)
* Bug Fix: Menu Option 8 still didn't work, fixed this time
* Bug Fix: Gag menu was disabled.
* Lang file updated

Version 0.5.1
* Add amx_gag, amx_ungag, and amx_badaim menus
* Add @team features to menus that use it (delayed until 0.5.2)
* Give/Take Money menu will be one menu
* Bug Fix: Menus after Bury would display the incorrect title
* Bug Fix: A lot of the menus would display the total pages incorrectly
* Bug Fix: supermenu_edit commands will alter the menus incorrectly
* Bug Fix: Menus wouldn't display option 8 correctly
*Lang File modified

Version 0.4.3
* Reverted Lock/Unlock change made in 0.4.1
* Made Bury/Unbury menu displayed like Lock/Unlock
* Bug Fix: Any menu after Bury/Unbury would give the incorrect command.
* Bug Fix: Fixed run time errors found here, with the exception of the last one. Please provide entire error log for further assistance
* Lang file modified. Must download new one for 0.4.3 to display correctly.
* Updated Planned Updates log

Version 0.4.2
* Bug Fix: Menu wouldn't display due to missing functions

Version 0.4.1
* Added amx_heal, amx_armor, amx_stack, amx_bury, amx_unbury, amx_slay2, amx_godmode, amx_noclip, amx_speed, amx_unammo, amx_swap, amx_givemoney, amx_takemoney menus
* Usage of commands have changed
* Changed the way the the Lock/Unlocked menu is displayed
* Lang file has been updated
* Random Fun Fact: There are now 26 commands in this menu. 2703 lines of code, mostly repeating itself

Version 0.3.3
* Added amx_teamswap menu at Czarny Iwan request
* Lang file has been updated
* Bug Fix: Removed number appearing in console when you choose an option on the Lock Menu

Version 0.3.2
* Fixed version number in the plugin
* Bug Fix: Last 4 menus weren't being handled
* Bug Fix: Unlock Menu showing option 5 as Unlock Team

Version 0.3.1
* Bug Fix: Lock/Unlock menus not working like they should. Redid them using the old menu style
* Added some comments to the beginning of the plugin, includes credits and GPL license
* Added amx_fire menu
* Added amx_disarm menu
* Added amx_rocket menu
* Added amx_uberslap menu
* Added amx_revive menu
* Added amx_quit menu
* Added amx_drug menu
* Added amx_flash menu
* Note: If you have ADMIN_IMMUNITY, menu blocks usage for that player
* Lang file has been updated

Version 0.2.3
* Menu will now disable items that the user does not have access to
* Plugin still doesn't need 1.8 as I found another way to do the above change without forcing an upgrade. 1.8 only is still planned though

Version 0.2.2
* Bug Fix: supermenu_extendtimes wouldn't rebuild the menu correctly
* Bug Fix: supermenu_gravityvalues wouldn't rebuild the menu correctly
* Fixed compiler bug

Version 0.2.1
* Added amx_gravity menu
* Added command to change amx_gravity values
* Bug Fix: supermenu_extendtimes would not save/rebuild the menu
* Bug Fix: supermenu_extendtimes would print a message 6 times when it only needed to print it once
* ML file updated

Version 0.1.1
* Added command to change the amx_extend times

Version 0.1
* Added amx_lock/unlock, amx_alltalk, and amx_extend features
* ML compatiable
* Requires amx_super.amxx to be running, otherwise it will fail
* Will compile on Online Compiler for now

Cvars:
supermenu_func 0/1 Default 0
Setting this to 0 will cause all Exit buttons to exit completely out of the menu. Setting it to 1 will cause the Exit buttons display the main menu again.


Commands:
Access Menu
In chat: /supermenu
In console: supermenu

Edit Menu Values
supermenu_edit <command> <value1> [value2] [value3] [value4] ...
Valid params for <command>: "gravity", "armor", "heal", "money", "extend", "gag"
<value1> MUST BE FILLED OUT for command to work. You can continue adding more values as you wish. There is no max
This command will edit the values that are displayed for the above commands


If you wish to try BETA OR UNSUPPORTED version, download it from my svn.


Most updates will be released untested as most of the time, I do not have access to CZ to test them

vvg125 02-14-2008 03:23

Re: Official AMX Super Menu version 0.1.1
 
OH GAWD BIG LETTERS.

However, very nice work. Also nice to see progress in the idea.

YamiKaitou 02-15-2008 21:15

Re: Official AMX Super Menu version 0.2.2.
 
Yeah, big letters to get the point across.


Anyways, here is a list of the commands that I am planning on adding at this time. If you feel like I am missing some, please post about it and I will think about it. Also, please report any errors you find in the menu as I am not testing these beta releases

PHP Code:

    register_concmd("amx_heal","admin_heal",ADMIN_LEVEL_A,"<nick, #userid, authid or @team> <HP to give>")
    
register_concmd("amx_armor","admin_armor",ADMIN_LEVEL_A,"<nick, #userid, authid or @team> <armor to give>")
    
register_concmd("amx_stack","admin_stack",ADMIN_LEVEL_A,"<nick, #userid or authid> [0|1|2]")
    
register_concmd("amx_bury","admin_bury",ADMIN_LEVEL_B,"<nick, #userid, authid or @team>")
    
register_concmd("amx_unbury","admin_unbury",ADMIN_LEVEL_B,"<nick, #userid, authid or @team>")
    
register_concmd("amx_disarm","admin_disarm",ADMIN_LEVEL_B,"<nick, #userid, authid or @team>")
    
register_concmd("amx_slay2","admin_slay",ADMIN_LEVEL_B,"<nick, #userid, authid or @team> [1-Lightning|2-Blood|3-Explode]")
    
register_concmd("amx_rocket","admin_rocket",ADMIN_LEVEL_B,"<nick, #userid, authid or @team>")
    
register_concmd("amx_fire","admin_fire",ADMIN_LEVEL_B,"<nick, #userid or authid>")
    
register_concmd("amx_uberslap","admin_slap",ADMIN_LEVEL_B,"<nick, #userid or authid>")
    
register_concmd("amx_revive","admin_revive",ADMIN_LEVEL_C,"<nick, #userid, authid or @team>")
    
register_concmd("amx_quit","admin_quit",ADMIN_KICK,"<nick, #userid, authid or @team>")
    
register_concmd("amx_gag","admin_gag",ADMIN_KICK,"<nick, #userid or authid> <a|b|c> <time> - Flags: a = Normal Chat | b = Team Chat | c = Voicecomm"
    
register_concmd("amx_ungag","admin_ungag",ADMIN_KICK,"<nick, #userid or authid>"
    
register_concmd("amx_weapon","admin_weapon",ADMIN_LEVEL_C,"<nick, #userid, authid or @team> <weapon #>")
    
register_concmd("amx_godmode","admin_godmode",ADMIN_LEVEL_C,"<nick, #userid or @team> [0|1|2] - 0=OFF 1=ON 2=ON + ON EACH ROUND")
    
register_concmd("amx_noclip","admin_noclip",ADMIN_LEVEL_C,"<nick, #userid, authid or @team> [0|1|2] - 0=OFF 1=ON 2=ON + ON EACH ROUND")
    
register_concmd("amx_drug","cmd_drug",ADMIN_LEVEL_C,"<@all, @team, nick, #userid, authid or @team>")
    
register_concmd("amx_speed","cmd_speed",ADMIN_LEVEL_C,"<nick, #userid, authid or @team> [0|1] -- gives/takes turbo running")
    
register_concmd("amx_flash","admin_flash",ADMIN_LEVEL_B,"<nick, #userid, authid or @team> - Flashes player(s)")
    
register_concmd("amx_swap""cmd_swap"ADMIN_CVAR,"- <name 1> <name 2> Swaps two players with eachother")
    
register_concmd("amx_unammo""admin_unammo"ADMIN_LEVEL_A"<nick, #userid or @team> [0|1] - 0=OFF 1=ON")
    
register_concmd("amx_badaim","bad_aim",ADMIN_KICK,"<player> <On/off or length of time: 1|0|time> <Save?: 1|0>: Turn on/off bad aim on a player.")
    
register_concmd("amx_gravity","admin_gravity",ADMIN_LEVEL_A,"<gravity #>"


Czarny Iwan 02-17-2008 17:52

Re: Official AMX Super Menu version 0.3.1
 
Ok, I've tested this menu little bit and I've noticed few bugs:
1) Lock/Unlock teams - why option 5 is always "Unlock team"? You have to be preaty perceptive to notice that title of this submenu is changing.
2) Uberslap, Revive, Force quit and Drug options don't show any submenu and does nothing [supermenu is closing when you try to choose those options.

YamiKaitou 02-17-2008 18:13

Re: Official AMX Super Menu version 0.3.1
 
1) Fixed. It was a Copy and Paste mistake
2) Fixed. Forgot to add the cases to the main menu handler.


Uploading 0.3.2

Czarny Iwan 02-18-2008 06:00

Re: Official AMX Super Menu version 0.3.2
 
Ok, now works fine. Sometimes a single numbers showing in console [noticed when using lock/unlock team], but it isn't a problem.

I see you aren't planning to add amx_givemoney and amx_takemoney. I don't know if this is possible but you could add those commands making menu like this:
1st) Choose a player [or team]
2nd) Choose give or take [much like in lock/unlock team menu] and then choose ammount of money [much like in gravity menu]

I'm also thinking about amx_teamswap.

YamiKaitou 02-18-2008 10:05

Re: Official AMX Super Menu version 0.3.2
 
Sure, I can add a money and teamswap one. There will also be another command for the money values, just like the gravity one. Yeah, the numbers were from testing, trying to figure out why it was always locking spec each time I tried to change menus

chris 02-18-2008 12:39

Re: Official AMX Super Menu version 0.3.2
 
Yay for the Menu System!

Czarny Iwan 02-19-2008 10:31

Re: Official AMX Super Menu
 
Quote:

* Added amx_teamswap menu at Czarny Iwan request
Woohoo, works great, thx.


All times are GMT -4. The time now is 08:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.