Jonathan
Jonathan
> You cannot override a command with a convar due to how the internal linking of the engine works but the other way around should be possible. No it won't...
> However, the other way around (`ConCommand` → `ConVar`), is possible. For example: It doesn't work on my end. Output: ``` sp plugin load test [SP] Loading plugin 'test'... Tried...
> > > > It doesn't work on my end. > > What game? It's possible different engine version behave differently. I'm testing on CS:S. CS:GO
Since sourcemod was designed to avoid overlapping ConVar, ConCommand, I assumed it would be incompatible with any game. ConVar: https://github.com/alliedmodders/sourcemod/blob/master/core/ConVarManager.cpp#L407 ConCommand(ServerCommand): https://github.com/alliedmodders/sourcemod/blob/master/core/smn_console.cpp#L754
> At the end I had time to look more into it and came up with the following that addresses the registration conflicts as well as some other fixes: [02e3490](https://github.com/Source-Python-Dev-Team/Source.Python/commit/02e34907fc86036228d132526edcd8f847a0650a)...
> I understand your intentions, but I have a question, why? > Your results are expected behaviours I am not asking how it behaves, I am asking why you are...
> We are responsible to release the memory we use, just like they are for what they allocate. Nobody will do it for us, No, we can't be responsible, and...
> Other than that, yeah, I really cannot justify to prevent one or the other to load in such case. I tried to find scenarios where it would make sense,...
I created a new issue #430 because this problem is not related to this pull request. I will also create an issue about ConCommand and ConVar conflicts, but that will...
> * Encoding. Non-ascii characters will be broken. > * Leading/trailing spaces. Fixed. > * End-line comments. Isn't that a tricky thing to do? As both "test #.vtf" and "test///test.vtf"...