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

[ANY]Admin all spectate


Post New Thread Reply   
 
Thread Tools Display Modes
Arkadietz
Senior Member
Join Date: Jul 2011
Old 01-08-2014 , 12:19   Re: [ANY]Admin all spectate
Reply With Quote #111

Okay. I am using:
MetaMod:Source v1.10.1-devV, SourceMod v1.5.3-dev+3954, dhooks-1.0.12-alpha and latest admin-allspec.zip

My allow-spec.games.txt looks like this:

Code:
"Games"
{
	"cstrike"
	{
		"Offsets"
		{
			"IsValidObserverTarget"
			{
				"windows"	"379"
				"linux"		"380"
			}
		}
	}
	"tf"
	{
		"Offsets"
		{
			"IsValidObserverTarget"
			{
				"windows"	"378"
				"linux"		"379"
			}
		}
	}
	"dod"
	{
		"Offsets"
		{
			"IsValidObserverTarget"
			{
				"windows"	"378"
				"linux"		"379"
			}
		}
	}
	"hl2mp"
	{
		"Offsets"
		{
			"IsValidObserverTarget"
			{
				"windows"	"378"
				"linux"		"379"
			}
		}
	}
	"csgo"
	{
		"Offsets"
		{
			"IsValidObserverTarget"
			{
				"windows"	"421"
				"linux"		"422"
			}
		}
	}
}
The result is plugin not woking! If i am not done something please tell otherwise you need to fix the source code.
__________________

Last edited by Arkadietz; 01-08-2014 at 12:19.
Arkadietz is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-08-2014 , 12:25   Re: [ANY]Admin all spectate
Reply With Quote #112

what are your CVars for restricting player camera views?

You have the cheats flag? If you late loaded the plugin, did you reconnect?
__________________
View my Plugins | Donate

Last edited by TnTSCS; 01-08-2014 at 12:26.
TnTSCS is offline
Arkadietz
Senior Member
Join Date: Jul 2011
Old 01-08-2014 , 12:30   Re: [ANY]Admin all spectate
Reply With Quote #113

Quote:
Originally Posted by TnTSCS View Post
what are your CVars for restricting player camera views?

You have the cheats flag? If you late loaded the plugin, did you reconnect?
I have z flag = all flags
I haven't any cvar in my server.cfg except this:
mp_forcecamera 1 // Set to 1 for team only spectating.
__________________

Last edited by Arkadietz; 01-08-2014 at 12:31.
Arkadietz is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-08-2014 , 14:55   Re: [ANY]Admin all spectate
Reply With Quote #114

Are you able to spectate other players, just not free spectate?
__________________
View my Plugins | Donate
TnTSCS is offline
Arkadietz
Senior Member
Join Date: Jul 2011
Old 01-08-2014 , 15:01   Re: [ANY]Admin all spectate
Reply With Quote #115

Quote:
Originally Posted by TnTSCS View Post
Are you able to spectate other players, just not free spectate?
How i can reach that?

May be this is the command? --> mp_allowspectators 1 // toggles whether the server allows spectator mode or not

Here is my server.cfg

Code:
// Information
hostname "[BG] CSGO.SHAKEIT.BG #1 COMPETITIVE [128]"		// Name of server

rcon_password "somepass"		// Administration password (rcon)

// Friendly
mp_friendlyfire 0			// Allows team members to injure other members of their team
ff_damage_reduction_grenade 0.85	// How much to reduce damage done to teammates by a thrown grenade
ff_damage_reduction_bullets 0.33	// How much to reduce damage done to teammates when shot
ff_damage_reduction_other 0.4		// How much to reduce damage done to teammates by things other than bullets and grenades
ff_damage_reduction_grenade_self 1	// How much to damage a player does to himself with his own grenade

