(This page will be continuously edited upon each release)If you don't have Linux, you can just post the demo of the suspected cheater onOtherwise, this script can do that for you.Since using a web interface makes me mad, I wrote this little
shell script that makes it possible to report cheaters (incl.
sending demos) without using a browser.
As with many programs, it's an evolved hack, so don't
expect a cleanly structured, robust and formally correct
script. But -- at least for me -- it works. I hope it does so
for you, too.
ADVANTAGES:- If you have access to in-game commands "!id" and "!lt" and use this
script, you're making it easier for admins to prolong the ban. - It's much faster than posting a demo via web browser.
- You can use the editor of your choice for creating the message.
NEEDS: GNU/Linux incl. bash and php (Debian pkg: php5-cli).
KNOWN LIMITATIONS: See list "TODOs" in the script.
DOWNLOAD: See attachment. Send PM for older versions.
INSTALLATION and INVOCATION- download and save as "postdemo.gz"
- gunzip postdemo.gz
- chmod a+rx postdemo
- ./postdemo -h
SUPPORT: There is no guaranteed support of any kind, but if you have
problems, questions or suggestions, you can reply to this
post and hope for someone answering --
after reading the following:- postdemo -h
- $HOME/.postdemo/config (created after first run)
ChangeLog:0.0.9.12- FIX: !lt syntax parsing now compatible with B3 1.50
0.0.9.11- FIX: Replaced groups of "Cookie:" header lines with a single
"Cookie:" header line, as those groups made problems
with "map_voting.php" in the script "
dswpmapvote".
- add: Made config file selectable per --config option.
- FIX: Anchor (#p1234) at end of URL led to problems in printing
final post/edit/quote/... URLs.
0.0.9.10- FIX: Don't treat unknown options as URL.
- FIX: Improve detection of failed subnet retrieval.
- FIX: Didn't overwrite postfix file for each demo attached, but append
to it instead. A miracle that this script ever worked. %-}
- FIX: Could not get topic id and/or posting id when posting in
"Internal Stuffs" and in a few other places.
- FIX: When re-selecting demos, the selection got added, not edited.
0.0.9.9- chg: Sped up posting page analyzation a lot.
- chg: Print tmpdir before aborting program (in cases where it makes sense)
- add: Added automatic detection of local charset.
- FIX: Hopefully, all possible local/remote charset combinations work now,
at least with the HTML fallback.
- chg: For "Too few characters" server message, added hint about
possibly incorrect local charset configuration.
- chg: (Use of) URL shortener configurable (URL_SHORTENER). Default: none.
- chg: Will also accept shortened URLs as parameter (except for preview links).
- FIX: Added 'recode' to list of required programs.
0.0.9.8- FIX: If traditional netcat was installed (instead of OpenBSD-netcat),
it took at least 15 seconds to send data to the server. Fixed
with "-q" parameter of netcat.
0.0.9.7- FIX: Classical off-by-1-error: Last message line wasn't quoted.
- add: Editing (at least your own) posts is now supported, incl.
adding demos, but w/o ability to delete demos.
- chg: Documentation fix: It must read: ioUrbanTerror.i386 2> uterror.log
Thanks, Draik!
0.0.9.6- chg: on.to/postdemo replaced with dswp.de/postdemo because on.to
inserted an advertisement frame. Also using different font size
for the signature to make it more distinguishable.
- chg: Subject and message will not show at the beginning, except if
that makes sense.
- chg: Small doc changes.
0.0.9.5- FIX: Not accepting "deflate" anymore when sending server requests, as
they don't get handled.
- add: Creation of short URLs via is.gd.
0.0.9.4- FIX: Converts charsets for subject and message, if necessary.
New variable 'local_charset' for that purpose. Add that to
your config. See source for comment.
0.0.9.3- FIX: Checking for vital programs was done too late.
- Add: Result of login process is now evaluated.
- Add: Prompt for username/password if one of them is not set in config file.
0.0.9.2- FIX: when !id line was not available, subject wasn't set properly
0.0.9.1- go.to/postdemo replaced with on.to/postdemo, as I have trouble with go.to.