Raised This Month: $ Target: $400
 0% 

Disable Non-Steam


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 06-02-2013 , 10:16   Disable Non-Steam
Reply With Quote #1

Hey! I have a weird request! I want dproto enabled but non -steam disabled.
Can you please edit this cfg so that non -steamers can get in to the server and dproto is still enabled

PS - I want dproto non crasher and game name thats why enable. dont ask to disable it Please TY

PHP Code:
#

LoggingMode 2


# ========================================================
#         AUTHID MANAGEMENT
# ========================================================

# ClientID types (for cid_* options)
#  1: Real (or generated by HW) steam (STEAM_xx:xx:xx)
#  2: Real (or generated by HW) valve (VALVE_xx:xx:xx)
#  3: STEAM_ by IP
#  4: VALVE_ by IP
#  5: Deprecated - client will be rejected
#  6: reserved for future use
#  7: HLTV
#  8: STEAM_ID_LAN
#  9: STEAM_ID_PENDING
#  10: VALVE_ID_LAN
#  11: VALVE_ID_PENDING
#  12: STEAM_666:88:666

# Use these options to set authid's for clients

# for HLTV (default is HLTV [7] )
cid_HLTV 7

# for p.47 clients that do not support unique id generation (default is STEAM_ID_LAN [8] )
cid_NoSteam47 8

# for p.48 clients that do not support unique id generation (default is VALVE_ID_LAN [10] )
cid_NoSteam48 10

# For Legit Steam clients (default is real STEAM_xx:xx:xx [1])
cid_Steam 1

# Client recognized as pending when they sucessfully authorized, but did not get steam id
# REMARK: Actually, it got steamid, but it is useless (STEAM_0:0:0 for example)
# default is STEAM_ID_PENDGIND [9]
cid_SteamPending 9

# For players having revEmu ( >= 9.74) on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_RevEmu 1

# For players having SteamClient 2009 / revEmu > 9.82 on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_SC2009 1

# For players having old revEmu on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_OldRevEmu 1

# For players having hCupa's SteamEmu on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_SteamEmu 1

# For players having AVSMP (Cracked Steam) on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_AVSMP 1

# For SETTI ServerScanner
# default is STEAM_xx:xx:xx generated by IP [3]
cid_Setti 3

# SC2009_RevCompatMode (0 / 1)
# Enable fix to make steamids generated for SC2009 compatibble with revEmu
SC2009_RevCompatMode 1

# SteamEmuCompatMode (0 / 1)
# An analog for eSTEAMATiON's EnforceSteamEmuCompatIDMode option. 
# Affects only Old RevEmu and SteamEmu emulators.
SteamEmuCompatMode 1

# OldEstCompatMode (0 / 1)
# Enables/Disables fix for steamids generated by eST in 0.3.1 version.
# Set this to 1 if you want to make steamids generated by eST as in < 0.3.0 versions.
OldEstCompatMode 0

# IPGen_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by IP
IPGen_Prefix1 0

# IPGen_Prefix2 (int)
# STEAM_a:b:c
# second prefix (b) for authids generated by IP
IPGen_Prefix2 4

# Native_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by native auth method (Steam)
Native_Prefix1 0;

# RevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by Steamclient 2009
SC2009_Prefix1 0;

# RevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by RevEmu
RevEmu_Prefix1 0;

# OldRevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by old RevEmu
OldRevEmu_Prefix1 0;

# SteamEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by SteamEmu
SteamEmu_Prefix1 0;

# SteamEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for AVSMP Clients (Cracked steam)
AVSMP_Prefix1 0;

# Setti_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for Setti server scanner
Setti_Prefix1 0;

# Note that banid will use steamid WITHOUT any prefixes!



# ========================================================
#         ATTACKS SUPRESSION
# ========================================================

# FakePlayers_ConnectInitiationCheck (seconds)
# Sets the time, in seconds, in which client should initiate
# game session (in other words, send the "new" command) after it has
# been connected. If client did not initiated game session, it will be marked as
# fake and kicked.
#   Default is 6 seconds.
#   Use 0 to disable this check.
FakePlayers_ConnectInitiationCheck 6

# FakePlayers_ClientValidationCheck (seconds)
# Sets the time, in seconds, in which client should answer to random unique command
# sent by server. If client did not answered for this command, it will be marked as 
# fake and kicked.
#    Default is 8 seconds.
#    Use 0 to disable this check.
FakePlayers_ClientValidationCheck 8

# FakePlayers_AntiReconnect (0/1)
# Enables detection of fakeplayers that reconnects quickly (every < 10 seconds)
# before fake players checks have completed.
# This check will work only if FakePlayers_ClientValidationCheck and
# FakePlayers_ConnectInitiationCheck are enabled.
#   Default is 1 (ON)
FakePlayers_AntiReconnect 1

