I left comment, not sure where exactly problem is.
https://github.com/alliedmodders/sou...ent-1397965474
Quote:
> Hello @asherkin @psychonic @peace-maker etc. etc.
>
> I want inform that between these build:
>
> ```
> DEV SM 1.12 - 6958
> DEV SM 1.12 - 6954
> ```
>
> ...server crash when use SDKTools `DispatchSpawn("weapon_hegrenade")` on version 6958. Again, it works fine on version 6954 and on other previous build, included STABLE SM 1.11
>
> Plugin [Weapon Restrict](https://github.com/Drifter321/csgo-css-weapon-restrict) would cause that crash. And I managed to follow code to `DispatchSpawn("weapon_hegrenade")`
>
> Here is simple problematic code.
>
> ```c++
> #include <sdktools>
>
> public void OnConfigsExecuted()
> {
> CreateTimer(10.0, delay)
> }
>
> public Action delay(Handle timer)
> {
> int iEnt = CreateEntityByName("weapon_hegrenade");
>
> if(iEnt)
> {
> DispatchSpawn(iEnt);
> //iGrenadeAmmoIndex[i] = GetEntProp(iEnt, Prop_Send, "m_iPrimaryAmmoType");
> //AcceptEntityInput(iEnt, "Kill");
> }
>
> return Plugin_Continue;
> }
> ```
>
> * I tested on Windows.
>
> * This person mentioned Linux #[2247](https://forums.alliedmods.net/showpo...postcount=2247)
>
>
> Hope you find this bug. Good day!
|
You should stay on
STABLE version of MM:S and SM.
DEVS version means, you will encounter errors or bugs. And what I understood, you not create ISSUE of those dev versions. For last time what I red some where
__________________