Author Topic: Request on a small script.  (Read 3116 times)

awsome

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Request on a small script.
« 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

Ferre7

  • Guest
Request on a small script.
« Reply #1 on: February 24, 2009, 07:56:14 PM »
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. =]

awsome

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Request on a small script.
« Reply #2 on: February 24, 2009, 08:01:05 PM »
Quote from: Ferre7
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/ oh and lol well u know anyone who would be willing to do it

Vector

  • Administrator
  • Hero Member
  • *****
  • Posts: 550
    • View Profile
    • http://clanmage.phost.ws
Request on a small script.
« Reply #3 on: February 24, 2009, 10:36:25 PM »
IF you can't do it, I will, Ferre7.
I am an Unofficial StealthBot Technician, an Unofficial StealthBot scripter, among other things. See my about page for more info.

Quote from: ArticWolve
Sorry I went down. Had internet problems with a cracker-jack-licensed driver hitting my internet pole (about 8 of them fell) and drooping my phone and electricity. Sorry ><

Rev77.net Plugins Manager

Proud host of Vector.no-ip.info | VectorJBLS.no-ip.org Status: [img]http://rev77.net/ServerCheck/check.asp?query=check&server=VectorJBLS.no-ip.org_status.png\" border=\"0\" class=\"linked-image\" /]

Shito-Ryu Karate-Do Genbu-Kai Rank: 8th Kyu (White belt, one stripe)

Rev77.Net Remote Support (Double-Click my name only if you were told to)

If the above link doesn't work, or if you use Vista, try this alternate link.

Noob ~Vector

awsome

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Request on a small script.
« Reply #4 on: February 25, 2009, 07:44:20 AM »
thanks alot vector you'r awsome

ArticWolve

  • Global Moderators
  • Hero Member
  • *****
  • Posts: 636
    • View Profile
    • http://
Request on a small script.
« Reply #5 on: February 25, 2009, 08:23:08 AM »
Speaking of which, this would be a great script for more then one clan!
Quote
Darker then the darkest shade of night...
    A Rebel at heart... A criminal by mind
    All in the eyes of the beholder... is the truth to life
    But Th---The Only---The One and Only True Master of Death is the Reaper itself
