search -  faq -  rulez -  staff

forums






map cycle
irc              pwnalizer
voice         dswp bar




Register

Login


It is currently 12.07.21

 

All times are UTC + 1 hour




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 10.23.10 
Offline
Godlike

Joined: 03.29.10
Posts: 1436
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63
(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 on


Otherwise, 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.


Attachments:
File comment: ****** LATEST VERSION ******
postdemo-0.0.9.12.gz [17.11 KiB]
Downloaded 652 times



 


Last edited by Pirat on 06.10.11, edited 30 times in total.
Top
 Profile  
 
PostPosted: 10.23.10 
Offline
Ingame Mod
User avatar

Joined: 12.19.09
Posts: 806
Location: @Gauss:
-----tdm:  
nick: [dswp]Jan
skill: 330.877
kills: 220
deaths: 210
ratio: 1.04
-----bomb:  
nick: [dswp]Jan
skill: 664.203
WoW :shock:

Now just hope with UrT 4.2 you could link it together and post demos from ingame :):)



 


Top
 Profile  
 
PostPosted: 10.23.10 
Offline
posted some :)
User avatar

Joined: 01.24.09
Posts: 312
Location: Germany
Quote:
/tmp/Z5XlSkGX.bin.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

:o :o

_________________
wursti wrote:
Anime? wow thats that movies where 100 dicks come out of a monster?



 


Top
 Profile  
 
PostPosted: 10.23.10 
Offline
Godlike

Joined: 03.29.10
Posts: 1436
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63
Rylius wrote:
Quote:
/tmp/Z5XlSkGX.bin.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

:o :o

Hm, works perfectly here. I'd say: "Contact the server administrator". :-)



 


Top
 Profile  
 
PostPosted: 10.23.10 
Offline
Godlike

Joined: 03.29.10
Posts: 1436
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63
Pirat wrote:
Rylius wrote:
Quote:
/tmp/Z5XlSkGX.bin.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

:o :o

Hm, works perfectly here. I'd say: "Contact the server administrator". :-)

Or use this:

http://pastebin.com/Zez5WWPD

Click on "DOWNLOAD" and save it as "postdemo.gz", then
run "gunzip postdemo.gz" on it.



 


Top
 Profile  
 
PostPosted: 10.23.10 
Offline
posted some :)
User avatar

Joined: 01.24.09
Posts: 312
Location: Germany
Didn't restart Firefox after update, that borked downloads :?

Woah, that script is awesome, just looked through it real quick.
Guess I even learned quite a bit from it :P

Quote:
function dont___damn_does_not_help() {
:D :D

_________________
wursti wrote:
Anime? wow thats that movies where 100 dicks come out of a monster?



 


Top
 Profile  
 
PostPosted: 10.23.10 
Offline
Godlike

Joined: 03.29.10
Posts: 1436
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63
Rylius wrote:
Woah, that script is awesome, just looked through it real quick.
Guess I even learned quite a bit from it :P

<ZOIDBERG>Hooray, I am useful! I'm having a wonderful time!</ZOIDBERG> :-)

Rylius wrote:
Quote:
function dont___damn_does_not_help() {
:D :D

|-) Yeah, those session timeouts are hard to come by ... thought
that re-login just before posting the actual data would help, but
no, it didn't. As I didn't want to further delay the release of this
script, and as this limitation is in most cases irrelevant, I posted
it in this state. :-}



 


Top
 Profile  
 
PostPosted: 10.25.10 
Offline
Ingame Mod
User avatar

Joined: 05.08.09
Posts: 437
Location: Germany
Chapeau!



 


Top
 Profile  
 
PostPosted: 11.01.10 
Offline
Godlike
User avatar

Joined: 07.21.08
Posts: 1049
-----tdm:  
nick: Ana
skill: 1097.59
kills: 2163
deaths: 2016
ratio: 1.07
-----bomb:  
nick: Ana
skill: 797.802
kills: 160
deaths: 221
ratio: 0.72
so:
Cant u make "Posted using postdemo 0.0.9.6wip" in other(bit darker color or smaller, dunno if it would be unreadable then, but je maybe other color than standard) since now it looks like the part of the post and it in fact isnt :). confuses me a bit. :P i dunno if such is possible at all. just an idea

and what kind of link is that with google adds? cant u let normal link there?

_________________
Life is about the people you meet.



 


Top
 Profile  
 
PostPosted: 11.01.10 
Offline
Godlike

Joined: 03.29.10
Posts: 1436
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63
Ana wrote:
so:
Cant u make "Posted using postdemo 0.0.9.6wip" in other(bit darker color or smaller, dunno if it would be unreadable then, but je maybe other color than standard) since now it looks like the part of the post and it in fact isnt :). confuses me a bit. :P i dunno if such is possible at all. just an idea

and what kind of link is that with google adds? cant u let normal link there?

Issues fixed/improved in version 0.0.9.6 as discussed on mumble.
See dswp.de/postdemo.



 


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Imprint

Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009, 2010 phpBB Group

Skin by Lucas Kane
we use apache2 mod rewrite with phpBB SEO
map train_beta1-100 © 2009 by SteveMcQueen
Statistics Backend + Database by XLR Stats and B3 Bot
mapvote robot and gameserver monitor © 2009 by BlinKy
mumble viewer Copyright © 2008 Dominik Radner (aka Urmel)
mumble switcher and integration © 2008 by XTJ7, Unclefragger and Wursti
Localisation Plugin © 2009, Team Leads Plugin © 2009 and Knifer Plugin © 2009 by SvaRoX
for our stats we use Chart.js Copyright (c) 2013-2015 Nick Downie.
the stats also use some jQuery jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc.



voice server
top 20 players


nameskillkills
-Dws.BLINGBLING*-*1730.63418631
NormaSnockers1865.75400492
Zottel1760.8276378
make.them.suffer1846.17269872
>8v=1825.35230156
moon1777.56195615
sjas1692.49192315
peace1878.86190660
Wagner_Moura1562.9188001
Goomba1859.75182677
z0rn1608.41181016
Mad1803.76179124
[dswp]PLZ1847.85178516
Graf_ZahlIII1835.73167407
Zohan1611.07159737
ubercunt1634.93159240
Yarrr!1917.33156233
I_am_nOOb1909.64151268
Pandageddon1891.75148319
Pirat1664.08145798