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
62
Server.War2.ru / Re: SS log two reports
« on: June 23, 2021, 08:36:28 AM »
Both same game... Seems weird...

63
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

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

65
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 :)

66
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);
}

67
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...

68
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.

69
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?

70
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.

71
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!

72
Server.War2.ru / Re: Renderer and lobby in fullscreen...
« on: March 11, 2021, 06:59:20 AM »
Ok found the correct thread for this...
https://forum.war2.ru/index.php/topic,5015.30.html

73
Server.War2.ru / Renderer and lobby in fullscreen...
« on: March 11, 2021, 06:33:24 AM »
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.

74
Server.War2.ru / Re: Angel Conflict
« on: December 30, 2020, 02:21:42 PM »
He tried cable and no wifi?

75
Server.War2.ru / Re: War2Mod (War2 with triggers) beta testing
« on: December 13, 2020, 08:13:47 AM »
It's not that important for War2 that Human is balanced with Orc. Maybe you can make it little bit more balanced, either nerf lust a little or maybe give knights and movement speed upgrade instead of healing. Would make Human more fun to play. Anyways what War2 needs most is better lobby and hosting options. Make it possible to host games with more settings and also observer functions etc. Also fix dead spot issue would be nice. :)

Fun that you trying to make a mod out of War 2 though, but will not work for competitive play. But I hope you have fun doing it :)

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