|
You last visited: Today at 08:59
Advertisement
[PHP question] accounts/IP limit?
Discussion on [PHP question] accounts/IP limit? within the SRO Private Server forum part of the Silkroad Online category.
10/16/2011, 23:36
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 1,988
Received Thanks: 1,783
|
[PHP question] accounts/IP limit?
How can I make that people can register only X accounts per IP address?
Because some ****** registered over 400k accounts on my server
|
|
|
10/16/2011, 23:43
|
#2
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,390
Received Thanks: 6,508
|
first, you could run a script to ban all same ip accounts
second, there are proxies(thats why first point)
third, google of it, ill post if i find
Edit: try editing reg to check on ips already on server, if ip is duplicated, dont let them register
|
|
|
10/17/2011, 01:52
|
#3
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
|
Quote:
Originally Posted by PortalDark
first, you could run a script to ban all same ip accounts
second, there are proxies(thats why first point)
third, google of it, ill post if i find
Edit: try editing reg to check on ips already on server, if ip is duplicated, dont let them register

|
i can edit my ip to bypass that thing
anyways if i succeeded to make it i'll share it because some of servers that i'm apart of it requested it
|
|
|
10/17/2011, 03:34
|
#4
|
elite*gold: 0
Join Date: Apr 2008
Posts: 696
Received Thanks: 310
|
Quote:
Originally Posted by 18andLife
How can I make that people can register only X accounts per IP address?
Because some ****** registered over 400k accounts on my server
|
Set it so only so many accounts can be registerd on a ip, and dunno if its possible but change the daily limit of how many accounts can be made in a day.
Also on your server make an ip limit like 3 accounts can loggin per ip or w/e
Then it shouldnt matter too much.
|
|
|
10/17/2011, 03:45
|
#5
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,390
Received Thanks: 6,508
|
Quote:
Originally Posted by r7slayer
Set it so only so many accounts can be registerd on a ip, and dunno if its possible but change the daily limit of how many accounts can be made in a day.
Also on your server make an ip limit like 3 accounts can loggin per ip or w/e
Then it shouldnt matter too much.
|
once again, proxies make all this become useless, but since some kids doenst know how to use them, maybe it massive reg will drop a bit
|
|
|
10/17/2011, 09:55
|
#6
|
elite*gold: 0
Join Date: Mar 2008
Posts: 35
Received Thanks: 5
|
I think email verification will make good sense in this
|
|
|
10/17/2011, 11:28
|
#7
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
|
Quote:
Originally Posted by Y@$$ER LOTFY
I think email verification will make good sense in this 
|
unfortunately i can't get access to yahoo mail that means when i try to send email with mail function yahoo include it under spam messages and doesn't send it and that's ridiculous '-' imma still figuring out how to get this thing working
|
|
|
10/17/2011, 11:36
|
#8
|
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,374
|
Quote:
Originally Posted by LastThief
unfortunately i can't get access to yahoo mail that means when i try to send email with mail function yahoo include it under spam messages and doesn't send it and that's ridiculous '-' imma still figuring out how to get this thing working
|
it's ur problem in setup smtp server (it's a very Sensitive) so any mistake u will get a bann ip of sending messages as u are SPAM
aynway if u use something like plesk panel it will be more easyer , it do every thing in configuration smtp server so u will not get bann ip anymore
or search for guides about setup ur smtp with a right way or if u buy a server from datacenter ask them to setup smtp server for u
|
|
|
10/17/2011, 19:52
|
#9
|
elite*gold: 0
Join Date: Sep 2011
Posts: 130
Received Thanks: 19
|
just put a check like account check to see if you aready have this IP in your database.
$select_user_result = $ipcheck->query("SELECT * FROM _user WHERE `reg_ip`='".$_SERVER[REMOTE_ADDR]."' LIMIT 5");
|
|
|
10/17/2011, 20:03
|
#10
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
|
just add a captcha, registering ips isn't bad but it ain't a full solution either
|
|
|
10/17/2011, 20:08
|
#11
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,390
Received Thanks: 6,508
|
Quote:
Originally Posted by Nezekan
just add a captcha, registering ips isn't bad but it ain't a full solution either
|
captcha
email not duplicated
and ip can help
|
|
|
10/17/2011, 20:10
|
#12
|
elite*gold: 0
Join Date: Jan 2010
Posts: 149
Received Thanks: 27
|
hello i got that answer from ThElitEyeS
use his reg page or any reg page insert the ip into the database
and use this at login
@$ip = $_SERVER['REMOTE_ADDR'];
$ query = mysql_query("SELECT * FROM TB_User WHERE reg_ip='$ip'");
$ip_check = mysql_num_rows ($query);
if($ip_check != 0){
echo "sorry you can reg 1 acc by ip";
return;
}
|
|
|
10/17/2011, 20:21
|
#13
|
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,374
|
Quote:
Originally Posted by bahaa12
hello i got that answer from ThElitEyeS
use his reg page or any reg page insert the ip into the database
and use this at login
@$ip = $_SERVER['REMOTE_ADDR'];
$ query = mysql_query("SELECT * FROM TB_User WHERE reg_ip='$ip'");
$ip_check = mysql_num_rows ($query);
if($ip_check != 0){
echo "sorry you can reg 1 acc by ip";
return;
}
|
hmm (mysql) ?!
---------------
Edit:
it must be
Quote:
@$ip = $_SERVER['REMOTE_ADDR'];
$ query = mssql_query("SELECT * FROM TB_User WHERE reg_ip='$ip'");
$ip_check = mssql_num_rows ($query);
if($ip_check != 0){
echo "sorry you can reg 1 acc by ip";
return;
}
|
but i think it seems to me wrong  !
or maybe that's better !
Quote:
@$ip = $_SERVER['REMOTE_ADDR'];
$ query = mssql_query("select * from TB_User where reg_ip='$ip'");
$ip_check = mssql_num_rows ($query);
if($ip_check != 0){
echo "sorry you can reg 1 acc by ip";
return;
}
|
|
|
|
10/17/2011, 20:59
|
#14
|
elite*gold: 0
Join Date: Apr 2010
Posts: 1,988
Received Thanks: 1,783
|
Nvm lol i just added a captcha, i didnt even think about captcha lol
|
|
|
10/17/2011, 21:10
|
#15
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,390
Received Thanks: 6,508
|
Quote:
Originally Posted by 18andLife
Nvm lol i just added a captcha, i didnt even think about captcha lol
|
try making ppl only able to reg using email, but only 1 email per account
|
|
|
 |
