Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 11:59

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

Advertisement



BIG PROBLEM , PLEASE HELp

Discussion on BIG PROBLEM , PLEASE HELp within the Shaiya Private Server forum part of the Shaiya category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 128
Received Thanks: 23
BIG PROBLEM , PLEASE HELp

Hey everyone , i get 1 problem in my server . Someone hit 30k and i don't know how , and last problem is how i can ban 1 class of ip , example : 166.155

I need fast reply please
Gamer # is offline  
Old 09/20/2013, 15:38   #2




 
Autrux's Avatar
 
elite*gold: 246
Join Date: Dec 2010
Posts: 33,476
Received Thanks: 6,060
Arrow Shaiya -> Shaiya Private Server

#moved
Autrux is offline  
Thanks
5 Users
Old 09/20/2013, 15:50   #3
 
TeddyBear94's Avatar
 
elite*gold: 10
Join Date: May 2012
Posts: 1,857
Received Thanks: 2,632
update ps_userdata.dbo.users_master
set status = -5
where userip = '***.***.***'
TeddyBear94 is offline  
Thanks
2 Users
Old 09/20/2013, 17:40   #4
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,456
Quote:
Originally Posted by TeddyBear94 View Post
update ps_userdata.dbo.users_master
set status = -5
where userip = '***.***.***'
More like:
Code:
USE PS_UserData
UPDATE Users_Master
SET Status = -5
WHERE UserIp LIKE '166.155.%'
And it's still not the best solution, as it's a manual thing. Never been a ban hammer admin, so I can't tell you anything better than that. Google it up on restricting an IP range in Windows.
nubness is offline  
Thanks
5 Users
Old 09/20/2013, 23:34   #5
 
TeddyBear94's Avatar
 
elite*gold: 10
Join Date: May 2012
Posts: 1,857
Received Thanks: 2,632
Quote:
Originally Posted by TeddyBear94 View Post
update ps_userdata.dbo.users_master
set status = -5
where userip = '***.***.***'
this works propper aswell chris ur one is just a bit more splitted. if u dont believe me u can try it urself
Edit : (ofc u have to replace the *** with the ip nothing to dicuss about that)
TeddyBear94 is offline  
Thanks
1 User
Old 09/21/2013, 08:14   #6
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,456
Quote:
Originally Posted by TeddyBear94 View Post
this works propper aswell chris ur one is just a bit more splitted. if u dont believe me u can try it urself
Edit : (ofc u have to replace the *** with the ip nothing to dicuss about that)
As much as it looks like it, I'm not trying to be an *******. My code clearly says LIKE, not =, but LIKE, which means your way includes only the rows having the one IP you specify, while my result set will contain all the rows having IPs starting with '166.155.'.
nubness is offline  
Thanks
3 Users
Old 09/21/2013, 08:23   #7
 
GM.Triest's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 151
Actually, Teddy, your script is looking for the IP you set on the code, while Chris' code is looking for an IP similar to the one on his code.
For example, your code will look for IP '1.1.1' Exactly how it is written, whereas Chris' code looks for an IP similar to '1.1.1' which will, and might find IPs = '1.1.1.2, 1.1.1.3, 1.1.1.4, 1.1.1.5"
GM.Triest is offline  
Thanks
2 Users
Old 09/21/2013, 11:11   #8
 
TeddyBear94's Avatar
 
elite*gold: 10
Join Date: May 2012
Posts: 1,857
Received Thanks: 2,632
my bad i was miss reading that he was looking for an ip range ban
TeddyBear94 is offline  
Thanks
2 Users
Old 09/21/2013, 20:09   #9
 
elite*gold: 0
Join Date: Dec 2012
Posts: 128
Received Thanks: 23
Ty guys for solutions
Gamer # is offline  
Old 09/21/2013, 23:44   #10




 
Autrux's Avatar
 
elite*gold: 246
Join Date: Dec 2010
Posts: 33,476
Received Thanks: 6,060
#closed

Quote:
Originally Posted by Gamer # View Post
Ty guys for solutions
There is a " " button for this.
Autrux is offline  
Thanks
3 Users
Closed Thread


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)



All times are GMT +1. The time now is 11:59.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.