# FakePlayers_BanTime (minutes)
# Dproto will ban IP spamming fakeplayers for time (in minutes) specified in this variable
#   use 0 for permanent ban
#   use negative vaules to disable ban (fake players will only be kicked)
FakePlayers_BanTime 120

# ========================================================
#         OTHER STUFF
# ========================================================

# DisableNativeAuth (0/1)
# Disables valve/steam auth system. 
#   For p.47 Based: Server will not connect to auth servers.
#   For All: Server will not call authorization functions. 
# This is a fix for startup freeze for old (p.47) servers.
DisableNativeAuth 0

# ServerInfoAnswerType (0/1)
# Sets server answer type for query requests
#     0 = New style (Source Engine)
#    1 = Old Style (Fix favorites list for p.47 clients)
#    2 = Hybrid mode - best solution for now, server is visible anywhere
ServerInfoAnswerType 2

# MasterClient (0/1)
# Enables master-client emulation; it helps to register server on master list
# if you having "You server is old" error.
# USE THIS ONLY WITH -nomaster MODE!
# you can use Master_GameVersion to set version of game
MasterClient 0

# Master_GameVersion (string)
# Sets version of game that master-client will send on master-server
Master_GameVersion 1.1.2.6/Stdio

# SubServer_Enable (0/1)
# Enables secondary mini-server that redirects clients on main server.
#     Use the SubServer_AnswerType parameter to set answer type to info queries
#     Use the SubServer_Port parameter to set secondary server port
#     Use the SubServer_MasterClient parameter to enable master-client for secondary server.
# This is useful feature if you want all clients to see you server.
# Its possible if you set different answer types for main and secondary servers.
# Clients which cant "see" main server will be able to see secondary
SubServer_Enable 0
SubServer_Port 
28015
SubServer_MasterClient 
0
SubServer_AnswerType 
0
SubServer_RedirectCommand 
connect 169.254.141.3:27015
SubServer_IP 
0.0.0.0

# Game_Name (string)
# Sets game name displayed for clients
# If Game_Name is empty, native game name will be used
Game_Name 

# Enables fix for proper player id displaing on HLStats server monitoring
# Enable this only if you have HLStats
HLStatsPlayerIdFix 0

# ExportVersion (0 / 1)
# Enables/Disables exporting of dp_version cvar
# 1 = dp_version cvar will be exported to server rules. It will be visible in server monitoring tools (like HLSW)
# 0 = dp_version cvar will not be exported to server rules. 
ExportVersion 1

# HLTVExcept_IP (ip addr)
# HLTV from this IP will be able to join the server even if cid_HLTV is set to 5 (deprectaed)
HLTVExcept_IP 127.0.0.1 
__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-02-2013 , 10:56   Re: Disable Non-Steam
Reply With Quote #2

Update your server, don't install dproto

-> server is now protected
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 06-02-2013 , 11:02   Re: Disable Non-Steam
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
Update your server, don't install dproto

-> server is now protected
haha! i know!My server is updated but i want dproto because it has powers to overlap the Game Name.
one of a plugins (important one) is displaying some Game name. i want to remove that and put a new one.i tried using amx_gamename but it doesnt work when that plugin is running! Thats why i need dproto.
Dproto displays game name of my wish instead of name displayed by that plugin.
Thanks for replying
__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 06-02-2013 , 10:58   Re: Disable Non-Steam
Reply With Quote #4

There are many plugins you can use to do that, without using dproto. Find gamenamechanger
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-02-2013 , 11:15   Re: Disable Non-Steam
Reply With Quote #5

dproto for game name ? oh shit
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 06-02-2013 , 11:18   Re: Disable Non-Steam
Reply With Quote #6

Yeah! me kinda noob
__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-02-2013 , 11:24   Re: Disable Non-Steam
Reply With Quote #7

http://forums.alliedmods.net/showthread.php?t=210799
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 06-02-2013 , 11:46   Re: Disable Non-Steam
Reply With Quote #8

Quote:
Originally Posted by Bos93 View Post
As in my last check, FM_GetGameDescription did work, with the last hlds files (SteamCMD Update)
__________________
simanovich is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-02-2013 , 17:25   Re: Disable Non-Steam
Reply With Quote #9

Quote:
Originally Posted by simanovich View Post
As in my last check, FM_GetGameDescription did work, with the last hlds files (SteamCMD Update)
It's work normale, my friend have servers from MondialServeurs ( This Host Uses Last HLDS Update ) and it's work without problem.
EDIT: Try This
Code:
#include < amxmodx >
#include < fakemeta >
public plugin_init( )
        register_forward( FM_GetGameDescription, "OnGameDescription" );

public OnGameDescription( )
{
        forward_return( FMV_STRING, "Your Game Name Here" );
        return FMRES_SUPERCEDE
}

Last edited by TheDS1337; 06-02-2013 at 17:28.
TheDS1337 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 16:28.


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