Similar Threads
|
[Question] .c3 polycount limit?
06/13/2010 - EO PServer Hosting - 0 Replies
May anyone tell me what is the polygons count limit of Models for EO? I haven't started yet, and this information would be useful, Thank you.
|
[Question]How to change limit lvl from 255 to 137?
05/14/2010 - EO PServer Hosting - 6 Replies
hi all...who can help me..with change limit lvl from 255 to 137..:handsdown:
|
Can AnyBody Answer These Question About Limit-RO..?
05/03/2010 - Ragnarok Online - 1 Replies
Ummm....
1. Can Anybody Tell Me If Theres A Working Bot For Limit-RO, If Yes, Can You Send It To Me?
2. Can Anybody Tell Me Where I Can Get Thorny Seed, Bomb Manual..?
Its For The Third Class Skill Requirements For Genetic
3. Is There Really A ByPass For Accessing The Premium For Limit-RO Without Paying..?
|
/item Plus limit question
06/15/2009 - CO2 Private Server - 9 Replies
Hey guys, I was wondering if someone could help me make it so normal players can use /item , but it was limited to +9. im making a pvp server and i dont want every1 to get +12s with this command, so if u can help it b appreciated =)
Here is the original command:
if (Splitter == "/item")
{
Ini ItemNames = new Ini(System.Windows.Forms.Application.StartupPath +...
|
question: remove HP limit bug
02/28/2009 - Dekaron Private Server - 4 Replies
When your hp goes above 65.536 it jumps back to 1. so if you have 70.000hp max and use a skill it goes back to 4.464 (=70.000-65536)
Is there a way to remove this hp limit?
(and dont reply with "dont go above 65.536 then")
thanks in advance
|
All times are GMT +1. The time now is 09:00.
|
|