[/color]
[/color]
[div align=\'center\'][img]http://img261.imageshack.us/img261/9411/mydesktopce6.jpg\" border=\"0\" class=\"linked-sig-image\" /][img]http://www.danasoft.com/sig/238153.jpg\" border=\"0\" class=\"linked-sig-image\" /][/div]                     [div align=\'center\']    Click ME for my forums. You know you want to click ME. Come on CLICK ME DAMN IT! But don't click THIS!![/div]

Austin

  • Newbie
  • *
  • Posts: 29
    • View Profile
Request on a small script.
« Reply #6 on: February 25, 2009, 10:38:29 AM »
so can someone post the finished code? oO
[img]http://i65.photobucket.com/albums/h217/Austin_Austin4/DERMA1Sig.jpg\" border=\"0\" class=\"linked-image\" /]
Quote
Longest word with no repeated letter:
dermatoglyphics
SUPP??
-Sig is large 0.o -Ace

Vector

  • Administrator
  • Hero Member
  • *****
  • Posts: 550
    • View Profile
    • http://clanmage.phost.ws
Request on a small script.
« Reply #7 on: February 25, 2009, 01:54:00 PM »
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.
« Last Edit: February 25, 2009, 01:55:38 PM by Vector »
I am an Unofficial StealthBot Technician, an Unofficial StealthBot scripter, among other things. See my about page for more info.

Quote from: ArticWolve
Sorry I went down. Had internet problems with a cracker-jack-licensed driver hitting my internet pole (about 8 of them fell) and drooping my phone and electricity. Sorry ><

Rev77.net Plugins Manager

Proud host of Vector.no-ip.info | VectorJBLS.no-ip.org Status: [img]http://rev77.net/ServerCheck/check.asp?query=check&server=VectorJBLS.no-ip.org_status.png\" border=\"0\" class=\"linked-image\" /]

Shito-Ryu Karate-Do Genbu-Kai Rank: 8th Kyu (White belt, one stripe)

Rev77.Net Remote Support (Double-Click my name only if you were told to)

If the above link doesn't work, or if you use Vista, try this alternate link.

Noob ~Vector

awsome

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Request on a small script.
« Reply #8 on: February 25, 2009, 03:44:46 PM »
what do you mean vector with guest?

Vector

  • Administrator
  • Hero Member
  • *****
  • Posts: 550
    • View Profile
    • http://clanmage.phost.ws
Request on a small script.
« Reply #9 on: February 25, 2009, 09:23:29 PM »
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 am an Unofficial StealthBot Technician, an Unofficial StealthBot scripter, among other things. See my about page for more info.

Quote from: ArticWolve
Sorry I went down. Had internet problems with a cracker-jack-licensed driver hitting my internet pole (about 8 of them fell) and drooping my phone and electricity. Sorry ><

Rev77.net Plugins Manager

Proud host of Vector.no-ip.info | VectorJBLS.no-ip.org Status: [img]http://rev77.net/ServerCheck/check.asp?query=check&server=VectorJBLS.no-ip.org_status.png\" border=\"0\" class=\"linked-image\" /]

Shito-Ryu Karate-Do Genbu-Kai Rank: 8th Kyu (White belt, one stripe)

Rev77.Net Remote Support (Double-Click my name only if you were told to)

If the above link doesn't work, or if you use Vista, try this alternate link.

Noob ~Vector

Hero

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • View Profile
    • http://rev7.net
Request on a small script.
« Reply #10 on: February 26, 2009, 05:07:00 AM »
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.
Hero
AKA: HeroAssasin and Mike
- - - - -  - - -
Visit Clan R77
- - - - -  - - -
Please do not PM me with random questions. That is what I made these forums for.

Noob ~Vector

awsome

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Request on a small script.
« Reply #11 on: February 26, 2009, 07:53:25 AM »
Quote from: Hero
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

Vector

  • Administrator
  • Hero Member
  • *****
  • Posts: 550
    • View Profile
    • http://clanmage.phost.ws
Request on a small script.
« Reply #12 on: February 26, 2009, 08:37:57 AM »
You and your PHP

I should go learn PHp and SQL, hah!
I am an Unofficial StealthBot Technician, an Unofficial StealthBot scripter, among other things. See my about page for more info.

Quote from: ArticWolve
Sorry I went down. Had internet problems with a cracker-jack-licensed driver hitting my internet pole (about 8 of them fell) and drooping my phone and electricity. Sorry ><

Rev77.net Plugins Manager

Proud host of Vector.no-ip.info | VectorJBLS.no-ip.org Status: [img]http://rev77.net/ServerCheck/check.asp?query=check&server=VectorJBLS.no-ip.org_status.png\" border=\"0\" class=\"linked-image\" /]

Shito-Ryu Karate-Do Genbu-Kai Rank: 8th Kyu (White belt, one stripe)

Rev77.Net Remote Support (Double-Click my name only if you were told to)

If the above link doesn't work, or if you use Vista, try this alternate link.

Noob ~Vector

Hero

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • View Profile
    • http://rev7.net
Request on a small script.
« Reply #13 on: February 26, 2009, 08:52:54 AM »
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)

Code: [Select]
<?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.
Hero
AKA: HeroAssasin and Mike
- - - - -  - - -
Visit Clan R77
- - - - -  - - -
Please do not PM me with random questions. That is what I made these forums for.

Noob ~Vector

awsome

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Request on a small script.
« Reply #14 on: February 26, 2009, 01:53:30 PM »
Quote from: Hero
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)

Code: [Select]
<?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?