Quote:
Originally Posted by fysiks
Without options? Doesn't sound like a menu to me.
|
I really don't care your opinionated views of what a menu should be. What I do care about is making things clean, functioning, and meet/exceeds people's expectations to make game play more unique and exciting.
Quote:
Originally Posted by fysiks
Where did you read that the "new menus" were "fully dynamic to be able to do everything"? That's a huge request.
Looks like you will just have to use the original menu method to only have text and a back button then.
|
What I heard back when it came out a couple years ago was that it was the cream of the crop, and was much more efficient at handing paged listings (which it is), than the previous menu handler. When things are said to be a replacement, I expect them to be a full replacement, non-partial. I do understand how we can forget about things, or how some of us want to eliminate what seems to be non-practical use, but it does tend to be screwy with the flexibility and logistics of how some of us code or develop.
--------------
Conner:
Thanks for that link much obliged!!
I have this report from my plugin set that I believe to be coded the poorest.
What are good/bad execution times? Nothing I see is really too alarming.
Code:
date: Mon Jul 12 17:44:46 2010 map: ns_hera
type | name | calls | time / min / max
-------------------------------------------------------------------
n | formatex | 243 | 0.000068 / 0.000000 / 0.000002
n | nvault_set | 322 | 0.000727 / 0.000001 / 0.000141
n | server_print | 3 | 0.000431 / 0.000128 / 0.000155
n | get_user_authid | 32 | 0.000015 / 0.000000 / 0.000002
n | get_user_name | 32 | 0.000008 / 0.000000 / 0.000000
n | equali | 2 | 0.000001 / 0.000000 / 0.000000
n | format | 307 | 0.000129 / 0.000000 / 0.000002
n | copyc | 8 | 0.000002 / 0.000000 / 0.000000
n | strlen | 231 | 0.000046 / 0.000000 / 0.000000
n | register_plugin | 1 | 0.000001 / 0.000001 / 0.000001
n | nvault_open | 4 | 0.002230 / 0.000003 / 0.002212
n | register_clcmd | 1 | 0.000016 / 0.000016 / 0.000016
n | set_task | 68 | 0.000135 / 0.000001 / 0.000007
n | nvault_close | 1 | 0.002080 / 0.002080 / 0.002080
n | TrieDestroy | 1 | 0.000000 / 0.000000 / 0.000000
n | NSA_Server_Type | 2 | 0.000006 / 0.000003 / 0.000003
n | remove_task | 64 | 0.000047 / 0.000000 / 0.000001
n | NSA_A_Status | 74 | 0.000190 / 0.000001 / 0.000011
n | NSA_Load | 163 | 0.001243 / 0.000006 / 0.000024
n | is_user_connected | 32 | 0.000011 / 0.000000 / 0.000001
n | is_user_bot | 32 | 0.000013 / 0.000000 / 0.000002
n | client_print | 2 | 0.000005 / 0.000001 / 0.000004
n | read_args | 1 | 0.000000 / 0.000000 / 0.000000
n | remove_quotes | 1 | 0.000000 / 0.000000 / 0.000000
n | parse | 1 | 0.000001 / 0.000001 / 0.000001
n | task_exists | 1 | 0.000005 / 0.000005 / 0.000005
n | menu_create | 3 | 0.000023 / 0.000006 / 0.000009
n | menu_setprop | 3 | 0.000002 / 0.000000 / 0.000001
n | menu_display | 3 | 0.000078 / 0.000019 / 0.000034
n | menu_destroy | 3 | 0.000017 / 0.000004 / 0.000007
n | nvault_lookup | 293 | 0.000482 / 0.000001 / 0.000007
n | str_to_num | 246 | 0.000082 / 0.000000 / 0.000002
n | menu_additem | 32 | 0.000032 / 0.000001 / 0.000002
n | menu_item_getinfo | 1 | 0.000001 / 0.000001 / 0.000001
n | containi | 87 | 0.000033 / 0.000000 / 0.000001
n | add | 36 | 0.000013 / 0.000000 / 0.000001
n | set_hudmessage | 30 | 0.000007 / 0.000000 / 0.000001
n | show_hudmessage | 30 | 0.000071 / 0.000001 / 0.000004
p | client_authorized | 32 | 0.000083 / 0.000002 / 0.000003
p | client_putinserver | 32 | 0.000022 / 0.000001 / 0.000001
p | help_menu_task | 1 | 0.000001 / 0.000001 / 0.000001
p | help_messege | 32 | 0.000035 / 0.000001 / 0.000002
p | load_as | 32 | 0.000086 / 0.000002 / 0.000005
p | menu_a_chosen_handler | 1 | 0.000002 / 0.000002 / 0.000002
p | menu_a_main_handler | 2 | 0.000012 / 0.000001 / 0.000011
p | plugin_end | 1 | 0.000002 / 0.000002 / 0.000002
p | plugin_init | 1 | 0.000002 / 0.000002 / 0.000002
p | say_handle | 1 | 0.000003 / 0.000003 / 0.000003
p | show_hud | 30 | 0.000044 / 0.000001 / 0.000002
p | update_hud | 12 | 0.000172 / 0.000013 / 0.000022
p | update_vaults | 1 | 0.000003 / 0.000003 / 0.000003
f | nvault_ns | 1 | 0.000034 / 0.000034 / 0.000034
f | nvault_co | 1 | 0.000036 / 0.000036 / 0.000036
f | nvault_sg | 1 | 0.000034 / 0.000034 / 0.000034
f | update_steamid_var | 32 | 0.000019 / 0.000001 / 0.000001
f | update_name_var | 32 | 0.000026 / 0.000001 / 0.000001
f | NSA_Server_to_text | 7 | 0.000004 / 0.000000 / 0.000001
f | explode | 4 | 0.000005 / 0.000001 / 0.000001
f | help_menu | 2 | 0.000004 / 0.000002 / 0.000002
f | list_achievements | 6 | 0.000185 / 0.000022 / 0.000064
f | insert_gid | 30 | 0.000011 / 0.000000 / 0.000000
f | clear_gids | 2 | 0.000004 / 0.000002 / 0.000002
8 natives, 12 public callbacks, 18 function calls were not executed.
__________________