Raised This Month: $12 Target: $400
 3% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-20-2023 , 08:36   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2251

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
__________________
Do not Private Message @me
Bacardi is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 01-20-2023 , 10:17   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2252

The problem was fixed in the latest 1.12 build.

https://github.com/alliedmodders/sou...19bfb0d404ee84
__________________
Peace-Maker is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 01-20-2023 , 11:39   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2253

Quote:
Originally Posted by Peace-Maker View Post
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.
PStar is offline
rodopoulos
Junior Member
Join Date: Mar 2023
Location: Brazil
Old 03-25-2023 , 19:39   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2254

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"
}

Last edited by rodopoulos; 03-25-2023 at 19:40.
rodopoulos is offline
ten
Junior Member
Join Date: Apr 2023
Location: United States
Old 04-16-2023 , 14:15   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2255

Is it possible to be able to make it so a VIP on my server with the flag "a" can bypass the restrictions?
__________________
.gg/azael
ten is offline
parthi
Senior Member
Join Date: Mar 2015
Old 06-04-2023 , 05:21   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2256

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.
parthi is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 07-22-2023 , 16:34   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2257

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
Wizzardoff is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-05-2023 , 08:46   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2258

Quote:
Originally Posted by Wizzardoff View Post
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
__________________
Do not Private Message @me
Bacardi is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 08-16-2023 , 15:00   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2259

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

Last edited by Wizzardoff; 08-16-2023 at 15:04.
Wizzardoff is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:58.


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