EVGA

How-to: Dynamic Sig using GPU Tracker V2, EOC stats, EOC Graph

Page: < 12345.. > >> Showing page 5 of 7
Author
jakeace1
iCX Member
  • Total Posts : 414
  • Reward points : 0
  • Joined: 2011/01/17 18:05:38
  • Location: Vine Grove, KY
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/24 19:43:00 (permalink)
I am happy to present the hard work by unhappyelf as seen in my new SIG.   Much Thanks to Unhappyelf!!!!!!!!

 Corsair 800D | Classified 3 I7  | Corsair H100 | Corsair HX1000W | 2x GTX460 EE  | Corsair Dom 3x4GB


unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/25 14:09:35 (permalink)
I appreciate the thanks jakeace


Sleinous
EVGA Forum Moderator
  • Total Posts : 7663
  • Reward points : 0
  • Joined: 2010/06/12 12:22:01
  • Location: France
  • Status: offline
  • Ribbons : 32
Re:How-to: Live Folding Signature 2011/03/25 14:38:11 (permalink)
btw shurik yours will be done soon

My Affiliate Code: GL1IAAFWJF
ShurikenTenshi
CLASSIFIED ULTRA Member
  • Total Posts : 6390
  • Reward points : 0
  • Joined: 2008/03/01 08:57:32
  • Location: Middle of somewhere in a house.
  • Status: offline
  • Ribbons : 11
Re:How-to: Live Folding Signature 2011/03/25 15:02:23 (permalink)
Ok I will get on that little deal we had.

  
12G-P5-3953-KR     6/30/2021 6:23:47 AM PT YES!
10G-P5-3899-KR  6/23/2021 6:01:36 AM PT No    
10G-P5-3889-KR  6/23/2021 6:01:12 AM PT No  
24G-P5-3979-KR  6/23/2021 6:00:45 AM PT No  
12G-P5-3968-KR  6/3/2021 8:15:04 AM PT No   
10G-P5-3898-KR  12/17/2020 7:55:06 AM PT No 
Sleinous
EVGA Forum Moderator
  • Total Posts : 7663
  • Reward points : 0
  • Joined: 2010/06/12 12:22:01
  • Location: France
  • Status: offline
  • Ribbons : 32
Re:How-to: Live Folding Signature 2011/03/26 14:20:03 (permalink)
Excellent :) Lemme know when it's done :D

My Affiliate Code: GL1IAAFWJF
asus939
FTW Member
  • Total Posts : 1418
  • Reward points : 0
  • Joined: 2010/12/11 13:23:13
  • Location: Affilate Code VPI1UTF1VP PLEASE USE
  • Status: offline
  • Ribbons : 2
Re:How-to: Live Folding Signature 2011/03/26 14:51:14 (permalink)
i tried to make a sig have decided it's beyond me   :(
unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/26 15:05:35 (permalink)
asus939

i tried to make a sig have decided it's beyond me   :(

 
I can help you out. What do you want to use as a background? What info do you want to include.....EOC and Live XML data or just EOC?


unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/27 14:04:45 (permalink)
Ok for some reason I am having Problems editing the first post in the thread. It might be to long by now.
 
Section 4
 
So I have had to post this new part here
Ok, I have made a EOC only Signature with all the stuff you need to get started.
http://kbates666.gotdns.com/PremadeSig.zip
 
Unzip this to a location on your webserver(with php and mysql).
It contains
(3) .ttf font files
(1) .htaccess file
(1) starting .png file
(1) Processing .png file
 
The file Sig.png is the one with all the code in it, you need to change the settings at the top with a text editor
 
If you did it right it should come out like this(with your data)

 
After that you can learn all you need to edit it from either my guides or the php manual.


Sleinous
EVGA Forum Moderator
  • Total Posts : 7663
  • Reward points : 0
  • Joined: 2010/06/12 12:22:01
  • Location: France
  • Status: offline
  • Ribbons : 32
Re:How-to: Live Folding Signature 2011/03/27 14:41:32 (permalink)
Excellent addition!

