Code: Show/Hide <style>
.hdr{background-color: #003366;} .hdr_number{} .hdr_player{} .hdr_squad{} .hdr_wins{} .hdr_losses{} .hdr_ratio{} .hdr_average{} .hdr_points{} .hdr_flagpoints{} .hdr_totalpoints{} .row_alt1{background-color: #000033;} .row_alt1_number{} .row_alt1_player{} .row_alt1_squad{} .row_alt1_wins{} .row_alt1_losses{} .row_alt1_ratio{} .row_alt1_average{} .row_alt1_points{} .row_alt1_flagpoints{} .row_alt1_totalpoints{} .row_alt2{background-color: #000000;} .row_alt2_number{} .row_alt2_player{} .row_alt2_squad{} .row_alt2_wins{} .row_alt2_losses{} .row_alt2_ratio{} .row_alt2_average{} .row_alt2_points{} .row_alt2_flagpoints{} .row_alt2_totalpoints{} .statstable{width: 720px; border: 0;} </style> <table class="statstable"> <tr class="hdr"> <td class="hdr_number">#</td> <td class="hdr_player">Pilot</td> <td class="hdr_squad">Squad</td> <td class="hdr_wins">Wins</td> <td class="hdr_losses">Losses</td> <td class="hdr_ratio">Ratio</td> <td class="hdr_average">Average</td> <td class="hdr_points">Points</td> <td class="hdr_flagpoints">Flag Points</td> <td class="hdr_totalpoints">Total Points</td> </tr> <tr class="row_alt1"> <td class="row_alt1_number"></td> <td class="row_alt1_player"></td> <td class="row_alt1_squad"></td> <td class="row_alt1_wins"></td> <td class="row_alt1_losses"></td> <td class="row_alt1_ratio"></td> <td class="row_alt1_average"></td> <td class="row_alt1_points"></td> <td class="row_alt1_flagpoints"></td> <td class="row_alt1_totalpoints"></td> </tr> <tr class="row_alt2"> <td class="row_alt2_number"></td> <td class="row_alt2_player"></td> <td class="row_alt2_squad"></td> <td class="row_alt2_wins"></td> <td class="row_alt2_losses"></td> <td class="row_alt2_ratio"></td> <td class="row_alt2_average"></td> <td class="row_alt2_points"></td> <td class="row_alt2_flagpoints"></td> <td class="row_alt2_totalpoints"></td> </tr> </table> |
L.C. wrote: |
-HTML (maybe) |
Solo Ace wrote: |
Substats is work of Dustpuppy. How original. |
Code: Show/Hide Main Stuff:
$title This is where the website title will be outputted. $sortnumber This is the number of players per page that will be displayed. $sortcategory This is the name of the category that the data is sorted by. $cssfile This is the filename and/or location of the CSS file to load. $zonename This is the name of the zone data is generated for. $form This is where the contents of a fully parsed and manipulated form.html is placed Categories: $number This is where the place numbers will be outputted (ie "1." "2." "34." "53."). $player This is where the player name will appear. $squad This is where the squad name will appear. $wins This is where the number of wins (kills) will appear. $losses This is where the number of losses (deaths) will appear. $ratio This is where the ratio of wins (kills) to losses (deaths) in simplest form is outputted. $rating This is where the rating ((points(10)+(wins-losses)100)/(wins+100)) is displayed. $average This is where the average (points/kills) is outputted. $points This is where the number of points is displayed. $flagpoints This is where the number of flag points is displayed. $totalpoints This is where the number of total points (points+flag points) is displayed. Form $sortcategory Explanation: <option value="$sortcategpry">$sortcategpry</option> See [Categories] in scoreman.ini. Those are what will be placed accordingly into this list. Everything under [Categories] will be inputted into the form during manipulation (which is in the process of generating the webpages for the scores). You can change the category strings as you please. CSS ss_ Prefix Explanation: You will notice that the prefix ss_ is the beginning of all the CSS styles. If you have a website (hopefully taking advantage of CSS and using a CSS file), the CSS for this plugin will not interfere with your website and it's CSS. There are less chances of this plugin messing up someone's website if CSS style names are made unique by using a prefix. If your website happens to use the same prefix, them you should change them. There is no reason for anyone's website to be constructed with the ss_ prefix. CSS Body Style Explanation: body.formpage{} body.statsbody{text-align: center;} You can put class="formpage" or class="statsbody" in a <body> tag to load the styles for this. The reason for having this is so that you could customize specific styles for the page that the form is on, and styles for the popup window where the statistical scores data is presented. Scoreman.ini ArchiveEarly Explanation: SaveTime = 360; // The amount of time in minutes to regenerate and update online scores ArchiveTime = 1; // The amount of time in weeks to archive the last set of data for historical reference ArchiveEarly = 60; // The amount of time in minutes to archive the last set of data early, see Readme for details There is an extremely good reason for having this command. ArchiveTime is like a season, period, or semester. If ArchiveEarly is set to 60 (1 hour), 60 minutes (1 hour) before ArchiveTime ends it will archive the current scores. ArchiveEarly should not exceed SaveTime. For example: SaveTime > ArchiveEarly 360 > Any number within the range of 0 and 359 Setting it to 360 is not allowed (it cannot be equal with SaveTime or more than SaveTime). Setting ArchiveEarly to 0 is basically disabling this feature; it means that it will regenerate data and create an archive after how ever many weeks ArchiveTime is set to. Archiving will automatically regenerate data (to make it the most up to date) before archiving this data for future reference. Scoreman.ini ArchiveDates Explanation: ArchiveDates = 0; // See the Readme file for details on using this This information is used for the form itself. By default a user views the "Current scores" but will also have a list of archived dates to choose from. These are the dates that the archive was made on. Use these numbers to help you customize exactly how you want the dates to be displayed. 0 ... Apr 1, 2007 1 ... April 1, 2007 2 ... 4/1/2007 3 ... 2007 Apr 1 4 ... 2007 April 1 |
Code: Show/Hide [MySQL] // Information about connecting to a MySQL source is entered here
Host = localhost; // The IP address of your MySQL host (localhost otherwise) Database = scoreman; // The MySQL database name Username = scoreman; // The MySQL Username Password = "abc123"; // The MySQL User Pasword [Notification] // Information about how the bot should or could notify about fresh generations NotifyType = 0; // Do you want in-game notifications or not? (0) No, (1) Yes NotifyMessage = "*arena Scores Statistics have just been updated! Find them at scores.sscidragonballz.net."; // Type this as if you were chatting in Continuum, you are limited to one message or line only [Website] // Configurations about how the website should operate FormPage = index.html; // It will parse this page for $form FormTemplate = form.html; // $form = <content of form.html> StatsTable = statstable.html; // Template file to parse, use, and manipulate for data output $title = "Page Title Here"; // The title of this website ZoneName = "SSCI Dragonball Z"; // The name of the zone that statistics are being reported for goes here $cssfile = /scoreman.css; // The location and address of your *.css file SaveTime = 360; // The amount of time in minutes to regenerate and update online scores ArchiveTime = 1; // The amount of time in weeks to archive the last set of data for historical reference ArchiveEarly = 60; // The amount of time in minutes to archive the last set of data early, see Readme for details ArchiveDates = 0; // See the Readme file for details on using this [Sortnumber] // This is data for the form itself List0 = 5; // This is an option that will be included in the form List1 = 10; // Use this to limit the number of List2 = 20; // Sort by top 20 something List3 = 50; // Sort by top 50 sometimes List5 = 100; // Sort by top 100 something Maxlist = 100; // To prevent someone from ever being able to render like 999 entries in one page [Categories] // This is the data for the form itself Category0 = "Player"; // These are an option on the form that you can sort your desired data request by Category1 = "Squad"; // Sort by Squad name (alphabetical) Category2 = "Wins"; // Sort by wins (from highest to lowest) Category3 = "Losses"; // Sort by losses (from highest to lowest) Category4 = "Ratio"; // Sort by ratio (from best ratio, which is highest wins to lowest losses, to worst ratio) Category5 = "Rating"; // Sort by rating (from highest to lowest) Category6 = "Average"; // Sort by average (from highest to lowest) Category7 = "Points"; // Sort by points (from highest to lowest) Category8 = "Flagpoints"; // Sort by flag points (from highest to lowest) Category9 = "Totalpoints"; // Sort by total points (from highest to lowest) |
Code: Show/Hide .ss_formcontent{width: 220px; text-align: left; padding: 4px;}
.ss_formdiv{width: 229px; text-align: center; background-color: #000030; font-family: Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; font-size: 12px;} .ss_formtitle{width: 229px; background-color: #101060; color: #FFFFFF; text-align: center;} .ss_formzone{width: 109px;} .ss_hdr_average{} .ss_hdr_flagpoints{} .ss_hdr_losses{} .ss_hdr_number{} .ss_hdr_player{} .ss_hdr_points{} .ss_hdr_rating{} .ss_hdr_ratio{} .ss_hdr_squad{} .ss_hdr_totalpoints{} .ss_hdr_wins{} .ss_hdr{background-color: #003366;} .ss_row_alt1_average{} .ss_row_alt1_flagpoints{} .ss_row_alt1_losses{} .ss_row_alt1_number{} .ss_row_alt1_player{} .ss_row_alt1_points{} .ss_row_alt1_rating{} .ss_row_alt1_rating{} .ss_row_alt1_ratio{} .ss_row_alt1_squad{} .ss_row_alt1_totalpoints{} .ss_row_alt1_wins{} .ss_row_alt1{background-color: #000033;} .ss_row_alt2_average{} .ss_row_alt2_flagpoints{} .ss_row_alt2_losses{} .ss_row_alt2_number{} .ss_row_alt2_player{} .ss_row_alt2_points{} .ss_row_alt2_ratio{} .ss_row_alt2_squad{} .ss_row_alt2_totalpoints{} .ss_row_alt2_wins{} .ss_row_alt2{background-color: #000000;} .ss_statstable{width: 720px; border: 0;} a.ss:active{} a.ss:hover{} a.ss:link{} a.ss:visited{} body.ss_formpage{text-align: center; background-color: #000030;} body.ss_statsbody{text-align: center;} input.ss_formbutton{background-color: #000030; color:#c080c0;} select.ss_formlist{background-color:#104020; color:#FFFFFF;} |
Code: Show/Hide <html>
<head> <title>$title</title> <link rel="stylesheet" type="text/css" href="$cssfile" /> <style type="text/css" media="screen"> <!-- @import url($cssfile) screen; --> </style> </head> <body class="ss_formpage"> $form </body> </html> |
Code: Show/Hide <div class="ss_formdiv">
<form name="UntitledForm" method="post" action=""> <div style="padding: 4px;"> <select class="ss_formlist" name="date"> <option value="0">Current scores</option> <option value="$datevalue">$date</option> </select> </div> <div class="ss_formtitle"><b>Top Pilots</b></div> <div class="ss_formcontent">Show top <select class="ss_formlist" name="sortnumber"> <option value="$sortnumber">$sortnumber</option> </select> <select class="ss_formlist" name="sortcategpry"> <option value="$sortcategpry">$sortcategpry</option> </select> <br /> <div class="ss_formcontent" style="margin-bottom: -4px;"> <div style="text-align: right; margin-right: 4px;"> <select class="ss_formzone ss_formlist" name="zonename"> <option>$zonename</option> </select> <input class="ss_formbutton" value="Go!" type="submit"> </div> </div> </div> </form> </div> |
Code: Show/Hide <html>
<head> <title>$title - Top $sortnumber $sortcategory</title> <link rel="stylesheet" type="text/css" href="$cssfile" /> <style type="text/css" media="screen"> <!-- @import url($cssfile) screen; --> </style> </head> <body class="ss_statsbody"> <table class="ss_statstable"> <tr class="ss_hdr"> <td class="ss_hdr_number">#</td> <td class="ss_hdr_player">Pilot</td> <td class="ss_hdr_squad">Squad</td> <td class="ss_hdr_wins">Wins</td> <td class="ss_hdr_losses">Losses</td> <td class="ss_hdr_ratio">Ratio</td> <td class="ss_hdr_rating">Rating</td> <td class="ss_hdr_average">Average</td> <td class="ss_hdr_points">Points</td> <td class="ss_hdr_flagpoints">Flag Points</td> <td class="ss_hdr_totalpoints">Total Points</td> </tr> <tr class="ss_row_alt1"> <td class="ss_row_alt1_number">$number</td> <td class="ss_row_alt1_player">$player</td> <td class="ss_row_alt1_squad">$squad</td> <td class="ss_row_alt1_wins">$wins</td> <td class="ss_row_alt1_losses">$losses</td> <td class="ss_row_alt1_ratio">$ratio</td> <td class="ss_row_alt1_rating">$rating</td> <td class="ss_row_alt1_average">$average</td> <td class="ss_row_alt1_points">$points</td> <td class="ss_row_alt1_flagpoints">$flagpoints</td> <td class="ss_row_alt1_totalpoints">$totalpoints</td> </tr> <tr class="ss_row_alt2"> <td class="ss_row_alt2_number">$number</td> <td class="ss_row_alt2_player">$player</td> <td class="ss_row_alt2_squad">$squad</td> <td class="ss_row_alt2_wins">$wins</td> <td class="ss_row_alt2_losses">$losses</td> <td class="ss_row_alt2_ratio">$ratio</td> <td class="ss_row_alt2_rating">$rating</td> <td class="ss_row_alt2_average">$average</td> <td class="ss_row_alt2_points">$points</td> <td class="ss_row_alt2_flagpoints">$flagpoints</td> <td class="ss_row_alt2_totalpoints">$totalpoints</td> </tr> </table> </body> </html> |
Quote: |
but ffs do it server-side, do it on ASSS! |
L.C. wrote: |
AS3 won't ever take over all of Subspace. You would only wish. Maybe when the plugin would be completed, released, open-sourced, then it could be ported to AS3. lol. What am I saying? |
L.C. wrote: |
You could spam the server to kingdom come through MySQL, spam up the zone list, you know. |
Solo Ace wrote: |
Don't you guys see this is just another Qndre? |
Quote: |
Let's not listen to L.C. and just pretend this thread was never created. |
Solo Ace wrote: |
Why wouldn't you take the chance to learn it yourself? PHP is a language I found the easiest to learn.
Yeah. ![]() |
Quote: |
Why wouldn't you take the chance to learn it yourself? PHP is a language I found the easiest to learn. |
Quote: |
Is there anymore info or am I supposed to start work using the information that is already posted? |
Code: Show/Hide Main Stuff:
$title This is where the website title will be outputted. $sortnumber This is the number of players per page that will be displayed. $sortcategory This is the name of the category that the data is sorted by. $cssfile This is the filename and/or location of the CSS file to load. $zonename This is the name of the zone data is generated for. $form This is where the contents of a fully parsed and manipulated form.html is placed Categories: $number This is where the place numbers will be outputted (ie "1." "2." "34." "53."). $player This is where the player name will appear. $squad This is where the squad name will appear. $wins This is where the number of wins (kills) will appear. $losses This is where the number of losses (deaths) will appear. $ratio This is where the ratio of wins (kills) to losses (deaths) in simplest form is outputted. $rating This is where the rating ((points(10)+(wins-losses)100)/(wins+100)) is displayed. $average This is where the average (points/kills) is outputted. $points This is where the number of points is displayed. $flagpoints This is where the number of flag points is displayed. $totalpoints This is where the number of total points (points+flag points) is displayed. Form $sortcategory Explanation: <option value="$sortcategpry">$sortcategpry</option> See [Categories] in scoreman.ini. Those are what will be placed accordingly into this list. Everything under [Categories] will be inputted into the form during manipulation (which is in the process of generating the webpages for the scores). You can change the category strings as you please. CSS ss_ Prefix Explanation: You will notice that the prefix ss_ is the beginning of all the CSS styles. If you have a website (hopefully taking advantage of CSS and using a CSS file), the CSS for this plugin will not interfere with your website and it's CSS. There are less chances of this plugin messing up someone's website if CSS style names are made unique by using a prefix. If your website happens to use the same prefix, them you should change them. There is no reason for anyone's website to be constructed with the ss_ prefix. CSS Body Style Explanation: body.formpage{} body.statsbody{text-align: center;} You can put class="formpage" or class="statsbody" in a <body> tag to load the styles for this. The reason for having this is so that you could customize specific styles for the page that the form is on, and styles for the popup window where the statistical scores data is presented. Scoreman.ini ArchiveEarly Explanation: SaveTime = 360; // The amount of time in minutes to regenerate and update online scores ArchiveTime = 1; // The amount of time in weeks to archive the last set of data for historical reference ArchiveEarly = 60; // The amount of time in minutes to archive the last set of data early, see Readme for details There is an extremely good reason for having this command. ArchiveTime is like a season, period, or semester. If ArchiveEarly is set to 60 (1 hour), 60 minutes (1 hour) before ArchiveTime ends it will archive the current scores. ArchiveEarly should not exceed SaveTime. For example: SaveTime > ArchiveEarly 360 > Any number within the range of 0 and 359 Setting it to 360 is not allowed (it cannot be equal with SaveTime or more than SaveTime). Setting ArchiveEarly to 0 is basically disabling this feature; it means that it will regenerate data and create an archive after how ever many weeks ArchiveTime is set to. Archiving will automatically regenerate data (to make it the most up to date) before archiving this data for future reference. Scoreman.ini ArchiveDates Explanation: ArchiveDates = 0; // See the Readme file for details on using this This information is used for the form itself. By default a user views the "Current scores" but will also have a list of archived dates to choose from. These are the dates that the archive was made on. Use these numbers to help you customize exactly how you want the dates to be displayed. 0 ... Apr 1, 2007 1 ... April 1, 2007 2 ... 4/1/2007 3 ... 2007 Apr 1 4 ... 2007 April 1 |
Code: Show/Hide [MySQL] // Information about connecting to a MySQL source is entered here
Host = localhost; // The IP address of your MySQL host (localhost otherwise) Database = scoreman; // The MySQL database name Username = scoreman; // The MySQL Username Password = "abc123"; // The MySQL User Pasword [Notification] // Information about how the bot should or could notify about fresh generations NotifyType = 0; // Do you want in-game notifications or not? (0) No, (1) Yes NotifyMessage = "*arena Scores Statistics have just been updated! Find them at scores.sscidragonballz.net."; // Type this as if you were chatting in Continuum, you are limited to one message or line only [Website] // Configurations about how the website should operate Formpage = index.html; // It will parse this page for $form Formtemplate = form.html; // $form = <content of form.html> Statstable = statstable.html; // Template file to parse, use, and manipulate for data output $title = "Page Title Here"; // The title of this website ZoneName = "SSCI Dragonball Z"; // The name of the zone that statistics are being reported for goes here $cssfile = /scoreman.css; // The location and address of your *.css file SaveTime = 360; // The amount of time in minutes to regenerate and update online scores ArchiveTime = 1; // The amount of time in weeks to archive the last set of data for historical reference ArchiveEarly = 60; // The amount of time in minutes to archive the last set of data early, see Readme for details ArchiveDates = 0; // See the Readme file for details on using this PopupX = 750; // The width of the scores popup window in pixels PopupY = 550; // The heighth of the scores popup window in pixels Resizable = 1; // Can the user resize the popup window manually? (0) No, (1) Yes [Sortnumber] // This is data for the form itself List0 = 5; // This is an option that will be included in the form List1 = 10; // Use this to limit the number of List2 = 20; // Sort by top 20 something List3 = 50; // Sort by top 50 sometimes List5 = 100; // Sort by top 100 something Maxlist = 100; // To prevent someone from ever being able to render like 999 entries in one page [Categories] // This is the data for the form itself Category0 = "Player"; // These are an option on the form that you can sort your desired data request by Category1 = "Squad"; // Sort by Squad name (alphabetical) Category2 = "Wins"; // Sort by wins (from highest to lowest) Category3 = "Losses"; // Sort by losses (from highest to lowest) Category4 = "Ratio"; // Sort by ratio (from best ratio, which is highest wins to lowest losses, to worst ratio) Category5 = "Rating"; // Sort by rating (from highest to lowest) Category6 = "Average"; // Sort by average (from highest to lowest) Category7 = "Points"; // Sort by points (from highest to lowest) Category8 = "Flagpoints"; // Sort by flag points (from highest to lowest) Category9 = "Totalpoints"; // Sort by total points (from highest to lowest) |
Code: Show/Hide .ss_formcontent{width: 220px; text-align: left; padding: 4px;}
.ss_formdiv{width: 229px; text-align: center; background-color: #000030; font-family: Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; font-size: 12px;} .ss_formtitle{width: 229px; background-color: #101060; color: #FFFFFF; text-align: center;} .ss_formzone{width: 109px;} .ss_hdr_average{} .ss_hdr_flagpoints{} .ss_hdr_losses{} .ss_hdr_number{} .ss_hdr_player{} .ss_hdr_points{} .ss_hdr_rating{} .ss_hdr_ratio{} .ss_hdr_squad{} .ss_hdr_totalpoints{} .ss_hdr_wins{} .ss_hdr{background-color: #003366;} .ss_row_alt1_average{} .ss_row_alt1_flagpoints{} .ss_row_alt1_losses{} .ss_row_alt1_number{} .ss_row_alt1_player{} .ss_row_alt1_points{} .ss_row_alt1_rating{} .ss_row_alt1_rating{} .ss_row_alt1_ratio{} .ss_row_alt1_squad{} .ss_row_alt1_totalpoints{} .ss_row_alt1_wins{} .ss_row_alt1{background-color: #000033;} .ss_row_alt2_average{} .ss_row_alt2_flagpoints{} .ss_row_alt2_losses{} .ss_row_alt2_number{} .ss_row_alt2_player{} .ss_row_alt2_points{} .ss_row_alt2_ratio{} .ss_row_alt2_squad{} .ss_row_alt2_totalpoints{} .ss_row_alt2_wins{} .ss_row_alt2{background-color: #000000;} .ss_statstable{width: 720px; border: 0;} a.ss:active{} a.ss:hover{} a.ss:link{} a.ss:visited{} body.ss_formpage{text-align: center; background-color: #000030;} body.ss_statsbody{text-align: center;} input.ss_formbutton{background-color: #000030; color:#c080c0;} select.ss_formlist{background-color:#104020; color:#FFFFFF;} |
Code: Show/Hide <html>
<head> <title>$title</title> <link rel="stylesheet" type="text/css" href="$cssfile" /> <style type="text/css" media="screen"> <!-- @import url($cssfile) screen; --> </style> </head> <body class="ss_formpage"> $form </body> </html> |
Code: Show/Hide <div class="ss_formdiv">
<form name="UntitledForm" method="post" action=""> <div style="padding: 4px;"> <select class="ss_formlist" name="date"> <option value="0">Current scores</option> <option value="$datevalue">$date</option> </select> </div> <div class="ss_formtitle"><b>Top Pilots</b></div> <div class="ss_formcontent">Show top <select class="ss_formlist" name="sortnumber"> <option value="$sortnumber">$sortnumber</option> </select> <select class="ss_formlist" name="sortcategpry"> <option value="$sortcategpry">$sortcategpry</option> </select> <br /> <div class="ss_formcontent" style="margin-bottom: -4px;"> <div style="text-align: right; margin-right: 4px;"> <select class="ss_formzone ss_formlist" name="zonename"> <option>$zonename</option> </select> <input class="ss_formbutton" value="Go!" type="submit"> </div> </div> </div> </form> </div> |
Code: Show/Hide <html>
<head> <title>$title - Top $sortnumber $sortcategory</title> <link rel="stylesheet" type="text/css" href="$cssfile" /> <style type="text/css" media="screen"> <!-- @import url($cssfile) screen; --> </style> </head> <body class="ss_statsbody"> <table class="ss_statstable"> <tr class="ss_hdr"> <td class="ss_hdr_number">#</td> <td class="ss_hdr_player">Pilot</td> <td class="ss_hdr_squad">Squad</td> <td class="ss_hdr_wins">Wins</td> <td class="ss_hdr_losses">Losses</td> <td class="ss_hdr_ratio">Ratio</td> <td class="ss_hdr_rating">Rating</td> <td class="ss_hdr_average">Average</td> <td class="ss_hdr_points">Points</td> <td class="ss_hdr_flagpoints">Flag Points</td> <td class="ss_hdr_totalpoints">Total Points</td> </tr> <tr class="ss_row_alt1"> <td class="ss_row_alt1_number">$number</td> <td class="ss_row_alt1_player">$player</td> <td class="ss_row_alt1_squad">$squad</td> <td class="ss_row_alt1_wins">$wins</td> <td class="ss_row_alt1_losses">$losses</td> <td class="ss_row_alt1_ratio">$ratio</td> <td class="ss_row_alt1_rating">$rating</td> <td class="ss_row_alt1_average">$average</td> <td class="ss_row_alt1_points">$points</td> <td class="ss_row_alt1_flagpoints">$flagpoints</td> <td class="ss_row_alt1_totalpoints">$totalpoints</td> </tr> <tr class="ss_row_alt2"> <td class="ss_row_alt2_number">$number</td> <td class="ss_row_alt2_player">$player</td> <td class="ss_row_alt2_squad">$squad</td> <td class="ss_row_alt2_wins">$wins</td> <td class="ss_row_alt2_losses">$losses</td> <td class="ss_row_alt2_ratio">$ratio</td> <td class="ss_row_alt2_rating">$rating</td> <td class="ss_row_alt2_average">$average</td> <td class="ss_row_alt2_points">$points</td> <td class="ss_row_alt2_flagpoints">$flagpoints</td> <td class="ss_row_alt2_totalpoints">$totalpoints</td> </tr> </table> </body> </html> |
Code: Show/Hide function sub(f)
{ if ( score != null ) score.close() ; var score=window.open("", "score", "width=750,height=550,menubar=no,scrollbars=yes,resizable=yes"); score.focus() ; return true; } |
Solo Ace wrote: |
![]() |
Quote: |
Nah you are correct in this situation, points = killpoints, flagpoints = flagpoints, totalpoints = killpoints + flagpoints. |
Quote: |
He had asked me though about powerball score points, king of the hill, etc. Are those flag points too? According to the FAQ section on MGB's Server site it says that Kill points do not include these, but is strictly kill points. I don't think it mentioned anything about Flag Points (or what "category" soccer points, king of the hill points, *points points go under). |
Quote: |
Also why is this topic going in parallel on two forums? This makes it harder to keep track of what's going on. |
Code: Show/Hide Main Stuff:
$title This is where the website title will be outputted. $sortnumber This is the number of players per page that will be displayed. $sortcategory This is the name of the category that the data is sorted by. $cssfile This is the filename and/or location of the CSS file to load. $zonename This is the name of the zone data is generated for. $form This is where the contents of a fully parsed and manipulated form.html is placed Categories: $number This is where the place numbers will be outputted (ie "1." "2." "34." "53."). $player This is where the player name will appear. $squad This is where the squad name will appear. $wins This is where the number of wins (kills) will appear. $losses This is where the number of losses (deaths) will appear. $ratio This is where the ratio of wins (kills) to losses (deaths) in simplest form is outputted. $rating This is where the rating ((points(10)+(wins-losses)100)/(wins+100)) is displayed. $average This is where the average (points/kills) is outputted. $points This is where the number of points is displayed. $flagpoints This is where the number of flag points is displayed. $totalpoints This is where the number of total points (points+flag points) is displayed. Points vs Flag Points Explanation: $points This is where the number of points is displayed. $flagpoints This is where the number of flag points is displayed. $totalpoints This is where the number of total points (points+flag points) is displayed. There has been a small controversy about the difference between Points and Flag Points. To clear all of this and confusion up, points are strictly kill points (points that you get from killing other players). Flag points include the following kind of points: flag rewards, flag-game wins, king of the hill, *points, and soccer. Form $sortcategory Explanation: <option value="$sortcategpry">$sortcategpry</option> See [Categories] in scoreman.ini. Those are what will be placed accordingly into this list. Everything under [Categories] will be inputted into the form during manipulation (which is in the process of generating the webpages for the scores). You can change the category strings as you please. CSS ss_ Prefix Explanation: You will notice that the prefix ss_ is the beginning of all the CSS styles. If you have a website (hopefully taking advantage of CSS and using a CSS file), the CSS for this plugin will not interfere with your website and it's CSS. There are less chances of this plugin messing up someone's website if CSS style names are made unique by using a prefix. If your website happens to use the same prefix, them you should change them. There is no reason for anyone's website to be constructed with the ss_ prefix. CSS Body Style Explanation: body.formpage{} body.statsbody{text-align: center;} You can put class="formpage" or class="statsbody" in a <body> tag to load the styles for this. The reason for having this is so that you could customize specific styles for the page that the form is on, and styles for the popup window where the statistical scores data is presented. Scoreman.ini ArchiveEarly Explanation: SaveTime = 360; // The amount of time in minutes to regenerate and update online scores ArchiveTime = 1; // The amount of time in weeks to archive the last set of data for historical reference ArchiveEarly = 60; // The amount of time in minutes to archive the last set of data early, see Readme for details There is an extremely good reason for having this command. ArchiveTime is like a season, period, or semester. If ArchiveEarly is set to 60 (1 hour), 60 minutes (1 hour) before ArchiveTime ends it will archive the current scores. ArchiveEarly should not exceed SaveTime. For example: SaveTime > ArchiveEarly 360 > Any number within the range of 0 and 359 Setting it to 360 is not allowed (it cannot be equal with SaveTime or more than SaveTime). Setting ArchiveEarly to 0 is basically disabling this feature; it means that it will regenerate data and create an archive after how ever many weeks ArchiveTime is set to. Archiving will automatically regenerate data (to make it the most up to date) before archiving this data for future reference. Scoreman.ini ArchiveDates Explanation: ArchiveDates = 0; // See the Readme file for details on using this This information is used for the form itself. By default a user views the "Current scores" but will also have a list of archived dates to choose from. These are the dates that the archive was made on. Use these numbers to help you customize exactly how you want the dates to be displayed. 0 ... Apr 1, 2007 1 ... April 1, 2007 2 ... 4/1/2007 3 ... 2007 Apr 1 4 ... 2007 April 1 |
Code: Show/Hide [MySQL] // Information about connecting to a MySQL source is entered here
Host = localhost; // The IP address of your MySQL host (localhost otherwise) Database = scoreman; // The MySQL database name Username = scoreman; // The MySQL Username Password = "abc123"; // The MySQL User Pasword [Notification] // Information about how the bot should or could notify about fresh generations NotifyType = 0; // Do you want in-game notifications or not? (0) No, (1) Yes NotifyMessage = "*arena Scores Statistics have just been updated! Find them at scores.sscidragonballz.net."; // Type this as if you were chatting in Continuum, you are limited to one message or line only [Website] // Configurations about how the website should operate Formpage = /indexpage.html; // It will parse this page for $form Formtemplate = /formpage.html; // $form = <content of formpage.html> Statstable = /statstable.html; // Template file to parse, use, and manipulate for data output PageTitle = "Page Title Here"; // The title of this website ZoneName = "SSCI Dragonball Z"; // The name of the zone that statistics are being reported for goes here CSSFile = /scoremon.css; // The location and address of your *.css file SaveTime = 360; // The amount of time in minutes to regenerate and update online scores ArchiveTime = 1; // The amount of time in weeks to archive the last set of data for historical reference ArchiveEarly = 60; // The amount of time in minutes to archive the last set of data early, see Readme for details ArchiveDates = 0; // See the Readme file for details on using this PopupX = 750; // The width of the scores popup window in pixels PopupY = 550; // The heighth of the scores popup window in pixels Resizable = 1; // Can the user resize the popup window manually? (0) No, (1) Yes [Sortnumber] // This is data for the form itself List0 = 5; // This is an option that will be included in the form List1 = 10; // Use this to limit the number of List2 = 20; // Sort by top 20 something List3 = 50; // Sort by top 50 sometimes List5 = 100; // Sort by top 100 something Maxlist = 100; // To prevent someone from ever being able to render like 999 entries in one page [Categories] // This is the data for the form itself Category0 = "Player"; // These are an option on the form that you can sort your desired data request by Category1 = "Squad"; // Sort by Squad name (alphabetical) Category2 = "Wins"; // Sort by wins (from highest to lowest) Category3 = "Losses"; // Sort by losses (from highest to lowest) Category4 = "Ratio"; // Sort by ratio (from best ratio, which is highest wins to lowest losses, to worst ratio) Category5 = "Rating"; // Sort by rating (from highest to lowest) Category6 = "Average"; // Sort by average (from highest to lowest) Category7 = "Points"; // Sort by points (from highest to lowest) Category8 = "Flagpoints"; // Sort by flag points (from highest to lowest) Category9 = "Totalpoints"; // Sort by total points (from highest to lowest) |
Code: Show/Hide /* Designed by L.C. and added to by Smong. For use with the Scoremon MERVBot plugin. */
.ss_formcontent{padding: 4px; text-align: left; width: 220px;} .ss_formdiv{background-color: #000030; color:#FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: center; width: 229px;} .ss_formtitle{background-color: #101060; color: #FFFFFF; text-align: center; width: 229px;} .ss_formzone{width: 75%;} .ss_hdr_average{} .ss_hdr_flagpoints{} .ss_hdr_losses{} .ss_hdr_number{} .ss_hdr_player{} .ss_hdr_points{} .ss_hdr_rating{} .ss_hdr_ratio{} .ss_hdr_squad{} .ss_hdr_totalpoints{} .ss_hdr_wins{} .ss_hdr{background-color: #003366;} .ss_row_alt1_average{} .ss_row_alt1_flagpoints{} .ss_row_alt1_losses{} .ss_row_alt1_number{} .ss_row_alt1_player{} .ss_row_alt1_points{} .ss_row_alt1_rating{} .ss_row_alt1_rating{} .ss_row_alt1_ratio{} .ss_row_alt1_squad{} .ss_row_alt1_totalpoints{} .ss_row_alt1_wins{} .ss_row_alt1{background-color: #000033;} .ss_row_alt2_average{} .ss_row_alt2_flagpoints{} .ss_row_alt2_losses{} .ss_row_alt2_number{} .ss_row_alt2_player{} .ss_row_alt2_points{} .ss_row_alt2_ratio{} .ss_row_alt2_squad{} .ss_row_alt2_totalpoints{} .ss_row_alt2_wins{} .ss_row_alt2{background-color: #000000;} .ss_statstable{border-collapse: collapse; width: 720px;} a.ss:active{} a.ss:hover{} a.ss:link{} a.ss:visited{} body.ss_formpage{background-color: #000030; color: #FFFFFF; text-align: center;} body.ss_statsbody{background-color: #000030; color: #FFFFFF; text-align: center;} input.ss_formbutton{background-color: #000030; color:#C080C0;} select.ss_formlist{background-color:#104020; color:#FFFFFF;} |
Code: Show/Hide <html>
<head> <title>$title</title> <link rel="stylesheet" type="text/css" href="$cssfile" /> </head> <body class="ss_formpage"> $form </body> </html> |
Code: Show/Hide <div class="ss_formdiv">
<form name="UntitledForm" method="post" action=""> <div style="padding: 4px;"> <select class="ss_formlist" name="date"> <option value="0">Current scores</option> <option value="$datevalue">$date</option> </select> </div> <div class="ss_formtitle"><b>Top Pilots</b></div> <div class="ss_formcontent">Show top <select class="ss_formlist" name="sortnumber"> <option value="$sortnumber">$sortnumber</option> </select> <select class="ss_formlist" name="sortcategpry"> <option value="$sortcategpry">$sortcategpry</option> </select> <br /> <div class="ss_formcontent" style="margin-bottom: -4px;"> <div style="text-align: right; margin-right: 4px;"> <select class="ss_formzone ss_formlist" style="width: 100%" name="zonename"> <option>$zonename</option> </select> <input class="ss_formbutton" value="Go!" type="submit"> </div> </div> </div> </form> </div> |
Code: Show/Hide <html>
<head> <title>$title - Top $sortnumber $sortcategory</title> <link rel="stylesheet" type="text/css" href="$cssfile" /> </head> <body class="ss_statsbody"> <table class="ss_statstable"> <tr class="ss_hdr"> <td class="ss_hdr_number">#</td> <td class="ss_hdr_player">Pilot</td> <td class="ss_hdr_squad">Squad</td> <td class="ss_hdr_wins">Wins</td> <td class="ss_hdr_losses">Losses</td> <td class="ss_hdr_ratio">Ratio</td> <td class="ss_hdr_rating">Rating</td> <td class="ss_hdr_average">Average</td> <td class="ss_hdr_points">Points</td> <td class="ss_hdr_flagpoints">Flag Points</td> <td class="ss_hdr_totalpoints">Total Points</td> </tr> <tr class="ss_row_alt1"> <td class="ss_row_alt1_number">$number</td> <td class="ss_row_alt1_player">$player</td> <td class="ss_row_alt1_squad">$squad</td> <td class="ss_row_alt1_wins">$wins</td> <td class="ss_row_alt1_losses">$losses</td> <td class="ss_row_alt1_ratio">$ratio</td> <td class="ss_row_alt1_rating">$rating</td> <td class="ss_row_alt1_average">$average</td> <td class="ss_row_alt1_points">$points</td> <td class="ss_row_alt1_flagpoints">$flagpoints</td> <td class="ss_row_alt1_totalpoints">$totalpoints</td> </tr> <tr class="ss_row_alt2"> <td class="ss_row_alt2_number">$number</td> <td class="ss_row_alt2_player">$player</td> <td class="ss_row_alt2_squad">$squad</td> <td class="ss_row_alt2_wins">$wins</td> <td class="ss_row_alt2_losses">$losses</td> <td class="ss_row_alt2_ratio">$ratio</td> <td class="ss_row_alt2_rating">$rating</td> <td class="ss_row_alt2_average">$average</td> <td class="ss_row_alt2_points">$points</td> <td class="ss_row_alt2_flagpoints">$flagpoints</td> <td class="ss_row_alt2_totalpoints">$totalpoints</td> </tr> </table> </body> </html> |
Code: Show/Hide function sub(f)
{ if ( score != null ) score.close() ; var score=window.open("", "score", "width=750,height=550,menubar=no,scrollbars=yes,resizable=yes"); score.focus() ; return true; } |
Code: Show/Hide sortcategory = getElementById
sortnumber = getElementById window.open("showresults.php?sortcategory=" + sortcategory.value + "&sortnumber=" sortnumber.value, "score", "width=750,height=550,menubar=no,scrollbars=yes,resizable=yes"); |
Code: Show/Hide function sub(f)
{ var f0 = document.f0 ; var date = f0.date.options[f0.date.selectedIndex].value ; if ( date == '0' ) { var loc = f.cgi.value } else { var loc = date + "/" + f.cgi.value } f.target="score" ; f.action="http://edome.fi.soneraplaza.net/subspace/cgi-bin/" + loc ; if ( score != null ) score.close() ; var score=window.open("", "score", "width=750,height=550,menubar=no,scrollbars=yes,resizable=yes"); score.focus() ; return true; } |
L.C. wrote: |
Irony is that people actually want this plugin and are waiting for its release, but there aren't enough coders out there that would seemingly care enough to get this done ASAP (and without having constant long-term interruptions). |
Quote: |
All of the coders I know are typically overloaded with their own projects, much less somebody else's. |