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.

bmann_420 02-19-2008 17:50

Re: Official AMX Super Menu version 0.3.3
 
Im so glad this is coming out now, and the right way =)

Thankx Yami

YamiKaitou 02-19-2008 23:45

Re: Official AMX Super Menu version 0.3.3
 
Yeah, and as soon as I finish this, I get to work on another project :)

chris 02-21-2008 21:07

Re: Official AMX Super Menu version 0.3.3
 
I cannot compile the plugin via webcompiler; I am guessing because the code includes #newmenus? I'm not much of a scripter but after I removed the include the plugin compiled. Haven't tested yet.

vvg125 02-22-2008 09:18

Re: Official AMX Super Menu version 0.3.3
 
This has already been stated in the changelog. The plugin is meant to be compiled with 1.8 includes. I have no idea what include or what you took out, but by doing so, you probably made the plugin inoperable.

The web compiler has not been updated to 1.8 includes yet.

YamiKaitou 02-22-2008 10:14

Re: Official AMX Super Menu version 0.3.3
 
Yes, you can freely remove that line to get it to compile for 1.76. I do not have any 1.8 only functions yet, but those will be coming based on the Update Log. I included that line because for some reason, PS wasn't seeing the menu natives. I guess I forgot to remove it in this version. From 1.76d to 1.8, they moved the new menu natives from the amxmodx.inc file to a new file called newmenus.inc. The plugin should still function the way I have it coded to.

bmann_420 02-23-2008 18:22

Re: Official AMX Super Menu version 0.4.1
 
Awesome Yami, I just looked at the code, lol I really appreciate it all for sure. Lost of lines of code their, although somewhat repeating itself, still a lot of work :up: It will be perfect for the finale - 3.8 + Perfect Menu :D

YamiKaitou 02-23-2008 20:37

Re: Official AMX Super Menu version 0.4.2
 
If you downloaded version 0.4.1, download 0.4.2. There was a bug that didn't display the menu

Rexy PHATsac 420 02-24-2008 00:01

Re: Official AMX Super Menu version 0.4.2
 
is this version for cs 1.6? because it is not working for me.

YamiKaitou 02-24-2008 00:09

Re: Official AMX Super Menu version 0.4.2
 
Yes. This menu will work on any game that amx_super can run on (mainly because it requires amx_super.amxx to be running).

What is not working? You need to provide more info if you want me to assist you in making it work. Are you sure the plugin is running? Verify by typing "amxx plugins" in the server console

Rexy PHATsac 420 02-24-2008 12:57

Re: Official AMX Super Menu version 0.4.2
 
Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.0.3660 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.0.3660 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.0.3660 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.0.3660 AMXX Dev Team adminslots.amxx running
[ 5] Menus Front-End 1.8.0.3660 AMXX Dev Team menufront.amxx running
[ 6] Commands Menu 1.8.0.3660 AMXX Dev Team cmdmenu.amxx running
[ 7] Players Menu 1.8.0.3660 AMXX Dev Team plmenu.amxx running
[ 8] Maps Menu 1.8.0.3660 AMXX Dev Team mapsmenu.amxx running
[ 9] Admin Chat 1.8.0.3660 AMXX Dev Team adminchat.amxx running
[ 10] Anti Flood 1.8.0.3660 AMXX Dev Team antiflood.amxx running
[ 11] Scrolling Message 1.8.0.3660 AMXX Dev Team scrollmsg.amxx running
[ 12] Info. Messages 1.8.0.3660 AMXX Dev Team imessage.amxx running
[ 13] Admin Votes 1.8.0.3660 AMXX Dev Team adminvote.amxx running
[ 14] NextMap 1.8.0.3660 AMXX Dev Team nextmap.amxx running
12:56:36 [ 15] Nextmap Chooser 1.8.0.3660 AMXX Dev Team mapchooser.amxx running
[ 16] TimeLeft 1.8.0.3660 AMXX Dev Team timeleft.amxx running
[ 17] Pause Plugins 1.8.0.3660 AMXX Dev Team pausecfg.amxx running
[ 18] Stats Configuration 1.8.0.3660 AMXX Dev Team statscfg.amxx running
[ 19] StatsX 1.8.0.3660 AMXX Dev Team statsx.amxx running
[ 20] CS Misc. Stats 1.8.0.3660 AMXX Dev Team miscstats.amxx running
[ 21] AMX Super 3.7 Bmann_420 & Bo0m amx_super.amxx running
[ 22] AMX Super Menu 0.4.1 Yami Kaitou amx_super_menu. running


