R77 Community Forum Archive
Programming => Scripting => Requests => Topic started by: awsome on February 24, 2009, 03:45:47 PM
-
k im still knew to the scripting world and if i knew how to make these i would but i dont .
Anyways, i was wondering if it possible to make a script where stealthbot would connect to your formus. This is so that the bot would kick anyone that's not registered, out of the channel.
Help Would me nice
-
Very possible. It'd be useful if you gave a link to your forums/member listing. I'm not saying I will do it, just saying whoever makes this needs this information. =]
-
Very possible. It'd be useful if you gave a link to your forums/member listing. I'm not saying I will do it, just saying whoever makes this needs this information. =]
oh shure um the link is here http://gnk-league.forumq.biz/ (http://gnk-league.forumq.biz/) oh and lol well u know anyone who would be willing to do it
-
IF you can't do it, I will, Ferre7.
-
thanks alot vector you'r awsome
-
Speaking of which, this would be a great script for more then one clan!
-
so can someone post the finished code? oO
-
It hasn't even been started. I'll go work on it now.
Oh, ewwww, guests need to log in. This will be a bit more complex than I thought. I don't even think I know how to log into an IPB forum from the outside through a script.
If guests could log in, I could do this.
-
what do you mean vector with guest?
-
In order to even view the member list, or rather each member, I would need to first log in with a member account. Currently, guests cannot view any members on that site.
-
I have a better way of doing this, Jason is paying me to create the same system and I simply use a php file to extract all the members from the database then add other 'exceptions' using a text file. It just needs read and write privileges. After creating the php file, it is very easy to create a script to parse it.
-
I have a better way of doing this, Jason is paying me to create the same system and I simply use a php file to extract all the members from the database then add other 'exceptions' using a text file. It just needs read and write privileges. After creating the php file, it is very easy to create a script to parse it.
Thanks lol
-
You and your PHP
I should go learn PHp and SQL, hah!
-
I could just give you a copy and you would have to fill out database info.
Here's the PHP file: (This one only draws data from the database, no text file)
<?php
$con = mysql_connect("localhost","username_here","password_here");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("database_here", $con);
$result = mysql_query("SELECT * FROM ibf_members");
while($row = mysql_fetch_array($result))
{
echo $row['name'];
echo "<br />";
}
mysql_close($con);
?>
Make sure to fill in:
username_here
password_here
database_here
If your SQL server is not located on the same server as your website you will have to change it from localhost to something else, but try localhost first.
-
I could just give you a copy and you would have to fill out database info.
Here's the PHP file: (This one only draws data from the database, no text file)
<?php
$con = mysql_connect("localhost","username_here","password_here");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("database_here", $con);
$result = mysql_query("SELECT * FROM ibf_members");
while($row = mysql_fetch_array($result))
{
echo $row['name'];
echo "<br />";
}
mysql_close($con);
?>
Make sure to fill in:
username_here
password_here
database_here
If your SQL server is not located on the same server as your website you will have to change it from localhost to something else, but try localhost first.
so database is the website right or is it the server that stealthbot connects to?
-
database is the name of the actual database the PHP script connects to.
Just an update, the script Hero started is coming along. I worked on it too, and it bans users like it should. Hero just needs to add a few things to it that Power wants.
-
Thanks for doing this guys
-
<?php
$con = mysql_connect("localhost","username_here","password_here");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("database_here", $con);
$result = mysql_query("SELECT * FROM ibf_members");
while($row = mysql_fetch_array($result))
{
echo $row['name'];
echo "<br />";
}
mysql_close($con);
?>where i put this?
-
in public_html, if you want. Make sure to modify what Hero told you to modify (database_here, etc.)
-
sry but im new to all this stuff where public_html u mean i save it as a document and name it ****.html ?
-
It's should be in a PHP file - .php
-
um whos working on the script file just wanna know
-
It's done and has been for a while. I made it and Joel debugged it.
-
where can i get it
-
http://rev77.net/scripts/?query=view&s...alSafelist.plug (http://rev77.net/scripts/?query=view&script=escExternalSafelist.plug)
-
Thanks, for future updates to this plugin, maybe a multi-support feature, where if the website picks up multi ip 2 usernames both will be unvouched, etc.
Nice job though Hero, I remember asking for this like a year ago and no one made it for me XD
-
If it was at Stealthbot.net, its understandable. The people there are getting old (No offense to those who still go there) and tired of making scripts. Think about it. As time goes on, they get more and more requests from people who have less then 200 posts. And it seems to me that they are only fulfilling requests of the people THEY FUCKING like. Anyone who has any affiliation to a clan they don't like gets warned for the slightest infraction while a person who does the same thing gets a slap on the wrist.
-
I agree and disagree. My FIRST request and my FIRST post on SB.net were both for my custom CRS plugin. It spanned ~7 pages. Ninja worked on that and she was maad cool about it. Everytime I asked for something new on it, she hopped on it. I think every other scipter at SB doesn't do shit. Usually when I make a request now, a few people will comment on it, and it will fly over people's heads. I have alot of posts now at SB, and I help alot of people, but, they still ignore me. I only 1 person there that is cool, and that is Ninja. She is almost the only one over there doing script requests.
And it seems like everytime I post to help someone PhiX is up my ass on something, no matter how right I was, he posts saying some shit.
-
Yeah, PhiX is roflmao the kid is a hugeee tool.
And yah I posted my Req on SB.nEt