AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS/CS:GO] Weapon Restrict (https://forums.alliedmods.net/showthread.php?t=105219)

Bacardi 01-20-2023 08:36

Re: [CSS/CS:GO] Weapon Restrict
 
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

Peace-Maker 01-20-2023 10:17

Re: [CSS/CS:GO] Weapon Restrict
 
The problem was fixed in the latest 1.12 build.

https://github.com/alliedmodders/sou...19bfb0d404ee84

PStar 01-20-2023 11:39

Re: [CSS/CS:GO] Weapon Restrict
 
Quote:

Originally Posted by Peace-Maker (Post 2797603)
The problem was fixed in the latest 1.12 build.

https://github.com/alliedmodders/sou...19bfb0d404ee84

Thank you for the information. Hope it will not break again in future updates.

rodopoulos 03-25-2023 19:39

Re: [CSS/CS:GO] Weapon Restrict
 
I tring to set per player on perplayerrestrict.txt but i dont know what is the 10 and 18 from the start and 0, 1 and 2.

what is that?

and how can i put for only admins can buy unlimited awps?

"PerPlayer"
{
"awp"
{
"default" "0"
"10" "1"
"18" "2"
}

ten 04-16-2023 14:15

Re: [CSS/CS:GO] Weapon Restrict
 
Is it possible to be able to make it so a VIP on my server with the flag "a" can bypass the restrictions?

parthi 06-04-2023 05:21

Re: [CSS/CS:GO] Weapon Restrict
 
IS it possible to change the money/amount refounded for weapon restricit?
Exemple : Helmet+armor has been refounded 750$, and I want to change it.

Wizzardoff 07-22-2023 16:34

Re: [CSS/CS:GO] Weapon Restrict
 
Has this plugin anything to do with money earned on end/start round? I get weird money earning, it messes it up, some player get literary 300$ when round is lost. When i unload the plugin all works ok

Bacardi 08-05-2023 08:46

Re: [CSS/CS:GO] Weapon Restrict
 
Quote:

Originally Posted by Wizzardoff (Post 2807613)
Has this plugin anything to do with money earned on end/start round? I get weird money earning, it messes it up, some player get literary 300$ when round is lost. When i unload the plugin all works ok

It have refund on special rounds
https://github.com/Drifter321/csgo-c...ns.sp#L58-L130

Wizzardoff 08-16-2023 15:00

Re: [CSS/CS:GO] Weapon Restrict
 
Special round you mean knife/pistol rounds? We dont use that on server,just warmup and weapon restrictions perplayer but a lot of players complain on getting very low money when round is lost.
I also got a weird situation when side switched in halftime a player got ak7 bought with money in first round. Very strange


All times are GMT -4. The time now is 12:40.

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