You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


BeyondUnreal News

 
Go Back   The Unreal Admins Page > Forums > Hosted Forums > UTDC > General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 6th August, 2005, 01:28 AM
Shaydee's Avatar
Shaydee Shaydee is offline
Killing Spree
 
Join Date: Nov 2004
Posts: 25
Default making screenshots accessible via http

hey guys,

thanks to troublesome its quite easy to decode the .enc files that UTDCs screenshots are wrapped in. i took that advantage to write a php script that makes the screenshots taken on our server available on the web. and since i thought some of you might be interested in doing the same, you can get it here:

http://ut-files.com/Anticheat/UTDC/U...ecoder-php.zip

Last edited by Azazel : 13th January, 2009 at 07:10 PM.
Reply With Quote
  #2  
Unread 6th August, 2005, 02:52 AM
Baiter's Avatar
Baiter Baiter is offline
Holy Shit!!
 
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
Default

GG

Code:
	if (strpos($strRequest, "/") !== false || strpos($strRequest, "\\") !== false)
		die("fuck off.");
LOL
Reply With Quote
  #3  
Unread 11th November, 2005, 02:01 AM
Matthew Matthew is offline
Holy Shit!!
 
Join Date: Dec 2004
Posts: 2,382
Default

I'm unable to get this to work. The files do show up (links), however their images are always broken (get a 'X' image, or image failure).
Reply With Quote
  #4  
Unread 2nd November, 2006, 10:27 PM
DarkCoder's Avatar
DarkCoder DarkCoder is offline
Forum Newcomer
 
Join Date: Jul 2003
Posts: 1
Default

Quote:
Originally Posted by Matthew View Post
I'm unable to get this to work. The files do show up (links), however their images are always broken (get a 'X' image, or image failure).
Try changing line 178 from
Code:
echo readUTDCPic($strRequest);
to
Code:
echo readUTDCPic($logdir.$strRequest);
This worked for me.
Reply With Quote
  #5  
Unread 3rd November, 2006, 12:44 AM
Baiter's Avatar
Baiter Baiter is offline
Holy Shit!!
 
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
Default

What if you dont use the normal FTP port 21 for your FTP-ing needs?
__________________
-={SDA}=-Baiter | Maker of Sniper's Heaven
Clan SDA | UT Server Baiter Edition | Play Sniper's Heaven!!! | SDA Gaming Servers
Reply With Quote
  #6  
Unread 20th November, 2006, 05:44 PM
Sardukar Sardukar is offline
Godlike
 
Join Date: Feb 2003
Location: UK
Posts: 420
Default

Try this:

ftp://user:[email protected]:port/directory
__________________
irc.quakenet.org - find me in; #unrealadmin #anti-cheat #ugn.pug
Reply With Quote
  #7  
Unread 7th December, 2006, 07:15 AM
tsr tsr is offline
Forum Newcomer
 
Join Date: Aug 2005
Posts: 3
Default

Quote:
Originally Posted by DarkCoder View Post
Try changing line 178 from
blah
to
blub
gee, my apologies!
i accidentally released a bugged version with the link above.
right now the links points to the first (=bugged) version, as well as to a current version (02) in which i fixed the bug, as well as some of the comments.

a live demo is still avaliable via this link. that is, if you can call it a "live demo" even if it has not been update for ages.
Reply With Quote
  #8  
Unread 7th December, 2006, 07:48 AM
Baiter's Avatar
Baiter Baiter is offline
Holy Shit!!
 
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
Default

Quote:
Originally Posted by tsr View Post
gee, my apologies!
i accidentally released a bugged version with the link above.
right now the links points to the first (=bugged) version, as well as to a current version (02) in which i fixed the bug, as well as some of the comments.

a live demo is still avaliable via this link. that is, if you can call it a "live demo" even if it has not been update for ages.


UTDC 2.2?
__________________
-={SDA}=-Baiter | Maker of Sniper's Heaven
Clan SDA | UT Server Baiter Edition | Play Sniper's Heaven!!! | SDA Gaming Servers
Reply With Quote
  #9  
Unread 11th December, 2006, 04:29 AM
tsr tsr is offline
Forum Newcomer
 
Join Date: Aug 2005
Posts: 3
Default

nono
the "2.2" prefix in the servername means that the server is running "tactical ops 2.2 beta", which is a necessity because the incompatible versions 2.2 and 3.x of this mod use the same master server.
or did you want to ask what i meant by "02" above ? i was referring to the link in my first post (i cant find the login info for my shaydee account :/ ) as well as to this one.
Reply With Quote
  #10  