My Affiliate Code: GL1IAAFWJF
clifford_cooley
iCX Member
  • Total Posts : 463
  • Reward points : 0
  • Joined: 2010/11/03 18:40:27
  • Location: Arkansas, USA
  • Status: offline
  • Ribbons : 0
Re:How-to: Live Folding Signature 2011/03/27 17:55:50 (permalink)
Hi unhappyelf
 
That is so cool what you have done with EOC stats. I've been checking the code out because I don't know anything about SQL and your code is allowing me to study abit. One thing I noticed is you have coded the signature to update if the last update was over 3 hours. The code writes the time of the update in the SQL database which could be an hour or two behind when EOC updates their statistics. If you used the time stamp in the EOC.XML, their is a time value of when they updated last.
<Last_Update_Unix_TimeStamp>
1301266800
</Last_Update_Unix_TimeStamp>

The 3 hour value (10800) added to the "Last_Update_Unix_TimeStamp" will give you the next update time.  Adding an additional 15 minutes (10800+900) should also allot time enough for EOC to complete their updates. This should help coordinate the signatures with the EOC statistics.
ShurikenTenshi
CLASSIFIED ULTRA Member
  • Total Posts : 6390
  • Reward points : 0
  • Joined: 2008/03/01 08:57:32
  • Location: Middle of somewhere in a house.
  • Status: offline
  • Ribbons : 11
Re:How-to: Live Folding Signature 2011/03/27 18:44:52 (permalink)
I like them but I like to keep them about the size of mine.  Because I want to have more then just one huge sig in my signatures .

  
12G-P5-3953-KR     6/30/2021 6:23:47 AM PT YES!
10G-P5-3899-KR  6/23/2021 6:01:36 AM PT No    
10G-P5-3889-KR  6/23/2021 6:01:12 AM PT No  
24G-P5-3979-KR  6/23/2021 6:00:45 AM PT No  
12G-P5-3968-KR  6/3/2021 8:15:04 AM PT No   
10G-P5-3898-KR  12/17/2020 7:55:06 AM PT No 
unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/27 19:07:59 (permalink)
clifford_cooley

Hi unhappyelf

That is so cool what you have done with EOC stats. I've been checking the code out because I don't know anything about SQL and your code is allowing me to study abit. One thing I noticed is you have coded the signature to update if the last update was over 3 hours. The code writes the time of the update in the SQL database which could be an hour or two behind when EOC updates their statistics. If you used the time stamp in the EOC.XML, their is a time value of when they updated last.
<Last_Update_Unix_TimeStamp>
1301266800
</Last_Update_Unix_TimeStamp>

The 3 hour value (10800) added to the "Last_Update_Unix_TimeStamp" will give you the next update time.  Adding an additional 15 minutes (10800+900) should also allot time enough for EOC to complete their updates. This should help coordinate the signatures with the EOC statistics.

 
You know what I didnt even think about it that way before. I think at the time I knew how to get the time to work and had completely forgot about the time stamp included in the xml.
 
I will update me code and posts as soon as I can.
 
Thanks Clifford


unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/27 19:10:19 (permalink)
You can make them any size you want I just like having a large one. It would be just a matter of changing the background and xy cood of the text.


unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/27 19:28:44 (permalink)
unhappyelf

clifford_cooley

Hi unhappyelf

That is so cool what you have done with EOC stats. I've been checking the code out because I don't know anything about SQL and your code is allowing me to study abit. One thing I noticed is you have coded the signature to update if the last update was over 3 hours. The code writes the time of the update in the SQL database which could be an hour or two behind when EOC updates their statistics. If you used the time stamp in the EOC.XML, their is a time value of when they updated last.
<Last_Update_Unix_TimeStamp>
1301266800
</Last_Update_Unix_TimeStamp>

The 3 hour value (10800) added to the "Last_Update_Unix_TimeStamp" will give you the next update time.  Adding an additional 15 minutes (10800+900) should also allot time enough for EOC to complete their updates. This should help coordinate the signatures with the EOC statistics.


You know what I didnt even think about it that way before. I think at the time I knew how to get the time to work and had completely forgot about the time stamp included in the xml.

I will update me code and posts as soon as I can.

Thanks Clifford

 
Oh crap I remember why I didn't do that....The time EOC provides is not standard unix time. In fact I have no Idea what time they are referencing