to open menu i just need to type in console supermenu right?

YamiKaitou 02-24-2008 13:15

Re: Official AMX Super Menu version 0.4.2
 
Quote:

Originally Posted by YamiKaitou (Post 588901)
If you downloaded version 0.4.1, download 0.4.2. There was a bug that didn't display the menu

Guess you didn't see my reply above yours......

Czarny Iwan 02-24-2008 15:07

Re: Official AMX Super Menu version 0.4.2
 
OK. I've tested it. None of new functions work... except Bury and 2 Players Swap.

WRONG COMMADS:
Commands heads to wrong menus.
  • God = Special Slay
  • No Clip = God
  • Super Speed = No Clip
  • Unlimited Ammo = Super Speed
  • 2 Players Swap = Unlimited Ammo
  • Give Money = 2 Players Swap
  • Take Money = Give Money
Due to above there are menus missing.
MISSING MENUS:
  • Super Slay
  • Take Money
COMMANDS THAT DOES NOTHING:
  • Heal
Code:

L 02/24/2008 - 20:39:53: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:39:53: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:39:53: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:39:53: [AMXX]    [0] amx_super_menu.sma::healMenu (line 1679)

  • Armor
Code:

L 02/24/2008 - 20:39:59: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:39:59: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:00: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:40:00: [AMXX]    [0] amx_super_menu.sma::armorMenu (line 1760)

  • Stack
Code:

L 02/24/2008 - 20:40:03: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:40:03: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:03: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:40:03: [AMXX]    [0] amx_super_menu.sma::stackMenu (line 1841)

  • Slay
Code:

L 02/24/2008 - 20:40:16: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:40:16: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:16: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:40:16: [AMXX]    [0] amx_super_menu.sma::slayMenu (line 2074)

  • God
Code:

L 02/24/2008 - 20:40:20: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:40:20: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:20: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:40:20: [AMXX]    [0] amx_super_menu.sma::godMenu (line 2160)

  • No Clip
Code:

L 02/24/2008 - 20:40:24: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:40:24: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:24: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:40:25: [AMXX]    [0] amx_super_menu.sma::noclipMenu (line 2243)

  • Super Speed
Code:

L 02/24/2008 - 20:40:30: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:40:30: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:30: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:40:30: [AMXX]    [0] amx_super_menu.sma::speedMenu (line 2326)

  • Unlimited Ammo
Code:

L 02/24/2008 - 20:40:36: String formatted incorrectly - parameter 4 (total 3)
L 02/24/2008 - 20:40:36: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:36: [AMXX] Run time error 25: parameter error
L 02/24/2008 - 20:40:36: [AMXX]    [0] amx_super_menu.sma::unammoMenu (line 2409)

  • Give Money
Code:

L 02/24/2008 - 20:40:48: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/24/2008 - 20:40:48: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 20:40:48: [AMXX]    [0] amx_super_menu.sma::givemoneyMenu (line 2571)

BUGS:
  • Un/Lock Teams - Title of the menu and #5 option are the same in one time. In my opinion those should be opposite, becouse if I have Lock option on I wold like to turn on Unlock option, so #5 option should show Unlock in this case. [hope you understand]
