Raised This Month: $ Target: $400
 0% 

Country Filter


Post New Thread Reply   
 
Thread Tools Display Modes
Falco
SourceMod Donor
Join Date: Dec 2004
Location: CANADA
Old 07-22-2007 , 04:00   Re: Country Filter
Reply With Quote #11

Quote:
L 07/22/2007 - 01:530: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/22/2007 - 01:530: [SM] Displaying call stack trace:
L 07/22/2007 - 01:530: [SM] [0] Line 101, /home/groups/alliedmodders/forums/files/2/7/6/6/9/17774.attach::Event_PlayerTeam()
Possible to get this to ignore bot joins?
__________________
[DmZ|EPSILON CSS 70.75.139.92:27016
[DmZ|EPSILON GG 70.75.167.30:27015
[DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
[DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
[DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
www.dmzepsilon.ca
----------------------
Falco is offline
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 07-22-2007 , 04:43   Re: Country Filter
Reply With Quote #12

Are you sure it comes from this plugin?
Line 101: return false;
And there is no Event_PlayerTeam
__________________

MFZB Gaming Community

[ www.mfzb.de ]

Knagg0 is offline
Falco
SourceMod Donor
Join Date: Dec 2004
Location: CANADA
Old 07-22-2007 , 05:11   Re: Country Filter
Reply With Quote #13

Sorry, thought I noticed in console when bots joined this error came up. Will have to do more digging to find the plugin causing this.
__________________
[DmZ|EPSILON CSS 70.75.139.92:27016
[DmZ|EPSILON GG 70.75.167.30:27015
[DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
[DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
[DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
www.dmzepsilon.ca
----------------------
Falco is offline
PrefeX
Member
Join Date: Apr 2006
Location: Norway
Old 09-03-2007 , 18:15   Re: Country Filter
Reply With Quote #14

get error when trying to compile
__________________
Life would be a lot easier if I had the source code.
PrefeX is offline
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 09-05-2007 , 23:33   Re: Country Filter
Reply With Quote #15

Quote:
Originally Posted by PrefeX View Post
get error when trying to compile
Fixed
__________________

MFZB Gaming Community

[ www.mfzb.de ]

Knagg0 is offline
monkie
Senior Member
Join Date: Oct 2006
Location: Shanghai, China
Old 09-05-2007 , 23:48   Re: Country Filter
Reply With Quote #16

Technically, this plug-in has its value.

Internationally, or even racially, this plug-in is valueless.

Sorry for this off-topic reply, yet may someone else also has the same viewpoint as I have.
__________________
monkie is offline
Send a message via MSN to monkie Send a message via Skype™ to monkie
marram
Junior Member
Join Date: Oct 2007
Old 10-22-2007 , 05:01   Re: Country Filter
Reply With Quote #17

Quote:
Originally Posted by Knagg0 View Post
CVARS:
  • cf_mode
    • 1 = Only allow "cf_countries"
    • 2 = Allow all except "cf_countries"
    • Default: 1
  • cf_countries
    • List of the countries
    • Example: "EN US DE NL"
    • Default: ""
  • cf_reject_msg
    • Message that is shown to the player that was rejected
    • %s = country
    • Default: "Your country (%s) isn't allowed on this server"
  • cf_connect_msg
    • Message that is shown to all players when a player connects
    • 1st %s = player
    • 2nd %s = country
    • Default: "%s (Country: %s) was allowed to connect"
CHANGELOG:
  • 1.1.0
    • Small code fix
  • 1.0.0
    • Release
Please, help, the configurantion the player only country brasil

Thanks
marram is offline
codename-G-
SourceMod Donor
Join Date: Feb 2005
Location: Japan
Old 11-18-2007 , 10:26   Re: Country Filter
Reply With Quote #18

Where put this carvs?
cf_mode "1"
cf_countries "US"
cf_reject_msg "Your country (%s) isn't allowed on this server"
cf_connect_msg "%s (Country: %s) was allowed to connect"
my server running Team Fortress 2
thx

Last edited by codename-G-; 11-18-2007 at 10:52.
codename-G- is offline
Frenzzy
SourceMod Donor
Join Date: Jan 2007
Location: Russia
Old 11-29-2007 , 05:18   Re: Country Filter
Reply With Quote #19

Make please, when you connect to the network users instead of the country show such as "LAN" (now nothing appears to the user IP-addresses: 10.0.0.0, 192.168.0.0, etc.)
Frenzzy is offline
Send a message via ICQ to Frenzzy Send a message via MSN to Frenzzy Send a message via Skype™ to Frenzzy
i2ebelion
New Member
Join Date: Nov 2007
Old 12-01-2007 , 01:27   Re: Country Filter
Reply With Quote #20

I'm having problems with this plugin; players are still connecting and bypassing from other areas besides the ones stated in cf_countries. The server is running the mod Zombie Master with Sourcemod 1.0.0.732 / SourceMM 1.4.2.414 and your latest CF plugin.

cf_countries "AU NZ"
cf_mode "1"

Can I get some help on this?
i2ebelion 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 18:57.


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