clifford_cooley
iCX Member
  • Total Posts : 463
  • Reward points : 0
  • Joined: 2010/11/03 18:40:27
  • Location: Arkansas, USA
  • Status: offline
  • Ribbons : 0
Re:How-to: Live Folding Signature 2011/03/27 19:42:31 (permalink)
EOC last updated at (1301277600)
The time now is 34 minutes later ($time value = 1301279623)
 
34 * 60 = 2040
1301277600 + 2040 = 1301279640
 
I'm finding that the two values match. Why do you think they are not referencing standard unix time.
unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/27 19:58:33 (permalink)
The Dam EOC site only lists that is can use standard time using Last_Update. Just saw Last_Update_Unix_TimeStamp so nevermind


unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/28 05:56:57 (permalink)
Well for everyone who's code I'm hosting, I have updated the sig to update every three hours about 15 mins after the hour to allow EOC to finish its update. Everyones sig should now be synchronized 


Sleinous
EVGA Forum Moderator
  • Total Posts : 7663
  • Reward points : 0
  • Joined: 2010/06/12 12:22:01
  • Location: France
  • Status: offline
  • Ribbons : 32
Re:How-to: Live Folding Signature 2011/03/28 06:21:57 (permalink)
Umm, what code do I need to change for this to happen for codes hosted by me? ;)

My Affiliate Code: GL1IAAFWJF
Alucard666
CLASSIFIED ULTRA Member
  • Total Posts : 6164
  • Reward points : 0
  • Joined: 2007/12/22 16:19:50
  • Status: offline
  • Ribbons : 12
Re:How-to: Live Folding Signature 2011/03/28 06:54:53 (permalink)
Cool. thanks for posting.

AMD Ryzen 7 3700x | 32GB Crucial Ballistix PRO RGB 3600mhz| ASUS RTX 3080 TUF OC | ASUS X570i STRIX | 2TB Sabrent Rockit M.2 SSD| NZXT H1 w Ghost Sheets Mesh Front | Noctua 140mm & 2 40mm | Samsung Odyssey G7 32" | Logitech G Pro Wireless | Logitech G915 | SteelSeries Arctis Pro Wireless | Logitech G560 RGB Speakers |
unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/28 09:13:20 (permalink)
Sleinous

Umm, what code do I need to change for this to happen for codes hosted by me? ;)

Ahhhh.....as usual the code tags are giving me an issue

This is the updated EOC code. It pulls everything from the user portion of the xml file and stores it in the db.
 

//******************************************************************************************************************************
//Everything From Here to the starts is for the mysql database
//eoc id
$foldingUsername = "This will name the database";
$eoc_id = "Put EOC ID here"; 
//mysql information
$db_ip = "localhost";
$db_user = "db user here";
$db_pass = "db pass here";
//connect to database
$con = mysql_connect($db_ip,$db_user,$db_pass);
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
//does datatbase exist
mysql_query("CREATE DATABASE IF NOT EXISTS my_db",$con);
//does table exist
mysql_select_db("my_db", $con);
$sql = "CREATE TABLE IF NOT EXISTS $foldingUsername(Lasttimequeried int, Username varchar(15), UserID int, TeamRank int, OverallRank int, ChangeRank24h int, ChangeRank7d int, PointsAvg int, PointsUpdate int, PointsToday int, PointsWeek int, Points int, UserWU int)";
// Execute query
mysql_query($sql,$con);
//PHP time and insert time
$time = time();
$result = mysql_query("SELECT * FROM $foldingUsername");
$row = mysql_fetch_array($result);
if($row['Lasttimequeried'] == NULL){
$eoc = simpleXMLToArray(simplexml_load_file("http://folding.extremeoverclocking.com/xml/user_summary.php?s=&u=$eoc_id"));
$lastup = $eoc['status']['Last_Update_Unix_TimeStamp'];
$un = $eoc['user']['User_Name'];
$unid = $eoc['user']['UserID'];
$teamrank = $eoc['user']['Team_Rank'];
$overrank = $eoc['user']['Overall_Rank'];
$crank24h = $eoc['user']['Change_Rank_24hr'];
$crank7d = $eoc['user']['Change_Rank_7days'];
$ptsavg = $eoc['user']['Points_24hr_Avg'];
$ptsupd = $eoc['user']['Points_Update'];
$ptsday = $eoc['user']['Points_Today'];
$ptsweek = $eoc['user']['Points_Week'];
$pts = $eoc['user']['Points'];
$wu = $eoc['user']['WUs'];
mysql_query("INSERT INTO $foldingUsername(Lasttimequeried, Username, UserID, TeamRank, OverallRank, ChangeRank24h, ChangeRank7d, PointsAvg, PointsUpdate, PointsToday, PointsWeek, Points, UserWU) VALUES('$lastup', '$un', '$unid', '$teamrank', '$overrank', '$crank24h', '$crank7d', '$ptsavg', '$ptsupd', '$ptsday', '$ptsweek', '$pts', '$wu')");
}
if($time > ($row['Lasttimequeried']+11700)){
$eoc = simpleXMLToArray(simplexml_load_file("http://folding.extremeoverclocking.com/xml/user_summary.php?s=&u=$eoc_id"));
$lastup = $eoc['status']['Last_Update_Unix_TimeStamp'];
$un = $eoc['user']['User_Name'];
$unid = $eoc['user']['UserID'];
$teamrank = $eoc['user']['Team_Rank'];
$overrank = $eoc['user']['Overall_Rank'];
$crank24h = $eoc['user']['Change_Rank_24hr'];
$crank7d = $eoc['user']['Change_Rank_7days'];
$ptsavg = $eoc['user']['Points_24hr_Avg'];
$ptsupd = $eoc['user']['Points_Update'];
$ptsday = $eoc['user']['Points_Today'];
$ptsweek = $eoc['user']['Points_Week'];
$pts = $eoc['user']['Points'];
$wu = $eoc['user']['WUs'];
mysql_query("UPDATE $foldingUsername SET Lasttimequeried=$lastup");
mysql_query("UPDATE $foldingUsername SET UserID=$unid");
mysql_query("UPDATE $foldingUsername SET TeamRank=$teamrank");
mysql_query("UPDATE $foldingUsername SET OverallRank=$overrank");
mysql_query("UPDATE $foldingUsername SET ChangeRank24h=$crank24h");
mysql_query("UPDATE $foldingUsername SET ChangeRank7d=$crank7d");
mysql_query("UPDATE $foldingUsername SET PointsAvg=$ptsavg");
mysql_query("UPDATE $foldingUsername SET PointsUpdate=$ptsupd");
mysql_query("UPDATE $foldingUsername SET PointsToday=$ptsday");
mysql_query("UPDATE $foldingUsername SET PointsWeek=$ptsweek");
mysql_query("UPDATE $foldingUsername SET Points=$pts");
mysql_query("UPDATE $foldingUsername SET UserWU=$wu");
$result = mysql_query("SELECT * FROM $foldingUsername");
$row = mysql_fetch_array($result);
}
mysql_close($con);

//******************************************************************************************************************************
 
Should mostly be just copy paste with a few edits to your code depending on what you are displaying 


Sleinous
EVGA Forum Moderator
  • Total Posts : 7663
  • Reward points : 0
  • Joined: 2010/06/12 12:22:01
  • Location: France
  • Status: offline
  • Ribbons : 32
Re:How-to: Live Folding Signature 2011/03/28 09:26:26 (permalink)
Indeed it should, ill update later on :P Like my new sig?

My Affiliate Code: GL1IAAFWJF
unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/28 10:32:58 (permalink)
Indeed I do.....it consolidates all those other ones into one large one.


unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/03/31 09:14:03 (permalink)
Ok if you have not noticed I have a graph now. I need to hammer out what exactly I want it to show and how large it will be. I will release the code and a how-to in a few days. It will however be quite complicated.


Sleinous
EVGA Forum Moderator
  • Total Posts : 7663
  • Reward points : 0
  • Joined: 2010/06/12 12:22:01
  • Location: France
  • Status: offline
  • Ribbons : 32
