Jump to content

PB Screenshots (cod4)


sinpwnzorz

Recommended Posts

Ok so I'm an admin of a CoD4 server but i don't have box access. Is there a way to make punkbuster screenshots taken with Rcon automatically upload to an online FTP so that i can view them without having box access?

Link to comment
Share on other sites

Who's your host? If you're an sga, you obviously have some sort of ftp-access if this is your own server for your clan, or you might also need to ask your head sga for access, if he/she is willing to permit it.

 

Not sure if you're clan-owner, as I didn't search that far into your profile.

Link to comment
Share on other sites

Say they permitted this, (i do know we have an FTP) how would this be setup in CoD4

If your game server provider does not allow ftp access to your server, you can ask them to provide you with access to the server's pb folder. Alternatively, some hosts will provide you with a facility to simply view your server's PunkBuster screenshots.

Link to comment
Share on other sites

Well there are over 100 people in my gaming unit 12 admins. 2 with full RDC box access, i was basically looking for a way to view these without box access, as the people with it are never available.

Link to comment
Share on other sites

If you are running a Linux server, you can use Foxdie's script:

 

#!/bin/bash

FTP_SRV=""
FTP_LOGIN=""
FTP_PW=""
REMOTE_DIR="."


FN=`echo $1 | sed -e s/"\(\\/.*\\/\)"//`
FULLFN_HTM=`echo $1 | sed -e s/"\([.]png\)"/.htm/`
FN_HTM=`echo $FULLFN_HTM | sed -e s/"\(\\/.*\\/\)"//`
SVSS=`echo $1 | sed -e s/"pb[0-9]\+[.]png"/pbsvss.htm/`

ftp -np $FTP_SRV << END_SCRIPT
quote USER $FTP_LOGIN
quote PASS $FTP_PW
binary
cd $REMOTE_DIR
put $1 $FN
put $FULLFN_HTM $FN_HTM
put $SVSS pbsvss.htm
quit
END_SCRIPT

 

upload that script into pb folder ( lets call it ssweb.sh and /srv/et/pb is pb_sv_homepath ).

Then

pb_sv_sscmd "pb/ssweb.sh ; sh /srv/et/pb/ssweb.sh"

 

That will upload the screenshots, and pbsvss.htm to your web server, each time a screenshot is taken :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.