Raised This Month: $ Target: $400
 0% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
sandalet
Junior Member
Join Date: Nov 2010
Old 06-14-2012 , 08:42   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1051

Possible to run this plugin on cspromod?
__________________
I look forward to the film «Austin Powers 4»
sandalet is offline
Hornet2510
New Member
Join Date: Jun 2012
Location: Russia
Old 06-17-2012 , 09:29   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1052

Hello, started to receive that errors after updating to v71:

Quote:
L 06/17/2012 - 00:00:12: SourceMod error session started
L 06/17/2012 - 00:00:12: Info (map "de_dust2") (file "errors_20120617.log")
L 06/17/2012 - 00:00:12: [SM] Native "CS_GetTranslatedWeaponAlias" reported: Failed to locate function
L 06/17/2012 - 00:00:12: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 06/17/2012 - 00:00:12: [SM] [0] Line 315, restrictinc/natives.sp::Native_GetWeaponIDExtended()
L 06/17/2012 - 00:00:12: [SM] Native "Restrict_GetWeaponIDExtended" reported: Error encountered while processing a dynamic native
L 06/17/2012 - 00:00:12: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 06/17/2012 - 00:00:12: [SM] [0] Line 197, restrictinc/events.sp::CS_OnBuyCommand()
Logs are up to 10 mb because of that and server is crashing. Please tell me what should I do. Thanks.

Quote:
"CS:S Tools" (1.4.3) by AlliedModders LLC: CS:S extended functionality
"BinTools" (1.4.3) by AlliedModders LLC: Low-level C/C++ Calling API
"SDK Tools" (1.4.3) by AlliedModders LLC: Source SDK Tools
"SDK Hooks" (2.1.0) by Tsunami, psychonic: Source SDK Hooks
"Top Menus" (1.4.3) by AlliedModders: Creates sorted nested menus
"Client Preferences" (1.4.3) by AlliedModders: Saves client preference settings
"SQLite" (1.4.3) by AlliedModders LLC: SQLite Driver
Quote:
[01] SourceMod (1.4.3) by AlliedModders LLC
[02] CS:S Tools (1.4.3) by AlliedModders LLC
[03] SDK Tools (1.4.3) by AlliedModders LLC
[04] SDK Hooks (2.1.0) by Tsunami, psychonic
Hornet2510 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 06-17-2012 , 13:42   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1053

Quote:
Originally Posted by Hornet2510 View Post
Hello, started to receive that errors after updating to v71:



Logs are up to 10 mb because of that and server is crashing. Please tell me what should I do. Thanks.
Make sure your gamedata is up to date grab the latest gamedata from a 1.4.4 snapshot.
Dr!fter is offline
lavagod
Junior Member
Join Date: Jul 2010
Old 06-17-2012 , 20:12   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1054

I just installed this plugin with the hope of restricting some weapons on our miniGames server. I first started by trying to disable the warmup with map specific configs but it does not seem to be working. I believe all the plugins are loading correctly.

Is anyone have issues with map specific configs for this. Maybe I'm just doing something wrong.

I have a map called bigballs and I have a config called bigballs.cfg in the following folder C:\Game Servers\MiniGames\css\cstrike\addons\sourcemo d\configs\restrict\ and below is what I have in the config

// Enable warmup.
// -
// Default: "1"
sm_warmup_enable "0"

I even tried a 2 just to see what would happen and the warmup still occurs.

Anyone have issues with map specific configs for this? Could I be doing something wrong?

Any help would be much appreciated

Thanks
lavagod is offline
lavagod
Junior Member
Join Date: Jul 2010
Old 06-18-2012 , 09:54   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1055

Any help with the above would be much appreciated. We're a little dead in the water with our server until I can figure out whats wrong.
lavagod is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-18-2012 , 15:49   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1056

yes @lavagod, you are right.
It's because bad timing execute configs.

Last edited by Bacardi; 06-18-2012 at 16:32. Reason: *update image
Bacardi is offline
lavagod
Junior Member
Join Date: Jul 2010
Old 06-18-2012 , 15:55   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1057

so the round is beginning before the map specific configs can load? I'm guessing no fix for this?

also thanks for the response.
lavagod is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-18-2012 , 16:38   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1058

Quote:
Originally Posted by lavagod View Post
so the round is beginning before the map specific configs can load? I'm guessing no fix for this?

also thanks for the response.
Ok... easy fix, my way.
  • In cfg/sourcemod/weapon_restrict.cfg, remove or //comment that cvar sm_warmup_enable so it will not executed.
  • Don't add same cvar in addons/sourcemod/configs/restrict/map_name.cfg
  • Add in cfg/server.cfg sm_warmup_enable "1"
  • Create and add in maps/cfg/map_name.cfg sm_warmup_enable "0"

Last edited by Bacardi; 06-18-2012 at 16:44.
Bacardi is offline
lavagod
Junior Member
Join Date: Jul 2010
Old 06-18-2012 , 21:11   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1059

that worked!

Thanks so much for the help
lavagod is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 06-18-2012 , 22:41   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1060

Quote:
Originally Posted by Bacardi View Post
Ok... easy fix, my way.
  • In cfg/sourcemod/weapon_restrict.cfg, remove or //comment that cvar sm_warmup_enable so it will not executed.
  • Don't add same cvar in addons/sourcemod/configs/restrict/map_name.cfg
  • Add in cfg/server.cfg sm_warmup_enable "1"
  • Create and add in maps/cfg/map_name.cfg sm_warmup_enable "0"
Weird that its starting. The map configs should be executed before it starting warmup. Ill have to have a look.

Last edited by Dr!fter; 06-18-2012 at 22:43.
Dr!fter is offline
Reply



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 12:15.


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