Re:How-to: Live Folding Signature 2011/03/31 09:25:16 (permalink)
Nice! Although I dont think I even have room for a graph in my sig now :P but I do have some cunning plans to fit more in ;) More on that later.

My Affiliate Code: GL1IAAFWJF
clifford_cooley
iCX Member
  • Total Posts : 463
  • Reward points : 0
  • Joined: 2010/11/03 18:40:27
  • Location: Arkansas, USA
  • Status: offline
  • Ribbons : 0
Re:How-to: Live Folding Signature 2011/04/03 13:24:24 (permalink)
unhappyelfOk if you have not noticed I have a graph now. I need to hammer out what exactly I want it to show and how large it will be. I will release the code and a how-to in a few days. It will however be quite complicated.
Hi unhappyelf, did you have a chance to finish your chart. I've been thinking about coding a chart for my signature and was curious how you have coded yours.
 
Special thanks to Sleinous for hosting my signature till I can get a server up and hosting my own signature. :)
Sleinous
EVGA Forum Moderator
  • Total Posts : 7663
  • Reward points : 0
  • Joined: 2010/06/12 12:22:01
  • Location: France
  • Status: offline
  • Ribbons : 32
Re:How-to: Live Folding Signature 2011/04/03 14:17:45 (permalink)
No worries :) Check out the topic I made - free ftp & php/my sql hoster :D up to 8 databases (only one needed for EOC)

Also, clifford, if you wanted EOC, I do have the database already setup for 2 user eoc stats, cant remember how the tables are named (older method & not elf's revised code' but if u put a 3 at the end of ur table it will write to my database no probs, pm me for the table user pass.

My Affiliate Code: GL1IAAFWJF
unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/04/03 14:21:09 (permalink)
Yeah I did get it working....I just dont have the time right now to write up a how-to. I will give everyone the code.
http://kbates666.gotdns.com/test3.zip
 
Simply is creates a new database with a record of your points for every EOC update. I has to fill the database over time so it wont work without right away. The graph displays the last 10 values. It is in its own file and you must copy the png into your signature.
 
Good luck
 
I will have some more time soon and will make proper instructions. 
 
 


clifford_cooley
iCX Member
  • Total Posts : 463
  • Reward points : 0
  • Joined: 2010/11/03 18:40:27
  • Location: Arkansas, USA
  • Status: offline
  • Ribbons : 0
Re:How-to: Live Folding Signature 2011/04/03 14:56:35 (permalink)
Thanks Sleinous for the EOC table offer. I'm happy with my signature for the time being at least till I learn how to do the graph.
unhappyelfI will have some more time soon and will make proper instructions.
Thanks for the upload :D
 
No rush, take your time on the how too. I'm sure your code above has plenty to keep me thinking.
clifford_cooley
iCX Member
  • Total Posts : 463
  • Reward points : 0
  • Joined: 2010/11/03 18:40:27
  • Location: Arkansas, USA
  • Status: offline
  • Ribbons : 0
Re:How-to: Live Folding Signature 2011/04/03 15:27:12 (permalink)
I seem to be stuck. The signature will not start. I think its due to the fonts listed that I do not have and the following quote shows a folder that I do not have.
include("/var/www/pChart2.1.1/class/pData.class.php");
include("/var/www/pChart2.1.1/class/pDraw.class.php");
include("/var/www/pChart2.1.1/class/pImage.class.php");

 
unhappyelf
iCX Member
  • Total Posts : 321
  • Reward points : 0
  • Joined: 2008/09/24 19:55:01
  • Location: Houston, Tx
  • Status: offline
  • Ribbons : 1
Re:How-to: Live Folding Signature 2011/04/03 17:20:57 (permalink)
clifford_cooley

I seem to be stuck. The signature will not start. I think its due to the fonts listed that I do not have and the following quote shows a folder that I do not have.
include("/var/www/pChart2.1.1/class/pData.class.php");
include("/var/www/pChart2.1.1/class/pDraw.class.php");
include("/var/www/pChart2.1.1/class/pImage.class.php");



 
Dude I am so sorry.....forgot to mention you needed the pChart library available here
http://www.pchart.net/download


Page: < 12345.. > >> Showing page 5 of 7
Jump to:
  • Back to Mobile