Author |
Message |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Sun Jun 17, 2007 12:13 am Post subject: |
 |
|
|
|
Whoa, you make it seem so complicated.  |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Wed Jun 20, 2007 3:19 am Post subject: |
 |
|
|
|
Renames..
scoreman.ini --> scoremon.ini
scoreman.css --> scoremon.css
Edits..
scoremon.css
FIND ".ss_formzone{width: 109px;}"
REPLACE ".ss_formzone{width: 75%;}
scoremon.ini
FIND "$cssfile = /scoreman.css;"
REPLACE "$cssfile = /scoremon.css;" |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Wed Jun 20, 2007 3:37 am Post subject: |
 |
|
|
|
Edits..
scoremon.css
FIND ".ss_statstable{width: 720px; border: 0;}"
REPLACE ".ss_statstable{width: 720px; border-collapse: collapse;}"
Bleh, some CSS mistakes.  |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Wed Jun 20, 2007 3:48 am Post subject: |
 |
|
|
|
@Purge+ I need to make a correction.
Points is just kill points, no powerball, flag, king of the hill, etc points. Purely kill points. I think Flag Points is everything but Points (kill points).
Someone correct me on that if I'm wrong.  |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Wed Jun 20, 2007 3:34 pm Post subject: |
 |
|
|
|
Smong says...
Quote: | Nah you are correct in this situation, points = killpoints, flagpoints = flagpoints, totalpoints = killpoints + flagpoints. |
I reply...
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). |
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Wed Jun 20, 2007 4:59 pm Post subject: |
 |
|
|
|
Kill points have to be strictly kills only otherwise it would mess up your average and rating. As a sidenote *points on subgame converts all points to flag points so will mess up those 2 stats anyway.
Also why is this topic going in parallel on two forums? This makes it harder to keep track of what's going on. _________________ ss news  |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Fri Jun 22, 2007 1:12 am Post subject: |
 |
|
|
|
Edits...
scoremon.ini (changes by Smong)
FIND "$title"
REPLACE "PageTitle"
FIND "$cssfile"
REPLACE "CSSFile" |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Fri Jun 22, 2007 1:15 am Post subject: |
 |
|
|
|
Quote: | Also why is this topic going in parallel on two forums? This makes it harder to keep track of what's going on. | Aye. I thought it might be more convenient. I'll post a note in the thread at SSForums that this thread here (at minegoboom.com) will be the one I'll continue to update. Done! |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Fri Jun 22, 2007 1:42 am Post subject: |
 |
