War2.ru Slogan
News: Back by popular demand, the SMF Arcade!!!
PLAY NOW!!!!!!!!!!!!!!!!!!!!!!!!


Welcome, Guest. Please login or register.

Login with username, password and session length
Welcome to the forums! We're glad to have you here! :) You can register your account here, then feel free to introduce yourself in the Server.War2.ru board & let us know who you are on the server.

Automatic ss implemented on the server 1119  29

Administrator Ogre Mage Posts: 1532 Karma: +149/-11 *****

iL

  • Administrator
  • Ogre Mage
  • *****
  • *
  • Posts: 1532
    • View Profile
*

iL

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.
Server Admin Death Knight Posts: 4462 Karma: +110/-13 *****

tk[as]

  • Server Admin
  • Death Knight
  • *****
  • *
  • Posts: 4462
    • 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.
Server Admin Berserker Posts: 564 Karma: +56/-4 *****

woofy

  • Server Admin
  • Berserker
  • *****
  • Posts: 564
    • View Profile
Re: Automatic ss implemented on the server
« Reply #2 on: May 13, 2021, 04:08:51 PM »
Vary nace!
Axe Thrower Posts: 354 Karma: +47/-2 ****

Player

  • Axe Thrower
  • ****
  • Posts: 354
    • 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.
Axe Thrower Posts: 354 Karma: +47/-2 ****

Player

  • Axe Thrower
  • ****
  • Posts: 354
    • 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?
Administrator Ogre Mage Posts: 1532 Karma: +149/-11 *****

iL

  • Administrator
  • Ogre Mage
  • *****
  • *
  • Posts: 1532
    • View Profile
*

iL

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...
Critter Posts: 1 Karma: +0/-0 *

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/
...
Axe Thrower Posts: 354 Karma: +47/-2 ****

Player

  • Axe Thrower
  • ****
  • Posts: 354
    • 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?
Grunt Posts: 85 Karma: +13/-0 ***

Mistral

  • Grunt
  • ***
  • Posts: 85
    • 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.
Administrator Ogre Mage Posts: 1532 Karma: +149/-11 *****

iL

  • Administrator
  • Ogre Mage
  • *****
  • *
  • Posts: 1532
    • View Profile
*

iL

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...
Grunt Posts: 90 Karma: +6/-0 ***

8)MikulZ(8

  • Grunt
  • ***
  • Posts: 90
    • 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!
Peon Posts: 18 Karma: +1/-0 **

Lone_Starr

  • Peon
  • **
  • *
  • Posts: 18
    • 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,
Grunt Posts: 153 Karma: +8/-0 ***

eleison

  • Grunt
  • ***
  • Posts: 153
    • 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.
Grunt Posts: 85 Karma: +13/-0 ***

Mistral

  • Grunt
  • ***
  • Posts: 85
    • 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...
Grunt Posts: 153 Karma: +8/-0 ***

eleison

  • Grunt
  • ***
  • Posts: 153
    • 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...