Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 01:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



how i ban ip on conquer

Discussion on how i ban ip on conquer within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 113
Received Thanks: 0
how i ban ip on conquer

i need help to ban ip i dont want this ip join my game how i ban ip .
yosif is offline  
Old 02/23/2013, 21:06   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
#reported

This section is for the official tq servers. A moderator will move this to the private server section.

Answer to your question: In your socket system when accepting new connections, check the IPAddress of the connection versus a collection of disallowed addresses/ranges and refuse their connection if they match.

Spoiler: This will require you to actually bother putting in some effort and learning basic programming.
pro4never is offline  
Old 02/24/2013, 11:21   #3
 
JohnHeatz's Avatar
 
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
Arrow CO2 Main - Discussions / Questions -> CO2 PServer - Discussions / Questions

#Moved to the right section
JohnHeatz is offline  
Old 02/24/2013, 11:29   #4
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
its Peice of cake ... just make text file .. this file should contains all Ips that u would like to ban .. then make File Reader and add all Ips in String List... and at Append Login make case

if (List.Contains(Ip of Logged in character)) Message = "Your IP was Banned From Entering the Server";
shadowman123 is offline  
Old 02/24/2013, 17:44   #5
 
elite*gold: 0
Join Date: Jan 2013
Posts: 62
Received Thanks: 8
It would be a lot easier and much more stable if you use make an Sql table for it(of cours if your DB is sql)
derpingson is offline  
Old 02/24/2013, 18:12   #6
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by derpingson View Post
It would be a lot easier and much more stable if you use make an Sql table for it(of cours if your DB is sql)
Same Concept .. u will have to put them all in List then make search for logging Ip in this List string if its found then it wont allow him to Enter the server
shadowman123 is offline  
Old 02/24/2013, 18:41   #7
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by derpingson View Post
It would be a lot easier and much more stable if you use make an Sql table for it(of cours if your DB is sql)
It wouldn't make a difference. Nothing anything that you should care about though, because either way it will all be loaded and stored in some kind of collection where it's independent of your database.
Super Aids is offline  
Reply




All times are GMT +1. The time now is 01:32.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.