Author Topic: Automatic ss implemented on the server  (Read 23730 times)

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Automatic ss implemented on the server
« on: May 13, 2021, 04:52:22 AM »
So, here's it:
you can type the command "/ss" being in game, and it will request screenshot from any player in the game.

These screenshots will be delivered into http://server.war2.ru/ss/ right after the game finished.
Format of the path format: ss/MonthDay/gameid_gamename/HHmmss(time)_username

As soon as screenshots can take up a lot of disk space, each player has limit: 3 /ss requests per game.

Also going to make autodeleting for screenshots older than some value (depending on the real disk usage, i'll turn it on later).
So, please, note that is not the persistent storage.

That /ss thing works for every 2.0.2.0 version of war2, not working for 2.0.2.1 (that's why 2.0.2.1 is being marked as "unsafe" when it joins the game).

Thanks a lot to Mistral for implementation on the client side.
Also thanks to Lancelight for the idea and some help with the server part (about 5-8 years ago).

Now you don't need to pause the game, ask ss from one of players and wait for them. Just type the /ss, and you will get screenshots for that moment from every player in the game right after the game is over.
« Last Edit: May 13, 2021, 04:56:47 AM by iL »
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline tk[as]

  • Server Admin
  • Dragon
  • *****
  • Posts: 5021
    • View Profile
Re: Automatic ss implemented on the server
« Reply #1 on: May 13, 2021, 06:26:34 AM »
This is awesome, cant wait to try it out.

No download needed?

Big thanks to mistral, il, lance, and all else involved.

Offline woofy

  • Server Admin
  • Berserker
  • *****
  • Posts: 647
    • View Profile
Re: Automatic ss implemented on the server
« Reply #2 on: May 13, 2021, 04:08:51 PM »
Vary nace!

Offline Player

  • Axe Thrower
  • ****
  • Posts: 484
    • View Profile
Re: Automatic ss implemented on the server
« Reply #3 on: May 13, 2021, 06:21:20 PM »
very nice!  Will be fun to see if any Ć’ucking hackers are caught.

Offline Player

  • Axe Thrower
  • ****
  • Posts: 484
    • View Profile
Re: Automatic ss implemented on the server
« Reply #4 on: May 13, 2021, 08:02:50 PM »
Works nice.  Can we make it automatically analyze the colors on the minimap and highlight what could potentially be missing fog of war?

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: Automatic ss implemented on the server
« Reply #5 on: May 14, 2021, 02:56:02 AM »
Works nice.  Can we make it automatically analyze the colors on the minimap and highlight what could potentially be missing fog of war?
Missing fog of war - i'd say that should be another part of antihack we can analyze in different place...
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline ouinouin

  • Critter
  • *
  • Posts: 1
    • View Profile
Re: Automatic ss implemented on the server
« Reply #6 on: May 15, 2021, 01:14:40 PM »
wtf is that ?!?! Is it legit or it doesn't work ?...

L45 (no antihack) screenshot :


my screenshot :


http://server.war2.ru/ss/May15/13069_gow/
http://server.war2.ru/ss/May14/12349_chopppppppppp/
...

Offline Player

  • Axe Thrower
  • ****
  • Posts: 484
    • View Profile
Re: Automatic ss implemented on the server
« Reply #7 on: May 15, 2021, 02:59:29 PM »
First hacker to be caught using this?

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 409
    • View Profile
Re: Automatic ss implemented on the server
« Reply #8 on: May 15, 2021, 03:14:35 PM »
Yes its 100% first cheater caught.
It seems that he used "showpath" like cheat on chop and "on screen" on gow.

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: Automatic ss implemented on the server
« Reply #9 on: May 15, 2021, 07:38:09 PM »
wtf is that ?!?! Is it legit or it doesn't work ?...

L45 (no antihack) screenshot :


my screenshot :


http://server.war2.ru/ss/May15/13069_gow/
http://server.war2.ru/ss/May14/12349_chopppppppppp/
...

Oh, nice!
Glad to see the /ss is really work and useful!
L45 is new aka of dellam. Nice to see he is still fine.

But looks like he is going to have a tough time soon:
build and spell hacks are not working already, map hack can cause some troubles soon...
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline 8)MikulZ(8

  • Grunt
  • ***
  • Posts: 148
    • View Profile
Re: Automatic ss implemented on the server
« Reply #10 on: May 16, 2021, 08:09:39 AM »
This is an awesome feature makes it so much easier to catch hackers and no need to disturb the ongoing game. Gj guys!

Offline Lone_Starr

  • Peon
  • **
  • Posts: 21
    • View Profile
Re: Automatic ss implemented on the server
« Reply #11 on: May 16, 2021, 11:30:19 AM »
I think you're still going to need spoof checks (i.e. /ping), and compare that with the list of players under the 'allies' menu.

Regards,
Rust Never Sleeps

Offline eleison

  • Grunt
  • ***
  • Posts: 220
    • View Profile
Re: Automatic ss implemented on the server
« Reply #12 on: May 17, 2021, 02:48:27 AM »
Good work! :)

I don't like hackers :C But L45 so bad anyways, we just lose another player ^^

It's not that hard to make a web server side imagemagic script that reads the mini map of these screenshots and counts the black pixels, to auto detect if someone is map hacking.

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 409
    • View Profile
Re: Automatic ss implemented on the server
« Reply #13 on: May 17, 2021, 03:25:58 AM »
dunno there should be more complicated work than just this.
well just counting black pixels wont always work right.
like for example u not hax but u have zeppelins all over the map, so u basically see 80-90% of all map.
and then wat - this auto counting black pixels will think "wtf this guy is HAX" while you are not.
i know that this is rare to have map full of zeppelins in actual game but...
« Last Edit: May 17, 2021, 05:27:23 AM by Mistral »

Offline eleison

  • Grunt
  • ***
  • Posts: 220
    • View Profile
Re: Automatic ss implemented on the server
« Reply #14 on: May 17, 2021, 02:47:41 PM »
You can do it at the start of the map. Or you can check some pixels that almost always black at gow. Or you can compare between players. Anyways finding a player with no black pixels 5 min into a game should never happen if no map hack. And if the script detects, it can move these screenshots to a separate folder. Just so it is easier to detect automatic. If no hacking the screenshot will show the truth...