IDEAS:
  • Bury/Unbury switch option in Bury/Unbury submenu [just like in Lock/Unlock Teams menu]
  • Speed/Unspeed switch option in Speed submenu [just like in Lock/Unlock Teams menu]
  • Take/Give Money switch option in new menu instead of two separated menus
  • Switch options in God submenu [like above but with more options: god for 1 round, always god, "ungod"]
  • Switch options in No Clip submenu [like above with similar options: noclip for 1 round, always noclip, "unnoclip"]
  • Switch options in Super Slay submenu [like above with options: lightning, blood, explode]
  • Switch options in Stack submenu [like above with options
  • Option to flash whole team and/or all [good to see a switch in flash menu, but dunno if this is possible]
  • Option to disarm whole team and/or all [good to see a switch in disarm menu, but dunno if this is possible]
I'll add some if I forgot smth.

YamiKaitou 02-24-2008 15:53

Re: Official AMX Super Menu version 0.4.2
 
Wow, thanks for the testing.

Quote:

WRONG COMMADS:
Commands heads to wrong menus.

* God = Special Slay
* No Clip = God
* Super Speed = No Clip
* Unlimited Ammo = Super Speed
* 2 Players Swap = Unlimited Ammo
* Give Money = 2 Players Swap
* Take Money = Give Money

Due to above there are menus missing.
MISSING MENUS:

* Super Slay
* Take Money

COMMANDS THAT DOES NOTHING:
Will look into



Quote:

Un/Lock Teams - Title of the menu and #5 option are the same in one time. In my opinion those should be opposite, becouse if I have Lock option on I wold like to turn on Unlock option, so #5 option should show Unlock in this case. [hope you understand]
I guess I see what you mean. Will revert.

Quote:

* Bury/Unbury switch option in Bury/Unbury submenu [just like in Lock/Unlock Teams menu]
Already implemented

Quote:

* Speed/Unspeed switch option in Speed submenu [just like in Lock/Unlock Teams menu]
Already implemented as On/Off

Quote:

* Take/Give Money switch option in new menu instead of two separated menus
Sure

Quote:

* Switch options in God submenu [like above but with more options: god for 1 round, always god, "ungod"]
* Switch options in No Clip submenu [like above with similar options: noclip for 1 round, always noclip, "unnoclip"]
Already implemented as Off, On, On Each Round.

Quote:

* Switch options in Super Slay submenu [like above with options: lightning, blood, explode]
Already implemented as described

Quote:

* Switch options in Stack submenu [like above with options
Already implemented as 0, 1, 2

Quote:

* Option to flash whole team and/or all [good to see a switch in flash menu, but dunno if this is possible]
* Option to disarm whole team and/or all [good to see a switch in disarm menu, but dunno if this is possible]
Update log says next version will include @team options for commands that allow it

Czarny Iwan 02-24-2008 16:05

Re: Official AMX Super Menu version 0.4.2
 
Quote:

Originally Posted by YamiKaitou (Post 589197)
Update log says next version will include @team options for commands that allow it

Oh, sorry for that.

hoboman 02-24-2008 16:35

Re: Official AMX Super Menu version 0.4.2
 
ok...well I dunno much about making amxx menus and I haven't tried running this, but I was looking through some of the coding and I am in awe...

The menus in the game look so simple...it is usually just: pick a command from a list ---> pick a player from another list ---> run the command on that player--> go back to the list of commands

Kinda weird to have a 80kb source code for a plugin that is so repetitive. Is this really how everyone is expected to write these menu plugins? It just seems weird to me to have to copy and paste basically the same code so many times to make a plugin.

Dric Laar 02-24-2008 18:51

Re: Official AMX Super Menu version 0.4.2
 
Haha sweet, finally a plugin like this was made! Very useful :)

YamiKaitou 02-24-2008 20:25

Re: Official AMX Super Menu version 0.4.2
 
Quote:

Originally Posted by hoboman (Post 589212)
Kinda weird to have a 80kb source code for a plugin that is so repetitive. Is this really how everyone is expected to write these menu plugins? It just seems weird to me to have to copy and paste basically the same code so many times to make a plugin.

The final 1.0 release will be much smaller in code size. I am just pushing something out there so people can have a menu to use and stop complaining

YamiKaitou 02-25-2008 10:28

Re: Official AMX Super Menu version 0.4.2
 
@ Czarny Iwan: Bugs have been fixed. Please test again. I didn't fix the Give Money error (but I did fix a potential one) because you are missing part of the error log (I think). If you did get it all, please provide me with more details about how the error occurred.



Version 0.4.3 released. Lang file must be downloaded for menu to function right

Czarny Iwan 02-25-2008 12:25

Re: Official AMX Super Menu version 0.4.2
 
Lets start testing :)
I'll test all commands and give you a full log.

Phew... so...
  • Lets start with color. I'm sure that this problem was earlier but now I've noticed it. I'm talking about color of the options numbers. Base menu has red numbers. All Talk, Map Extend, Gravity menus too. Please, take care of menu consistency.
  • I can't see any vars to choose on Heal, Armor, Bury, Stack, Super Slay, Give & Take Money menus
  • Errors in lang file. Wrong order and such.
I'm on my way to do more tests.

Ok, so after few tests the menu stops responding. I mean I can see it, can choose options but commands don't execute. This id errorlog from such situation:
Code:

L 02/25/2008 - 19:31:37: Start of error session.
L 02/25/2008 - 19:31:37: Info (map "aim_map") (file "addons/amxmodx/logs/error_20080225.log")
L 02/25/2008 - 19:31:37: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/25/2008 - 19:31:37: [AMXX] Run time error 4: index out of bounds
L 02/25/2008 - 19:31:37: [AMXX]    [0] amx_super_menu.sma::stackMenu (line 1838)
L 02/25/2008 - 19:31:45: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/25/2008 - 19:31:45: [AMXX] Run time error 4: index out of bounds
L 02/25/2008 - 19:31:45: [AMXX]    [0] amx_super_menu.sma::stackMenu (line 1838)
L 02/25/2008 - 19:31:55: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/25/2008 - 19:31:55: [AMXX] Run time error 4: index out of bounds
L 02/25/2008 - 19:31:55: [AMXX]    [0] amx_super_menu.sma::slayMenu (line 2071)


MonsteR_TR 02-26-2008 23:29

Re: Official AMX Super Menu version 0.4.2
 
thet have some bugs.they had cleaned after i translate to turkish lang

YamiKaitou 02-27-2008 00:10

Re: Official AMX Super Menu version 0.4.2
 
Quote:

Originally Posted by Czarny Iwan (Post 589556)
Lets start with color. I'm sure that this problem was earlier but now I've noticed it. I'm talking about color of the options numbers. Base menu has red numbers. All Talk, Map Extend, Gravity menus too. Please, take care of menu consistency.

That is just me being lazy. Colors will match main menu for final release.

Quote:

I can't see any vars to choose on Heal, Armor, Bury, Stack, Super Slay, Give & Take Money menus
Screenshot please. Not sure I understand you

Quote:

Errors in lang file. Wrong order and such.
Yeah, I caught some Menu title errors. I have corrected those for 0.5.1. If you know of any others, please tell me where.

Quote:

Ok, so after few tests the menu stops responding. I mean I can see it, can choose options but commands don't execute. This id errorlog from such situation:
Code:

L 02/25/2008 - 19:31:37: Start of error session.
L 02/25/2008 - 19:31:37: Info (map "aim_map") (file "addons/amxmodx/logs/error_20080225.log")
L 02/25/2008 - 19:31:37: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/25/2008 - 19:31:37: [AMXX] Run time error 4: index out of bounds
L 02/25/2008 - 19:31:37: [AMXX]    [0] amx_super_menu.sma::stackMenu (line 1838)
L 02/25/2008 - 19:31:45: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/25/2008 - 19:31:45: [AMXX] Run time error 4: index out of bounds
L 02/25/2008 - 19:31:45: [AMXX]    [0] amx_super_menu.sma::stackMenu (line 1838)
L 02/25/2008 - 19:31:55: [AMXX] Displaying debug trace (plugin "amx_super_menu.amxx")
L 02/25/2008 - 19:31:55: [AMXX] Run time error 4: index out of bounds
L 02/25/2008 - 19:31:55: [AMXX]    [0] amx_super_menu.sma::slayMenu (line 2071)


Seems like an error in something. How many players are on the server at that time? What page were you on? What key were you trying to press? I think I know what it is, but I want to be sure

Quote:

Originally Posted by MonsteR_TR (Post 590319)
thet have some bugs.they had cleaned after i translate to turkish lang

Huh?

Czarny Iwan 02-27-2008 07:29

Re: Official AMX Super Menu version 0.4.2
 
I've downloaded again latest version with lang file and compile it to be 100% sure that I have everything allright.

Quote:

Screenshot please. Not sure I understand you
I can't give you a screenshot of something that doesn't exist. I'll try to describe you this but its not easy to do descriptions in languages other that youre national language.
Ok, you said that you implemented bury/unbury, speed, god, no clip, special slay and stack switch options, but there's no such options.
And I don't know if you already implement menus to choose the ammount of health, armor etc. I give. For egzample: I'm choosing Heal from menu and then I can only choose a player and he gets 10HP. Sometimes I do something to change this to 25HP but I dont, know what.

Choosing Super Speed is also weird. After choosing a player I get print chat and print console and it looks like this:
Code:

[AMXX] Set speed on [BOSKI]Czarny Iwan.
[AMXX] ADMIN turned off speed for [BOSKI]Czarny Iwan

So its on or off? By the way, I don't feel like super speed.

Quote:

How many players are on the server at that time?
I'm always testin alone or with Potti Bot.

Oh, and by the way, I'm gettin this warning when compiling:
Code:

// (...)\cstrike\addons\amxmodx\scripting\amx_super_menu.sma(27
18) : warning 204: symbol is assigned a value that is never used: "g_maxplayers"


YamiKaitou 02-27-2008 10:35

