Some Scripts

Results 1 to 16 of 16
  1. #1
    Account Upgraded | Title Enabled! BGRick is offline
    MemberRank
    Oct 2010 Join Date
    The NetherlandsLocation
    437Posts

    Some Scripts

    I'm looking for:

    - Accounts Made Script
    - Characters Made Script
    - Total Banned Accounts Script
    - Total Clans Made Script

    Hold em simple please, I can't find em at RaGEZONE.
    Already searched google and RZ but nothing goods found...

    So if you have plz reply with script...



  2. #2
    Proficient Member Zewa is offline
    MemberRank
    Nov 2009 Join Date
    EstoniaLocation
    183Posts

    Re: Some Scripts

    PHP Code:
    <?php
     
    //Accounts Created
     
    $query "SELECT COUNT(*) FROM Account";
     
    $result mssql_query($query);
     
    $row mssql_fetch_row($result);

     echo 
    'Accounts Created : <font color="#CC0000">'.$row[0].'</font><br />';
     
    //Characters Created
     
    $query1 "SELECT COUNT(*) FROM Character";
     
    $result1 mssql_query($query1);
     
    $row1 mssql_fetch_row($result1);

     echo 
    'Characters Created : <font color="#CC0000">'.$row1[0].'</font><br />';
     
    //Clans Created
     
    $query2 "SELECT COUNT(*) FROM Clan";
     
    $result2 mssql_query($query2);
     
    $row2 mssql_fetch_row($result2);

     echo 
    'Clans Created : <font color="#CC0000">'.$row2[0].'</font><br />';
     
    //Banned Users
     
    $query3 "SELECT COUNT(*) FROM Account WHERE UGradeID='253'";
     
    $result3 mssql_query($query3);
     while(
    $row3 mssql_fetch_row($result3)){
     
     echo 
    'Banned Accounts : <font color="#CC0000">'.$row3[0].'</font><br />';
     }
    ?>

  3. #3
    Account Upgraded | Title Enabled! BGRick is offline
    MemberRank
    Oct 2010 Join Date
    The NetherlandsLocation
    437Posts

    Re: Some Scripts

    Fatal error on line 4 = $result = mssql_query($query);

    Err maybe it have to connect to my MSSQL Server?

    Now I got line 11 because I tried:

    PHP Code:
    <?php
    $dns
    ="GunzDB";
    $user="sa";
    $pass="password";
    $connect=odbc_connect($dns$user$pass) or die ("Couldn't connect to the database, we're sorry..."); odbc_exec($connect,"use GunzDB");
    ?>

    <?php
     
    //Accounts Created
     
    $query "SELECT COUNT(*) FROM Account";
     
    $result mssql_query($query);
     
    $row mssql_fetch_row($result);

     echo 
    'Accounts Created : <font color="#CC0000">'.$row[0].'</font><br />';
     
    //Characters Created
     
    $query1 "SELECT COUNT(*) FROM Character";
     
    $result1 mssql_query($query1);
     
    $row1 mssql_fetch_row($result1);

     echo 
    'Characters Created : <font color="#CC0000">'.$row1[0].'</font><br />';
     
    //Clans Created
     
    $query2 "SELECT COUNT(*) FROM Clan";
     
    $result2 mssql_query($query2);
     
    $row2 mssql_fetch_row($result2);

     echo 
    'Clans Created : <font color="#CC0000">'.$row2[0].'</font><br />';
     
    //Banned Users
     
    $query3 "SELECT COUNT(*) FROM Account WHERE UGradeID='253'";
     
    $result3 mssql_query($query3);
     while(
    $row3 mssql_fetch_row($result3)){
     
     echo 
    'Banned Accounts : <font color="#CC0000">'.$row3[0].'</font><br />';
     }
    ?>

  4. #4
    Proficient Member Zewa is offline
    MemberRank
    Nov 2009 Join Date
    EstoniaLocation
    183Posts

    Re: Some Scripts

    Yes it needs mssql connect...

    PHP Code:
    //Connect Database
    $_MSSQL['Host'] = "\SQLEXPRESS";  //Host
    $_MSSQL['User'] = "sa";  //Username
    $_MSSQL['Pass'] = "password";  //Password
    $_MSSQL['DB'] = "GunzDB";  //Database

    $con mssql_connect($_MSSQL['Host'],$_MSSQL['User'],$_MSSQL['Pass']) or die("Cant Connect!");
    mssql_select_db($_MSSQL['DB']) or die("Cant Find Database!"); 

  5. #5
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: Some Scripts

    Look for some ODBC scripts released by iCreamPie.

  6. #6
    Banned Ravin is offline
    BannedRank
    Nov 2010 Join Date
    You already knoLocation
    158Posts

    Re: Some Scripts

    Quote Originally Posted by Military View Post
    Look for some ODBC scripts released by iCreamPie.
    Lol, that is you. And, didn't Jurien release some scripts las week?

  7. #7
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: Some Scripts

    Quote Originally Posted by Ravin View Post
    Lol, that is you. And, didn't Jurien release some scripts las week?
    I feel you are suffering from some blindness , I said that isn't me + I gave Rodi the account when he released the scripts.

  8. #8
    Account Upgraded | Title Enabled! razi46 is offline
    MemberRank
    Dec 2007 Join Date
    697Posts

    Re: Some Scripts

    Look for Threads in Gunz Releases section. Around Pages 5-7.

    @Ravin : jur13n released almost exactly the same as iCreamPie.

  9. #9
    Banned Ravin is offline
    BannedRank
    Nov 2010 Join Date
    You already knoLocation
    158Posts

    Re: Some Scripts

    Quote Originally Posted by Military View Post
    I feel you are suffering from some blindness , I said that isn't me + I gave Rodi the account when he released the scripts.
    Sorry dude, cause you were recruiting for SG and I asked and you said that you were Military. Idk so sorry.

  10. #10
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: Some Scripts

    Quote Originally Posted by Ravin View Post
    Sorry dude, cause you were recruiting for SG and I asked and you said that you were Military. Idk so sorry.
    I was recruiting on the account but it wasn't mine.

  11. #11
    Account Upgraded | Title Enabled! razi46 is offline
    MemberRank
    Dec 2007 Join Date
    697Posts

    Re: Some Scripts

    There's only one that Military Released about the ODBC. If i'm not wrong, some Ranking or what.. Unsure.
    Well, since you dont know how to use the SEARCH button,
    you'll see the bunch of them here : http://forum.ragezone.com/f245/index7.html
    Last edited by razi46; 11-12-10 at 02:26 AM.

  12. #12
    Account Upgraded | Title Enabled! BGRick is offline
    MemberRank
    Oct 2010 Join Date
    The NetherlandsLocation
    437Posts

    Re: Some Scripts

    Quote Originally Posted by razi46 View Post
    There's only one that Military Released about the ODBC. If i'm not wrong, some Ranking or what.. Unsure.
    Well, since you dont know how to use the SEARCH button,
    you'll see the bunch of them here : Gunz Releases - Gunz Online - RaGEZONE forums
    I got that scripts already but I´m looking for

    ACCOUNTS MADE, CLANS MADE, BANS MADE SCRIPTS
    Not for that scripts ... learn 2 read?

    Such as:
    ACcounts Made: 300
    Characters Made: 530
    Bans Made: 37

  13. #13
    Account Upgraded | Title Enabled! razi46 is offline
    MemberRank
    Dec 2007 Join Date
    697Posts

    Re: Some Scripts

    Quote Originally Posted by BGRick View Post
    I got that scripts already but I´m looking for

    ACCOUNTS MADE, CLANS MADE, BANS MADE SCRIPTS
    Not for that scripts ... learn 2 read?

    Such as:
    ACcounts Made: 300
    Characters Made: 530
    Bans Made: 37
    Then I'm so sorry can't help you..

  14. #14
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: Some Scripts

    Quote Originally Posted by BGRick View Post
    I got that scripts already but I´m looking for

    ACCOUNTS MADE, CLANS MADE, BANS MADE SCRIPTS
    Not for that scripts ... learn 2 read?

    Such as:
    ACcounts Made: 300
    Characters Made: 530
    Bans Made: 37
    Just edit the scripts.

  15. #15
    Account Upgraded | Title Enabled! BGRick is offline
    MemberRank
    Oct 2010 Join Date
    The NetherlandsLocation
    437Posts

    Re: Some Scripts

    Quote Originally Posted by Military View Post
    Just edit the scripts.
    I tried but failed xD

  16. #16
    Account Upgraded | Title Enabled! razi46 is offline
    MemberRank
    Dec 2007 Join Date
    697Posts

    Re: Some Scripts

    It has something to do with like, Num or rows.



Advertisement