|
|
|
May find a directory with the following files at http://www.hlrse.net/scores.
readme.txt (Currently an Explanation Guide to clear up things)
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 |
scoreman.ini (Contains Bot plugin information, MySQL information, and information that the PHP-side will use to its own needs)
[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) |
scoreman.css (The content style sheet for the whole webbased part of the Bot plugin)
/* 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;} |
indexpage.html (The main page for a simple setup on someones webserver)
+06/22/2007: Someone could use some of the features in this to have their webpages parsed and the form itself implemented onto their website.
<html>
<head>
<title>$title</title>
<link rel="stylesheet" type="text/css" href="$cssfile" />
</head>
<body class="ss_formpage">
$form
</body>
</html> |
formpage.html ("Obviously not complete," now just a basic demo example; Smong has a working version that I don't have to show right now)
<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> |
statstable.html (The webpage part for the popup window of generated and outputted scores)
<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> |
sub.js (Old stuff; Smong was able to use this to advantage)
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;
} |
EDIT :: I'm trying to minimize on these large "SPAM" posts. Just a side-note. |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Fri Jun 22, 2007 7:43 am Post subject: |
 |
|
|
|
A small technicality about the form submission/popup.
Normally when you submit a form the page reloads and shows the results. This works by the browser attempting to load a page URL looking like:
showresults.php?sortcategory=Ratio&sortnumber=10
Note the browser generates this URL automatically, no extra code is required such as javascript.
Now the problem comes in trying to get the pop-up window to change "location" to this page. So if a form exists in window A how can I get it to submit to window B?
What I will attempt to do is generate the query string (the bit in green above) using javascript, something like this:
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"); |
Anyone want to chip in with a better way? Or has anyone got a full copy of the old scores site? That sub(f) function LC posted looks incomplete, since there is an "f" parameter that doesn't appear to get used. That and the popup's location is set to "" (empty string). |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Fri Jun 22, 2007 7:06 pm Post subject: |
 |
|
|
|
Looks like "target" was what I was looking for. Thanks for posting more of the script (why did you trim it in the first place? ). |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sat Jun 23, 2007 7:08 pm Post subject: |
 |
|
|
|
Hah. I love seeing other people having the same problems with Javascript that I had earlier while working on my gallery's image viewer.
Too bad I couldn't post earlier.
But hey, let's all just use AJAX. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Tue Jul 03, 2007 2:09 am Post subject: |
 |
|
|
|
So anyway, it's finished? |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Tue Jul 03, 2007 4:14 am Post subject: |
 |
|
|
|
Smong and Mattalic[reborn] are supposed to be in touch. |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Sun Jul 08, 2007 4:23 am Post subject: |
 |
|
|
|
It doesn't seem like Mattalic[reborn] is right for the job (time-wise). He just never seems to be available and I haven't heard of progress from Smong for quite a while now. Anyone want to replace Mattalic[reborn] as plugin coder and co-operate with Smong? I'll toss in a free beginners plan from hlrse.net if you want one. -_- |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Tue Jul 17, 2007 5:10 pm Post subject: |
 |
|
|
|
New coder I believe is allshallperish. |
|
Back to top |
|
 |
Trans Guest
Offline
|
Posted: Sat Aug 11, 2007 2:02 pm Post subject: |
 |
|
|
|
Bump. Just curious on the progress this has made since the last update. |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Fri Aug 24, 2007 10:48 pm Post subject: |
 |
|
|
|
ssdhfkjadhgiuasgfhliaegihaeighkdhnvkladnivnpwiugheaphg
School carried me away. I'll try to get this back on in-progress and off the ground.
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). I've still got the $25 offer open.
allshallperish doesn't want any money (anything as a matter of fact).
Smong will receive his $25 upon project completion. |
|
Back to top |
|
 |
Swatter Guest
Offline
|
Posted: Sat Aug 25, 2007 1:26 am Post subject: |
 |
|
|
|
Something I did awile ago, it sends a nick, zoneid and date to edome.fi.soneraplaza.net or did b4 it went down.. Then rips the html source and navigates the DOM leeching the data then loads the next previous date all the way back to 1999.
I password protected it cause its crude to leech from another site like this, but that dont matter anymore.
You wont be able to run the application anymore, because edome is no longer with us, but you can still load a saved document, or view the save from the 2nd link below.
PW is "OK"
Then type "Fly Swatter" (CaSe SeNsiTiVe)
http://swatter.brinkster.net/stats/ALL_TiMe_DsB_PLaYeR_StAtS.html
http://swatter.brinkster.net/stats/saves/default.asp
Just something to look at,
Swatter |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Mon Sep 03, 2007 6:51 pm Post subject: |
 |
|
|
|
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). |
I know it's a little late but I just wanted to point out that this is merely unfortunate and not actually ironic. All of the coders I know are typically overloaded with their own projects, much less somebody else's. _________________
 |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Mon Sep 03, 2007 6:55 pm Post subject: |
 |
|
|
|
Quote: | All of the coders I know are typically overloaded with their own projects, much less somebody else's. | Well you do have a point, and I accept it. So be it. -_- |
|
Back to top |
|
 |
L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Jan 02, 2008 12:46 pm Post subject: |
 |
|
|
|
So anyway, it's finished? |
|
Back to top |
|
 |
|