Unread 17th December, 2006, 07:35 PM
donjski donjski is offline
Rampage
 
Join Date: Oct 2003
Posts: 52
Default

I had this up and running before. But I lost all my settings.

The problem I am having is that all the screenshots are showing up in alphabetical order. I want them to show up by date. The newest first at the top of the page.

How can I do this?

thanks
Reply With Quote
  #11  
Unread 4th January, 2007, 02:09 PM
tsr tsr is offline
Forum Newcomer
 
Join Date: Aug 2005
Posts: 3
Default

Quote:
Originally Posted by donjski View Post
The problem I am having is that all the screenshots are showing up in alphabetical order.
I'm sorry to say this, but I removed this feature in the current version because it increased the loading time of the website by many seconds.
My goal was to provite a very simplistic PHP script that allows access to UTDC's screenshots. Sorting the screenies unfortunately exceeds the scope of my goal.
If you are literal in PHP, then you might want to have a look at the compareScreenie() function (also have a look at the usort() function in the PHP documentation), but from now on you are on your own (even though I certainly dont mind answering questions). Sorry. :/

P.S.: If you dont mind a long loading time, then simply remove the line "return $logdir.$strA < $logdir.$strB;" and uncomment the line "return @filemtime($logdir.$strA) < @filemtime($logdir.$strB);".

Last edited by tsr : 4th January, 2007 at 02:13 PM.
Reply With Quote
  #12  
Unread 27th October, 2008, 11:43 PM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,242
Default

broken link, anyone got a copy?
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #13  
Unread 29th December, 2008, 03:01 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,242
Default

No one has this? I'd really like to get this for a possible port to UTStats.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #14  
Unread 4th January, 2009, 06:50 PM
Taragon's Avatar
Taragon Taragon is offline
Godlike
 
Join Date: Jul 2005
Location: Werkendam, The Netherlands
Posts: 294
Default

I’m not exactly sure what this mod originally did, and therefore my reply might be completely off topic.
I’m using/created this script to download my AKAv20KLog.ini from my UT server to my web server, where it could be displayed to those who don’t have ftp access to my UT server.

(chmod aka.txt to 777)

As said, I’m not really sure if it would help you. Feel free however to use it/modify it to suit your needs. (except from the included favicon that is)

http://die16-clan.com/die16taragon/aka.zip

Last edited by Taragon : 4th January, 2009 at 07:02 PM.
Reply With Quote
  #15  
Unread 5th January, 2009, 11:37 AM
killereye killereye is offline
Dominating
 
Join Date: Sep 2006
Posts: 106
Default

Hi again 2339skills hehe.

I've added a copy of the script here: http://cwlserver.net/redirect.php?id=185 . Just add the *.enc utdc screenies in the same folder as this one.
Reply With Quote
  #16  
Unread 6th January, 2009, 12:29 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,242
Default

Thanks.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #17  
Unread 6th January, 2009, 12:47 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,242
Default

Quote:
Originally Posted by killereye View Post
Hi again 2339skills hehe.

I've added a copy of the script here: http://cwlserver.net/redirect.php?id=185 . Just add the *.enc utdc screenies in the same folder as this one.
You are awesome bro.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #18  
Unread 6th January, 2009, 08:24 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,242
Default

Can someone update the OP with this link?

http://ut-files.com/Anticheat/UTDC/U...ecoder-php.zip
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #19  
Unread 6th January, 2009, 02:09 PM
SoNY_scarface SoNY_scarface is offline
Holy Shit!!
 
Join Date: Mar 2007
Posts: 1,726
Default

did you report your post? if not i have done it
__________________




Reply With Quote
  #20  
Unread 6th January, 2009, 09:34 PM
Azura's Avatar
Azura Azura is offline
Holy Shit!!
 
Join Date: Apr 2003
Posts: 4,020
Default

Quote:
Originally Posted by SoNY_scarface View Post
did you report your post? if not i have done it
You've already been asked once to not abuse that forum feature =x.
__________________
How to feck up a perfectly good game:
UT (1999) = UnbelievableGameSoCoolIMustHelpBringNewPlayers Tournament
UT (2008) = Unreal ThrustMyPrivatePartsInYourFaceBish

And that's probably why UTIII was a relative flop. New game, same sh*thead players ^^.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:39 PM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.