Author |
Topic  |
Jeepaholic
Average Member
  
USA
697 Posts |
Posted - 26 September 2002 : 03:10:23
|
quote: Originally posted by dayve
there is a page that comes up on the stats page at Project Dolphin occasionally that states:
Loadave panic! short-circuiting CGI
Jeepaholic added an error trap for it and I implemented it into your code, but I'm not quite convinced that this error is trappable every time. I've seen some failures still.
What I've noticed is that the panic page takes a while to load on occasion, which causes the image to take some time to generate. It has been successful each time there's a panic for me...but, I'm sure it's possible it might never respond with the panic message, 'eh?
Not sure if that type of failure would get caught with a Try...Catch conditional. If we wanted to get crazy, we could probably set a timeout on the HTTP Get for X seconds. Not sure how to do that, but I think it can be done. |
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
 |
|
Jeepaholic
Average Member
  
USA
697 Posts |
Posted - 26 September 2002 : 03:18:34
|
quote: Originally posted by RichardKinser
do y'all know if an image could be read by the script and then inserted before the final image is output?
something like this:
TEXT
IMAGE
TEXT TEXT TEXT
I'm not following the question...maybe I'm just a little thick tonight? <grin> |
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 26 September 2002 : 03:58:30
|
Like this:
 |
 |
|
Gremlin
General Help Moderator
    
New Zealand
7528 Posts |
Posted - 26 September 2002 : 04:37:23
|
kool Richard :) .. that just using GDI+ to create it also ? |
Kiwihosting.Net - The Forum Hosting Specialists
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 26 September 2002 : 04:48:09
|
This is how the smilie is done:
dim g as System.Drawing.Image
dim strFilename as String = server.mappath("forum/icon_smile.gif")
g = System.Drawing.Image.FromFile(strFilename)
objGraphics.DrawImage(g,cint((intWidth / 2) - cInt(15/2)),20,15,15)
|
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 September 2002 : 09:14:12
|
quote: Originally posted by RichardKinser
This is how the smilie is done:
dim g as System.Drawing.Image
dim strFilename as String = server.mappath("forum/icon_smile.gif")
g = System.Drawing.Image.FromFile(strFilename)
objGraphics.DrawImage(g,cint((intWidth / 2) - cInt(15/2)),20,15,15)
Richard is going to blow my cover!! I was working on an image to overlay my stats on!! I got the idea from someone that did it at Project Dolphins Forums:

 |
|
 |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 26 September 2002 : 09:15:43
|
(Jeepaholic - well alcaholics are addicted to alcohol, so you're keen on to jeepahol?) ;) |
 |
|
Jeepaholic
Average Member
  
USA
697 Posts |
Posted - 26 September 2002 : 12:37:14
|
quote: Originally posted by pdrg
(Jeepaholic - well alcaholics are addicted to alcohol, so you're keen on to jeepahol?) ;)
Oh, duh! Guess I was a little thick yesterday then. In more ways that one. Geez. <smile> It's a new flavor of moonshine, taken from leftover engine oil, burned tranny fluid, and a splash of coolant. 
Richard: Very nice! |
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
Edited by - Jeepaholic on 26 September 2002 12:37:48 |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 26 September 2002 : 12:58:13
|
quote: Originally posted by dayve
Richard is going to blow my cover!! I was working on an image to overlay my stats on!! I got the idea from someone that did it at Project Dolphins Forums:


I have been trying the same thing But the image always comes out very grainy. |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 September 2002 : 14:24:28
|
Richard, same problem here , I can export as JPG and GIF but I really desire exporting as PNG, because I think I'll get better results, but I can't get it to work. Not even sure that will resolve the graininess issue. The one shown above as I'm sure you already know, was done in PHP. |
|
 |
|
Bookie
Average Member
  
USA
856 Posts |
Posted - 26 September 2002 : 14:27:48
|
Why does Project Dolphin use the Greek letter phi (pronounced phee) in the system tray? When the program starts up you can see the correct transliteration for PULSE using Greek letters. I could understand them using the pi but why the phi? It probably looks cooler than pi.
I studied Greek for a year so I'm a little puzzled when I see that. It probably doesn't matter, huh? |
Participate in my nonsense |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 26 September 2002 : 14:38:20
|
PD's Team Stats page is showing this...
Content-type: text/html Software error: DBI->connect(host=127.0.0.1:3306;database=dolphin) failed: Host 'localhost.localdomain' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' at /home/dolphin/lib/perl/DolphinDB.pm line 23
For help, please send mail to the webmaster (admin@bitdevil.net), giving this error message and the time and date of the error.
|
|
 |
|
Rasco
Advanced Member
    
Germany
3192 Posts |
Posted - 26 September 2002 : 14:41:27
|
quote: PD's Team Stats page is showing this...
Same here, looks like they are having some problems |
German Snitz Forum
|
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 26 September 2002 : 15:11:23
|
eggyfarts and BWJM, you two really ought to fix something 'cause your stats don't show and return a "don't leech" image. It seems nobody elses stats work at the moment either, but that might be just me. |
 |
|
Jeepaholic
Average Member
  
USA
697 Posts |
|
Topic  |
|