Very severe bug found
Posted: 02 Oct 2014, 20:43
Hello respected developers,
I found a very severe bug that affects Spring on all levels.
Sorry, I don't know how to give it a name but here's the supicious code I found:
Sure I want to help you a bit, you should insert this code to get a fix:
I found a very severe bug that affects Spring on all levels.
Sorry, I don't know how to give it a name but here's the supicious code I found:
Code: Select all
$Number_of_players = 1000;
$Percentage_dsd_battles = 75%;
If ($Percentage_dsd_battles > 25%)
{
$Number_of_players = $Number_of_players / 10;
$Players_happiness = -50;
}
If ($Percentage_dsd_battles < 25%)
{
$Number_of_players = $Number_of_players * 5;
$Players_happiness = 100;
}
Code: Select all
Global $Percentage_dsd_battle;
If !($Percentage_dsd_battles)
{
$player_happiness = 1000000000;
return;
}
else {
exec_low_level("Killall games where map_title = DeltaSiegeDry");
}