Games (inc Online)Teh Mine

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  JonCooper  
 To:  ANT_THOMAS     
38140.2819 In reply to 38140.2815 
I can see that too

Jon
0/0
 Reply   Quote More 

 From:  JonCooper  
 To:  ANT_THOMAS     
38140.2820 In reply to 38140.2818 
he is such a clever dude :)

Jon
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  JonCooper     
38140.2821 In reply to 38140.2819 
Good stuff. I wasn't sure if PHP could link to a local IP.
0/0
 Reply   Quote More 

 From:  Mouse  
 To:  ALL
38140.2822 
Hard Work has made me the most amazing entrance system to my soon to be built scuplture gallery from the painting gallery. I will soon me accepting commissions for sculptures (modestly sized only) .

Roses are bollocks, Violets are crud, I hate bloody flowers, And much prefer mud.
0/0
 Reply   Quote More 

 From:  Radio  
 To:  ALL
38140.2823 
Where's this mini site then?
My life is hard, I suffer lots
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Radio     
38140.2824 In reply to 38140.2823 

It's on the first post of the thread (I try to keep post 1 updated)

 

http://mine.tehforum.co.uk/site/

0/0
 Reply   Quote More 

 From:  Matt  
 To:  Drew (X3N0PH0N)     
38140.2825 In reply to 38140.2812 
Seeing as you asked so nicely.

php code:
 
<?php echo nl2br(htmlentities(`tail -n 30 server.log | grep '\[INFO\] <' | cut -b 28-`));


Also, Andy?! Did you just wake from a coma?

doohicky

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS     
38140.2826 In reply to 38140.2793 
Would that not just be the number of lines the client shows, so not a server thing? I'm not that bothered if it's not an easy fix. Would be nice in the browser for the text to show for longer though, and be able to bring up recent messages like bringing up the chat windows in game.

Chrissywissywoo
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Matt     
38140.2827 In reply to 38140.2825 
Andy Caer.

And thanks :D
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Drew (X3N0PH0N)     
38140.2828 In reply to 38140.2827 

How do I reverse the output so the newest is at the top?

 

I've tried "array_reverse" in various places with no luck yet.

0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  ANT_THOMAS     
38140.2829 In reply to 38140.2828 
$things = array_reverse(file('server.log'));

Should do it?
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Drew (X3N0PH0N)     
38140.2830 In reply to 38140.2829 

I've sorted it anyway

 

There was once place I hadn't tried :)

0/0
 Reply   Quote More 

 From:  Matt  
 To:  Drew (X3N0PH0N)     
38140.2831 In reply to 38140.2827 
But, but! Caer is Caer, and he'd probably write it in Ruby or something.

To be fair, Andy would probably right it in ActionScript.

doohicky

0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Matt     
38140.2832 In reply to 38140.2831 
Right it!

But aye, you're write.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  ALL
38140.2833 
Only problem being we don't get the DynMap webchat
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  ANT_THOMAS     
38140.2834 In reply to 38140.2833 
But I might be able to fix that myself.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  ANT_THOMAS     
38140.2835 In reply to 38140.2834 
Or maybe not :((
0/0
 Reply   Quote More 

 From:  koswix   
 To:  ANT_THOMAS     
38140.2836 In reply to 38140.2835 
aren't the dynmap chat lines written to the log?


GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  koswix      
38140.2837 In reply to 38140.2836 
Aye, just the way we're stripping the chat out means the DynMap ones get missed. They're formatted differently.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  ANT_THOMAS     
38140.2838 In reply to 38140.2837 
How're they formatted?
0/0
 Reply   Quote More 

Reply to All  
 

1–20  …  2761–2780  2781–2800  2801–2820  2821–2840  …  3921–3934

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats