Alex Dragokas
Alex Dragokas
One more different crash. May be related: https://crash.limetech.org/z2v7fcvg2pqq ``` topmenus.ext.so!TopMenu::UpdateClientCategory(int, unsigned int, bool) + 0x73 topmenus.ext.so!TopMenu::DisplayMenu(int, unsigned int, SourceMod::TopMenuPosition) + 0x78 topmenus.ext.so!DisplayTopMenu(SourcePawn::IPluginContext*, int const*) + 0xc9 ```
> In which case it may be useful to use OnPluginLoad()? @Wend4r, sorry, I don't understand your question. Use cases are described above + one more in linked issue +...
Left 4 Dead 1 & 2 SM 1.11.0.6806
To be able to re-display menu in case player accidentally pressed the wrong button causing menu close. It is very important for a system with a lot of sub-menus, where...
Personally, I would vote for your proposal. I can't find any good case where one intentionally may want to press the wrong (non-existent) button.
Maybe. https://github.com/dragokas/sourcemod/blob/257535daf216704bbae7b30d104d4f76d50602d0/core/MenuStyle_Base.cpp#L371 Do you think I should just return from function when ``` type == ItemSel_None ``` No need to release some objects, like "Clear states" code a bit below?
Adding command name to a global cache for further checking in real time - is particular command exists. CommandExist() doesn't do its job: https://github.com/alliedmodders/sourcemod/issues/1480
There is no way to use GetCommandIterator() to retrieve an updated list of commands just for 1 single and simple check, because it gives like ~0.5-1 second lag to iterate...
Thanks for the suggestion. I'm writing in C++ very rarely. I'll give a chance to somebody more skilled.
Most references in Russian readme are not working: https://github.com/sidristij/dotnetbook/blob/master/book/ru/readme.md