// Multiplayer
mp_freezetime 5				// How many seconds to keep players frozen when the round starts
mp_afterroundmoney 0			// Amount of money awarded to every player after each round
mp_playercashawards 1			// Players can earn money by performing in-game actions
mp_teamcashawards 1			// Teams can earn money by performing in-game actions
mp_maxrounds 20				// Max number of rounds to play before server changes maps
mp_halftime 1				// Determines whether the match switches sides in a halftime event
mp_halftime_duration 5			// Number of seconds that halftime lasts
mp_timelimit 0				// Game time per map in minutes
mp_roundtime 2				// How many minutes each round takes
mp_buytime 20				// How many seconds after round start players can buy items for
mp_c4timer 35				// How long from when the C4 is armed until it blows
mp_forcecamera 1			// Set to 1 for team only spectating.
mp_allowspectators 1 			// toggles whether the server allows spectator mode or not
mp_defuser_allocation 0			// How to allocate defusers to CTs at start of round: 0=none, 1=random, 2=everyone
mp_death_drop_gun 1			// 0=none, 1=best, 2=current or best
mp_death_drop_grenade 0			// 0=none, 1=best, 2=current or best
mp_death_drop_defuser 1			// Drop defuser on player death
mp_molotovusedelay 0			// Number of seconds to delay before the molotov can be used after acquiring it
mp_startmoney 800			// Amount of money each player gets when they reset
mp_maxmoney 16000			// Maximum amount of money allowed in a players account
mp_weapons_allow_zeus 1			// Determines whether the Zeus is purchasable or not
mp_solid_teammates 1			// Determines whether teammates are solid or not
mp_free_armor 0				// Determines whether armor and helmet are given automatically
mp_force_pick_time 0			// The amount of time a player has on the team screen to make a selection before being auto-teamed
mp_join_grace_time 5			// Number of seconds after round start to allow a player to join a game
mp_autokick 0				// Kick idle/team-killing players
mp_limitteams 0				// Max # of players 1 team can have over another (0 disables check)
mp_autoteambalance 1			// Automatic team balance
mp_playerid 0				// Controls what information players see in the status bar: 0=all names, 1=team names, 2=no names
mp_round_restart_delay 3		// Number of seconds to delay before restarting a round after a win
mp_tkpunish 0				// Will a TKer be punished in the next round: 0=no, 1=yes
mp_win_panel_display_time 5		// Amount of time to show the win panel between matches and halfs
mp_do_warmup_period 0			// Whether or not to do a warmup period at the start of a match
mp_warmuptime 0				// If true, there will be a warmup period/round at the start of each match
mp_match_end_restart 0			// At the end of the match, perform a restart instead of loading a new map
mp_match_can_clinch 0			// 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
mp_endmatch_votenextmap 0               // Whether or not players vote for the next map at the end of the match when the final scoreboard comes up

// Server
sv_contact "[email protected]"	// Contact email for server sysop
sv_downloadurl "http://bla.com/csgo/"	// Location from which clients can download missing files
sv_allowdownload 1			// Allow clients download
sv_allowupload 1			// Allow sever upload
sv_cheats 0				// Allow cheats on server
sv_lan 0				// Server is a lan server
sv_ignoregrenaderadio 0			// Turn off Fire in the hole messages
sv_alltalk 0				// Players can hear all enemy communication (voice, chat)
sv_deadtalk 0				// Dead players can speak (voice, text) to the living
sv_full_alltalk 0			// Any player (including Spectator team) can speak to any other player
sv_allow_votes 0			// Voting allowed in this mode
sv_allow_wait_command 1			// Allow or disallow the wait command on clients connected to the server
sv_alternateticks 0			// If set, server only simulates entities on even numbered ticks
sv_consistency 0			// Weather the server enforces file consistency for critical files
sv_dc_friends_reqd 0			// Set this to 0 to allow direct connects to a game in progress even if no presents are present
sv_forcepreload 1			// Force server side preloading
sv_friction 4				// World friction
sv_gameinstructor_disable 1		// For all clients to disable their game instructors
sv_pausable 0				// Is the server pausable?
sv_voiceenable 0			// Allow usage of ingame voice communication
sv_steamgroup_exclusive 0		// Set to 1 if member of steamgroup has to connect first (sv_steamgroup needed)
sv_steamgroup 0				// Find your steamgroup id on the admin page at the Steam community
sv_competitive_official_5v5 0		// Enable to force the server to show 5v5 scoreboards

// Pure
sv_pure 1				// If set to 1, the server will force all client files except the whitelisted ones (in pure_server_whitelist.txt) to match the server's files
sv_pure_kick_clients 0			// If set to 1, the server will kick clients with mismatching files. Otherwise, it will issue a warning to the client
sv_pure_trace 0				// If set to 1, the will print a message whenever a client is verifying a CRC for a file

// Rates
sv_maxrate 0	 			// Maximum bandwidth rate allowed on server: 0=unlimited
sv_minrate 0				// Minumum bandwidth rate allowed on server: 0=unlimited
sv_minupdaterate 10
sv_maxupdaterate 128

// Logging
sv_log_onefile 0			// Log server information on only one file
sv_logbans 1				// Log server bans to the server logs
sv_logecho 1				// Echo log information to the console
sv_logfile 1				// Log server information to the log file
sv_logflush 0				// Flush the log file to disk on each write (slow)
sv_logsdir "logs"			// Folder in the game directory where server logs will be stored

// Updater
sm_updater 2 				// Determines update functionality. 1 = Only notify in the log file when an update is available, 2 = Automatically download and install available updates. *Default, 3 = Include the source code with updates. 

// SMAC
smac_welcomemsg 1                       // Display a message saying that your server is protected.
smac_ban_duration 0                     // The duration in minutes used for automatic bans. (0 = Permanent)
smac_log_verbose 1                      // Include extra information about a client being logged.
smac_aimbot_ban 4			// Number of aimbot detections before a player is banned. Minimum allowed is 4. (0 = Never ban)
smac_antispam_cmds 10			// Amount of commands allowed in one second before kick. (0 = Disabled)
smac_autotrigger_ban 1			// Automatically ban players on auto-trigger detections.
smac_eyetest_ban 1			// Automatically ban players on eye test detections.
smac_log_verbose 1			// Include extra information about a client being logged.

