Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - eleison

Pages: 1 ... 3 4 [5] 6 7 ... 15
61
Server.War2.ru / Re: SS log two reports
« on: June 23, 2021, 09:28:57 AM »
L45, TennisBall, and Fre4ky?  all 3?

I talked to L45. He thought that everyone should have all vision all the time, that the game would be better without fog of war, that was his reason for map hack. I asked him to turn it off and he did. But then never logged on again...

62
Server.War2.ru / Re: SS log two reports
« on: June 23, 2021, 09:24:21 AM »
The auto detect and log file is just so we don't need to look through all the screenshots...

63
Server.War2.ru / Re: SS log two reports
« on: June 23, 2021, 09:22:57 AM »
People still requesting SS huh. It 2021 people looool.

I find it interesting to see who map hack. Nothing wrong with that?

64
Server.War2.ru / Re: SS log two reports
« on: June 23, 2021, 09:22:20 AM »
I made the script, that detects if people map hack. IL implemented it on the webserver and put the results into the log file. I think Mistral made the new /ss function to force people take screenshot automatic.

L45 stopped playing after he got found. Maybe made new alias, I hope so : )

66
Server.War2.ru / Re: SS log two reports
« on: June 23, 2021, 08:36:28 AM »
Both same game... Seems weird...

67
Server.War2.ru / SS log two reports
« on: June 23, 2021, 08:34:40 AM »
Fre4ky and Tennisball?

http://server.war2.ru/ss/log.html

68
Hum, I think I will miss it :( I'm coming home an hour late :/

69
Server.War2.ru / Re: Automatic ss implemented on the server
« on: May 19, 2021, 07:28:27 AM »
Nice : )
It was just an example. Thanks for implementing it! Sorry for my misstypo with if($totalBlack != 0){}, was ofc meant to be if($totalBlack == 0). Anyways good work :)

70
Server.War2.ru / Re: Automatic ss implemented on the server
« on: May 19, 2021, 02:13:53 AM »
Here is some PHP that will find map hack of the screenshots. Like you said Mistral it might give false positive if ss is not from start of game. But even for small maps I think it's very rare that you scout every black pixel on map...

Code: [Select]
$image_name = '041658_L45.png';
$image_src = '/ss/May14/12349_chopppppppppp/'.$image_name;
$image = imagecreatefrompng($image_src);
$totalBlack = 0;
$area = array(
    array(26, 27),
    array(153, 27),
    array(26, 154),
    array(153, 154)
);

// 26 and 153 is one pixel in to avoid first black pixel in row.
// x and y + 2 to count every second pixel, to avoid counting fog of war.

for ($y = $area[0][1]; $y < $area[2][1]; $y = $y + 2 ) {
    for($x = $area[0][0]; $x < $area[3][0]; $x = $x + 2 ) {
        $value = imagecolorat($image, $x, $y);
        if($value == 0){
            $totalBlack++;
        }

    }
}

// Found map hack
if($totalBlack != 0){
    copy($image_src, '/ss/suspected/'.$image_name);
}

71
Server.War2.ru / Re: Automatic ss implemented on the server
« 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...

72
Server.War2.ru / Re: Automatic ss implemented on the server
« 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.

73
Mods & Development / Re: Warcraft II Config program
« on: March 11, 2021, 08:46:30 AM »
I like the borderless with OPENGL, is it possible to get that with GDI?

74
Mods & Development / Re: Warcraft II Config program
« on: March 11, 2021, 08:45:05 AM »
Hey, is there anyway to use OPENGL and make window fullscreen in lobby??

Thanks!

I can answer your first question from the other thread:

What is the best renderer to use for war2? How do I prevent the war2 window to not resize to small size when in lobby? I want fullscreen all the time but the possibility to use alt+enter for going to window mode, but always full screen.


OpenGL and Direct3d 9 used to be the best because they both fixed the laggy cursor on windows 8/10 and I've been using Direct3d 9 for a long time. The only problem is they can only fix the issue by running the lobby in a window (there isn't any good solution to solve the problem unfortunately).

I just recently updated the renderers/config program and the new best renderer is now GDI with "Hardware Cursor" enabled. With this new update you don't have a laggy cursor anymore and at the same time you can also have the lobby in fullscreen now as well.

Get the Warcraft 2 Config.zip from the first post, extract it into your game folder. Then run Warcraft 2 Config and make sure your renderer is set to GDI and Hardware Cursor is enabled and you'll have what I use now as well


Oh, and yes... you can alt+enter whenever you want with GDI. The latest version also got a maximize button now as well


Thanks for fast reply! If I press alt+enter with GDI, I get a small screen and the maximize button is not working. Would be nice to just keep it full screen but mouse free to go to other monitor. I run latest Windows 10.

75
Mods & Development / Re: Warcraft II Config program
« on: March 11, 2021, 06:59:56 AM »
Hey, is there anyway to use OPENGL and make window fullscreen in lobby??

Thanks!

Pages: 1 ... 3 4 [5] 6 7 ... 15