Re: Official AMX Super Menu version 0.4.2
 
The lang issue: It should be displaying, unless I didn't tell it to. But, it should be key 8 that changes the values. I wonder if I just forgot to display it. Will attempt to fix for 0.5.1

Speed issue: Will look into

The compile warning: You can ignore. I am not sure if I am going to be using it later or not.

YamiKaitou 02-27-2008 10:47

Re: Official AMX Super Menu version 0.4.2
 
Quote:

Originally Posted by YamiKaitou (Post 590473)
The lang issue: It should be displaying, unless I didn't tell it to. But, it should be key 8 that changes the values. I wonder if I just forgot to display it. Will attempt to fix for 0.5.1

I just checked and it should be displaying the different options as key 8.


Quote:

Originally Posted by YamiKaitou (Post 590473)
Speed issue: Will look into

The speed issue is not on my end. The menu is successfully sending the correct command and args to the clients console. I can give you a debug version that will log some stuff so you/I can make sure that it is sending correctly.

Czarny Iwan 02-27-2008 12:18

Re: Official AMX Super Menu version 0.4.2
 
Quote:

The compile warning: You can ignore. I am not sure if I am going to be using it later or not.
I though so.

Quote:

I just checked and it should be displaying the different options as key 8.
Did you checked in game?

Due to that I think this script is too complicated to me, maybe you can explain to me how it should work.
Lets take for egzample Heal menu.
For me it works like this:
Choosing Heal menu from main menu -> player menu shows up -> I'm choosing a player -> the script give 10HP to chosen player

Another idea comes in to my head. Maybe you simply forgot to upload the latest version and I'm still downloading the wrong one.

Ok, I've a hardcore thing - I've turned off all plugins except amx_super and amx_super_menu and it does nothing.

YamiKaitou 02-27-2008 12:45

Re: Official AMX Super Menu version 0.4.2
 
I will have to look at it when I get home. Cause, the script that is in this topic should be displaying the options.

Here is a layout of what the Heal menu should look like (lang keys are in en)


Quote:

Give a Player Health 1/2

1. Yami Kaitou
2. bman_420
3. vvg125
4. Czarny Iwan
5. Alfred
6. Gene
7. Fred
8. Give 10 HP

9. More
0. Exit
Quote:

Originally Posted by Czarny Iwan (Post 590509)
Ok, I've a hardcore thing - I've turned off all plugins except amx_super and amx_super_menu and it does nothing.

You only have super and the menu enabled and the menu doesn't work?

Czarny Iwan 02-27-2008 13:54

Re: Official AMX Super Menu version 0.4.2
 
Quote:

You only have super and the menu enabled and the menu doesn't work?
You misunderstood me. I mean that turning off all other plugins didn't solve the problem.

nickbunyun 02-27-2008 16:29

Re: Official AMX Super Menu version 0.4.2
 
Pause Plugins 1.8.0.3660 AMXX Dev Team pausecfg.amxx running
Stats Configurati 1.8.0.3660 AMXX Dev Team statscfg.amxx running
Advanced Roll The v2.5 RC 4 Striker roll_the_dice.a running
Swear Filter 1.0a SuicideDog swear_filter.am running
DeagsMapManager 3.0 Deags/AMXX Commu deagsmapmanager running
Admin Gag 1.8.3 EKS admin_gag.amxx running
AdminListen 2.3x /dev/ urandom adminlisten.amx running
AMX Super Menu 0.4.3 Yami Kaitou amx_super_menu. error
8 plugins, 7 running
----- Entries 18 - 25 o


Currently loaded modules:
name version author status
Fun 1.8.0.3660 AMX Mod X Dev Team running
Engine 1.8.0.3660 AMX Mod X Dev Team running
FakeMeta 1.8.0.3660 AMX Mod X Dev Team running
CStrike 1.76 AMX Mod X Dev Team running
CSX 1.76c AMX Mod X Dev Team running
CS Respawn 1.77b XxAvalanchexX ru

why is it error?

bmann_420 02-27-2008 16:33

Re: Official AMX Super Menu version 0.4.2
 
I believe the error is ..... You dont have the Super running ..... ?

This menu is made for the amx_super

YamiKaitou 02-27-2008 16:46

Re: Official AMX Super Menu version 0.4.2
 
Yes, bmann is correct. This plugin will force itself to error if there is not a plugin found running with the file name of amx_super.amxx.

If you believe that you do have it installed, please provide the output of the following command

rcon amxx plugins


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

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