// HLStatsX
log on
logaddress_delall
logaddress_add x.x.x.x:27500

// Team Flash Punish
sm_flashpunish_enabled 1 		// Enable/Disable the plugin
sm_flashpunish_duration 2 		// Maximum duration that a flash can last for before it's considered team flash
sm_flashpunish_amount 200		// Minimum amount of flash amount before considering teammate flashed
sm_flashpunish_time 180 		// Number of seconds to punish team flasher
sm_flashpunish_players 2		// Number of players a team flasher flashes before acted on

// Advertisements
sm_advertisements_enabled 1		// Enable/disable displaying advertisements.
sm_advertisements_interval 40		// Amount of seconds between advertisements.

// Spectator
spec_freeze_time 5.0			// Time spend frozen in observer freeze cam
spec_freeze_panel_extended_time 0	// Time spent with the freeze panel still up after observer freeze cam is done
spec_show_xray 1			// If set to 1, you can see player outlines and name IDs through walls

// Cash award convars
cash_team_terrorist_win_bomb 3500
cash_team_elimination_hostage_map 3000
cash_team_elimination_bomb_map 3250
cash_team_win_by_time_running_out 3250
cash_team_win_by_defusing_bomb 3500
cash_team_win_by_hostage_rescue 3500
cash_team_loser_bonus	 1400
cash_team_loser_bonus_consecutive_rounds 500
cash_team_rescued_hostage 750
cash_team_hostage_alive 150
cash_team_planted_bomb_but_defused 800
cash_team_hostage_interaction 150
cash_player_killed_teammate -3300
cash_player_killed_enemy_default 300
cash_player_killed_enemy_factor 1
cash_player_bomb_planted 300
cash_player_bomb_defused 300
cash_player_rescued_hostage 1000
cash_player_interact_with_hostage 150
cash_player_damage_hostage -30
cash_player_killed_hostage -1000

// Ammo
ammo_grenade_limit_default 1
ammo_grenade_limit_flashbang 2		// Should the standard be 2 flashbangs?
ammo_grenade_limit_total 4

// Bots
bot_quota 0				// Determines the total number of bots in the game
bot_join_after_player 0

// Hibernate
sv_hibernate_ms 0                       // of milliseconds to sleep per frame while hiber
sv_hibernate_ms_vgui 0                  // of milliseconds to sleep per frame while hibernating but running the vgui dedicated server frontend
sv_hibernate_postgame_delay 0           // of seconds to wait after final client leaves before hibernating.
sv_hibernate_punt_tv_clients 0          // When enabled will punt all GOTV clients during hibernation
sv_hibernate_when_empty 0               // Puts the server into extremely low CPU usage mode when no clients connected

// Bans
writeid					// Writes a list of permanently-banned user IDs to banned_user.cfg
writeip					// Save the ban list to banned_ip.cfg
exec banned_user.cfg
exec banned_ip.cfg

// Aliases
alias "pregame" "mp_roundtime 2; mp_freezetime 0; mp_startmoney 16000; mp_restartgame 1; livepre"
alias "livepre" "say Pregame settings loaded!"
alias "live" "say Match is live in 5 seconds..; mp_restartgame 5"

say "Server config loaded!"
__________________

Last edited by Arkadietz; 01-08-2014 at 17:58.
Arkadietz is offline
AlfredSpain
Senior Member
Join Date: Oct 2010
Old 01-08-2014 , 15:39   Re: [ANY]Admin all spectate
Reply With Quote #116

In my case only Admins can see the opposing team, but not to his own team.
__________________
AlfredSpain is offline
AlfredSpain
Senior Member
Join Date: Oct 2010
Old 01-13-2014 , 18:19   Re: [ANY]Admin all spectate
Reply With Quote #117

In some rounds to see my team, in others only to rival, in some rounds first see the "ct" and then to "t". In cs: go @ linux plugin not working properly.
__________________
AlfredSpain is offline
AlfredSpain
Senior Member
Join Date: Oct 2010
Old 01-14-2014 , 16:56   Re: [ANY]Admin all spectate
Reply With Quote #118

CONFIRMED, y have two sv, Linux & windows, same cfg and only works on windows sv.
__________________
AlfredSpain is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 01-16-2014 , 13:55   Re: [ANY]Admin all spectate
Reply With Quote #119

Quote:
Originally Posted by AlfredSpain View Post
CONFIRMED, y have two sv, Linux & windows, same cfg and only works on windows sv.
Sadly if this is the case I cant do anything about it. The logic is pretty simple and I dont see why it would differ from linux to windows. CS:GO is a bit weird when i tried if you have more than 32 slots it acts weird iirc.

I added a link to the latest gamedata to first post.

Last edited by Dr!fter; 01-16-2014 at 14:02.
Dr!fter is offline
AlfredSpain
Senior Member
Join Date: Oct 2010
Old 02-09-2014 , 04:01   Re: [ANY]Admin all spectate
Reply With Quote #120

¿ since last update no works on cs:go ?
__________________
AlfredSpain 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 17:21.


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